Add getpayload, getpayloadf, getpayloadl.
[glibc.git] / ChangeLog
blob9b226786af5db295319b43b36aa25d5c020aaf50
1 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
3         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4         (getpayload): New declaration.
5         * math/Versions (getpayload): New libm symbol at version
6         GLIBC_2.25.
7         (getpayloadf): Likewise.
8         (getpayloadl): Likewise.
9         * math/Makefile (libm-calls): Add s_getpayloadF.
10         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11         (struct test_f_f_data): Add comment.
12         (RUN_TEST_fp_f): New macro.
13         (RUN_TEST_LOOP_fp_f): Likewise.
14         (getpayload_test_data): New array.
15         (getpayload_test): New function.
16         (main): Call getpayload_test.
17         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
18         descriptor.
19         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
20         getpayloadf and getpayloadl.
21         * manual/libm-err-tab.pl: Update comment on interfaces without
22         ulps tabulated.
23         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
24         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
25         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
26         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
27         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
28         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
29         * sysdeps/nacl/libm.abilist: Update.
30         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
31         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
34         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
35         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
36         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
37         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
38         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
43         Likewise.
44         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45         Likewise.
46         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
47         Likewise.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
49         Likewise.
50         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
56         Likewise.
57         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
58         Likewise.
59         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
63 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
65         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
66         tst-fallocate{64}.
67         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
68         on syscall return.
70 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
72         [BZ #20689]
73         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
74         usable.
76 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
78         * sysdeps/generic/nan-high-order-bit.h: New file.
79         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
80         * sysdeps/mips/nan-high-order-bit.h: Likewise.
81         * sysdeps/hppa/math_private.h: Remove file.
82         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
83         not define here.
84         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
85         <nan-high-order-bit.h>.
86         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
87         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
88         <nan-high-order-bit.h>.
89         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
90         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
91         <nan-high-order-bit.h>.
92         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
93         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
94         <nan-high-order-bit.h>.
95         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
96         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.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/wordsize-64/s_totalordermag.c: Include
100         <nan-high-order-bit.h>.
101         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
102         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
103         <nan-high-order-bit.h>.
104         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
105         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
106         <nan-high-order-bit.h>.
107         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
108         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
109         <nan-high-order-bit.h>.
110         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
111         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
112         <nan-high-order-bit.h>.
113         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
114         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
115         <nan-high-order-bit.h>.
116         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
117         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
118         <nan-high-order-bit.h>.
119         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
120         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.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-128ibm/s_totalorderl.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-128ibm/s_totalordermagl.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-96/s_issignalingl.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-96/s_totalorderl.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-96/s_totalordermagl.c: Include
136         <nan-high-order-bit.h>.
137         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
139 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
141         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
143 2016-09-22  John David Anglin  <dave.anglin@bell.net>
145         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
146         abort-instr.h.
147         (EFAULT): Remove conditional define.
148         (ENOSYS): Likewise.
149         (atomic_compare_and_exchange_val_acq): Use instruction nullification
150         instead of conditional branch instructions.
152 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
154         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
155         (totalordermag): New declaration.
156         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
157         New macro.
158         * math/Versions (totalordermag): New libm symbol at version
159         GLIBC_2.25.
160         (totalordermagf): Likewise.
161         (totalordermagl): Likewise.
162         * math/Makefile (libm-calls): Add s_totalordermagF.
163         * math/libm-test.inc (totalordermag_test_data): New array.
164         (totalordermag_test): New function.
165         (main): Call totalordermag_test.
166         * math/test-tgmath.c (NCALLS): Increase to 125.
167         (F(compile_test)): Call totalordermag.
168         (F(totalordermag)): New function.
169         * manual/arith.texi (FP Comparison Functions): Document
170         totalordermag, totalordermagf and totalordermagl.
171         * manual/libm-err-tab.pl: Update comment on interfaces without
172         ulps tabulated.
173         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
174         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
175         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
176         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
177         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
178         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
179         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
180         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
181         totalordermag.
182         (CFLAGS-nldbl-totalordermag.c): New variable.
183         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
184         (do_test): Also test totalordermagl.
185         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
186         Likewise.
187         * sysdeps/nacl/libm.abilist: Update.
188         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
190         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
191         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
192         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
193         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
196         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
201         Likewise.
202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
203         Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
205         Likewise.
206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
207         Likewise.
208         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
214         Likewise.
215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
216         Likewise.
217         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
221 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
223         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
224         boolean.
226 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
228         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
229         raising FE_INVALID with feraisexcept in case where part of
230         argument is infinite, subtract that part of argument from itself.
231         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
232         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
233         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
235 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
237         * math/libm-test.inc (totalorder_test_data): Add more tests.
239 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
241         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
242         Undefine weak_alias and add a comment why mips64 require
243         versioning.
245 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
247         [BZ #20647]
248         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
249         maximum CPUID level is less than 2.
251 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
253         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
254         (totalorder): New declaration.
255         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
256         New macro.
257         * math/Versions (totalorder): New libm symbol at version
258         GLIBC_2.25.
259         (totalorderf): Likewise.
260         (totalorderl): Likewise.
261         * math/Makefile (libm-calls): Add s_totalorderF.
262         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
263         string.
264         * math/libm-test.inc (PAYLOAD_DIG): New macro.
265         (qnan_value_pl): Likewise.
266         (snan_value_pl): Likewise.
267         (qnan_value): Define using qnan_value_pl.
268         (snan_value): Define using snan_value_pl.
269         (struct test_ff_i_data): Add comment about which tests use this
270         structure.
271         (RUN_TEST_ff_b): New macro.
272         (RUN_TEST_LOOP_ff_b): Likewise.
273         (totalorder_test_data): New array.
274         (totalorder_test): New function.
275         (main): Call totalorder_test.
276         * math/test-tgmath.c (NCALLS): Increase to 122.
277         (F(compile_test)): Call totalorder.
278         (F(totalorder)): New function.
279         * manual/arith.texi (FP Comparison Functions): Document
280         totalorder, totalorderf and totalorderl.
281         * manual/libm-err-tab.pl: Update comment on interfaces without
282         ulps tabulated.
283         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
284         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
285         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
286         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
287         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
288         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
289         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
290         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
291         totalorder.
292         (CFLAGS-nldbl-totalorder.c): New variable.
293         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
294         file.
295         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
296         Add test-totalorderl-ldbl-128ibm.
297         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
298         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
299         test-totalorderl-ldbl-96.
300         * sysdeps/nacl/libm.abilist: Update.
301         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
305         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
306         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
308         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
309         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
310         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
311         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
312         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
314         Likewise.
315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
316         Likewise.
317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
318         Likewise.
319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
320         Likewise.
321         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
322         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
323         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
324         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
325         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
327         Likewise.
328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
329         Likewise.
330         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
331         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
332         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
334 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
336         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
337         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
338         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
339         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
340         remove ENOSYS implementation.
341         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
342         Consolidate all Linux implementations.
344 2016-10-11  Florian Weimer  <fweimer@redhat.com>
346         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
347         * resolv/herror.c (herror): Cast away const-ness.
348         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
349         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
351 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
353         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
354         instead of M_NAN + M_NAN.
355         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
357 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
359         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
360         unused variable 'p'.
362 2016-10-09  Alan Modra  <amodra@gmail.com>
363             Andreas Schwab  <schwab@linux-m68k.org>
365         [BZ #20554]
366         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
367         [PIC && !SHARED]: Set up PIC register for PLT call.
369 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
371         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
372         conditional on value of [__FLT_EVAL_METHOD__].
373         * math/test-iseqsig-excess-precision.c: New file.
374         * math/Makefile (tests): Add test-iseqsig-excess-precision.
376 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
378         * math/s_iseqsig_template.c: Include math-private.h.
380         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
381         * posix/tst-posix_fadvise.c: New file.
382         * posix/tst-posix_fadvise64.c: Likewise.
383         * posix/tst-posix_fadvise-common.c: Likewise.
384         * sysdeps/unix/sysv/linux/arm/kernel-features.h
385         (__ASSUME_FADVISE64_64_6ARG): Define.
386         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
387         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
389         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
390         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
391         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
392         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
393         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
394         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
395         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
396         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
397         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
400         Likewise.
401         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
402         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
403         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
404         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
405         Alias to __posix_fadvise64_l32.
406         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
407         Add compat definition to posix_fadvise64.
408         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
409         Add versioned definition to posix_fadvise64.
410         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
411         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
412         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
413         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
414         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
416         * io/Makefile (tests): Add tst-posix_fallocate and
417         tst-posix_fallocate64.
418         * io/tst-posix_fallocate-common.c: New file.
419         * io/tst-posix_fallocate.c: Likewise.
420         * io/tst-posix_fallocate64.c: Likewise.
421         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
422         file.
423         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
424         Likewise.
425         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
426         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
427         Likewise.
428         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
429         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
430         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
431         SYSCALL_LL to pass both offset and len arguments.
432         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
433         Likewise.
434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
435         __libc_pwrite64 alias used by posix_fallocate64.
437         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
438         tst-fallocate64.
439         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
440         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
441         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
442         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
443         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
444         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
445         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
446         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
447         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
448         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
449         macro on offset argument.
450         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
451         SYSCALL_LL64 on offset argument.
453         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
454         tst-fallocate64.
455         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
456         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
457         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
458         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
459         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
460         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
461         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
462         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
463         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
464         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
465         macro on offset argument.
466         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
467         SYSCALL_LL64 on offset argument.
468         * test-skeleton.c (FAIL_RET): Add macro.
469         (FAIL_EXIT): Likewise.
470         (FAIL_EXIT1): Likewise.
471         (_FAIL): Likewise.
473 2016-10-07  Florian Weimer  <fweimer@redhat.com>
475         [BZ #20629]
476         resolv: Remove RES_USEBSTRING and its implementation.
477         * resolv/resolv.h (RES_USEBSTRING): Remove.
478         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
479         (digitvalue, encode_bitstring, decode_bitstring): Remove.
480         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
481         (labellen): Remove extended label types support.
482         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
483         * resolv/res_init.c (res_setoptions): Likewise.
484         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
486 2016-10-07  Florian Weimer  <fweimer@redhat.com>
488         resolv: Remove RES_NOIP6DOTINT and its implementation.
489         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
490         (RES_NOIP6DOTINT): Remove.
491         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
492         handling.
493         * resolv/res_debug.c (p_option): Likewise.
494         * resolv/res_init.c (res_setoptions): Likewise.
495         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
497 2016-10-07  Florian Weimer  <fweimer@redhat.com>
499         resolv: Deprecate unimplemented flags.
500         * misc/sys/cdefs.h (__glibc_macro_warning1)
501         (__glibc_macro_warning): Define.
502         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
503         (RES_KEEPTSIG): Mark as deprecated.
504         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
505         RES_NOCHECKNAME, RES_KEEPTSIG.
506         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
508 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
510         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
511         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
512         Use strong_alias to create symbols for glibc verison 2.19.
514 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
516         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
518 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
520         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
522 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
524         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
526 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
528         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
529         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
530         in header for using it as type for ifunc function because __GI_* symbols
531         for ppc32 do not target the ifunc symbols.
532         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
534 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
536         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
537         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
538         libc_ifunc_hidden_def.
539         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
540         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
541         Redirect ifunced function in header for using it as type of ifunc'ed
542         function. Redefine libc_hidden_def to use fallback non ifunc'ed
543         function for __GI_* symbol.
544         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
545         * include/libc-symbols.h
546         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
548 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
550         [BZ #20478]
551         * sysdeps/s390/multiarch/ifunc-resolve.h
552         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
553         to create ifunc symbols.
554         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
555         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
556         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
557         for using it as type for ifunc function.
558         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
559         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
560         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
561         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
562         * sysdeps/s390/multiarch/strcat.c: Likewise.
563         * sysdeps/s390/multiarch/strchr.c: Likewise.
564         * sysdeps/s390/multiarch/strcmp.c: Likewise.
565         * sysdeps/s390/multiarch/strcpy.c: Likewise.
566         * sysdeps/s390/multiarch/strcspn.c: Likewise.
567         * sysdeps/s390/multiarch/strlen.c: Likewise.
568         * sysdeps/s390/multiarch/strncmp.c: Likewise.
569         * sysdeps/s390/multiarch/strncpy.c: Likewise.
570         * sysdeps/s390/multiarch/strnlen.c: Likewise.
571         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
572         * sysdeps/s390/multiarch/strrchr.c: Likewise.
573         * sysdeps/s390/multiarch/strspn.c: Likewise.
574         * sysdeps/s390/multiarch/wcschr.c: Likewise.
575         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
576         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
577         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
578         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
579         * sysdeps/s390/multiarch/wmemset.c: Likewise.
580         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
581         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
582         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
583         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
584         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
585         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
587 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
589         * include/libc-symbols.h (__ifunc_resolver):
590         New macro is used by __ifunc* macros.
591         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
592         depending on HAVE_GCC_IFUNC.
593         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
594         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
596         Redirect ifunced function in header for using as type for ifunc function.
597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
602         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
604         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
605         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
606         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
607         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
608         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
610         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
616         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
617         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
618         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
619         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
620         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
621         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
622         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
623         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
624         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
625         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
626         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
627         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
628         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
629         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
631         Add libc_hidden_def() and use libc_ifunc_hidden() macro
632         instead of libc_ifunc() macro.
633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
636 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
638         * config.h.in (HAVE_GCC_IFUNC): New undef.
639         * configure.ac: Add check if gcc supports attribute ifunc feature.
640         * configure: Regenerated.
641         * manual/install.texi: Add recommendation for gcc with
642         indirect-function support.
643         * INSTALL: Regenerated.
645 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
647         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
648         macro.
649         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
650         (__iseqsig): New declaration.
651         * math/s_iseqsig_template.c: New file.
652         * math/Versions (__iseqsigf): New libm symbol at version
653         GLIBC_2.25.
654         (__iseqsig): Likewise.
655         (__iseqsigl): Likewise.
656         * math/libm-test.inc (iseqsig_test_data): New array.
657         (iseqsig_test): New function.
658         (main): Call iseqsig_test.
659         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
660         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
661         * manual/libm-err-tab.pl: Update comment on interfaces without
662         ulps tabulated.
663         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
664         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
665         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
666         * sysdeps/nacl/libm.abilist: Update.
667         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
668         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
669         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
670         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
673         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
674         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
678         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
680         Likewise.
681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
682         Likewise.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
684         Likewise.
685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
686         Likewise.
687         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
688         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
693         Likewise.
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
695         Likewise.
696         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
697         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
698         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
700 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
702         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
703         do_sincos_2, sloww, sloww1): Update comments.
705         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
706         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
708         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
709         K boolean and rename it.
710         (__sin): Adjust.
711         (__cos): Adjust.
713 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
714             Siddhesh Poyarekar  <siddhesh@sourceware.org>
716         * manual/nss.texi: Fix typos in the manual.
718 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
720         * manual/contrib.texi: Fix typos in the manual.
722         * manual/maint.texi: Fix typos in the manual.
724         * manual/install.texi: Fix typos in the manual.
725         * INSTALL: Regenerated.
727         * manual/lang.texi: Fix typos in the manual.
729         * manual/probes.texi: Fix typos in the manual.
731         * manual/threads.texi: Fix typos in the manual.
733         * manual/debug.texi: Fix typos in the manual.
735         * manual/crypt.texi: Fix typos in the manual.
737         * manual/conf.texi: Fix typos in the manual.
739         * manual/sysinfo.texi: Fix typos in the manual.
741         * manual/users.texi: Fix typos in the manual.
743         * manual/job.texi: Fix typos in the manual.
745         * manual/process.texi: Fix typos in the manual.
747         * manual/argp.texi: Fix typos in the manual.
748         * manual/getopt.texi: Likewise.
749         * manual/startup.texi: Likewise.
751         * manual/signal.texi: Fix typos in the manual.
753         * manual/setjmp.texi: Fix typos in the manual.
755         * manual/resource.texi: Fix typos in the manual.
757         * manual/time.texi: Fix typos in the manual.
759         * manual/arith.texi: Fix typos in the manual.
761         * manual/math.texi: Fix typos in the manual.
763         * manual/syslog.texi: Fix typos in the manual.
765         * manual/terminal.texi: Fix typos in the manual.
767         * manual/socket.texi: Fix typos in the manual.
769         * manual/filesys.texi: Fix typos in the manual.
771         * manual/llio.texi: Fix typos in the manual.
773         * manual/stdio.text: Fix typos in the manual.
775 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
777         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
778         instead of K1.
780         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
781         SHIFT_QUADRANT and make it bool.
782         (do_sincos_2): Likewise.
783         (sloww): Likewise.
784         (sloww1): Likewise.
785         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
786         (__cos): Likewise.
788 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
790         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
792 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
794         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
795         Define to __WORDSIZE, not conditional on [LONG_MAX ==
796         0x7fffffffL].
797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
799 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
801         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
802         inline by __inline__.
803         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
804         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
805         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
806         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
807         sigset_t from signal.h.
808         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
809         which is already required.
811 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
813         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
815 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
817         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
818         (struct tcp_repair_window): New type.
820 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
822         * libio/tst-memstream3.c: Include string.h.
824 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
826         [BZ #18241]
827         [BZ #20181]
828         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
829         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
830         write position is at the end the buffer.
831         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
832         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
833         (_IO_str_seekoff): Set correct offset from negative displacement and
834         set EINVAL for invalid ones.
835         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
836         buffer length.
837         (_IO_wstr_switch_to_get_mode): New function.
838         (_IO_wstr_seekoff): Set correct offset from negative displacement and
839         set EINVAL for invalid ones.
840         * libio/tst-memstream3.c: New file.
841         * libio/tst-wmemstream3.c: Likewise.
842         * manual/examples/memstrm.c: Remove warning when priting size_t.
844 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
846         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
847         macro to use __builtin_fma.
848         * sysdeps/x86_64/fpu/dla.h: Remove file.
850         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
851         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
852         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
854 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
856         [BZ #20292]
857         * elf/Makefile (routines): Add dl-addr-obj.
858         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
859         tst-_dl_addr_inside_object.
860         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
861         [ifeq (yesyes,$(have-fpie)$(build-shared))]
862         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
863         [ifeq (yesyes,$(have-fpie)$(build-shared))]
864         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
865         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
866         * elf/dl-open.c: Likewise.
867         * elf/dl-addr-obj.c: New file.
868         * elf/tst-_dl_addr_inside_object.c: New file.
870 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
872         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
873         <bits/iscanonical.h>.
874         * bits/iscanonical.h: New file.
875         * math/s_iscanonicall.c: Likewise.
876         * math/Versions (__iscanonicall): New libm symbol at version
877         GLIBC_2.25.
878         * math/libm-test.inc (iscanonical_test_data): New array.
879         (iscanonical_test): New function.
880         (main): Call iscanonical_test.
881         * math/Makefile (headers): Add bits/iscanonical.h.
882         (type-ldouble-routines): Add s_iscanonicall.
883         * manual/arith.texi (Floating Point Classes): Document
884         iscanonical.
885         * manual/libm-err-tab.pl: Update comment on interfaces without
886         ulps tabulated.
887         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
888         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
889         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
890         Likewise.
891         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
892         test-iscanonical-ldbl-128ibm.
893         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
894         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
895         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
896         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
897         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
898         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
899         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
901         Likewise.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
903         Likewise.
904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
905         Likewise.
906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
907         Likewise.
908         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
909         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
911 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
913         * string/bits/string3.h: Remove C++ style comments.
915 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
917         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
918         instead of ternary condition.
919         (do_sincos_2): Likewise.
920         (__sin): Likewise.
921         (__cos): Likewise.
922         (slow): Likewise.
923         (sloww): Likewise.
924         (sloww1): Likewise.
925         (bsloww): Likewise.
926         (bsloww1): Likewise.
928         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
929         instead of ternary condition.
930         (do_sin_slow): Likewise.
931         (do_sincos_1): Likewise.
932         (do_sincos_2): Likewise.
933         (__cos): Likewise.
934         (sloww): Likewise.
935         (sloww1): Likewise.
936         (sloww2): Likewise.
937         (bsloww): Likewise.
938         (bsloww1): Likewise.
939         (bsloww2): Likewise.
941         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
942         check from here...
943         (slow2): ... and here...
944         (__sin): ... to here.
946 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
948         * math/math.h
949         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
950         Cast argument to its own type.
951         * math/test-iszero-excess-precision.c: New file.
952         * math/Makefile (tests): Add test-iszero-excess-precision.
953         (CFLAGS-test-iszero-excess-precision.c): New variable.
955 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
957         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
958         field, add err field.
959         (__spawni_child): Report error through err member instead of pipe.
960         (__spawnix): Likewise.
962 2016-09-28  Zack Weinberg  <zackw@panix.com>
964         * scripts/check-installed-headers.sh: Generalize treatment of
965         sys/elf.h to all target architectures.
967         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
968         deleted typedef ucontext_t.
970 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
972         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
973         (__INTERNAL_SYSCALL1): Likewise.
974         (__INTERNAL_SYSCALL2): Likewise.
975         (__INTERNAL_SYSCALL3): Likewise.
976         (__INTERNAL_SYSCALL4): Likewise.
977         (__INTERNAL_SYSCALL5): Likewise.
978         (__INTERNAL_SYSCALL6): Likewise.
979         (__INTERNAL_SYSCALL7): Likewise.
980         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
981         (__INTERNAL_SYSCALL_NARGS): Likewise.
982         (__INTERNAL_SYSCALL_DISP): Likewise.
983         (INTERNAL_SYSCALL_CALL): Likewise.
984         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
985         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
986         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
987         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
988         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
989         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
990         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
991         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
992         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
993         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
994         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
995         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
996         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
998 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1000         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1001         macro.
1002         * math/libm-test.inc (iszero_test_data): New array.
1003         (iszero_test): New function.
1004         (main): Call iszero_test.
1005         * manual/arith.texi (Floating Point Classes): Document iszero.
1006         * manual/libm-err-tab.pl: Update comment on interfaces without
1007         ulps tabulated.
1009 2016-09-23  Zack Weinberg  <zackw@panix.com>
1011         * scripts/check-installed-headers.sh: New script.
1012         * Rules: In each directory that defines header files to be installed,
1013         run check-installed-headers.sh on them as a special test.
1014         * Makefile: Likewise for the headers installed at top level.
1016         * include/aliases.h, include/alloca.h, include/argz.h
1017         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1018         * include/elf.h, include/envz.h, include/err.h
1019         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1020         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1021         * include/link.h, include/malloc.h, include/mcheck.h
1022         * include/mntent.h, include/netinet/ether.h
1023         * include/nss.h, include/obstack.h, include/printf.h
1024         * include/pty.h, include/resolv.h, include/rpc/auth.h
1025         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1026         * include/rpc/clnt.h, include/rpc/des_crypt.h
1027         * include/rpc/key_prot.h, include/rpc/netdb.h
1028         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1029         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1030         * include/rpc/rpc_msg.h, include/rpc/svc.h
1031         * include/rpc/svc_auth.h, include/rpc/xdr.h
1032         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1033         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1034         * include/rpcsvc/ypupd.h, include/shadow.h
1035         * include/stdio_ext.h, include/sys/epoll.h
1036         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1037         * include/sys/prctl.h, include/sys/profil.h
1038         * include/sys/statfs.h, include/sys/sysctl.h
1039         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1040         * sysdeps/arm/nacl/include/bits/setjmp.h
1041         * sysdeps/mips/include/sys/asm.h
1042         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1043         * sysdeps/unix/sysv/linux/include/sys/timex.h
1044         * sysdeps/x86/fpu/include/bits/fenv.h:
1045         Add #ifndef _ISOMAC guard around internal declarations.
1046         Add multiple-inclusion guard if not already present.
1048 2016-09-23  Zack Weinberg  <zackw@panix.com>
1050         * sysdeps/generic/sys/ucontext.h
1051         * sysdeps/arm/sys/ucontext.h
1052         * sysdeps/i386/sys/ucontext.h
1053         * sysdeps/m68k/sys/ucontext.h
1054         * sysdeps/mips/sys/ucontext.h
1055         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1056         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1057         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1058         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1059         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1060         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1061         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1062         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1063         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1064         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1065         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1066         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1067         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1068         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1069         Include both bits/sigcontext.h and bits/sigstack.h.
1070         Fix grammar error in comment, if present.
1072         * bits/sigstack.h
1073         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1074         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1075         * sysdeps/unix/sysv/linux/bits/sigstack.h
1076         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1077         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1078         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1079         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1080         * bits/sigcontext.h
1081         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1082         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1083         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1084         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1085         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1086         as well as signal.h, if this was not already allowed.  Request
1087         definition of size_t if necessary.  Minimize semantically-null
1088         differences across files.
1090 2016-09-23  Zack Weinberg  <zackw@panix.com>
1092         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1093         Remove all logic conditional on __need macros.  Move all the
1094         conditionally defined types to their own headers...
1095         * time/bits/types/clock_t.h: Define clock_t here.
1096         * time/bits/types/clockid_t.h: Define clockid_t here.
1097         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1098         * time/bits/types/struct_timespec.h: Define struct timespec here.
1099         * time/bits/types/struct_timeval.h: Define struct timeval here.
1100         * time/bits/types/struct_tm.h: Define struct tm here.
1101         * time/bits/types/time_t.h: Define time_t here.
1102         * time/bits/types/timer_t.h: Define timer_t here.
1103         * time/Makefile: Install the new headers.
1105         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1106         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1107         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1108         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1109         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1110         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1111         * sysdeps/unix/sysv/linux/bits/resource.h
1112         * sysdeps/unix/sysv/linux/bits/timex.h
1113         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1114         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1115         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1116         * sysdeps/unix/sysv/linux/sys/acct.h
1117         * sysdeps/unix/sysv/linux/sys/timerfd.h
1118         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1119         * time/sys/time.h, time/sys/timeb.h
1120         Use the new bits/types headers.
1122         * include/time.h: Remove __need logic.
1123         * include/bits/time.h
1124         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1125         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1126         * include/bits/types/struct_itimerspec.h
1127         * include/bits/types/struct_timespec.h
1128         * include/bits/types/struct_timeval.h
1129         * include/bits/types/struct_tm.h:
1130         New wrapper headers.
1132 2016-09-23  Zack Weinberg  <zackw@panix.com>
1134         * sysdeps/mach/hurd/net/if_ppp.h
1135         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1136         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1137         if __USE_MISC is defined, to ensure struct ifreq is declared.
1139         * inet/netinet/ether.h: Condition all function prototypes
1140         on __USE_MISC, to ensure struct ether_addr is declared.
1142         * socket/bits/types/struct_osockaddr.h: New header.
1143         * include/bits/types/struct_osockaddr.h: New wrapper.
1144         * socket/Makefile: Install the new header.
1145         * socket/sys/socket.h, inet/protocols/talkd.h:
1146         Refer to bits/types/struct_osockaddr.h for the definition of
1147         struct osockaddr.
1149 2016-09-23  Zack Weinberg  <zackw@panix.com>
1151         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1152         * inet/protocols/routed.h, inet/protocols/talkd.h
1153         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1154         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1155         * sysdeps/generic/netinet/if_ether.h
1156         * sysdeps/generic/netinet/in_systm.h
1157         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1158         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1159         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1160         * sysdeps/mach/hurd/net/if_arp.h
1161         * sysdeps/mach/hurd/net/if_ppp.h
1162         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1163         * sysdeps/unix/sysv/linux/bits/in.h
1164         * sysdeps/unix/sysv/linux/net/ethernet.h
1165         * sysdeps/unix/sysv/linux/net/if_arp.h
1166         * sysdeps/unix/sysv/linux/net/if_ppp.h
1167         * sysdeps/unix/sysv/linux/net/if_shaper.h
1168         * sysdeps/unix/sysv/linux/net/route.h
1169         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1170         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1171         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1172         * sysdeps/unix/sysv/linux/netipx/ipx.h
1173         * sysdeps/unix/sysv/linux/sys/acct.h
1174         * include/arpa/nameser.h, include/resolv.h:
1175         Change all uses of u_char to unsigned char,
1176         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1177         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1178         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1179         and u_int64_t and u_quad_t to uint64_t.
1181         * mach/sys/reboot.h: Remove two casts of integer literals
1182         to the types they already have.
1184         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1185         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1186         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1187         from referring to 'unsigned char' to 'uint8_t' for consistency with
1188         the macro definition below.
1190         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1191         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1192         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1193         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1194         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1195         * sysdeps/unix/sysv/linux/sys/acct.h
1196         * include/arpa/nameser.h, include/resolv.h:
1197         Fix indentation disrupted by mechanical edits.
1199         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1200         * sysdeps/generic/netinet/in_systm.h
1201         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1202         * sysdeps/gnu/netinet/udp.h
1203         * sysdeps/unix/sysv/linux/net/ethernet.h
1204         * sysdeps/unix/sysv/linux/net/if_arp.h
1205         * sysdeps/unix/sysv/linux/net/if_ppp.h
1206         * sysdeps/unix/sysv/linux/net/if_shaper.h
1207         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1208         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1209         * sysdeps/unix/sysv/linux/netipx/ipx.h
1210         * sysdeps/unix/sysv/linux/sys/acct.h
1211         Include stdint.h for uintNN_t definitions.
1212         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1214 2016-09-23  Zack Weinberg  <zackw@panix.com>
1216         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1217         * sysdeps/unix/sysv/linux/netrose/rose.h:
1218         Include sys/socket.h and netax25/ax25.h.
1220         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1221         * resolv/arpa/nameser_compat.h:
1222         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1224         * sysdeps/unix/sysv/linux/sys/quota.h:
1225         Use __caddr_t instead of caddr_t.
1226         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1227         Use __clockid_t instead of clockid_t.
1229         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1231         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1232         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1233         expanding it.
1235         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1236         Define __glibc_c99_flexarr_available to 1 when the compiler
1237         supports C99-compatible flexible array members, 0 otherwise.
1238         * sysdeps/unix/sysv/linux/bits/socket.h
1239         * sysdeps/mach/hurd/bits/socket.h
1240         * bits/socket.h: Use __glibc_c99_flexarr_available in
1241         definitions of struct cmsghdr and CMSG_DATA.
1243 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1245         * manual/nss.texi (NSS Modules Interface): Adjust function return
1246         type to enum nss_status.  Document errnop argument.  Clarify
1247         h_errnop semantics.  Fix cross-reference formatting.
1248         (NSS Module Function Internals): Mention that *errnop needs to be
1249         set on failure, but not to zero.
1251 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1253         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1254         (get_random_name): New functions.
1255         (check_wrapper_flags_mode): Use linkat to give the new file a name
1256         determined by get_random_name.
1257         (do_test): Add calls to test open64 and openat64.
1259 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1261         * test-skeleton.c: Remove #include <stdarg.h>.
1263 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1265         [BZ #19826]
1266         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1267         initialization of static TLS entries.
1268         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1269         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1271 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1273         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1274         _hurd_malloc_fork_prepare.
1275         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1276         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1277         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1278         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1279         (_hurd_fork_child_hook): Drop malloc_fork_child.
1280         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1281         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1282         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1283         after locking locks (notably hurd_dtable_lock). Call
1284         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1285         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1286         __malloc_fork_unlock_child.
1287         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1289 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1291         * soft-fp/extendhftf2.c: New.
1292         * soft-fp/fixhfti.c: Likewise.
1293         * soft-fp/fixunshfti.c: Likewise.
1294         * soft-fp/floattihf.c: Likewise.
1295         * soft-fp/floatuntihf.c: Likewise.
1296         * soft-fp/half.h: Likewise.
1297         * soft-fp/trunctfhf2.c: Likewise.
1299 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1301         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1302         macro.
1303         * math/libm-test.inc (issubnormal_test_data): New array.
1304         (issubnormal_test): New function.
1305         * manual/arith.texi (Floating Point Classes): Document
1306         issubnormal.
1307         * manual/libm-err-tab.pl: Update comment on interfaces without
1308         ulps tabulated.
1310         * sysdeps/generic/stdint.h: Define
1311         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1312         <bits/libc-header-start.h> instead of including <features.h>.
1313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1346         * manual/arith.texi (Integers): Document these macros for types
1347         specified by width properties.
1348         * manual/lang.texi (Width of Type): Document these macros for
1349         other standard typedefs.
1350         * stdlib/tst-width-stdint.c: New file.
1351         * stdlib/Makefile (tests): Add tst-width-stdint.
1353 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1355         [BZ #20016]
1356         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1357         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1358         Move ...
1359         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1360         ... here, as compatibility symbols in a new file.
1361         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1362         * resolv/res_init.c (__res_vinit): Adjust member names.
1363         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1364         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1365         (res_send_rhook): Remove.
1366         (struct __res_state): Rename qhook, rhook members.
1368 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1370         malloc: Use __libc_lock wrappers.
1371         * malloc/arena.c (list_lock, free_list_lock): Define using
1372         __libc_lock_define_initialized.
1373         (arena_lock): Adjust formatting.
1374         * malloc/malloc.c (struct malloc_state): Define mutex using
1375         __libc_lock_define.
1376         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1377         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1378         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1379         (mutex_unlock, mutex_trylock): Remove.
1380         (__pthread_initialize): Remove unused macro.
1381         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1382         (mutex_unlock, mutex_trylock): Remove.
1384 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1386         [BZ #20592]
1387         Remove RR type classification macros.
1388         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1389         (ns_t_udp_p, ns_t_xfr_p): Remove.
1391 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1393         Remove misleading version information.
1394         * resolv/arpa/nameser.h (__NAMESER): Remove.
1395         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1397 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1399         Remove the always-defined BIND_4_COMPAT macro.
1400         * resolv/arpa/nameser.h: Unconditionally include
1401         <arpa/nameser_compat.h>.
1402         (BIND_4_COMPAT): Remove.
1403         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1405 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1407         [BZ #20591]
1408         Remove obsolete DNSSEC support.
1409         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1410         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1411         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1412         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1413         (ns_cert_types): Add comment.
1414         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1415         separately.
1416         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1417         (dst_s_dns_key_id): Remove.
1418         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1419         variables.
1421 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1423         [BZ #20524]
1424         * manual/string.texi (String/Array Comparison): Clarify the
1425         strverscmp behavior.
1427 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1429         * test-skeleton.c (xasprintf): Add function.
1430         * io/tst-open-tmpfile.c: New test.
1431         * io/Makefile (tests): Add it.
1433 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1435         Avoid running $(CXX) during build to obtain header file paths.
1436         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1437         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1438         * Makerules (cstdlib, cmath): Remove variables.  Use
1439         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1440         * configure: Regenerate.
1442 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1444         * Makeconfig (all-object-suffixes): Include .op only if
1445         $(build-profile).
1447 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1449         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1450         conditionals.  Do not define PATH_MAX.
1452 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1454         * posix/Makefile (tests): Add tst-spawn3.
1455         * posix/tst-spawn3.c: New file.
1456         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1457         if it is already opened for open action.
1459         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1460         all signals when executing the clone vfork child.
1461         (SIGALL_SET): Remove macro.
1463         * nptl/Makefile (tests): Add tst-exec5.
1464         * nptl/tst-exec5.c: New file.
1465         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1466         asynchronous cancellation.
1468 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1470         * hurd/exc2signal.c: #include <hurd/signal.h>
1471         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1472         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1473         accordingly.
1474         * mach/mach_error.c (mach_error): Fix old-style function definition.
1475         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1477 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1479         * math/Makefile (libm-calls): Remove s_nanF.
1480         (gen-libm-calls): Add s_nanF.
1482         * math/s_nan.c: Refactor into ...
1483         * math/s_nan_template.c: New file.
1485         * math/s_nanf.c: Removed.
1486         * math/s_nanl.c: Removed.
1487         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1488         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1490         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1491         (LDOUBLE_nanl_libm_version): New macro.
1493         * sysdeps/generic/math-type-macros-double.h:
1494         (M_STRTO_NAN): New macro.
1495         * sysdeps/generic/math-type-macros-float.h: Likewise.
1496         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1498         * sysdeps/generic/math-type-macros.h: Document
1499         M_STRTO_NAN.
1501 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1503         * math/s_nanf.c: Remove __nanf undef.
1504         * math/s_nan.c: Remove __nan undef.
1505         * math/s_nanl.c: Remove __nanl undef.
1507         * sysdeps/generic/math_private.h (__nan): Remove macro
1508         override.
1509         (__nanf): Likewise.
1510         (__nanl): Likewise.
1512 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1514         * math/Makefile (gen-all-calls): New variable.
1515         (generated): Replace gen-libm-calls with gen-all-calls.
1516         (gen-libm-templates.stmp): Likewise.  Also, ensure
1517         the output directory exists or is created and add
1518         dependency on the Makefile.
1519         (calls): Move s_ldexpF into gen-calls.
1520         (gen-calls): New variable.
1522         * math/s_ldexpf.c: Removed.
1523         * math/s_ldexpl.c: Removed.
1524         * math/s_ldexp.c: Refactored into ...
1525         * math/s_ldexp_template.c: New file.
1527         * sysdeps/generic/math-type-macros-double.h: Remove
1528         redundant fall-through definition of declare_mgen_alias.
1529         (declare_mgen_alias_2): New macro.
1531         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1532         New macro for function aliased to two exported symbols.
1534         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1535         new template file.
1536         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1538 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1540         * Makeconfig (all-object-suffixes): Remove .og.
1541         * Makerules (elide-routines.og): Remove.
1542         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1543         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1544         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1546 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1548         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1549         .os objects.
1551 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1553         [BZ #20615]
1554         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1555         fpu directory by non-fpu.
1556         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1557         on non-fpu directory from a fpu directory.
1559 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1561         * include/limits.h: Define
1562         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1563         <bits/libc-header-start.h> instead of including <features.h>.
1564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1575         * manual/lang.texi (Width of Type): Document these macros.
1576         * stdlib/tst-width.c: New file.
1577         * stdlib/Makefile (tests): Add tst-width.
1579 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1581         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1582         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1584 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1586         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1587         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1588         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1590 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1592         [BZ #18243]
1593         * rt/Makefile (test): Add tst-shm-cancel.
1594         * rt/tst-shm-cancel.c: New file.
1595         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1597         [BZ #18243]
1598         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1599         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1600         definition.
1601         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1602         uncontended case.
1603         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1604         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1605         (tf): Fix check for uncontended case.
1606         (do_test): Likewise.
1607         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1608         (tf): Fix check for uncontended case.
1609         (do_test): Likewise.
1610         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1611         (tf): Fix check for uncontended case.
1612         (do_test): Likewise.
1613         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1614         (tf): Fix check for uncontended case.
1615         (do_test): Likewise.
1617         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1618         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1620         [BZ #15765]
1621         * nptl/Makefile (tests): Add tst-sem16.
1622         * nptl/tst-sem16.c: New file.
1623         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1625         * nptl/sem_open.c (sem_open): Init pad value to 0.
1626         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1627         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1629 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1631         [BZ #20611]
1632         * inet/Makefile (routines): Add inet6_scopeid_pton.
1633         (tests): Add tst-inet6_scopeid_pton.
1634         * inet/inet6_scopeid_pton.c: New file.
1635         * inet/net-internal.h: Likewise.
1636         * inet/tst-inet6_scopeid_pton.c: New test.
1637         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1638         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1641 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1643         Remove support for compiling wrappers with PTW.
1644         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1645         * nptl/Makefile (pthread-compat-wrappers): Define.
1646         (libpthread-routines): Use pthread-compat-wrappers.
1647         * sysdeps/unix/sysv/linux/alpha/Makefile
1648         (libpthread-routines, libpthread-shared-only-routines): Remove
1649         ptw- prefix.
1650         * sysdeps/s390/nptl/Makefile
1651         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1652         * sysdeps/ia64/nptl/Makefile
1653         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1654         * sysdeps/nacl/Makefile (libpthread-routines): Use
1655         pthread-compat-wrappers to filter the routines list instead of the
1656         ptw- prefix.
1658 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1660         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1661         with L() and remove explicit suffix, convert real literals
1662         which can be equivalentally substituted with integers, and
1663         transform -L(x) to L(-x).
1665         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1666         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1667         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1668         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1669         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1670         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1671         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1672         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1673         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1675         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1678         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1679         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1680         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1681         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1682         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1683         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1684         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1685         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1686         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1687         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1688         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1689         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1690         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1691         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1692         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1693         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1694         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1695         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1696         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1697         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1698         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1699         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1700         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1701         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1702         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1703         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1704         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1705         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1706         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1707         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1708         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1709         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1710         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1711         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1712         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1713         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1714         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1716 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1718         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1720 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1722         * malloc/Makefile (tests): Remove individual static test names
1723         and just add all of tests-static.
1725         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1727 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1729         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1730         file.
1732         * sysdeps/sparc/fpu/fegetmode.c: New file.
1733         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1735         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1736         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1738         * sysdeps/s390/fpu/fegetmode.c: New file.
1739         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1741         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1742         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1743         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1744         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1745         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1746         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1748         * sysdeps/mips/fpu/fegetmode.c: New file.
1749         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1751         * sysdeps/m68k/fpu/fegetmode.c: New file.
1752         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1754         * sysdeps/ia64/fpu/fegetmode.c: New file.
1755         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1757         * sysdeps/hppa/fpu/fegetmode.c: New file.
1758         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1760         * sysdeps/arm/fegetmode.c: New file.
1761         * sysdeps/arm/fesetmode.c: Likewise.
1763         * sysdeps/alpha/fpu/fegetmode.c: New file.
1764         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1766         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1767         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1769         * math/fegetmode.c: New file.
1770         * math/fesetmode.c: Likewise.
1771         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1772         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1773         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1774         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1775         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1777         declaration.
1778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1779         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1780         typedef.
1781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1782         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1783         (femode_t): New typedef.
1784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1785         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1786         (femode_t): New typedef.
1787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1788         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1789         (femode_t): New typedef.
1790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1791         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1792         (femode_t): New typedef.
1793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1794         * sysdeps/ia64/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/m68k/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/microblaze/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/mips/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/nios2/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/powerpc/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 variable
1812         declaration.
1813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1814         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1815         (femode_t): New typedef.
1816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1817         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1818         (femode_t): New typedef.
1819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1820         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1821         (femode_t): New typedef.
1822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1823         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1824         (femode_t): New typedef.
1825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1826         * sysdeps/x86/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
1830         (fegetmode): Document function.
1831         (fesetmode): Likewise.
1832         * math/Versions (fegetmode): New libm symbol at version
1833         GLIBC_2.25.
1834         (fesetmode): Likewise.
1835         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1836         (tests): Add test-femode and test-femode-traps.
1837         * math/test-femode-traps.c: New file.
1838         * math/test-femode.c: Likewise.
1839         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1840         alias for __fe_dfl_env.
1841         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1842         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1843         (__fe_dfl_mode): Likewise.
1844         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1845         version GLIBC_2.25.
1846         * sysdeps/nacl/libm.abilist: Update.
1847         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1860         Likewise.
1861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1862         Likewise.
1863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1864         Likewise.
1865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1870         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1873         Likewise.
1874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1880 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1882         [BZ #20495]
1883         [BZ #20508]
1884         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1885         processors, set Use_dl_runtime_resolve_slow and set
1886         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1887         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1888         New.
1889         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1890         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1891         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1892         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1893         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1894         if Use_dl_runtime_resolve_opt is set.  Use
1895         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1896         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1897         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1898         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1899         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1900         New.
1901         (_dl_runtime_resolve_opt): Likewise.
1902         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1903         defined.
1905 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1907         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1908         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1910 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1912         Convert malloc to __libc_lock.  Automated part, using this Perl
1913         s/// command:
1914           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1915             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1916         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1917         conversion.
1919 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1921         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1922         (linknamespace-symlists-tests): Likewise.
1923         (linknamespace-header-tests): Likewise.
1925 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1927         [BZ #19810]
1928         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1929         * elf/tst-noload.c: New test case.
1930         * elf/Makefile (tests): Add tst-noload.
1932 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1934         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1936         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1937         not any more.
1939         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1941 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1943         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1944         (do_cos_slow): Likewise.
1945         (do_sin): Likewise.
1946         (do_sin_slow): Likewise.
1947         (slow): Likewise.
1948         (slow1): Likewise.
1949         (slow2): Likewise.
1950         (sloww): Likewise.
1951         (sloww1): Likewise.
1952         (sloww2): Likewise.
1953         (bsloww): Likewise.
1954         (bsloww1): Likewise.
1955         (bsloww2): Likewise.
1956         (cslow2): Likewise.
1958         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1960         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1961         arguments.  Consolidate input partitioning from callers here.
1962         (do_cos_slow): Likewise.
1963         (do_sin): Likewise.
1964         (do_sin_slow): Likewise.
1965         (do_sincos_1): Remove the no longer necessary input partitioning.
1966         (do_sincos_2): Likewise.
1967         (__sin): Likewise.
1968         (__cos): Likewise.
1969         (slow1): Likewise.
1970         (slow2): Likewise.
1971         (sloww1): Likewise.
1972         (sloww2): Likewise.
1973         (bsloww1): Likewise.
1974         (bsloww2): Likewise.
1975         (cslow2): Likewise.
1977 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1979         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1980         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1981         outside of allocated array.
1983 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1985         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1986         instead of MB_CUR_MAX to avoid variable-length array.
1988 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1990         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1991         (type-double-routines): Add k_rem_pio2.
1992         (type-float-routines): Add k_rem_pio2f.
1994         * sysdeps/generic/math_private.h:
1995         (__kernel_rem_pio2l): Removed.
1997         * math/k_rem_pio2l.c: Removed.
1998         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1999         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2000         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2001         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2003 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2005         * math/Makefile (gen-libm-calls): Add s_fmin
2006         (libm-calls): Remove above.
2008         * math/s_fmin.c: Refactor into ...
2009         * math/s_fmin_template.c: New file.
2011         * math/s_fminf.c: Removed.
2012         * math/s_fminl.c: Removed.
2013         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2014         (LDOUBLE_fmin_libm_version): New macro.
2016         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2017         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2019 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2021         * math/Makefile: (gen-libm-calls): Add s_fmax.
2022         (libm-calls): Remove above.
2024         * math/s_fmax.c: Refactor into ...
2025         * math/s_fmax_template.c: New file.
2026         * math/s_fmaxf.c: Removed.
2027         * math/s_fmaxl.c: Removed.
2029         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2030         (LDOUBLE_fmaxl_libm_version): New macro.
2032         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2033         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2035         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2036         s_fmin.c to pick the aarch64 version of the file.
2037         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2038         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2040 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2042         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2043         (libm-calls): Remove above.
2045         * math/s_nextdown.c: Refactor into ...
2046         * math/s_nextdown_template.c: New file.
2047         * math/s_nextdownf.c: Removed.
2048         * math/s_nextdownl.c: Removed.
2050         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2052 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2054         * math/Makefile (gen-libm-calls): Add s_fdim.
2055         (libm-calls): Move to above.
2057         * math/s_fdim.c: Renamed and refactored into to ...
2058         * math/s_fdim_template.c: New file.
2059         * math/s_fdiml.c: Removed.
2060         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2061         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2063         * sysdeps/generic/math-type-macros-double.h:
2064         (declare_mgen_alias): Don't declare if already declared.
2065         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2066         Likewise.
2068         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2069         (declare_mgen_alias): Don't declare if already declared.
2070         (M_LIBM_NEED_COMPAT): Likewise.
2071         (declare_mgen_libm_compat): Likewise.
2072         (LDOUBLE_fdiml_libm_version): New macro.
2074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2075         Include math/s_fdim.c now that ldbl-opt version is not needed.
2076         (declare_mgen_alias): New macro to disable aliasing.
2078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2079         (declare_mgen_alias): Likewise.
2080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2081         (declare_mgen_alias): Likewise.
2082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2083         (declare_mgen_alias): Likewise.
2084         (M_LIBM_NEED_COMPAT): Likewise.
2086 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2088         [BZ #20525]
2089         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2090         Include <linux/quota.h>.
2091         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2092         and btodb.
2093         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2094         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2095         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2096         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2097         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2098         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2099         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2100         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2101         types.
2102         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2103         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2105 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2107         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2108         (gammal_positive): Fix spacing.
2109         (__ieee754_gammal_r): Likewise.
2111 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2113         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2114         (_Float128): Define as long double, always.
2115         (L): Apply long double type suffix, always.
2117         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2118         _Float128, excepting comments.
2120         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2121         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2122         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2123         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2124         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2125         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2126         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2127         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2128         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2129         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2131         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2134         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2135         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2136         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2137         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2138         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2139         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2140         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2141         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2142         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2143         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2144         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2145         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2146         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2147         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2148         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2149         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2150         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2151         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2152         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2153         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2154         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2155         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2156         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2157         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2158         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2159         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2160         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2161         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2162         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2163         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2164         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2165         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2166         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2167         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2168         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2169         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2170         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2171         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2172         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2173         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2174         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2175         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2176         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2177         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2179         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2180         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2181         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2182         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2183         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2184         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2185         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2186         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2187         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2189         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2190         _Float128, and include math_private.h.
2191         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2193         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2194         long double semantics.
2195         (_Float128): Likewise.
2196         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2197         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2198         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2199         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2201 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2203         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2204         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2205         * sysdeps/s390/configure: Regenerated.
2206         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2207         instruction for raising over-/underflow if z196 zarch is supported
2208         by default.
2209         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2211 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2213         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2214         it point to a dumb buffer for RPC to fill it.
2216 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2218         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2219         instead of if/else.
2220         (do_sin_slow): Likewise.
2221         (do_sincos_1): Use fabs instead of if/else.
2222         (do_sincos_2): Likewise.
2223         (__sin): Likewise.
2224         (__cos): Likewise.
2225         (slow2): Likewise.
2226         (sloww): Likewise.
2227         (sloww1): Likewise.  Drop argument M.
2228         (sloww2): Use fabs instead of if/else.
2229         (bsloww): Likewise.
2230         (bsloww1): Likewise.
2231         (bsloww2): Likewise.
2233         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2234         fall through comment.
2235         (do_sincos_1): Likewise.
2237         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2238         Consolidate switch cases 0 and 2.
2240 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2242         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2243         (libm-calls): Remove the above.
2245         * math/s_cexp_template.c: Update using type-generic macros.
2246         * math/s_clog10_template.c: Likewise.
2247         * math/s_cpow_template.c: Likewise.
2248         * math/s_clog_template.c: Likewise.
2249         * math/s_cproj_template.c: Likewise.
2250         * math/s_csqrt_template.c: Likewise.
2252         * math/s_cexp.c: Removed.
2253         * math/s_cexpf.c: Removed.
2254         * math/s_cexpl.c: Removed.
2255         * math/s_clog10.c: Removed.
2256         * math/s_clog10f.c: Removed.
2257         * math/s_clog10l.c: Removed.
2258         * math/s_cpow.c: Removed.
2259         * math/s_cpowf.c: Removed.
2260         * math/s_cpowl.c: Removed.
2261         * math/s_clog.c: Removed.
2262         * math/s_clogf.c: Removed.
2263         * math/s_clogl.c: Removed.
2264         * math/s_cproj.c: Removed.
2265         * math/s_cprojf.c: Removed.
2266         * math/s_cprojl.c: Removed.
2267         * math/s_csqrt.c: Removed.
2268         * math/s_csqrtf.c: Removed.
2269         * math/s_csqrtl.c: Removed.
2271         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2272         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2273         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2274         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2275         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2276         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2278         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2279         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2280         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2281         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2282         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2283         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2284         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2285         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2286         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2287         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2288         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2290         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2291         version.
2293         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2294         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2295         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2296         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2298 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2300         * s_cexp_template.c: Copy of s_cexp.c.
2301         * s_clog_template.c: Copy of s_clog.c.
2302         * s_clog10_template.c: Copy of s_clog10.c.
2303         * s_cpow_template.c: Copy of s_cpow.c.
2304         * s_cproj_template.c: Copy of s_cproj.c.
2305         * s_csqrt_template.c: Copy of s_csqrt.c.
2307 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2309         [BZ #20517]
2310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2311         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2312         exported.
2314 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2316         * math/fetestexceptflag.c: New file.
2317         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2318         Stefan Liebler.
2319         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2320         (fetestexceptflag): New function declaration.
2321         * manual/arith.texi (fetestexceptflag): Document function.
2322         * math/Versions (fetestexceptflag): New libm symbol at version
2323         GLIBC_2.25.
2324         * math/Makefile (libm-support): Add fetestexceptflag.
2325         (tests): Add test-fetestexceptflag.
2326         * math/test-fetestexceptflag.c: New file.
2327         * sysdeps/nacl/libm.abilist: Update.
2328         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2341         Likewise.
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2343         Likewise.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2345         Likewise.
2346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2347         Likewise.
2348         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2354         Likewise.
2355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2356         Likewise.
2357         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2361 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2363         [BZ #20432]
2364         Avoid strong references to malloc-internal symbols when linking
2365         statically, to support statically interposed mallocs.
2366         * include/libc-symbols.h (call_function_static_weak): New macro.
2367         * malloc/Makefile (tests): Add tst-interpose-nothread,
2368         tst-interpose-thread, tst-interpose-static-nothread,
2369         tst-interpose-static-thread.
2370         (tests-static): Add tst-interpose-static-nothread,
2371         tst-interpose-static-thread.
2372         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2373         tst-interpose-aux-thread.o.
2374         (test-extras): Add tst-interpose-aux-nothread,
2375         tst-interpose-aux-thread.
2376         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2377         tst-interpose-aux-nothread.o.
2378         (tst-interpose-thread, tst-interpose-static-thread): Link with
2379         tst-interpose-aux-thread.o and libthread.
2380         * malloc/tst-interpose-aux-nothread.c: New file.
2381         * malloc/tst-interpose-aux-thread.c: Likewise.
2382         * malloc/tst-interpose-aux.c: Likewise.
2383         * malloc/tst-interpose-aux.h: Likewise.
2384         * malloc/tst-interpose-nothread.c: Likewise.
2385         * malloc/tst-interpose-skeleton.c: Likewise.
2386         * malloc/tst-interpose-static-nothread.c: Likewise.
2387         * malloc/tst-interpose-static-thread.c: Likewise.
2388         * malloc/tst-interpose-thread.c: Likewise.
2389         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2390         * sysdeps/mach/hurd/fork.c (__fork): Only call
2391         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2392         __malloc_fork_unlock_child if defined.
2393         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2395 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2397         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2398         timespec C99 designated initialization.
2400 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2402         [BZ #19946]
2403         Avoid expected SIGALRM signals.
2404         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2405         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2406         (xpthread_create, xpthread_detach, xpthread_join)
2407         (delayed_exit_thread, delayed_exit): New functions.
2408         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2409         (tf): Use xpthread_cond_wait.
2410         (do_test): Likewise.  Replace alarm with delayed_exit.
2411         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2412         (do_test): Call delayed_exit.  Report failure.
2413         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2414         (do_test): Call delayed_exit.
2415         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2416         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2417         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2418         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2419         error.
2420         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2421         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2422         error.
2423         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2424         (do_test): Call delayed_exit.
2425         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2426         (do_test): Call delayed_exit.
2427         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2428         (do_test): Call delayed_exit instead of alarm.  Use
2429         xpthread_mutex_lock.
2430         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2431         (do_test): Call delayed_exit instead of alarm.  Use
2432         xpthread_mutex_lock.
2433         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2434         (do_test): Call delayed_exit instead of alarm.
2435         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2436         (do_test): Call delayed_exit instead of alarm.  Use
2437         xpthread_spin_lock.
2438         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2439         (do_test): Call delayed_exit instead of alarm.  Use
2440         xpthread_join.
2442 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2444         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2445         adjust CFA when allocating register save area on re-aligned
2446         stack.
2448 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2450         * string/tst-cmp.c: New test.
2451         * string/Makefile (tests): Add it.
2453 2016-08-25  Mark Wielaard  <mark@klomp.org>
2455         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2456         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2457         (check_tree_recurse): Use newly defined accessors.
2458         (check_tree): Likewise.
2459         (maybe_split_for_insert): Likewise.
2460         (__tfind): Likewise.
2461         (__tdelete): Likewise.
2462         (trecurse): Likewise.
2463         (tdestroy_recurse): Likewise.
2464         (__tsearch): Likewise. And add asserts for malloc alignment.
2465         (__twalk): Cast root to node in case CHECK_TREE is defined.
2467 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2469         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2471 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2473         * math/Makefile (libm-gen-calls): Add
2474         catan, catanh, ctan, ctanh.
2475         (libm-calls): Remove the above.
2477         * math/s_catan_template.c: Update using type-generic macros.
2478         * math/s_catanh_template.c: Likewise.
2479         * math/s_ctan_template.c: Likewise.
2480         * math/s_ctanh_template.c: Likewise.
2482         * math/s_catanf.c: Removed.
2483         * math/s_catan.c: Removed.
2484         * math/s_catanl.c: Removed.
2485         * math/s_catanhf.c: Removed.
2486         * math/s_catanh.c: Removed.
2487         * math/s_catanhl.c: Removed.
2488         * math/s_ctanf.c: Removed.
2489         * math/s_ctan.c: Removed.
2490         * math/s_ctanl.c: Removed.
2491         * math/s_ctanhf.c: Removed.
2492         * math/s_ctanh.c: Removed.
2493         * math/s_ctanhl.c: Removed.
2495         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2496         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2497         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2498         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2499         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2500         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2502         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2503         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2504         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2505         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2507 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2509         * s_catan_template.c: Copy of s_catan.c.
2510         * s_catanh_template.c: Copy of s_catanh.c.
2511         * s_ctan_template.c: Copy of s_ctan.c.
2512         * s_ctanh_template.c: Copy of s_ctanh.c.
2514 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2516         * math/Makefile (gen-libm-calls): Move
2517         casin, casinh, csin, csinh here.
2518         (libm-calls): Remove the above.
2520         * math/s_casin_template.c: Update using type-generic macros.
2521         * math/s_casinh_template.c: Likewise.
2522         * math/s_csin_template.c: Likewise.
2523         * math/s_csinh_template.c: Likewise.
2524         * math/k_casinh_template.c: Likewise.
2526         * math/s_casinf.c: Removed.
2527         * math/s_casin.c: Removed.
2528         * math/s_casinl.c: Removed.
2529         * math/s_casinh.c: Removed.
2530         * math/s_casinhf.c: Removed.
2531         * math/s_casinhl.c: Removed.
2532         * math/s_csin.c: Removed.
2533         * math/s_csinf.c: Removed.
2534         * math/s_csinl.c: Removed.
2535         * math/s_csinh.c: Removed.
2536         * math/s_csinhf.c: Removed.
2537         * math/s_csinhl.c: Removed.
2538         * math/k_casinh.c: Removed.
2539         * math/k_casinhf.c: Removed.
2540         * math/k_casinhl.c: Removed.
2542         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2543         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2544         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2545         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2547         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2548         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2549         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2550         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2551         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2552         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2553         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2554         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2556         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2557         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2558         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2559         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2561         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2562         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2563         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2564         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2566 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2568         * s_casin_template.c: Copy of s_casin.c.
2569         * s_casinh_template.c: Copy of s_casinh.c.
2570         * s_csin_template.c: Copy of s_csin.c.
2571         * s_csinh_template.c: Copy of s_csinh.c.
2572         * k_casinh_template.c: Copy of k_casinh.c.
2574 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2576         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2578 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2580         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2581         (mul_split) Remove, rename as mul_splitl, remove
2582         redundant float.h include, and include via mul_splitl.h
2584         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2585         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2586         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2587         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2588         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2590         * math/mul_splitl.h: New file.
2592         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2593         Move into mul_split.h, and remove redundant float.h include.
2595         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2596         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2597         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2598         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2600         * math/mul_split.h: New file.
2602 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2604         * math/Makefile (libm-gen-calls): Move
2605         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2606         (libm-calls): Remove above.
2608         * math/s_cacos_template.c: Update using type-generic macros.
2609         * math/s_cacosh_template.c: Likewise.
2610         * math/s_ccos_template.c: Likewise.
2611         * math/s_ccosh_template.c: Likwise.
2613         * math/s_cacosf.c: Removed.
2614         * math/s_cacos.c: Removed.
2615         * math/s_cacosl.c: Removed.
2616         * math/s_cacoshf.c: Removed.
2617         * math/s_cacosh.c: Removed.
2618         * math/s_cacoshl.c: Removed.
2619         * math/s_ccosf.c: Removed.
2620         * math/s_ccos.c: Removed.
2621         * math/s_ccosl.c: Removed.
2622         * math/s_ccoshf.c: Removed.
2623         * math/s_ccosh.c: Removed.
2624         * math/s_ccoshl.c: Removed.
2626         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2627         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2628         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2629         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2630         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2631         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2633         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2634         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2635         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2636         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2638         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2639         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2640         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2641         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2643 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2645         * s_cacos_template.c: Copy of s_cacos.c.
2646         * s_cacosh_template.c: Copy of s_cacosh.c.
2647         * s_ccos_template.c: Copy of s_ccos.c.
2648         * s_ccosh_template.c: Copy of s_ccosh.c.
2650 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2652         * stdlib/tst-strtod-round-skeleton.c:
2653         Refactored from tst-strtod-round.c.
2655         (L_): New macro to apply literal modifier.
2656         (FNPFX): New macro to select str or wcs prefix.
2657         (CHAR): New macro to choose wchar_t or char.
2658         (STRM): New macro to choose printf for tested character type.
2660         (STRTO): New macro to choose appropriate string -> real function.
2661         (FNPFXS): Stringitized version of FNPFX.
2662         (STR): Support for above macro.
2663         (STRX): Likewise.
2665         (TEST): Update with above macros.
2666         (test): Likewise.
2667         (GEN_ONE_TEST): Likewise.
2668         (test_in_one_mode): Likewise.
2670         * stdlib/tst-strtod-round.c: New file.
2671         * wcsmbs/tst-wcstod-round.c: New file.
2673         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2674         (tst-wcstod-round): Add libm depencency for fesetround.
2676 2016-08-19  Zack Weinberg  <zackw@panix.com>
2678         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2680 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2682         [BZ #20477]
2683         * resolv/res_hconf.c (do_init): Use atomic access.
2684         * resolv/res_hconf.h: Add comments.
2685         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2686         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2689 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2691         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2692         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2693         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2694         Likewise.
2696 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2698         [BZ #16907]
2699         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2700         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2701         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2702         (__attribute__): Remove definition.
2704 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2706         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2707         Remove unused sqrtl declaration.
2709 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2711         * math/Makefile: (gen-libm-templates.stmp): New rule.
2712         (libm-calls): Move carg conj cimag and cabs into ...
2713         (gen-libm-calls): New variable.
2714         (generated): Inform Make objects from gen-libm-calls
2715         may be generated.
2717         * sysdeps/generic/math-type-macros.h: New file.
2718         * sysdeps/generic/math-type-macros-float.h: Likewise.
2719         * sysdeps/generic/math-type-macros-double.h: Likewise.
2720         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2721         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2722         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2724         * math/cabs.c: Refactor into
2725         * math/cabs_template.c: new file.
2726         * math/cabsf.c: Removed.
2727         * math/cabsl.c: Removed.
2728         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2729         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2731         * math/carg.c: Refactor into
2732         * math/carg_template.c: new file.
2733         * math/cargf.c: Removed.
2734         * math/cargl.c: Removed.
2735         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2736         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2738         * math/conj.c: Refactor into
2739         * math/conj_template.c: new file.
2740         * math/conjf.c: Removed.
2741         * math/conjl.c: Removed.
2742         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2743         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2745         * math/cimag.c: Refactor into
2746         * math/cimag_template.c: new file.
2747         * math/cimagf.c: Removed.
2748         * math/cimagl.c: Removed.
2749         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2750         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2752         * math/cimag.c: Refactor into
2753         * math/cimag_template.c: new file.
2754         * math/cimagf.c: Removed.
2755         * math/cimagl.c: Removed.
2756         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2757         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2759 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2761         Reduce time to expected nptl/tst-once5 failure.
2762         * nptl/tst-once5.cc (TIMEOUT): Define.
2764 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2766         [BZ #20452]
2767         Avoid additional copies of objects in libc.a in static libraries.
2768         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2769         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2770         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2771         rt-sysdep.
2772         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2773         Add nptl-sysdep.
2774         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2775         Add ptw-sysdep.
2776         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2777         rt-sysdep.
2778         * sysdeps/unix/sysv/linux/alpha/Makefile
2779         (libpthread-shared-only-routines): Add ptw-sysdep,
2780         ptw-sigprocmask, ptw-rt_sigaction.
2781         * sysdeps/unix/sysv/linux/ia64/Makefile
2782         (librt-shared-only-routines): Add rt-sysdep.
2783         * sysdeps/unix/sysv/linux/i386/Makefile
2784         (libpthread-shared-only-routines): Add libc-do-syscall.
2785         * sysdeps/unix/sysv/linux/microblaze/Makefile
2786         (libpthread-shared-only-routines): Add sysdep.
2787         * sysdeps/unix/sysv/linux/powerpc/Makefile
2788         (librt-shared-only-routines): Add rt-sysdep.
2789         (libpthread-shared-only-routines): Add sysdep.
2790         * sysdeps/unix/sysv/linux/s390/Makefile
2791         (librt-shared-only-routines): Add rt-sysdep.
2792         * sysdeps/unix/sysv/linux/sparc/Makefile
2793         (librt-shared-only-routines): Add rt-sysdep.
2794         (libpthread-shared-only-routines): Add sysdep.
2795         * sysdeps/unix/sysv/linux/tile/Makefile
2796         (libpthread-shared-only-routines): Likewise.
2798 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2800         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2801         Mask implicit bit out of unpacked value.
2802         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2803         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2806         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2808         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2810         * sysdeps/s390/fpu/fesetexcept.c: New file.
2812         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2813         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2814         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2816         * sysdeps/mips/fpu/fesetexcept.c: New file.
2818         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2820         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2822         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2824         * sysdeps/arm/fesetexcept.c: New file.
2826         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2828         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2830         * math/fesetexcept.c: New file.
2831         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2832         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2833         * math/fenv.h: Define
2834         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2835         <bits/libc-header-start.h> instead of including <features.h>.
2836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2837         declaration.
2838         * manual/arith.texi (fesetexcept): Document function.
2839         * math/Versions (fesetexcept): New libm symbol at version
2840         GLIBC_2.25.
2841         * math/Makefile (libm-support): Add fesetexcept.
2842         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2843         * math/test-fesetexcept.c: New file.
2844         * math/test-fesetexcept-traps.c: Likewise.
2845         * sysdeps/nacl/libm.abilist: Update.
2846         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2847         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2848         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2849         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2850         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2851         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2852         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2853         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2854         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2855         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2856         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2857         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2859         Likewise.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2861         Likewise.
2862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2863         Likewise.
2864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2865         Likewise.
2866         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2867         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2868         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2869         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2870         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2872         Likewise.
2873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2876         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2877         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2879 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2881         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2882         New.
2883         (do_test): Apply default_stack_size_in_mb if not set.
2884         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2886 2016-08-15  Andreas Schwab  <schwab@suse.de>
2888         [BZ #20435]
2889         CVE-2016-6323
2890         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2891         as .cantunwind.
2893 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2895         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2896         comment from fraiseexcpt.c.
2898         * math/test-fexcept.c (feraiseexcept_exact): New function.
2899         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2900         (test_except): Likewise.
2902 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2904         [BZ #20455]
2905         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2906         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2907         to be restored.
2909         * math/test-fexcept-traps.c: New file.
2910         * math/test-fexcept.c: Likewise.
2911         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2912         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2913         macro.
2914         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2915         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2917 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2919         * include/atomic.h (atomic_fetch_and_relaxed,
2920         atomic_fetch_and_release, atomic_fetch_or_release,
2921         atomic_fetch_xor_release): New.
2923 2016-08-06  Christian Seiler  <christian@iwakd.de>
2925         [BZ #20444]
2926         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2927         MACH_PORT_NULL.
2929 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2931         * math/s_fdim.c: Avoid alias renamed.
2932         * math/s_fdimf.c: Likewise.
2933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2934         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2935         Add s_fdimf-vis3, s_fdim-vis3.
2936         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2937         (CFLAGS-s_fdim-vis3.c): Likewise.
2938         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2939         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2941 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2944         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2945         Remove s_fdimf-vis3, s_fdim-vis3.
2946         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2947         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2954         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2955         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2957 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2959         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2960         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2961         -Wa,-Av9a -mvis.
2963 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2965         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2966         LIT() to individual constants in simple expressions
2967         after splitting on spaces.
2968         (_apply_lit): Rename replaced version, and use it to
2969         apply to what appears to be a token.
2971         * math/libm-test.inc: Fix many, many issues with
2972         spacing.
2974 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2976         * math/math.h: Move comment about <bits/mathdef.h> definitions
2977         above inclusion of <bits/mathdef.h>.  Do not mention
2978         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2980 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2982         * include/atomic.h (atomic_exchange_relaxed): New.
2984 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2986         * math/e_scalb.c: Do not include <fenv.h>.
2987         (invalid_fn): Do calculation resulting in NaN instead of raising
2988         FE_INVALID and returning a NaN explicitly.
2989         * math/e_scalbf.c: Do not include <fenv.h>.
2990         (invalid_fn): Do calculation resulting in NaN instead of raising
2991         FE_INVALID and returning a NaN explicitly.
2992         * math/e_scalbl.c: Do not include <fenv.h>.
2993         (invalid_fn): Do calculation resulting in NaN instead of raising
2994         FE_INVALID and returning a NaN explicitly.
2996 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2998         * po/de.po: Updated from Translation Project.
2999         * po/fi.po: Likewise.
3000         * po/sv.po: Likewise.
3002 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3004         [BZ #20452]
3005         Use sysdep.o from libc.a in static libraries.
3006         * sysdeps/unix/sysv/linux/i386/Makefile
3007         (libpthread-shared-only-routines): Add sysdep.
3008         (librt-shared-only-routines): Likewise.
3010 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3012         * math/tgmath.h (nextdown): Define if
3013         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3014         (nextup): Likewise.
3016         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3017         macro.
3018         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3019         Document.
3020         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3021         Document macro.
3022         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3023         (exp10f): Likewise.
3024         (exp10l): Likewise.
3025         * math/bits/mathcalls.h (exp10): Declare if
3026         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3028         * manual/arith.texi (nextup): Fix typo in last change.
3030 2016-08-03  Zack Weinberg  <zackw@panix.com>
3032         [BZ #19239]
3033         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3034         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3035         define major, minor, and makedev to issue deprecation warnings on use.
3036         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3037         previously-activated deprecation warnings for these macros and prevent
3038         subsequent inclusions of this header from having any effect.
3039         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3040         including <sys/sysmacros.h>, and undefine it again afterward.
3042 2016-08-03  Zack Weinberg  <zackw@panix.com>
3044         * sysdeps/generic/sys/sysmacros.h: Delete file.
3045         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3046         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3047         * bits/sysmacros.h: ... here; this encoding is now the generic
3048         encoding.  Now defines only the following macros:
3049         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3050         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3051         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3053         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3054         bits/sysmacros.h and the above new macros to generate the
3055         public implementations of major, minor, and makedev.
3056         * misc/tst-makedev.c: New test.
3057         * include/sys/sysmacros.h: New wrapper.
3059         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3060         (routines): Add makedev.
3061         (tests): Add tst-makedev.
3062         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3063         gnu_dev_makedev.
3064         * posix/Makefile (headers): Remove sys/sysmacros.h.
3065         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3067         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3068         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3069         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3070         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3071         * sysdeps/unix/sysv/linux/arm/libc.abilist
3072         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3073         * sysdeps/unix/sysv/linux/i386/libc.abilist
3074         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3075         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3076         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3077         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3078         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3079         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3080         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3081         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3082         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3087         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3088         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3089         * sysdeps/unix/sysv/linux/sh/libc.abilist
3090         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3091         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3094         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3095         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3096         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3097         Add GLIBC_2.25.
3099         * include/features.h (__glibc_clang_prereq): New macro.
3100         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3101         (__attribute_deprecated_msg__): New macros.
3103 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3105         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3106         macro.
3107         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3108         * manual/arith.texi (issignaling): Document as ISO from TS
3109         18661-1:2014.
3110         (nextup): Likewise.
3111         (nextupf): Likewise.
3112         (nextupl): Likewise.
3113         (nextdown): Likewise.
3114         (nextdownf): Likewise.
3115         (nextdownl): Likewise.
3116         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3117         macro.
3118         * math/math.h: Define
3119         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3120         <bits/libc-header-start.h> instead of including <features.h>.
3121         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3122         [__USE_GNU].
3123         * math/bits/mathcalls.h (nextdown): Declare if
3124         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3125         (nextup): Likewise.
3126         (__issignaling): Likewise.
3128 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3130         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3131         check, and remove __glibc_likely hint
3132         from FP_INFINITE check.
3133         * s_csinhf.c (__csinhf): Likewise.
3135         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3136         hint from FP_INFINITE check.
3137         * s_csinhl.c (__csinhl): Likewise.
3139 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3141         * math/Makefile (libm-calls): Insert F placeholder into
3142         object names.  Move w_lgamma_compat* routines into
3143         (libm-compat-calls): New variable.
3144         (libm-compat-calls-ldouble-yes): New variable.
3145         (calls): Insert F placeholder.
3146         (generated): Redefine using new type-foreach macro call.
3147         (routines): Likewise.
3149         (types): New variable to hold a list of symbolic names
3150         for each type supported by the target machine.
3151         (libm-routines): Redefine using new types variable.
3152         (type-foreach): macro to replace fooF with the
3153         appropriately suffixed foo for each types.
3155         (type-ldouble-suffix): New variable.
3156         (type-ldouble-routines): Likewise.
3157         (type-ldouble-yes): Likewise.
3158         (type-double-suffix): Likewise.
3159         (type-double-routines): Likewise.
3160         (type-float-suffix): Likewise.
3161         (type-float-routines): Likewise.
3163         (dbl-only-routines): Remove.
3164         (long-c-yes): Likewise.
3165         (long-m-routines): Likewise.
3166         (long-m-support): Likewise.
3167         (long-m-yes): Likewise.
3168         (test-longdouble-yes): Likewise.
3170         (test-float.o): Simplify by increasing the scope of the
3171         recipe which adds libm-test.stmp to the vector types.
3172         (test-ifloat.o): Likewise.
3173         (test-float-finite.o): Likewise.
3174         (test-double.o): Likewise
3175         (test-idouble.o): Likewise.
3176         (test-double-finite.o): Likewise.
3177         (test-ldouble.o): Likewise
3178         (test-ildoubl.o): Likewise.
3179         (test-ldouble-finite.o): Likewise.
3181         (libm-tests): Redefine type tests using foreach and the
3182         list of types in types.
3184         (CPPFLAGS-test-ildoubl.c): Rename to
3185         (CPPFLAGS-test-ildouble.c): New variable
3187         * math/test-ildoubl.c: Rename to
3188         * math/test-ildouble.c: New file.
3190 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3192         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3193         Use fabsl instead of fabs.
3194         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3195         Likewise.
3196         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3197         Add long double suffix to constant to ensure proper
3198         promotion to long double.
3200 2016-08-03  Tom Tromey  <tom@tromey.com>
3202         [BZ #20311]
3203         * nptl_db/Makefile (headers): Add proc_service.h.
3204         * nptl_db/proc_service.h: Add include guard.  Use
3205         __BEGIN/__END_DECLS.
3206         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3207         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3208         arguments.
3211 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3213         [BZ #17730]
3214         Avoid using memalign for TCB allocations.
3215         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3216         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3217         Avoid alignment gap in the TLS_DTV_AT_TP case.
3218         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3219         determine the pointer to free.
3220         * nptl/tst-tls3-malloc.c: New test.
3221         * nptl/Makefile (tests): Add it.
3222         (tst-tls3-malloc): Link with libdl, libpthread.
3223         (LDFLAGS-tst-tls3-malloc): Set.
3224         (tst-tls3-malloc.out): Depend on DSO used in test.
3226 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3228         [BZ #17730]
3229         Avoid using memalign for TLS allocations.
3230         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3231         is_static member with to_free member.
3232         (union dtv): Use struct dtv_pointer.
3233         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3234         dtv_pointer instead of is_static.
3235         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3236         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3237         instead of val.
3238         (allocate_dtv_entry): New function.
3239         (allocate_and_init): Return struct dtv_pointer.  Call
3240         allocate_dtv_entry instead of __libc_memalign.
3241         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3242         instead of val.
3243         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3244         instead of is_static.  Adjust call to allocate_and_init.
3245         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3246         struct dtv_pointer instead of val.
3248 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3250         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3251         (MALLOC_ALIGN_MASK): Move ...
3252         * malloc/malloc-internal.h: ... to here.
3253         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3255 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3257         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3258         (UDP_ENCAP_GTP1U): Likewise.
3260         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3261         (PF_MAX): Update value.
3262         (AF_QIPCRTR): New macro.
3264 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3266         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3267         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3268         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3269         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3270         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3271         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3272         s_truncf-vis3, s_trunc-vis3.
3273         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3274         (CFLAGS-s_ceil-vis3.c): Likewise.
3275         (CFLAGS-s_floorf-vis3.c): Likewise.
3276         (CFLAGS-s_floor-vis3.c): Likewise.
3277         (CFLAGS-s_truncf-vis3.c): Likewise.
3278         (CFLAGS-s_trunc-vis3.c): Likewise.
3279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3287         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3288         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3289         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3290         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3292 2016-08-02  David S. Miller  <davem@davemloft.net>
3294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3295         (__nearbyint_vis3): Don't check for sNaN before float register is
3296         loaded with the incoming argument.
3297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3298         (__nearbyintf_vis3): Likewise.
3299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3300         Likewise.
3301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3302         Likewise.
3304         * string/test-strncmp.c (do_test_limit): Make sure the test data
3305         stream is aligned as required for the type "CHAR".
3306         (do_test): Likewise.
3308 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3310         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3311         by beq instructions jumping to the end of the function.
3312         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3313         clobber list. Use "i" constraint instead of "X".
3314         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3315         of "X".
3317 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3319         * bits/libc-header-start.h: New file.
3320         * Makefile (headers): Add bits/libc-header-start.h.
3321         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3322         (__GLIBC_USE): New macro.
3323         * libio/stdio.h: Define
3324         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3325         <bits/libc-header-start.h> instead of including <features.h>.
3326         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3327         (open_memstream): Likewise.
3328         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3329         (__asprintf): Likewise.
3330         (asprintf): Likewise.
3331         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3332         (getdelim): Likewise.
3333         (getline): Likewise.
3334         * string/string.h: Define
3335         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3336         <bits/libc-header-start.h> instead of including <features.h>.
3337         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3338         (strndup): Likewise.
3339         * wcsmbs/wchar.h: Define
3340         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3341         <bits/libc-header-start.h> instead of including <features.h>.
3342         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3343         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3345 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3347         Support linking against compatibility symbols, for use in tests.
3348         * include/libc-symbols.h (symbol_version_reference): New macro.
3349         (symbol_version): Use it.
3350         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3351         (compat_symbol): Use compat_symbol_reference.
3352         (compat_symbol_1, compat_symbol_2): Remove.
3353         (compat_symbol_reference, compat_symbol_reference_1)
3354         (compat_symbol_reference_2): New macro.  Use
3355         symbol_version_reference.
3357 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3359         [BZ #19469]
3360         * malloc/Makefile (CPPFLAGS): Compile tests with
3361         -DTEST_NO_MALLOPT.
3362         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3364 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3366         [BZ #20033]
3367         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3368         finite version.
3369         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3370         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3371         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3372         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3373         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3374         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3375         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3376         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3378         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3379         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3380         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3381         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3382         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3383         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3384         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3386         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3387         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3388         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3389         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3390         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3391         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3392         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3393         in zero power.
3395 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3397         [BZ #20370]
3398         * malloc/arena.c (get_free_list): Update comment.  Assert that
3399         arenas on the free list have no attached threads.
3400         (remove_from_free_list): New function.
3401         (reused_arena): Call it.
3403 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3405         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3406         when it is a NaN.
3407         [_IEEE_FP_INEXACT] Remove.
3408         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3409         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3410         when it is a NaN.
3411         [_IEEE_FP_INEXACT] Remove.
3412         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3413         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3414         when it is a NaN.
3415         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3416         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3417         when its absolute value is greater than 0x1.0p52.
3418         [_IEEE_FP_INEXACT] Remove.
3419         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3420         when its absolute value is greater than 0x1.0p23.
3421         [_IEEE_FP_INEXACT] Remove.
3423 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3425         * version.h (RELEASE): Set to "development"
3426         (VERSION): Set to 2.24.90.
3427         * NEWS: Add 2.25 section.
3429         * version.h (RELEASE): Set to "stable"
3430         (VERSION): Set to 2.24.
3431         * include/features.h (__GLIBC_MINOR__): Set to 24.
3433         * NEWS: Add 2.24 fixed bugs.
3434         * po/libc.pot: Regenerate.
3436 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3439         [$(subdir) = math] (libm-sysdep_routines): Remove.
3440         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3441         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3442         s_truncf-vis3, s_trunc-vis3.
3443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3445         file.
3446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3479         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3480         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3481         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3482         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3483         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3484         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3485         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3486         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3487         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3488         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3490 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3492         [BZ #20384]
3493         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3494         test-double-libmvec-sincos-avx-main.o,
3495         test-double-libmvec-sincos-avx2-main.o,
3496         test-double-libmvec-sincos-main.o,
3497         test-float-libmvec-sincosf-avx-main.o,
3498         test-float-libmvec-sincosf-avx2-main.o and
3499         test-float-libmvec-sincosf-main.o.
3500         test-float-libmvec-sincosf-avx512-main.o.
3501         ($(objpfx)test-double-libmvec-sincos): Also link with
3502         $(objpfx)test-double-libmvec-sincos-main.o.
3503         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3504         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3505         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3506         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3507         ($(objpfx)test-float-libmvec-sincosf): Also link with
3508         $(objpfx)test-float-libmvec-sincosf-main.o.
3509         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3510         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3511         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3512         test-double-libmvec-sincos-avx512-main.o and
3513         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3514         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3515         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3516         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3517         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3518         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3519         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3520         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3521         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3522         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3523         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3524         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3525         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3526         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3527         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3528         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3529         -DREQUIRE_AVX2.
3530         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3531         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3532         -DREQUIRE_AVX512F.
3533         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3534         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3535         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3536         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3537         file.
3538         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3539         Likewise.
3540         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3541         Likewise.
3542         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3543         Likewise.
3544         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3545         Likewise.
3546         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3547         Likewise.
3548         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3549         Likewise.
3550         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3551         Likewise.
3553 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3555         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3557 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3559         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3560         and typo in a comment about AT_HWCAP entry.
3562 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3564         * sysdeps/aarch64/libm-test-ulps: Updated.
3566 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3568         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3569         of r13 as it is not restored in mvcle case.
3571 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3573         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3574         Rename "ret" to "__ret".
3575         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3576         inline_syscall5, inline_syscall6): Likewise.
3578 2016-07-19   Will Newton  <will.newton@gmail.com>
3580         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3581         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3582         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3583         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3584         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3586 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3588         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3589         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3590         -mfpmath=387 with $(rtld-CFLAGS).
3591         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3592         $(rtld-CFLAGS).
3594 2016-07-18   Ross Burton  <ross.burton@intel.com>
3595              Khem Raj  <raj.khem@gmail.com>
3597         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3598         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3599         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3600         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3601         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3602         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3603         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3604         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3605         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3606         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3607         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3608         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3609         R_METAG_TLS_DTPOFF): New.
3611 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3612             Matt Clay  <mclay@lycos.com>
3614         [BZ #20357]
3615         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3616         to call __mpsin/__mpcos and to negate values.
3617         * math/auto-libm-test-in: Add test.
3618         * math/auto-libm-test-out: Regenerate.
3620 2016-07-18  Zack Weinberg  <zackw@panix.com>
3622         * grp/Makefile: Don't install the internal header grp-merge.h.
3624 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3626         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3628 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3630         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3632 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3634         [BZ #15368]
3635         * sysdeps/unix/sysv/linux/nptl-signals.h
3636         (__nptl_clear_internal_signals): New function.
3637         (__libc_signal_block_all): Likewise.
3638         (__libc_signal_block_app): Likewise.
3639         (__libc_signal_restore_set): Likewise.
3640         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3641         implementation.
3642         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3643         the cached pid/tid value in pthread structure.
3645 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3647         [BZ #20347]
3648         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3650 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3652         [BZ #20348]
3653         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3654         preadv64, pwrite64 and pwritev64.
3656 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3658         [BZ #20350]
3659         * posix/tst-preadwrite.c: Renamed to ...
3660         * posix/tst-preadwrite-common.c: This.
3661         (PREAD): Removed.
3662         (PWRITE): Likewise.
3663         (STRINGIFY): Likewise.
3664         (STRINGIFY2): Likewise.
3665         (do_prepare): Make it static and remove function arguments.
3666         (do_test): Likewise.
3667         (PREPARE): Updated.
3668         (TEST_FUNCTION): New.
3669         (name): Make it static.
3670         (fd): Likewise.
3671         (do_prepare): Use create_temp_file.
3672         (do_test): Renamed to ...
3673         (do_test_with_offset): This.  Make it static and accept offset.
3674         Properly check return value of PWRITE and PREAD.  Return bytes
3675         read.  Don't close fd nor unlink name.
3676         * posix/tst-preadwrite.c: Rewrite.
3677         * posix/tst-preadwrite64.c: Likewise.
3679 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3681         [BZ #20309]
3682         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3683         -mtls-dialect=gnu2 works.
3684         * configure: Regenerated.
3685         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3686         (tests): Add tst-gnu2-tls1.
3687         (modules-names): Add tst-gnu2-tls1mod.
3688         ($(objpfx)tst-gnu2-tls1): New.
3689         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3690         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3691         * elf/tst-gnu2-tls1.c: New file.
3692         * elf/tst-gnu2-tls1mod.c: Likewise.
3693         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3694         bytes for push in the PLT entry to align the stack.
3696 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3698         [BZ #20349]
3699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3701 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3703         [BZ #18707]
3704         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3705         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3707 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3709         * sysdeps/unix/sysv/linux/sysdep.h
3710         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3711         guards.
3712         * misc/tst-preadvwritev-common.c: New file.
3713         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3714         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3715         a check for files larger than 2GB.
3717         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3718         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3719         * sysdeps/unix/sysv/linux/pread.c
3720         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3721         __OFF_T_MATCHES_OFF64_T.
3722         * sysdeps/unix/sysv/linux/pread64.c
3723         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3724         * sysdeps/unix/sysv/linux/preadv.c
3725         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3726         * sysdeps/unix/sysv/linux/preadv64.c
3727         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3728         * sysdeps/unix/sysv/linux/pwrite.c
3729         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3730         * sysdeps/unix/sysv/linux/pwrite64.c
3731         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3732         * sysdeps/unix/sysv/linux/pwritev.c
3733         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3734         * sysdeps/unix/sysv/linux/pwritev64.c
3735         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3737 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3740         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3742 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3744         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3746 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3748         [BZ #20240]
3749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3750         (CFLAGS-s_modf-ppc32.c): New variable.
3751         (CFLAGS-s_modff-ppc32.c): Likewise.
3752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3753         (CFLAGS-s_modf-ppc64.c): Likewise.
3754         (CFLAGS-s_modff-ppc64.c): Likewise.
3756 2016-07-07  Andreas Schwab  <schwab@suse.de>
3758         [BZ #20263]
3759         * nptl/tst-robust10.c: New test.
3760         * nptl/Makefile (tests): Add tst-robust10.
3762 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3764         [BZ #20263]
3765         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3767 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3769         * sysdeps/s390/linkmap.h (struct link_map_machine):
3770         Remove member gotplt and add member jmprel.
3771         * sysdeps/s390/s390-32/dl-machine.h
3772         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3773         instead of gotplt with &got[3].
3774         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3775         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3777 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3779         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3781 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3783         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3784         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3785         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3786         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3787         * libio/vtables.c (_IO_vtable_check)
3788         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3789         * libio/libioP.h (IO_set_accept_foreign_vtables)
3790         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3792 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3794         [BZ #20314]
3795         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3796         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3797         $(common-objpfx)cmath.
3798         ($(common-objpfx)cstdlib): New target.
3799         ($(common-objpfx)cmath): Likewise.
3801 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3803         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3805 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3807         [BZ #20327]
3808         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3809         are not part of the string.
3811 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3813         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3814         * nptl/tst-cancel4-common.h (fifoname): New variable.
3815         (fifofd): Likewise.
3816         (cl_fifo): New function.
3817         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3818         SIGINT.
3819         (tf_open): Add early cancel test.
3821 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3823         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3825 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3827         * sysdeps/generic/ldsodefs.h
3828         (dl_symbol_visibility_binds_local_p): New inline function.
3829         * elf/dl-addr.c (determine_info): Treat hidden and internal
3830         symbols as local.
3831         * elf/dl-lookup.c (do_lookup_x): Likewise.
3832         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3834 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3836         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3837         invalid exception for a sNaN input.
3838         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3839         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3840         (__nearbyint_vis3): Likewise
3841         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3842         (__nearbyintf_vis3): Likewise
3843         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3844         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3845         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3846         Likewise.
3847         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3848         Likewise.
3850 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3852         [BZ #20139]
3853         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3854         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3855         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3856         2.24 or above.
3857         (HAVE_AVX512_ASM_SUPPORT): Removed.
3858         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3859         * sysdeps/x86_64/configure: Regenerated.
3860         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3861         check unconditional.
3862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3863         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3864         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3865         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3866         Likewise.
3867         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3868         Likewise.
3869         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3870         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3871         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3872         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3873         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3874         Likewise.
3875         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3876         Likewise.
3877         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3878         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3880         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3881         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3882         Likewise.
3883         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3884         Likewise.
3885         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3886         Likewise.
3887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3888         Likewise.
3889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3890         Likewise.
3891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3892         Likewise.
3893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3894         Likewise.
3895         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3896         Likewise.
3897         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3898         Likewise.
3899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3900         Likewise.
3901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3902         Likewise.
3904 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3906         [BZ #20024]
3907         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3908         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3909         of this implementation of vector function.
3910         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3911         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3913         Likewise.
3914         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3915         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3916         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3917         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3918         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3919         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3920         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3921         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3922         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3923         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3924         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3925         for testing vector sincos with fixed ABI.
3926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3927         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3928         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3929         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3930         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3931         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3932         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3933         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3934         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3935         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3936         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3937         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3938         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3939         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3940         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3941         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3943 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3945         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3947 2016-06-30  Anton Blanchard  <anton@samba.org>
3949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3950         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3951         s_sinf-ppc64.
3952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3955         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3957 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3961         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3962         e_expf-ppc64.
3963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3966         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3968 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3970         [BZ #20277]
3971         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3972         when SHARED is defined.
3974 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3976         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3977         (index_arch_Prefer_ERMS): Likewise.
3978         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3979         __memcpy_erms for Prefer_ERMS.
3980         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3981         (__memmove_erms): Enabled for libc.a.
3982         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3983         __memmove_erms or Prefer_ERMS.
3984         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3985         __mempcpy_erms for Prefer_ERMS.
3986         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3987         __memset_erms for Prefer_ERMS.
3989 2016-06-30  Andreas Schwab  <schwab@suse.de>
3991         [BZ #20262]
3992         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3993         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3994         of memory.
3996 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3998         [BZ #18645]
3999         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4000         (test-extras): Add tst-cleanupx4aux.
4001         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4002         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4003         tst-cleanupx4aux.o.
4004         * nptl/tst-cleanupx4aux.c: New file.
4006 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4008         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4010 2016-06-29  Andreas Schwab  <schwab@suse.de>
4012         [BZ #20260]
4013         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4014         address before the beginning of the string as an integer to avoid
4015         array-bounds warning.
4017 2016-06-28  Richard Henderson  <rth@redhat.com>
4019         * elf/elf.h (EM_BPF): New.
4020         (EM_NUM): Update.
4021         (R_BPF_NONE, R_BPF_MAP_FD): New.
4023         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4024         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4025         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4026         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4027         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4028         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4029         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4030         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4031         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4032         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4033         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4034         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4035         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4036         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4037         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4038         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4039         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4040         (EM_NUM): Update.
4042 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4044         [BZ #18960]
4045         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4046         Set _nl_current_LC_CATEGORY_used to two instead of one.
4048 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4050         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4051         (do_test): ... this.
4052         (TEST_FUNCTION): New macro.
4053          Include test-skeleton.c.
4054         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4055         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4057 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4059         [BZ #15479]
4060         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4061         floating-point environment rather than just control word.
4062         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4063         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4064         floating-point environment, with "invalid" exceptions merged in,
4065         rather than just control word.
4066         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4067         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4068         "inexact" exceptions.
4070         [BZ #15479]
4071         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4072         floating-point environment rather than just control word.
4073         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4074         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4075         floating-point environment, with "invalid" exceptions merged in,
4076         rather than just control word.
4077         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4078         * math/libm-test.inc (floor_test_data): Do not allow spurious
4079         "inexact" exceptions.
4081         [BZ #15479]
4082         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4083         floating-point environment rather than just control word.
4084         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4085         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4086         floating-point environment, with "invalid" exceptions merged in,
4087         rather than just control word.
4088         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4089         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4090         "inexact" exceptions.
4092 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4094         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4095         __libc_vfork.
4096         (__vfork) [IS_IN (libc)]: Remove alias.
4097         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4098         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4099         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4101 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4103         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4104         of atomic_compare_and_exchange_bool_rel.
4105         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4106         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4107         catomic_compare_and_exchange_bool_rel): Remove.
4108         * sysdeps/aarch64/atomic-machine.h
4109         (atomic_compare_and_exchange_bool_rel): Likewise.
4110         * sysdeps/alpha/atomic-machine.h
4111         (atomic_compare_and_exchange_bool_rel): Likewise.
4112         * sysdeps/arm/atomic-machine.h
4113         (atomic_compare_and_exchange_bool_rel): Likewise.
4114         * sysdeps/mips/atomic-machine.h
4115         (atomic_compare_and_exchange_bool_rel): Likewise.
4116         * sysdeps/microblaze/atomic-machine.h
4117         ( __arch_compare_and_exchange_bool_8_rel,
4118         __arch_compare_and_exchange_bool_16_rel): Likewise.
4119         * sysdeps/powerpc/atomic-machine.h
4120         ( __arch_compare_and_exchange_bool_8_rel,
4121         __arch_compare_and_exchange_bool_16_rel): Likewise.
4122         * sysdeps/powerpc/powerpc32/atomic-machine.h
4123         ( __arch_compare_and_exchange_bool_32_rel,
4124         __arch_compare_and_exchange_bool_64_rel): Likewise.
4125         * sysdeps/powerpc/powerpc64/atomic-machine.h
4126         ( __arch_compare_and_exchange_bool_32_rel,
4127         __arch_compare_and_exchange_bool_64_rel): Likewise.
4128         * sysdeps/tile/atomic-machine.h
4129         (atomic_compare_and_exchange_bool_rel): Likewise.
4131 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4133         [BZ #20296]
4134         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4135         when either argument is a NaN.
4136         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4137         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4139         * math/libm-test.inc (snan_value_ld): New macro.
4140         (isgreater_test_data): Add sNaN tests.
4141         (isgreaterequal_test_data): Likewise.
4142         (isless_test_data): Likewise.
4143         (islessequal_test_data): Likewise.
4144         (islessgreater_test_data): Likewise.
4145         (isunordered_test_data): Likewise.
4146         (nextafter_test_data): Likewise.
4147         (nexttoward_test_data): Likewise.
4148         (remainder_test_data): Likewise.
4149         (remquo_test_data): Likewise.
4150         (significand_test_data): Likewise.
4151         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4153 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4155         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4156         environment macros are defined.
4157         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4159 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4161         [BZ #20191]
4162         Implement vtable verification in libio.
4163         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4164         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4165         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4166         _IO_new_file_init_internal instead of _IO_file_init.
4167         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4168         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4169         * libio/Makefile (routines): Add vtables.
4170         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4171         (_IO_init): Remove, not for internal use.
4172         (_IO_init_internal): Declare, internal replacement for _IO_init.
4173         (_IO_file_init): Remove, not for internal use.
4174         (_IO_new_file_init): Remove, not for internal use.
4175         (_IO_new_file_init_internal): Declare, internal replacement for
4176         _IO_new_file_init.
4177         (_IO_old_file_init): Remove, not for internal use.
4178         (_IO_old_file_init_internal): Declare, internal replacement for
4179         _IO_old_file_init.
4180         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4181         internal use.
4182         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4183         Declare.
4184         (libio_vtable): New macro.
4185         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4186         functions.
4187         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4188         _IO_new_file_init.
4189         (_IO_new_file_init): New externally visible wrapper which disables
4190         vtable verification.
4191         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4192         Define as vtables.
4193         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4194         (_IO_init): New externally visible wrapper which disables
4195         vtable verification.
4196         * libio/iofdopen.c (_IO_new_fdopen): Call
4197         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4198         comment.
4199         * libio/iofopen.c (__fopen_internal): Call
4200         _IO_new_file_init_internal instead of _IO_file_init.
4201         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4202         Define as vtables.
4203         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4204         _IO_new_file_init_internal instead of _IO_file_init.
4205         * libio/iopopen.c (_IO_new_popen): Likewise.
4206         (_IO_proc_jumps): Define as vtable.
4207         * libio/iovdprintf.c (_IO_vdprintf): Call
4208         _IO_new_file_init_internal instead of _IO_file_init.
4209         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4210         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4211         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4212         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4213         _IO_old_file_init.
4214         (_IO_old_file_init): New externally visible wrapper which disables
4215         vtable verification.
4216         (_IO_old_file_jumps): Define as vtable.
4217         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4218         _IO_old_file_init_internal instead of _IO_old_file_init.
4219         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4220         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4221         (_IO_old_proc_jumps): Define as vtable.
4222         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4223         Define as vtables.
4224         * libio/vtables.c: New file.
4225         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4226         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4227         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4228         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4229         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4230         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4231         instead of _IO_init.
4233 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4235         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4237 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4239         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4240         potentially unused.
4242 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4244         * test-skeleton.c (write_message): New function.
4245         * malloc/tst-mallocfork2.c (write_message): Remove.
4246         * debug/tst-longjmp_chk2.c (write_indented): New function.
4247         (write_message): Remove.
4248         (stackoverflow_handler): Call write_indented.
4250 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4252         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4253         "inexact" exceptions after fnstenv.
4254         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4255         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4256         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4258 2015-06-22  Zack Weinberg  <zackw@panix.com>
4260         * sysdeps/generic/bits/hwcap.h: Moved to ...
4261         * bits/hwcap.h: Here.
4263 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4265         * sysdeps/aarch64/memcpy.S (memcpy):
4266         Further tuning for performance.
4268 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4270         [BZ #20284]
4271         * malloc/arena.c (reused_arena): Do not return NULL if we start
4272         out with a non-corrupted arena.
4274 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4276         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4277         * misc/tst-preadvwritev.c: New file.
4278         * misc/tst-preadvwritev64.c: Likewise.
4279         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4280         usage.
4281         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4282         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4283         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4284         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4286 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4288         [BZ #19654]
4289         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4290         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4291         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4292         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4293         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4294         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4295         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4296         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4297         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4298         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4299         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4300         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4301         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4302         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4303         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4304         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4305         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4306         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4307         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4308         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4309         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4310         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4311         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4312         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4313         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4314         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4316 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4318         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4319         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4321 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4323         * sysdeps/aarch64/memcpy.S (memcpy):
4324         Rewrite of optimized memcpy and memmove.
4325         * sysdeps/aarch64/memmove.S (memmove): Remove
4326         memmove code (merged into memcpy.S).
4328 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4330         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4331         * sysdeps/generic/dl-dtv.h: New file.
4332         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4333         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4334         (dtv_t): Remove.
4335         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4336         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4337         (dtv_t): Remove.
4338         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4339         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4340         (dtv_t): Remove.
4341         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4342         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4343         (dtv_t): Remove.
4344         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4345         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4346         (dtv_t): Remove.
4347         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4348         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4349         (dtv_t): Remove.
4350         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4351         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4352         (dtv_t): Remove.
4353         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4354         (dtv_t): Remove.
4355         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4356         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4357         (dtv_t): Remove.
4358         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4359         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4360         (dtv_t): Remove.
4361         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4362         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4363         (dtv_t): Remove.
4364         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4365         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4366         (dtv_t): Remove.
4367         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4368         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4369         (dtv_t): Remove.
4370         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4371         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4372         (dtv_t): Remove.
4373         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4374         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4375         (dtv_t): Remove.
4376         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4377         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4378         (dtv_t): Remove.
4380 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4382         Revert symbol poisoning of  __malloc_initialize_hook.
4383         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4384         poisoning.
4385         * malloc/Makefile: Remove un-poisoning.
4386         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4387         instead of old__malloc_initialize_hook.
4388         * malloc/malloc-hooks.h: Likewise.
4389         * malloc/malloc.c: Likewise.
4390         * malloc/mcheck-init.c: Likewise.
4392 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4394         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4396 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4398         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4399         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4400         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4401         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4403 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4405         * NEWS: Mention addition of nextup and nextdown.
4406         * manual/arith.texi: Document nextup and nextdown.
4407         * manual/libm-err-tab.pl: Add nextup and nextdown.
4408         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4409         * math/Versions (libm): Add GLIBC_2.24.
4410         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4411         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4412         Add new test.
4413         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4414         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4415         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4416         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4417         (nextup_test_data): Likewise.
4418         (nextdown_test_data): Likewise.
4419         * math/s_nextdown.c: New file.
4420         * math/s_nextdownf.c: Likewise.
4421         * math/s_nextdownl.c: Likewise.
4422         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4423         F(nextup): New function.
4424         F(nextdown): Likewise.
4425         * math/tgmath.h: Add nextup and nextdown.
4426         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4427         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4432         Add nextup and nextdown.
4433         (CFLAGS-nldbl-nextup.c): New variable.
4434         (CFLAGS-nldbl-nextdown.c): Likewise.
4435         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4436         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4437         * sysdeps/nacl/libm.abilist: Update.
4438         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4439         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4440         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4441         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4442         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4443         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4444         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4445         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4446         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4447         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4448         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4449         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4452         Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4456         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4458         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4459         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4462         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4463         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4464         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4465         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4467 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4469         * manual/pattern.texi: Fix typos & grammar errors.
4471 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4473         * manual/search.texi: Fix typos & grammar errors.
4475 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4477         * manual/message.texi: Fix typos & grammar errors.
4479 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4481         * manual/contrib.texi: Fix spelling typos.
4482         * manual/crypt.texi: Likewise.
4483         * manual/filesys.texi: Likewise.
4484         * manual/locale.texi: Likewise.
4485         * manual/message.texi: Likewise.
4486         * manual/nss.texi: Likewise.
4487         * manual/string.texi: Likewise.
4489 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4491         * manual/locale.texi: Fix typos & grammar errors.
4493 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4495         * manual/charset.texi: Fix typos & grammar errors.
4497 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4499         * manual/string.texi: Fix typos.
4501 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4503         * manual/ctype.texi: Fix typos.
4505 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4507         * manual/memory.texi: Fix various typos & grammar errors.
4509 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4511         [BZ #20255]
4512         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4513         * math/libm-test.inc (fdim_test_data): Add another test.
4515         [BZ #6796]
4516         [BZ #20255]
4517         [BZ #20256]
4518         * math/s_fdim.c: Include <math_private.h>.
4519         (__fdim): Use math_narrow_eval on result.
4520         * math/s_fdimf.c: Include <math_private.h>.
4521         (__fdimf): Use math_narrow_eval on result.
4522         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4523         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4524         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4525         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4526         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4527         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4528         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4529         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4530         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4531         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4532         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4533         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4534         overflow.  Add sNaN tests.
4536         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4537         fpclassify.
4538         * math/s_fdimf.c (__fdimf): Likewise.
4539         * math/s_fdiml.c (__fdiml): Likewise.
4541 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4543         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4544         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4546         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4547         ifunc'ed strcasecmp/strncasecmp.
4548         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4549         [EALIGN]: Removed.
4550         [END]: Likewise.
4551         [__strcasecmp]: Define instead of the above to control symbol name.
4552         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4553         for __strcasecmp_power8.
4554         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4555         for __strncasecmp_power8.
4556         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4557         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4558         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4559         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4560         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4561         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4563 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4565         [BZ #20252]
4566         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4567         arguments when second argument is a NaN.
4568         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4569         qNaN tests.
4571         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4572         (conj_test_data): Likewise.
4573         (copysign_test_data): Likewise.
4574         (creal_test_data): Likewise.
4575         (fma_test_data): Likewise.
4576         (fmod_test_data): Likewise.
4578         [BZ #20250]
4579         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4580         itself.
4581         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4582         zero input to itself.
4583         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4584         Likewise.
4585         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4586         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4587         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4588         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4589         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4591 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4593         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4594         * nptl/tst-cancel4-common.c: New file.
4595         * nptl/tst-cancel4-common.h: Likewise.
4596         * nptl/tst-cancel4.c: Move common definitions to
4597         tst-cancel4-common.{c,h} file.
4598         * nptl/tst-cancel4_1.c: New test.
4599         * nptl/tst-cancel4_2.c: New test.
4601 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4603         [BZ #20248]
4604         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4605         (write_message): New function.
4606         (stackoverflow_handler): Call it instead of printf, to avoid
4607         excessive stack usage by printf.
4608         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4610 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4612         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4613         (prio_inherit_missing): Remove define.
4614         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4615         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4616         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4619         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4620         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4621         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4622         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4623         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4625 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4627         [BZ #19670]
4628         [BZ #19672]
4630         * io/test-lfs.c (do_prepare): Use xmalloc.
4631         * io/tst-fcntl.c (do_prepare): Likewise.
4632         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4633         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4634         * login/tst-utmp.c (do_prepare): Likewise.
4635         * posix/tst-exec.c (do_prepare): Likewise.
4636         * posix/tst-pathconf.c (prepare): Likewise.
4637         * posix/tst-spawn.c (do_prepare): Likewise.
4638         * posix/tst-truncate.c (do_prepare): Likewise.
4639         * rt/tst-aio.c (do_prepare): Likewise.
4640         * rt/tst-aio64.c (do_prepare): Likewise.
4642 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4644         [BZ #20237]
4645         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4646         (get*ent): Set entidx to NULL during initialization.  If entidx is
4647         NULL, start iteration from the beginning.
4649 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4651         * malloc/malloc.c (musable): Return correct size for dumped fake
4652         mmapped chunk.
4654 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4656         [BZ #20222]
4657         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4658         (_IO_cookie_write): Likewise.
4659         (_IO_cookie_seek): Likewise.
4660         (_IO_cookie_close): Likewise.
4661         (_IO_old_cookie_seek): Likewise.
4662         (set_callbacks): New function.
4663         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4665 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4667         * locale/programs/localedef.c (oldstyle_tables): Remove.
4668         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4670 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4672         [BZ #20240]
4673         * math/Makefile (CFLAGS-s_modf.c): New variable.
4674         (CFLAGS-s_modff.c): Likewise.
4675         (CFLAGS-s_modfl.c): Likewise.
4676         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4678 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4680         [BZ #20215]
4681         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4682         [!__GNUC_PREREQ (3,2)]: Likewise.
4684 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4686         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4687         (msghdr.msg_controllen): Likewise.
4688         (cmsghdr.cmsg_len): Likewise.
4689         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4690         ptw-oldsendmsg.
4691         (CFLAGS-oldrecvmsg.c): Remove rule.
4692         (CFLAGS-oldsendmsg.c): Likewise.
4693         (CFLAGS-recvmsg.c): Add rule.
4694         (CFLAGS-sendmsg.c): Likewise.
4695         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4696         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4697         (CFLAGS-recvmsg.c): Remove rule.
4698         (CFLAGS-sendmsg.c): Likewise.
4699         (CFLAGS-oldrecvmsg.c): Likewise.
4700         (CFLAGS-oldsendmsg.c): Likewise.
4701         (CFLAGS-recvmmsg.c): Likewise.
4702         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4703         to kernel defined interfaces.
4704         (msghdr.msg_controllen): Likewise.
4705         (cmsghdr.cmsg_len): Likewise.
4706         (msghdr.__glibc_reserved1): Remove member.
4707         (msghdr.__glibc_reserved2): Likewise.
4708         (cmsghdr.__glibc_reserved1): Likewise.
4709         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4710         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4711         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4712         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4713         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4714         version.
4715         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4716         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4717         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4718         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4719         Remove recvmsg and sendmsg.
4720         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4721         Likewise.
4722         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4723         Likewise.
4724         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4725         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4726         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4727         Likewise.
4728         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4729         Likewise.
4730         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4731         [libc] (GLIBC_2.24): Likewise.
4732         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4735         Likewise.
4736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4737         [libc] (GLIBC_2.24): Likewise.
4738         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4739         Likewise.
4740         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4741         Likewise.
4742         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4743         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4744         Likewise.
4745         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4746         Likewise.
4747         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4748         Likewise.
4749         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4750         Likewise.
4751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4752         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4753         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4754         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4755         version for {recv,send,recm,sendm}msg.
4756         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4757         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4758         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4759         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4760         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4761         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4762         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4763         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4764         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4765         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4766         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4767         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4769         Likewise.
4770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4771         Likewise.
4772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4776         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4777         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4778         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4782         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4783         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4784         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4786 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4788         [BZ #19564]
4789         Remove __malloc_initialize_hook from the API.
4790         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4791         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4792         #pragma GCC poison.
4793         * malloc/malloc-hooks.h: New file.
4794         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4795         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4796         (old__malloc_initialize_hook): Rename from
4797         __malloc_initialize_hook to evade poisoning.  Turn into compat
4798         symbol.
4799         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4800         __malloc_initialize_hook.
4801         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4802         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4803         * manual/memory.texi (Hooks for Malloc): Remove
4804         __malloc_initialize_hook.  Adjust hook example.
4806 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4808         [BZ #20235]
4809         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4810         itself.
4811         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4812         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4814         [BZ #20234]
4815         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4816         infinity or NaN input to itself.
4818         [BZ #20233]
4819         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4820         to itself.
4822         [BZ #20232]
4823         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4824         itself.
4826 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4828         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4829         __libc_start_main via GOT.
4831 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4833         * sysdeps/x86_64/memcopy.h: New file.
4834         * sysdeps/x86_64/wordcopy.c: Likewise.
4836 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4838         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4839         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4840         <cstdlib>.
4841         (optimization_barrier): New.
4842         (do_test): Use it.  Call quick_exit in the global namespace.
4843         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4844         instead of <cstdlib>, <thread>.
4845         (optimization_barrier): New.
4846         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4847         Call quick_exit in the global namespace.
4848         (do_test): Call optimization_barrier.  Use pthread_create,
4849         pthread_join instead of std::thread.
4851 2016-06-09  Andreas Schwab  <schwab@suse.de>
4853         [BZ #19755]
4854         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4855         new entries in auto-propagate mode.
4856         * nscd/grpcache.c (cache_addgr): Likewise.
4858 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4860         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4861         New functions.
4862         (add_temp_file): Use them.
4864 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4866         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4868 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4870         [BZ #20229]
4871         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4872         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4873         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4875         [BZ #20228]
4876         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4877         itself.
4878         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4879         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4881         [BZ #20227]
4882         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4883         itself.
4884         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4885         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4886         * math/libm-test.inc (log_test_data): Add sNaN tests.
4888         [BZ #20226]
4889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4890         itself.
4891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4892         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4893         (exp10_test_data): Likewise.
4894         (expm1_test_data): Likewise.
4896         [BZ #20225]
4897         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4898         itself.
4899         * math/s_ldexpf.c (__ldexpf): Likewise.
4900         * math/s_ldexpl.c (__ldexpl): Likewise.
4901         * math/w_scalbln.c (__w_scalbln): Likewise.
4902         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4903         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4904         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4905         (scalbln_test_data): Likewise.
4907         [BZ #20224]
4908         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4909         argument to itself.
4910         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4912 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4914         [BZ #19776]
4915         * sysdeps/x86_64/memcpy.S: Make it dummy.
4916         * sysdeps/x86_64/mempcpy.S: Likewise.
4917         * sysdeps/x86_64/memmove.S: New file.
4918         * sysdeps/x86_64/memmove_chk.S: Likewise.
4919         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4920         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4921         * sysdeps/x86_64/memmove.c: Removed.
4922         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4923         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4924         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4925         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4926         Likewise.
4927         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4928         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4930         memcpy-sse2-unaligned, memmove-avx-unaligned,
4931         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4933         (__libc_ifunc_impl_list): Replace
4934         __memmove_chk_avx512_unaligned_2 with
4935         __memmove_chk_avx512_unaligned.  Remove
4936         __memmove_chk_avx_unaligned_2.  Replace
4937         __memmove_chk_sse2_unaligned_2 with
4938         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4939         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4940         with __memmove_avx512_unaligned.  Replace
4941         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4942         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4943         with __memcpy_chk_avx512_unaligned.  Remove
4944         __memcpy_chk_avx_unaligned_2.  Replace
4945         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4946         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4947         Replace __memcpy_avx512_unaligned_2 with
4948         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4949         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4950         with __mempcpy_chk_avx512_unaligned.  Remove
4951         __mempcpy_chk_avx_unaligned_2.  Replace
4952         __mempcpy_chk_sse2_unaligned_2 with
4953         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4954         Replace __mempcpy_avx512_unaligned_2 with
4955         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4956         Replace __mempcpy_sse2_unaligned_2 with
4957         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4958         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4959         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4960         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4961         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4962         (ENTRY): Removed.
4963         (END): Likewise.
4964         (ENTRY_CHK): Likewise.
4965         (libc_hidden_builtin_def): Likewise.
4966         Don't include ../memcpy.S.
4967         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4968         __memcpy_chk_avx512_unaligned_erms and
4969         __memcpy_chk_avx512_unaligned.  Use
4970         __memcpy_chk_avx_unaligned_erms and
4971         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4972         Default to __memcpy_chk_sse2_unaligned.
4973         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4974         Change function suffix from unaligned_2 to unaligned.
4975         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4976         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4977         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4978         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4979         (ENTRY): Removed.
4980         (END): Likewise.
4981         (ENTRY_CHK): Likewise.
4982         (libc_hidden_builtin_def): Likewise.
4983         Don't include ../mempcpy.S.
4984         (mempcpy): New.  Add a weak alias.
4985         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4986         __mempcpy_chk_avx512_unaligned_erms and
4987         __mempcpy_chk_avx512_unaligned.  Use
4988         __mempcpy_chk_avx_unaligned_erms and
4989         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4990         Default to __mempcpy_chk_sse2_unaligned.
4992 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4994         [BZ #19881]
4995         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4996         into ...
4997         * sysdeps/x86_64/memset.S: This.
4998         (__bzero): Removed.
4999         (__memset_tail): Likewise.
5000         (__memset_chk): Likewise.
5001         (memset): Likewise.
5002         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5003         defined.
5004         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5005         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5006         (__memset_zero_constant_len_parameter): Check SHARED instead of
5007         PIC.
5008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5009         memset-avx2 and memset-sse2-unaligned-erms.
5010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5011         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5012         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5013         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5014         (__bzero): Enabled.
5015         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5016         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5017         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5018         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5019         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5020         (memset): Removed.
5021         (__memset_chk): Likewise.
5022         (MEMSET_SYMBOL): New.
5023         (libc_hidden_builtin_def): Replace __memset_sse2 with
5024         __memset_sse2_unaligned.
5025         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5026         __memset_chk_sse2 and __memset_chk_avx2 with
5027         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5028         Use __memset_chk_sse2_unaligned_erms or
5029         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5030         __memset_chk_avx512_unaligned_erms and
5031         __memset_chk_avx512_unaligned.
5033 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5035         * math/gen-auto-libm-test.c (fp_format_desc): remove
5036         suffix member.
5037         (output_generic_value): Remove usage of suffix member,
5038         and the resulting unuse of the fp_format argument.
5039         (output_for_one_input_case): Remove unused fp_format
5040         parameter.
5042         * math/auto-libm-test-out: Regenerate.
5044         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5045         usage with TEST_COND_ibm128.
5046         (TEST_COND_flt_32): Remove.
5047         (TEST_COND_dbl_64): Remove.
5048         (TEST_COND_ldbl_96_intel): Remove.
5049         (TEST_COND_ldbl_96_m68k): Remove.
5050         (TEST_COND_ldbl_128): Remove.
5052 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5054         * auto-libm-test-in:
5055         Replace flt-32 usage with binary32.
5056         Replace dbl-64 usage with binary64.
5057         Replace ldbl-intel-96 usage with intel96.
5058         Replace ldbl-m68k-96 usage with m68k96.
5059         Replace ldbl-128ibm usage with ibm128.
5060         Replace ldbl-128 usage with binary128.
5062         * auto-libm-test-out: Regenerate.
5064 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5066         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5067         (parse_ulps): Dynamically generate type name matching
5068         string from all_floats.
5069         (get_ulps): Generate the ulps as an array instead.
5070         (output_ulps): Dynamically compose the type based
5071         on the number of supported formats, and print
5072         the indices as type specific helper macros.
5074         * math/libm-test.inc: Remove comment about CHOOSE.
5075         (ulp_data): Generate the type in libm-test-ulps.h.
5076         (ULP_IDX): New macro.
5077         (find_ulps): Update usage of max_ulp.
5079         * math/test-double-vlen2.h (CHOOSE): Remove.
5080         * math/test-double-vlen4.h (CHOOSE): Likewise.
5081         * math/test-double-vlen8.h (CHOOSE): Likewise.
5082         * math/test-float.c (CHOOSE): Likewise.
5083         * math/test-float-finite.c (CHOOSE): Likewise.
5084         * math/test-double.c (CHOOSE): Likewise.
5085         * math/test-double-finite.c (CHOOSE): Likewise.
5086         * math/test-idouble.c (CHOOSE): Likewise.
5087         * math/test-ifloat.c (CHOOSE): Likewise.
5088         * math/test-ildoubl.c (CHOOSE): Likewise.
5089         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5090         * math/test-ldouble.c (CHOOSE): Likewise.
5092         * math/test-float.h (TEST_FLOAT): Remove.
5093         * math/test-double.h (TEST_DOUBLE): Likewise.
5094         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5096 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5098         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5099         (parse_args): Strip C suffix from floating point literals
5100         typed with 'f' and wrap them with LIT().
5102         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5103         (test_ff_f_data_nexttoward): Rename to
5104         (test_fj_f_data): New struct.
5105         (nexttoward_test_data): Relabel tests as
5106         TEST_fj_f instead of TEST_ff_f.
5108 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5110         Emacs bug 23726.
5111         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5112         (__libc_realloc): Correct size computation for dumped fake mmapped
5113         chunks.
5115 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5117         [BZ #20219]
5118         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5119         to itself.
5120         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5122         [BZ #20218]
5123         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5124         to itself.
5125         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5127 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5129         [BZ #20195]
5130         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5131         check to ...
5132         (init_cpu_features): Here.
5134 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5136         [BZ #20214]
5137         * sysdeps/unix/sysv/linux/bits/in.h
5138         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5139          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5140         Define to 1.
5141         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5142          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5143         Define to 0.
5144         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5145         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5147 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5149         [BZ #20198]
5150         * stdlib/Makefile (tests): Add tst-quick_exit, and
5151         tst-thread-quick_exit.
5152         [ifeq ($(have-cxx-thread_local),yes)]
5153         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5154         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5155         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5156         (LDLIBS-tst-thread-quick_exit): Likewise.
5157         [ifneq ($(have-cxx-thread_local),yes)]
5158         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5159         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5160         If run_dtors is true call __call_tls_dtors.
5161         (exit): Call __run_exit_handlers with run_dtors set to true.
5162         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5163         definition.
5164         * stdlib/quick_exit.c (quick_exit): Remove function.
5165         (__new_quick_exit): New function.
5166         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5167         function.
5168         * stdlib/tst-quick_exit.cc: New file.
5169         * stdlib/tst-thread-quick_exit.cc: New file.
5170         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5171         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5172         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5173         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5174         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5175         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5176         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5177         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5178         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5179         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5180         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5181         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5182         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5183         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5184         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5185         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5190         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5191         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5192         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5193         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5194         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5197         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5198         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5199         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5201 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5203         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5204         a typo in comments.
5206 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5208         [BZ #20213]
5209         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5210         argument to itself.
5211         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5213 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5215         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5216         required flags.
5217         (CFLAGS-pwritev64.c): Likewise.
5218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5219         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5220         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5221         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5222         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5223         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5224         syscall from auto-generation.
5225         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5226         [WORDSIZE == 64] (pwritev64): Remove macro.
5227         [!PWRITEV] (PWRITEV): Likewise.
5228         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5229         [!PWRITEV] (PWRITE): Likewise.
5230         [!PWRITEV] (OFF_T): Likewise.
5231         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5232         (LO_HI_LONG): Remove macro.
5233         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5234         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5235         (PWRITEV): Remove macro.
5236         (PWRITEV_REPLACEMENTE): Likewise.
5237         (PWRITE): Likewise.
5238         (OFF_T): Likewise.
5239         (pwritev64): New function.
5240         * nptl/tst-cancel4.c (tf_writev): Add test.
5242         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5243         required flags.
5244         (CFLAGS-preadv64.c): Likewise.
5245         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5246         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5247         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5248         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5249         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5250         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5251         syscall from auto-generation.
5252         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5253         [WORDSIZE == 64] (preadv64): Remove macro.
5254         [!PREADV] (PREADV): Likewise.
5255         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5256         [!PREADV] (PREAD): Likewise.
5257         [!PREADV] (OFF_T): Likewise.
5258         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5259         (LO_HI_LONG): Remove macro.
5260         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5261         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5262         (PREADV): Remove macro.
5263         (PREADV_REPLACEMENTE): Likewise.
5264         (PREAD): Likewise.
5265         (OFF_T): Likewise.
5266         (preadv64): New function.
5267         * nptl/tst-cancel4.c (tf_preadv): Add test.
5269 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #20212]
5272         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5273         argument to itself.
5274         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5276 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5278         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5279         New symbol defined as libc_hidden_def.
5280         (strcasestr): Became a weak alias to __strcasestr.
5281         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5282         according to multi-arch support.  Move __stpncpy hidden
5283         definition from here to...
5284         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5285         symbol stpncpy.
5286         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5287         libc_hidden_builtin_def.
5288         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5289         memset symbol to use when multi-arch support is available.
5291 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5293         * dlfcn/tst-rec-dlopen.c: Include string.h.
5295 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5297         * manual/install.texi: Remove mention of --without-tls
5298         * INSTALL: Regenerate.
5300 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5302         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5303         Remove.
5304         (call_function, interposed_malloc_called): New variables.
5305         (malloc): New function.
5306         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5307         and clear call_function as needed.
5309 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5311         * include/wchar.h (__wmemset): Use __typeof.
5313 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5315         * include/wchar.h (__wmemset): Declare function without typeof.
5317 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5319         [BZ #20205]
5320         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5321         exponent when incrementing negative subnormal with low mantissa
5322         word zero.
5323         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5324         Add another test.
5326 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5328         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5329         __wmemset instead of wmemset.
5331 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5333         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5334         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5335         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5336         __USE_KERNEL_IPV6_DEFS to 0.
5337         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5338         Update comment.
5340 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5342         [BZ #19861]
5343         Do not use IFUNC resolver with potentially unrelocated symbol.
5344         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5345         (DEFINE_FORK): Remove macro and inline definition.
5346         (fork_alias): Renamed from fork_ifunc.
5347         (__fork_alias): Renamed from __fork_ifunc.
5349 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5351         [BZ 19653]
5352         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5353         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5355 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5357         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5358         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5359         i386-linux-gnu).
5360         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5361         Set to no.
5362         * sysdeps/mach/hurd/configure: Refresh.
5364 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5366         [BZ #20178]
5367         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5368         on failure instead of exit.
5370 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5372         [BZ #3629]
5373         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5374         of POSIX.1-2008.
5376 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5378         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5379           Use PLT entry for calling _hurd_self_sigstate.
5381 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5383         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5384         available logical processors with SMT level type sharing L2
5385         cache for Intel processors.
5387 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #20160]
5390         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5391         argument to itself before returning the result.
5392         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5393         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5394         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5395         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5396         Likewise.
5397         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5398         Likewise.
5399         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5400         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5401         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5402         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5403         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5404         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5406         [BZ #20160]
5407         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5408         argument to itself before returning the result.
5409         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5410         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5411         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5413         Likewise.
5414         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5415         Likewise.
5416         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5417         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5418         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5419         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5420         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5421         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5423 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5425         * libm-test.inc: Replace usage of M_El with
5426         (lit_e): New macro.
5428 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5430         * libm-test.inc: Replace usage of M_PI_4l with
5431         (lit_pi_4_d): New macro.
5433 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5435         * libm-test.inc: Replace usage of M_PIl with
5436         (lit_pi): New macro.
5438 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5440         * libm-test.inc: Replace usage of M_PI2l with
5441         (lit_pi_2_d): New macro.
5443         * math/test-double.h (LITM): New macro.
5444         * math/test-float.h (LITM): Likewise.
5445         * math/test-ldouble.h (LITM): Likewise.
5447 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5449         * libm-test.inc (M_PI_34l): Rename to
5450         (lit_pi_3_m_4_d): New Macro.
5451         (M_PI_34_LOG10El): Rename to
5452         (lit_pi_3_m_4_ln10_m_d): New Macro.
5453         (M_PI2_LOG10El): Rename to
5454         (lit_pi_2_ln10_m_d):  New Macro.
5455         (M_PI4_LOG10El): Rename to
5456         (lit_pi_4_ln10_m_d):  New Macro.
5457         (M_PI_LOG10El): Rename to
5458         (lit_pi_ln10_d):  New Macro.
5460 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5462         [BZ #20157]
5463         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5464         determine whether to negate low half if [_ARCH_PPCGR], and integer
5465         comparison otherwise.
5466         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5467         determine whether to negate low half.
5469         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5470         (NO_TEST_INLINE_DOUBLE): Likewise.
5471         (TEST_COND_x86_64): Likewise.
5472         (TEST_COND_x86): Likewise.
5473         (M_PI_6l): Likewise.
5475 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5477         * math/libm-test.inc:
5478         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5479         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5480         (TEST_LDOUBLE): Update usage to evaluate as true if
5481         the guarded tests match the property being tested.
5482         (LDBL_MAX_EXP): Change to MAX_EXP.
5483         (LDBL_MIN_EXP): Change to MIN_EXP.
5484         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5485         nexttoward tests.
5487 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5489         * math/libm-test.inc:
5490         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5491         (TYPE_MIN): Likewise.
5492         (TYPE_TRUE_MIN): Likewise.
5493         (TYPE_MAX): Likewise.
5494         (MIN_EXP): Likewise.
5495         (MAX_EXP): Likewise.
5496         (MANT_DIG): Likewise.
5498         (FSTR_MAX): New macro.
5499         (__CONCATX): Likewise.
5500         (QTYPE_STR): Likewise.
5501         (TEST_COND_binary32): Likewise.
5502         (TEST_COND_binary64): Likewise.
5503         (TEST_COND_binary128): Likewise.
5504         (TEST_COND_ibm128): Likewise.
5505         (TEST_COND_intel96): Likewise.
5506         (TEST_COND_m68k96): Likewise.
5508         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5509         (TEST_COND_dbl_64): Likewise.
5510         (TEST_COND_ldbl_96_intel): Likewise.
5511         (TEST_COND_ldbl_96_m68k): Likewise.
5512         (TEST_COND_ldbl_128): Likewise.
5513         (TEST_COND_ldbl_128ibm): Likewise.
5515         (plus_zero): Redefine using LIT macro.
5516         (minus_zero): Likewise.
5517         (plus_infty): Redefine as (INF).
5518         (minux_infty): Redefine as (-INF).
5519         (max_value): Redefine as TYPE_MAX.
5520         (min_value): Redefine as TYPE_MIN.
5521         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5523         (print_float): Refactor to use snprintf to convert FLOAT values
5524         to string. This brings it closer to dropin replacement of strtof
5525         for the TS 18661 defined types.
5526         (update_stats): Likewise.
5527         (print_complex_function_ulps): Likewise.
5528         (print_max_error): Likewise.
5529         (print_complex_max_error): Likewise.
5530         (check_float_internal): Likewise.
5532         * math/test-float.h (PREFIX): New macro.
5533         (LIT): Likewise.
5534         (TYPE_STR): Likewise.
5535         (FTOSTR): Likewise.
5537         * math/test-double.h (PREFIX): New macro.
5538         (LIT): Likewise.
5539         (TYPE_STR): Likewise.
5540         (FTOSTR): Likewise.
5542         * math/test-ldouble.h (PREFIX): New macro.
5543         (LIT): Likewise.
5544         (TYPE_STR): Likewise.
5545         (FTOSTR): Likewise.
5547 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5549         [BZ #20156]
5550         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5551         to itself when zero or not finite.
5552         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5553         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5554         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5555         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5557 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5559         [BZ #20153]
5560         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5561         x * x + x for infinities and NaNs.
5563         [BZ #20151]
5564         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5565         argument to itself before returning result.
5566         (__ieee754_y0l): Likewise.
5567         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5568         (__ieee754_y1l).
5570         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5571         (atan_test_data): Likewise.
5572         (ceil_test_data): Likewise.
5573         (cos_test_data): Likewise.
5574         (cosh_test_data): Likewise.
5575         (erf_test_data): Likewise.
5576         (exp2_test_data): Likewise.
5577         (fabs_test_data): Likewise.
5578         (floor_test_data): Likewise.
5579         (ilogb_test_data): Likewise.
5580         (j0_test_data): Likewise.
5581         (j1_test_data): Likewise.
5582         (jn_test_data): Likewise.
5583         (lgamma_test_data): Likewise.
5584         (lrint_test_data): Likewise.
5585         (llrint_test_data): Likewise.
5586         (logb_test_data): Likewise.
5587         (lround_test_data): Likewise.
5588         (llround_test_data): Likewise.
5589         (nearbyint_test_data): Likewise.
5590         (rint_test_data): Likewise.
5591         (round_test_data): Likewise.
5592         (sin_test_data): Likewise.
5593         (sincos_test_data): Likewise.
5594         (sinh_test_data): Likewise.
5595         (sqrt_test_data): Likewise.
5596         (tan_test_data): Likewise.
5597         (tanh_test_data): Likewise.
5598         (tgamma_test_data): Likewise.
5599         (trunc_test_data): Likewise.
5600         (y0_test_data): Likewise.
5601         (y1_test_data): Likewise.
5602         (yn_test_data): Likewise.
5604         * math/libm-test.inc: Update comment about NaN testing.
5605         (TEST_SNAN): New macro.
5606         (snan_value): Likewise.
5607         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5608         (fpclassify_test_data): Add sNaN tests.
5609         (isfinite_test_data): Likewise.
5610         (isinf_test_data): Likewise.
5611         (isnan_test_data): Likewise.
5612         (isnormal_test_data): Likewise.
5613         (issignaling_test_data): Likewise.
5614         (signbit_test_data): Likewise.
5615         * math/gen-libm-test.pl (%beautify): Add snan_value.
5616         (show_exceptions): Add argument $test_snan.
5617         (parse_args): Handle snan_value as non-finite.  Update call to
5618         show_exceptions.
5619         * math/Makefile (libm-test-no-inline-cflags): Add
5620         -fsignaling-nans.
5622 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5624         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5625         (CFLAGS-oldsendmsg.c): Add rule.
5626         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5627         Correct recvmsg symbol name.
5628         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5629         Likewise.
5631 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5633         * sysdeps/unix/sysv/linux/Makefile
5634         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5635         oldsendmmsg.
5636         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5637         sendmmsg.
5638         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5639         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5640         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5641         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5643         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5646         Likewise.
5647         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5648         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5649         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5650         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5651         iovlen and controllen fields to adjust to POSIX specification.
5652         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5654         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5655         and change to correct expected type.
5656         (msghdr.msg_controllen): Likewise.
5657         (cmsghdr.cmsg_len): Likewise.
5658         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5659         expected POSIX assumption about the size.
5660         (msghdr.msg_controllen): Likewise.
5661         (msghdr.__glibc_reserved1): Likewise.
5662         (msghdr.__glibc_reserved2): Likewise.
5663         (cmsghdr.cmsg_len): Likewise.
5664         (cmsghdr.__glibc_reserved1): Likewise.
5665         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5666         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5667         (CFLAGS-sendmsg.c): Remove rule.
5668         (CFLAGS-recvmsg.c): Likewise.
5669         (CFLAGS-oldsendmsg.c): Add rule.
5670         (CFLAGS-oldrecvmsg.c): Likewise.
5671         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5672         recvmsg and sendmsg.
5673         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5674         Likewise.
5675         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5676         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5677         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5678         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5679         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5680         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5681         Likewise.
5682         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5683         Likewise.
5684         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5685         Likewise.
5686         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5687         Likewise.
5688         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5689         Likewise.
5690         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5691         Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5693         (GLIBC_2.24): Likewise.
5694         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5695         Likewise.
5696         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5699         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5700         Likewise.
5701         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5702         Likewise.
5703         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5704         Likewise.
5705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5706         (GLIBC_2.24): Likewise.
5707         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5708         Likewise.
5709         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5710         Likewise.
5711         * sysdeps/unix/sysv/linux/Makefile
5712         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5713         (CFLAGS-sendmsg.c): Add rule.
5714         (CFLAGS-recvmsg.c): Likewise.
5715         (CFLAGS-oldsendmsg.c): Likewise.
5716         (CFLAGS-oldrecvmsg.c): Likewise.
5717         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5718         initialization.
5719         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5720         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5721         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5722         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5723         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5724         iovlen and controllen fields to adjust to POSIX specification.
5725         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5726         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5727         added recvmsg and sendmsg.
5728         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5730         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5731         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5732         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5733         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5738         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5739         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5741         Likewise.
5742         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5744         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5745         Likewise.
5746         Likewise.
5747         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5748         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5750         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5751         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5752         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5754         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5756         Likewise.
5757         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5758         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5760         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5761         from auto-generation.
5762         (sendmsg): Likewise.
5763         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5764         (sendmsg): Likewise.
5765         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5766         (sendmsg): Likewise.
5767         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5768         (sendmsg): Likewise.
5769         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5770         (sendmsg): Likewise.
5771         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5772         (sendmsg): Likewise.
5773         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5774         Likewise.
5775         (sendmsg): Likewise.
5776         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5777         (sendmsg): Likewise.
5778         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5779         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5780         Remove.
5781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5782         Likewise.
5783         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5784         Undefine.
5785         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5786         Likewise.
5787         * sysdeps/unix/sysv/linux/kernel-features.h
5788         (__ASSUME_SENDMSG_SYSCALL): Define.
5789         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5790         * sysdeps/unix/sysv/linux/m68k/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/s390/kernel-features.h
5800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5801         Remove.
5802         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5803         Likewise.
5804         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5805         Undefine.
5806         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5807         Likewise.
5808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5809         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5810         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5811         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5812         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5813         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5814         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5815         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5816         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5818 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5820         * stdlib/gen-tst-strtod-round.c: Add backslash to
5821         compile command in comment.
5822         (printfp): Remove the literal suffix, and define an infinite
5823         value as INF to avoid expansion clash with INFINITY.
5824         (round_str): Remove the literal suffix.
5825         (round_for_all): Likewise, remove the now duplicate ldbl-64
5826         entry, and remove some magic constants.
5828         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5829         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5830         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5831         (_CONCAT): New macro.
5832         (CONCAT): Likewise.
5833         (CHOOSE_ld): Likewise.
5834         (CHOOSE_f): Likewise.
5835         (CHOOSE_d): Likewise.
5836         (FTYPE_MEMBER): Likewise.
5837         (BOOL_MEMBER): Likewise.
5838         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5839         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5840         (_XNTRY): Likewise.
5841         (XNTRY): Likewise.
5842         (_ENTRY): Likewise.
5843         (ENTRY): Likewise.
5844         (test_exactness): Generate members via macro.
5845         (test_results): Likewise.
5846         (test): Update members.
5847         (TEST): Redefine using new macros.
5848         (INF): New macro.
5849         (fetestmodes): New structure.
5850         (do_test): Refactor to be type generic.
5851         (test_in_one_mode): Refactor duplicate code into
5852         (GEN_ONE_TEST): New macro.
5854         * stdlib/tst-strtod-round-data.h: Regenerate.
5856         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5857         Extend to pass additional arbitrary parameters to
5858         generators.
5860 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5862         [BZ #15479]
5863         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5864         floating-point state after first floating-point operation on
5865         input.  Restore full floating-point state instead of just rounding
5866         mode.
5867         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5868         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5869         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5870         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5871         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5873         [BZ #15479]
5874         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5875         floating-point state after first floating-point operation on
5876         input.  Restore full floating-point state instead of just rounding
5877         mode.
5878         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5879         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5880         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5881         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5882         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5884 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5886         [BZ #19727]
5887         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5888         valid high surrogate.
5889         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5890         of an utf16 surrogate.
5891         * iconv/gconv_simple.c (BODY): Likewise.
5892         * iconvdata/bug-iconv12.c: New file.
5893         * iconvdata/Makefile (tests): Add bug-iconv12.
5895 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5897         [BZ #19726]
5898         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5899         outptrp in case of an illegal input.
5900         * iconv/tst-iconv6.c: New file.
5901         * iconv/Makefile (tests): Add tst-iconv6.
5903 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5905         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5906         an error in case of a value in range of an utf16 low surrogate.
5908 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5910         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5911         an error in case of a value in range of an utf16 low surrogate.
5913 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5915         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5916         Move to ...
5917         * sysdeps/s390/Makefile: ... here.
5918         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5919         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5920         (BRANCH_ON_COUNT): New define.
5921         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5922         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5923         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5924         run on s390-32, too.
5925         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5926         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5927         run on s390-32, too.
5928         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5929         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5930         run on s390-32, too.
5932 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5934         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5935         etf3eh or new vector loop-variant.
5937 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5939         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5940         etf3eh or new vector loop-variant.
5942 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5944         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5945         or new vector loop-variant.
5947 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5949         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5950         Rename to TR_LOOP and usage of tr instead of troo instruction.
5952 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5954         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5957 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5959         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5960         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5961         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5962         New override define.
5963         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5965 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5967         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5968         * sysdeps/s390/configure.ac: Add test for S390 vector register
5969         support in gcc.
5970         * sysdeps/s390/configure: Regenerated.
5972 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5974         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5975         Install file from $(objpfx)gconv-modules.
5976         ($(objpfx)gconv-modules): Concatenate architecture specific file
5977         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5978         * sysdeps/s390/gconv-modules: New file.
5979         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5980         Deleted.
5981         ($(objpfx)gconv-modules-s390): Deleted.
5982         (sysdeps-gconv-modules): New variable.
5984 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5986         [BZ #15479]
5987         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5988         of immediate operand to rounding instruction.
5989         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5990         Likewise.
5991         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5992         Likewise.
5993         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5994         Likewise.
5996 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5998         * math/libm-test.inc (MIN_EXP): Directly define as
5999         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6001 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6003         * math/libm-test.inc (MANT_DIG): Directly define as
6004         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6006 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6008         * stdlib/gen-tst-strtod-round.c (main):
6009           Change usage to more closely match the generated
6010           output.  Add usage and compilation instructions.
6011           (string_to_fp): Add and use FILE* parameter as
6012           output target.
6013           (print_fp): Likewise.
6014           (round_str): Likewise.
6015           (round_for_all): Likewise.
6016         * stdlib/tst-strtod-round.c (tests): Move into
6017         * stdlib/tst-strtod-round-data.h: New file.
6019 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6021         [BZ #15479]
6022         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6023         (__round): Do not force "inexact" exception.
6024         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6025         variable.
6026         (__round): Do not force "inexact" exception.
6027         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6028         (__roundf): Do not force "inexact" exception.
6029         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6030         (__roundl): Do not force "inexact" exception.
6031         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6032         (__roundl): Do not force "inexact" exception.
6033         * math/libm-test.inc (round_test_data): Do not allow spurious
6034         "inexact" exceptions.
6036         [BZ #15479]
6037         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6038         exception in comment.
6039         (huge): Remove variable.
6040         (__floor): Do not force "inexact" exception.
6041         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6042         "inexact" exception in comment.
6043         (huge): Remove variable.
6044         (__floor): Do not force "inexact" exception.
6045         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6046         exception in comment.
6047         (huge): Remove variable.
6048         (__floorf): Do not force "inexact" exception.
6049         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6050         exception in comment.
6051         (huge): Remove variable.
6052         (__floorl): Do not force "inexact" exception.
6054         [BZ #15479]
6055         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6056         exception in comment.
6057         (huge): Remove variable.
6058         (__ceil): Do not force "inexact" exception.
6059         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6060         "inexact" exception in comment.
6061         (huge): Remove variable.
6062         (__ceil): Do not force "inexact" exception.
6063         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6064         (__ceilf): Do not force "inexact" exception.
6065         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6066         exception in comment.
6067         (huge): Remove variable.
6068         (__ceill): Do not force "inexact" exception.
6070 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6072         * config.h.in (BIND_NOW): New.
6073         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6074         * configure: Regenerated.
6075         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6076         indirect branch via the GOT slot.
6078 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6080         [BZ #19765]
6081         * sysdeps/s390/mempcpy.S: New File.
6082         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6084         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6085         Add mempcpy variants.
6086         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6087         (memcpy): Adjust to be usable from mempcpy entry point.
6088         (__memcpy_mvcle): Likewise.
6089         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6090         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6091         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6092         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6093         (__memcpy_z10): Likewise.
6094         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6096 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6098         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6099         Remove __GI_ symbol.
6100         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6101         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6102         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6103         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6104         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6105         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6107 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6109         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6110         Use cghi instead of chi to compare 64bit value.
6112 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6114         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6115         Jump to 1MB check before executing mvc-loop.
6117 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6119         [BZ #6527]
6120         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6121         unconditionally.
6122         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6124 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6126         * stdlib/tst-strtod6.c (do_test): Use new type generic
6127         invocation of the test function.
6128         (test): Refactor into ...
6129         (TEST_STRTOD): New macro base function.
6131 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6133         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6134         (TEST_STRTOD): New macro.
6135         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6137 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6139         * stdlib/tst-strtod6.c (do_test): Use new type generic
6140         invocation of the test function.
6141         (test): Refactor into ...
6142         (TEST_STRTOD): New macro base function.
6144 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6146         CVE-2016-4429
6147         [BZ #20112]
6148         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6149         payload.
6151 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6153         [BZ #20111]
6154         * bits/sockaddr.h (_SS_SIZE): Define.
6155         * bits/socket.h (_SS_SIZE): Remove.
6156         (_SS_PADSIZE): Adjust to account for all padding.
6157         (struct sockaddr_storage): Update comment.  Avoid implicit
6158         padding.
6159         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6160         (_SS_PADSIZE): Adjust to account for all padding.
6161         (struct sockaddr_storage): Update comment.  Avoid implicit
6162         padding.
6163         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6164         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6165         (_SS_PADSIZE): Adjust to account for all padding.
6166         (struct sockaddr_storage): Update comment.  Avoid implicit
6167         padding.
6168         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6169         __SS_SIZE is 126 in this version.
6170         * inet/tst-sockaddr.c: New file.
6171         * inet/Makefile (tests): Add tst-sockaddr.c
6172         (tst-sockaddr.c): Compile with non-strict aliasing.
6174 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6176         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6177         [XPG3 || XPG4].
6178         (NL_ARGMAX): Also expect for [XPG3].
6179         (NL_LANGMAX): Likewise.
6180         (NL_MSGMAX): Likewise.
6181         (NL_NMAX): Likewise.
6182         (NL_SETMAX): Likewise.
6183         (NL_TEXTMAX): Likewise.
6184         (NZERO): Likewise.
6185         (TMP_MAX): Likewise.
6186         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6187         variable.
6189         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6190         (PF_MAX): Update value.
6191         (AF_KCM): New macro.
6192         (SOL_NETBEUI): Likewise.
6193         (SOL_LLC): Likewise.
6194         (SOL_DCCP): Likewise.
6195         (SOL_NETLINK): Likewise.
6196         (SOL_TIPC): Likewise.
6197         (SOL_RXRPC): Likewise.
6198         (SOL_PPPOL2TP): Likewise.
6199         (SOL_BLUETOOTH): Likewise.
6200         (SOL_PNPIPE): Likewise.
6201         (SOL_RDS): Likewise.
6202         (SOL_IUCV): Likewise.
6203         (SOL_CAIF): Likewise.
6204         (SOL_ALG): Likewise.
6205         (SOL_NFC): Likewise.
6206         (SOL_KCM): Likewise.
6207         (MSG_BATCH): New enum value and macro.
6209 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6211         [BZ #18185]
6212         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6213         sharing L2 cache to 2 for Knights Landing.
6215 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6217         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6218         (FTW_DP): Do not expect for [XPG3 || XPG4].
6219         (FTW_SL): Do not expect for [XPG3].
6220         (FTW_SLN): Likewise.
6221         (FTW_PHYS): Likewise.
6222         (FTW_MOUNT): Likewise.
6223         (FTW_DEPTH): Likewise.
6224         (FTW_CHDIR): Likewise.
6225         (nftw): Likewise.
6226         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6227         variable.
6229 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6231         * manual/errno.texi: Fix various typos & grammar errors.
6233 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6235         * manual/intro.texi: Fix duplicated typo.
6237 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6239         [BZ #13304]
6240         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6241         <float.h>, <math_private.h> and <stdlib.h>.
6242         (add_split): New function.
6243         (mul_split): Likewise.
6244         (ext_val): New typedef.
6245         (store_ext_val): New function.
6246         (mul_ext_val): New function.
6247         (compare): New function.
6248         (add_split_ext): New function.
6249         (__fmal): After checking for Inf, NaN and zero, compute result as
6250         an exact sum of scaled double values in round-to-nearest before
6251         adding those up and adjusting for other rounding modes.
6252         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6253         tests of fma.
6254         * math/auto-libm-test-out: Regenerated.
6256 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6258         [BZ #20119]
6259         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6260         processor level type mask for CPUID with EAX == 11.
6262 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6264         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6265         logical threads if the HTT bit is 0.
6266         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6267         (index_cpu_HTT): Likewise.
6268         (reg_HTT): Likewise.
6270 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6272         [BZ #20115]
6273         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6274         Remove alignments on jump targets.
6276 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6278         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6279         (getpwent): Likewise.
6280         (setpwent): Likewise.
6281         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6282         variable.
6284         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6285         (remque): Likewise.
6286         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6287         variable.
6289 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6291         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6292         not being tested.
6294 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6297         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6298         call.
6299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6300         (__condvar_cleanup1): Likewise.
6302 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6304         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6305         New
6306         (__pthread_unwind): Renamed to ...
6307         (PTHREAD_UNWIND): This.
6308         (__pthread_enable_asynccancel): Replace
6309         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6311 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6313         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6314         (CLONE_NEWCGROUP): New macro.
6316         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6317         (Q_GETNEXTQUOTA): New macro.
6319 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6321         [BZ #19907]
6322         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6323         buffer updated by the previous run.
6324         * string/test-memcpy.c (do_one_test): Likewise.
6325         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6326         * string/test-memmove.c (do_one_test): Likewise.
6328 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6330         [BZ #20094]
6331         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6332         not [__USE_XOPEN].
6333         (unlockpt): Likewise.
6334         (ptsname): Likewise.
6335         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6336         variable.
6338         [BZ #20076]
6339         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6340         instead of [__USE_UNIX98].
6341         (S_ISSOCK): Likewise.
6342         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6343         variable.
6345         [BZ #20074]
6346         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6347         [__USE_POSIX].
6348         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6349         variable.
6351         [BZ #20051]
6352         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6353         (ttyslot): Do not declare.
6354         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6355         (ttyslot): New prototype.
6356         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6357         variable.
6358         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6360 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6362         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6364 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6366         Fix race condition in tst-mallocfork2, use fewer resources.
6367         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6368         to current process group.
6369         (signal_sender): Yield in the non-sleeping case.
6371 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6373         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6374         (ecvt): Likewise.
6375         (fcvt): Likewise.
6376         (gcvt): Likewise.
6377         (getsubopt): Likewise.
6378         (grantpt): Likewise.
6379         (initstate): Likewise.
6380         (l64a): Likewise.
6381         (mktemp): Likewise.
6382         (mkstemp): Likewise.
6383         (ptsname): Likewise.
6384         (random): Likewise.
6385         (realpath): Likewise.
6386         (setstate): Likewise.
6387         (srandom): Likewise.
6388         (ttyslot): Likewise.
6389         (unlockpt): Likewise.
6390         (valloc): Likewise.
6392         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6393         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6394         variable.
6396 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6398         [BZ #20072]
6399         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6400         init_cpu_features only if SHARED is defined.
6401         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6403 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6405         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6406         non-inclusive caches on Intel processors.
6408 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6410         * malloc/malloc.c (dumped_main_arena_start)
6411         (dumped_main_arena_end): New variables.
6412         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6413         (do_check_chunk): Skip dumped fake mmapped chunks.
6414         (munmap_chunk): Likewise.
6415         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6416         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6417         mmapped chunks.
6418         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6419         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6420         and dumped_main_arena_end to cover the dumped heap.
6422 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6424         * conform/data/time.h-data (getdate_err): Do not expect for
6425         [XPG3].
6426         (getdate): Likewise.
6427         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6428         variable.
6430         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6431         (F_ULOCK): Likewise.
6432         (F_TEST): Likewise.
6433         (F_TLOCK): Likewise.
6434         (useconds_t): Likewise.
6435         (intptr_t): Do not expect for [XPG3] or [XPG4].
6436         (brk): Do not expect for [XPG3]
6437         (fchown): Likewise.
6438         (fchdir): Likewise.
6439         (ftruncate): Likewise.
6440         (getdtablesize): Likewise.
6441         (gethostid): Likewise.
6442         (getpagesize): Likewise.
6443         (getpgid): Likewise.
6444         (getsid): Likewise.
6445         (getwd): Likewise.
6446         (lchown): Likewise.
6447         (lockf): Likewise.
6448         (readlink): Likewise.
6449         (sbrk): Likewise.
6450         (setpgrp): Likewise.
6451         (setregid): Likewise.
6452         (setreuid): Likewise.
6453         (symlink): Likewise.
6454         (sync): Likewise.
6455         (truncate): Likewise.
6456         (ualarm): Likewise.
6457         (usleep): Likewise.
6458         (vfork): Likewise.
6459         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6460         variable.
6462         [BZ #20054]
6463         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6464         not [__USE_UNIX98].
6465         * conform/data/unistd.h-data (gethostname): Do not expect for
6466         [XPG3].
6468         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6469         [!POSIX] (S_IFBLK): Likewise.
6470         [!POSIX] (S_IFCHR): Likewise.
6471         [!POSIX] (S_IFIFO): Likewise.
6472         [!POSIX] (S_IFREG): Likewise.
6473         [!POSIX] (S_IFDIR): Likewise.
6474         [!POSIX] (S_IFLNK): Likewise.
6475         [!POSIX] (S_IFSOCK): Likewise.
6476         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6477         variable.
6478         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6480 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6482         * sysdeps/aarch64/memset.S (__memset):
6483         Rewrite of optimized memset.
6485 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6487         [BZ #19703]
6488         Partially async-signal-safe fork for single-threaded processes.
6489         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6490         variable.  Do not acquire and reset/release malloc and libio locks
6491         in single-threaded processes.
6492         * malloc/tst-mallocfork2.c: New file.
6493         * malloc/Makefile (tests): Add it.
6495 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6497         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6498         argument.  Use scratch buffer instead of extend_alloca.
6499         (gethosts): Use scratch buffer instead of extend_alloca.
6500         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6501         extend_alloca.
6502         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6504 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6506         [BZ #20055]
6507         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6508         instead of [__USE_UNIX98].
6509         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6510         [__USE_UNIX98].
6511         * conform/data/termios.h-data (tcgetsid): Do not expect for
6512         [XPG3].
6513         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6514         variable.
6515         (test-xfail-XPG4/termios.h/conform): Likewise.
6517 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6519         Do not use mcheck in localedef.
6520         * locale/programs/localedef.c (turn_on_mcheck)
6521         (__malloc_initialize_hook): Remove.
6523 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6525         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6526         * sysdeps/s390/s390-64/Makefile: Likewise.
6528 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6530         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6531         Remove ifunc-defines.sym.
6532         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6533         Likewise.
6534         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6535         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6536         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6537         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6538         rtld-global-offsets.sym.
6539         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6540         * sysdeps/x86/cpu-features-offsets.sym: This.
6541         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6542         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6544 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6546         [BZ #20073]
6547         * io/sys/stat.h (fchmod): Declare for
6548         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6549         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6550         variable.
6552         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6553         [XPG3] (S_IFSOCK): Likewise.
6554         [XPG3] (S_ISVTX): Likewise.
6555         [XPG3] (S_ISLNK): Likewise.
6556         [XPG3] (S_ISSOCK): Likewise.
6557         [XPG3] (fchmod): Likewise.
6558         [XPG3] (lstat): Likewise.
6559         [XPG3] (mknod): Likewise.
6561         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6562         [XPG3].  Expect type long and XFAIL for [XPG4].
6563         (st_blocks): Likewise.
6565         [BZ #20044]
6566         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6567         (pthread_atfork): New prototype.
6568         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6569         variable.
6571         [BZ #20043]
6572         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6573         prototype.
6575 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6577         [BZ #20017]
6578         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6579         gmtime.
6581 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6583         [BZ #19994]
6584         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6585         flag in _res.options.
6587 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6589         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6590         [XPG3 || XPG4].
6591         (blksize_t): Likewise.
6592         (clockid_t): Likewise.
6593         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6594         variable.
6595         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6597 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6599         * sysdeps/unix/sysv/linux/s390/init-first.c:
6600         Add VDSO_SYMBOL(getcpu).
6601         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6602         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6603         Add VDSO_SYMBOL(getcpu).
6604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6605         New define HAVE_GETCPU_VSYSCALL.
6606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6608 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6610         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6611         instead of <sysdeps/x86_64/cacheinfo.c>.
6612         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6613         * sysdeps/x86/cacheinfo.c: Here.
6615 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6617         * malloc/malloc-internal.h: Adjust header file guard.
6619 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6621         [BZ #19787]
6622         * inet/getnameinfo.c (check_sprintf_result): New function.
6623         (CHECKED_SNPRINTF): New macro.
6624         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6625         to the host buffer.
6626         (gni_host_local): Use checked_copy to copy the host name.
6627         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6628         (gni_serv_local): Use checked_copy to copy the service name.
6629         (getnameinfo): Remove unnecessary truncation of result buffers.
6631 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6633         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6634         in case of inet_ntop failure.
6636 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6638         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6639         avoid long lines.
6640         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6641         variables.
6642         (gni_host_inet, gni_host_local): Add comment.
6643         (gni_host): Add comment.  Use temporary to avoid long lines.
6645 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6647         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6648         registers specifiers where general purpose registers specifiers should
6649         have been used.
6651 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6653         [BZ #19779]
6654         CVE-2016-1234
6655         Avoid copying names of directory entries.
6656         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6657         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6658         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6659         (struct readdir_result): New type.
6660         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6661         (GL_READDIR): New macros.
6662         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6663         (convert_dirent, convert_dirent64): New functions.
6664         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6665         convert_dirent64.  Adjust references to the readdir result.
6666         * sysdeps/unix/sysv/linux/i386/glob64.c:
6667         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6668         * posix/bug-glob2.c (LONG_NAME): Define.
6669         (filesystem): Add LONG_NAME.
6670         (my_DIR): Increase the size of room_for_dirent.
6672 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6674         [BZ #20041]
6675         * misc/sys/select.h (__need_timespec): Only define if
6676         [__USE_XOPEN2K].
6677         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6678         variable.
6679         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6680         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6681         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6683 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6684             Segher Boessenkool  <segher@gcc.gnu.org>
6686         [BZ #20004]
6687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6688         (__novec_swapcontext): Add missing load.
6690 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6692         [BZ #20023]
6693         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6694         <time.h>.
6695         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6696         variable.
6697         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6699 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6702         flags CLONE_VM compare.
6704 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6706         [BZ #20031]
6707         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6708         completely empty.
6710 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6712         [BZ #19573]
6713         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6714         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6715         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6716         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6717         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6718         (hesiod_free_list): Mark as hidden.
6719         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6720         res_set, res_get.
6721         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6722         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6723         (hesiod_init): Remove obsolete res_ninit call.
6724         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6725         (hesiod_bind): Do not call init.
6726         (get_txt_records): Use res_mkquery, res_send instead of
6727         res_nmkquery, res_nsend.
6728         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6729         instead of _nss_hesiod_init.
6730         (_nss_hesiod_initgroups_dyn): Likewise.
6731         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6732         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6733         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6735 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6737         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6738         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6740 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6742         * hesiod/hesiod.h: Remove RCS keyword.
6743         * hesiod/hesiod_p.h: Likewise.
6745         * hesiod/hesiod.c: Likewise.
6747 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6749         [BZ #12450]
6750         * locale/iso-639.def: Add Samogitian/sgs.
6752 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6754         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6756         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6758 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6759             Carlos O'Donell  <carlos@redhat.com>
6761         [BZ #19072]
6762         * grp/Makefile (headers): Add grp-merge.h
6763         (routines): Add grp-merge.
6764         * grp/getgrgid_r.c: Include grp-merge.h.
6765         (DEEPCOPY_FN): Define.
6766         (MERGE_FN): Define.
6767         * grp/getgrname_r.c: Include grp-merge.h.
6768         (DEEPCOPY_FN): Define.
6769         (MERGE_FN): Define.
6770         * grp/grp-merge.c: New file.
6771         * grp/grp-merge.h: New file.
6772         * include/grp-merge.h: New file.
6773         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6774         __copy_grp@GLIBC_PRIVATE.
6775         * manual/nss.texi (Actions in the NSS configuration): Describe
6776         return, continue, and merge.
6777         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6778         (DEEPCOPY_FN): Define.
6779         (MERGE_FN): Define.
6780         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6781         (DEEPCOPY_FN): Define.
6782         (MERGE_FN): Define.
6783         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6784         [!MERGE_FN]: Define __merge_einval.
6785         (CHECK_MERGE): Define.
6786         (REENTRANT_NAME): Process merge if do_merge is true.
6787         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6788         (__nss_getent_r): Likewise.
6789         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6790         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6792 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6794         [BZ #20012]
6795         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6796         length to calculate the buffer to read.
6797         (fmemopen_write): Set the buffer position based on bytes written.
6798         (fmemopen_seek): Return EINVAL for invalid whence modes.
6800         [BZ #19957]
6801         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6802         tst-getpid2.
6803         (test): Add tst-clone2.
6804         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6805         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6806         pid/tid fields for CLONE_VM.
6807         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6808         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6809         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6810         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6811         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6812         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6813         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6814         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6816         Likewise.
6817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6818         Likewise.
6819         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6820         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6821         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6822         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6823         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6824         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6825         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6826         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6828 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6830         [BZ #19642]
6831         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6832         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6833         (gni_serv_local, gni_serv): New functions extracted from
6834         getnameinfo.
6835         (getnameinfo): Call gni_host and gni_serv to perform the
6836         processing.  Always free scratch buffer.
6838 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6840         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6841         remaining bytes in the dest string, with zeros.
6843 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6845         [BZ #20010]
6846         CVE-2016-3706
6847         * sysdeps/posix/getaddrinfo.c
6848         (convert_hostent_to_gaih_addrtuple): New function.
6849         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6850         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6851         AF_INET data.
6853 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6855         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6856         callback function gl_readdir.
6857         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6858         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6859         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6860         memcpy to copy the name.
6861         * manual/pattern.texi (Calling Glob): Document requirements for
6862         implementations of the gl_readdir callback function.
6863         * manual/examples/mkdirent.c: New example.
6864         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6865         per the manual guidance.
6866         * posix/tst-gnuglob.c (my_readdir): Likewise.
6868 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6870         [BZ #20014]
6871         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6872         not [__USE_POSIX].
6873         (getchar_unlocked): Likewise.
6874         (putc_unlocked): Likewise.
6875         (putchar_unlocked): Likewise.
6876         (flockfile): Likewise.
6877         (ftrylockfile): Likewise.
6878         (funlockfile): Likewise.
6879         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6880         variable.
6881         (test-xfail-XPG4/stdio.h/conform): Likewise.
6883         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6884         Expect constant.
6885         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6886         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6887         variable.
6888         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6889         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6891         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6892         [__USE_LARGEFILE64] (off64_t): Likewise.
6893         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6894         variable.
6896 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6898         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6900 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6902         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6903         * resolv/res_init.c: Likewise.
6904         * resolv/res_mkquery.c: Likewise.
6906 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6908         * resolv/res_init.c (isascii): Do not define.  Use definition in
6909         <ctype.h>.
6910         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6911         (LOG_AUTH): Remove.
6912         (SPRINTF): Remove, adjust caller.
6913         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6915 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6918         SUNSECURITY conditional.
6919         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6921 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6923         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6924         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6925         Remove BSD-related preprocessor conditionals.
6926         * conf/portability.h: Remove.
6928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6930         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6931         * resolv/res_data.c: Likewise.
6933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6935         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6936         * resolv/res_data.c: Remove code conditional on ultrix.
6938 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6940         * resolv/res_init.c (RFC1535): Do not define.  Remove
6941         RFC1535 preprocessor conditionals.
6942         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6943         because there configuration options which make the resolver
6944         behavior different.
6946 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6948         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6949         RESOLVSORT preprocessor conditionals.
6950         * resolv/nss_dns/dns-host.c: Likewise.
6951         * resolv/res_init.c: Likewise.
6953 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6955         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6956         is never defined.
6958 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6960         * inet/inet_lnaof.c: Remove SCSS keyword.
6961         * inet/inet_mkadr.c: Likewise.
6962         * inet/inet_net.c: Likewise.
6963         * inet/inet_netof.c: Likewise.
6964         * inet/rcmd.c: Likewise.
6965         * inet/rexec.c: Likewise.
6966         * inet/ruserpass.c: Likewise.
6968 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6970         * resolv/inet_addr.c: Remove _LIBC conditionals.
6971         * resolv/res_data.c: Likewise.
6972         * resolv/res_init.c: Likewise.
6973         * resolv/res_mkquery.c: Likewise.
6974         * resolv/res_libc.c: Update comment.
6975         * resolv/README: Update.
6977 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6979         * resolv/gethnamaddr.c: Remove SCSS keyword.
6980         * resolv/herror.c: Likewise.
6981         * resolv/inet_addr.c: Likewise.
6982         * resolv/inet_net_ntop.c: Likewise.
6983         * resolv/inet_net_pton.c: Likewise.
6984         * resolv/inet_neta.c: Likewise.
6985         * resolv/inet_ntop.c: Likewise.
6986         * resolv/inet_pton.c: Likewise.
6987         * resolv/ns_date.c: Remove RCS keyword.
6988         * resolv/ns_name.c: Likewise.
6989         * resolv/ns_netint.c: Likewise.
6990         * resolv/ns_parse.c: Likewise.
6991         * resolv/ns_print.c: Likewise.
6992         * resolv/ns_samedomain.c: Likewise.
6993         * resolv/ns_ttl.c: Likewise.
6994         * resolv/nsap_addr.c: Likewise.
6995         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6996         * resolv/res_data.c: Remove RCS keyword.
6997         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6998         * resolv/res_init.c: Likewise.
6999         * resolv/res_mkquery.c: Likewise.
7000         * resolv/res_query.c: Likewise.
7001         * resolv/res_send.c: Likewise.
7003 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7005         * conform/data/stdio.h-data (fdopen): Expect also for
7006         [XPG3 || XPG4].
7008         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7009         (fseeko): Likewise.
7010         (ftello): Likewise.
7011         (ftrylockfile): Likewise.
7012         (funlockfile): Likewise.
7013         (getc_unlocked): Likewise.
7014         (getchar_unlocked): Likewise.
7015         (putc_unlocked): Likewise.
7016         (putchar_unlocked): Likewise.
7018 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7020         [BZ #19868]
7021         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7022         DNS packet syntax checks (which were not needed before).  Skip
7023         over non-PTR records.
7025 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7027         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7028         definition.  Include <stddef.h> instead.
7030 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7032         [BZ #19831]
7033         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7034         function.
7035         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7036         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7038 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7040         [BZ #19862]
7041         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7042         (getanswer_r): Do not call syslog.
7043         (gaih_getanswer_slice): Likewise.
7044         * resolv/gethnamaddr.c (AskedForGot): Remove.
7045         (getanswer): Do not call syslog.
7046         (gethostbyaddr): Likewise.
7048 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7050         * conform/data/signal.h-data (union sigval): Expect also if
7051         [XOPEN2K].
7052         (struct sigevent): Likewise.
7053         (SIGEV_NONE): Likewise.
7054         (SIGEV_SIGNAL): Likewise.
7055         (SIGEV_THREAD): Likewise.
7056         (SIGRTMIN): Likewise.
7057         (SIGRTMAX): Likewise.
7058         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7059         variable.
7060         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7062 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7064         [BZ #19830]
7065         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7066         (gaih_getanswer_slice): Likewise.
7067         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7068         Also check for availability of RR metadata.
7070 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7072         [BZ #19825]
7073         * resolv/res_send.c (send_vc): Remove early *resplen2
7074         initialization.  Set *resplen2 on socket error.  Call
7075         close_and_return_error for other errors.
7077 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7079         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7080         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7081         (SCM_IUCV_TRGCLS): New define.
7083 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7085         [BZ #20005]
7086         * libio/fmemopen.c (fmemopen_write): Update internal position after
7087         write.
7088         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7089         * stdio-common/tst-fmemopen4.c: New file..
7091 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7093         [BZ #19996]
7094         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7095         not [__USE_XOPEN2K].
7096         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7097         variable.
7099         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7100         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7101         variable.
7103         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7104         [__USE_XOPEN2K8].
7105         [__USE_LARGEFILE64] (off64_t): Likewise.
7106         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7107         variable.
7109 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7111         [BZ #19989]
7112         * libio/stdio.h (cuserid): Do not declare if
7113         [__USE_XOPEN2K && !__USE_GNU].
7114         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7115         variable.
7117 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7119         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7120         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7122         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7123         ifunc'ed strcspn.
7124         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7125         [EALIGN]: Removed.
7126         [END]: Likewise
7127         [STRSPN]: Define instead of the above to control symbol name.
7128         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7129         New file.
7130         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7131         Likewise.
7132         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7133         Likewise.
7134         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7135         Likewise.
7136         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7137         [INITIAL_MASK]: New macro.
7138         [STRCSPN]: Likewise.
7139         [UPDATE_MASK]: Likewise.
7140         [USE_AS_STRCSPN]: Lisewise.
7142 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7144         [BZ #19931]
7145         * stdio-common/tst-vfprintf-width-prec.c: New file.
7146         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7147         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7148         (generated): Add mtrace-related files.
7149         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7150         (tst-%-mem.out): New pattern rule, replaces
7151         tst-printf-bz18872-mem.out.
7152         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7153         specifier, deallocate any previously allocated work buffer.
7155 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7157         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7158         Add nop before __startcontext, add explaining comments.
7160 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7162         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7163         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7164         completely different API.
7166         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7167         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7168         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7169         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7170         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7171         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7172         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7173         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7174         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7175         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7177 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7179         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7181 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7183         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7184         when it is the default of 0.
7186 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7188         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7189         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7190         (sysdep_routines): Add new strcasestr targets.
7191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7192         (__libc_ifunc_impl_list): Likewise.
7193         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7194         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7195         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7196         * sysdeps/powerpc/powerpc64/power8/Makefile:
7197         New file to add strcasestr-ppc64 to sysdep_routines.
7198         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7199         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7201 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7203         * benchtests/Makefile (wcsmbs-benchset): Include only for
7204         native builds and runs.
7205         (LOCALES): Likewise.
7206         (bench-build): Build timing-type here instead of the bench
7207         target.  Generate locale only for native builds.
7208         * benchtests/README: Add note for cross-building.
7210         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7212         * benchtests/README: Update README to include instructions on
7213         using bench-build.
7215         * Makefile.in (bench-build): New target.
7216         * Rules (PHONY): Add bench-build target.
7217         * benchtests/Makefile (bench): Depend on bench-build.
7218         (bench-build): New target.
7220 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7222         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7223         profil_reply_port.
7224         (profile_waiter): Do not initialize profil_reply_port.
7225         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7226         frequency instead of tick length in us.
7228 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7230         [BZ #18712]
7231         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7232         (__old_mempcpy_small): Likewise.
7233         (__old_strcpy_small): Likewise.
7234         (__old_stpcpy_small): Likewise.
7235         (__old_strpbrk_c2): Fix compat symbol name.
7236         (__old_strpbrk_c3): Likewise.
7237         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7238         (__mempcpy_small): Remove.
7239         (__strcpy_small): Remove.
7240         (__stpcpy_small): Remove.
7242 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7244         [BZ #19400]
7245         * locale/iso-639.def: Add the Talossan/tzl language.
7247 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7249         [BZ #16983]
7250         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7251         comment.  Add "ln" to strchr check on postal_fmt.
7253 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7255         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7256         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7257         tel_dom_fmt.
7259 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7261         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7262         (sysdep_routines): Added __strlen_power8.
7263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7264         __strlen_power8 entry.
7265         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7266         Implementation for POWER8.
7267         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7268         for __strlen_power8.
7269         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7270         Implementation for POWER8.
7272 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7274         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7276 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7278         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7279         Goldmont and Airmont processors.
7281 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7283         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7284         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7285         (__STRING2_SMALL_GET32): Remove.
7286         (memset): Remove.
7287         (__memset_1): Remove.
7288         (__memset_gc): Remove.
7289         (__mempcpy): Remove.
7290         (mempcpy): Remove.
7291         (__mempcpy_args): Remove.
7292         (strchr): Remove.
7293         (strcpy): Remove.
7294         (strcpy_args): Remove.
7295         (__stpcpy_args): Remove.
7296         (__strcmp_cc): Remove.
7297         (__strcmp_gc): Remove.
7298         (strstr): Remove.
7300 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7302         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7303         * nis/nis_call.c (nis_server_cache_add): Likewise.
7305 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7307         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7309 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7311         * malloc/arena.c (__malloc_fork_lock_parent)
7312         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7313         internal_function attribute.
7315 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7317         * stdio-common/printf_fp.c (__printf_fp_l):
7318         Rename ___printf_fp_l to __printf_fp_l and
7319         remove strong alias. Use libc_hidden_def instead
7320         of ldbl_hidden_def macro.
7322 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7324         Remove malloc hooks from fork handler.  They are no longer needed
7325         because malloc runs right before fork, and no malloc calls from
7326         other fork handlers are not possible anymore.
7327         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7328         declarations.
7329         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7330         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7331         (atfork_recursive_cntr): Remove.
7332         (__malloc_fork_lock_parent): Do not override malloc hooks and
7333         thread_arena.
7334         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7335         thread_arena.
7336         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7337         thread_arena instead of save_arena.
7339 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7341         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7342         (thread_atfork, thread_atfork_static): Remove.
7343         * sysdeps/mach/hurd/malloc-machine.h:
7344         (thread_atfork, thread_atfork_static): Remove.
7346 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7348         [BZ #19431]
7349         Run the malloc fork handler as late as possible to avoid deadlocks.
7350         * malloc/malloc-internal.h: New file.
7351         * malloc/malloc.c: Include it.
7352         * malloc/arena.c (ATFORK_MEM): Remove.
7353         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7354         Update comment.
7355         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7356         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7357         Remove outdated comment.
7358         (ptmalloc_init): Do not call thread_atfork.  Remove
7359         thread_atfork_static.
7360         * malloc/tst-malloc-fork-deadlock.c: New file.
7361         * Makefile (tests): Add tst-malloc-fork-deadlock.
7362         (tst-malloc-fork-deadlock): Link against libpthread.
7363         * manual/memory.texi (Aligned Memory Blocks): Update safety
7364         annotation comments.
7365         * sysdeps/nptl/fork.c (__libc_fork): Call
7366         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7367         __malloc_fork_unlock_child.
7368         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7370 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7372         [BZ #19613]
7373         Remove union wait.
7374         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7375         (w_stopsig, w_stopval): Remove.
7376         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7377         stat_loc argument.
7378         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7379         (__WAIT_STATUS_DEFN): Remove.
7380         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7381         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7382         (wait, wait3, wait4): Use int * for the stat_loc argument.
7383         * posix/wait.c (__wait): Likewise.
7384         * posix/wait3.c (__wait3): Likewise.
7385         * posix/wait4.c (__wait4): Likewise.
7386         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7387         (__WAIT_STATUS_DEFN): Remove.
7388         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7389         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7390         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7391         argument.
7392         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7393         * sysdeps/posix/wait3.c (__wait3): Likewise.
7394         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7395         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7396         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7397         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7398         stat_loc argument.
7399         * manual/process.texi (BSD Wait Functions): Remove union wait.
7401 2016-04-13  Andreas Schwab  <schwab@suse.de>
7403         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7404         (test-extras): Add tst-tlsalign-vars.
7405         * math/Makefile: Wrap long lines.
7406         (libm-vec-test-wrappers): Define.
7407         (test-extras): Add $(libm-vec-test-wrappers).
7408         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7409         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7410         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7411         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7412         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7413         (extra-test-objs): Add corresponding objects.
7415 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7417         [BZ #19928]
7418         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7419         New.
7420         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7421         times of shared cache size.
7422         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7423         (VMOVNT): New.
7424         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7425         (VMOVNT): Likewise.
7426         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7427         (VMOVNT): Likewise.
7428         (VMOVU): Changed to movups for smaller code sizes.
7429         (VMOVA): Changed to movaps for smaller code sizes.
7430         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7431         comments.
7432         (PREFETCH): New.
7433         (PREFETCH_SIZE): Likewise.
7434         (PREFETCHED_LOAD_SIZE): Likewise.
7435         (PREFETCH_ONE_SET): Likewise.
7436         Rewrite to use forward and backward loops, which move 4 vector
7437         registers at a time, to support overlapping addresses and use
7438         non temporal store if size is above the threshold and there is
7439         no overlap between destination and source.
7441 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7443         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7444         Include dl-vdso.
7445         * sysdeps/unix/sysv/linux/mips/Versions: Add
7446         __vdso_clock_gettime.
7447         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7448         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7449         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7450         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7451         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7452         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7453         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7454         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7455         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7457 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7459         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7460         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7463         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7464         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7467         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7468         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7469         syscalls generation.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7471         [__NR_pwrite64] (__NR_write): Remove define.
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7473         [__NR_pwrite64] (__NR_write): Remove define.
7474         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7475         Remove define.
7476         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7477         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7478         Remove define.
7479         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7480         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7481         Linux implementation as base.
7482         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7484         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7485         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7490         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7491         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7492         syscall generation.
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7494         [__NR_pread64] (__NR_pread): Remove define.
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7496         [__NR_pread64] (__NR_pread): Likewise.
7497         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7498         define.
7499         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7500         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7501         Remove define.
7502         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7503         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7504         Linux implementation as base.
7505         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7506         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7507         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7509         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7510         definition.
7511         (__ALIGNMENT_COUNT): Likewise.
7512         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7513         (__ALIGNMENT_COUNT): Likewise.
7514         (SYSCALL_LL): New define.
7515         (SYSCALL_LL64): Likewise.
7516         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7517         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7518         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7519         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7522         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7523         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7524         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7526         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7528 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7530         [BZ #19865]
7531         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7532         original buffer before retry.
7534 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7536         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7537         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7538         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7539         GLRO(dl_auxv) list.
7540         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7541         including <ldsodefs.h>.
7542         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7544 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7546         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7547         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7548         $(CPPFLAGS).
7550 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7552         [BZ #17950]
7553         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7554         Add -mfpmath=387.
7556 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7558         * sysdeps/i386/configure.ac: Change == to = when calling test.
7559         * sysdeps/x86_64/configure.ac: Likewise.
7560         * sysdeps/i386/configure: Regenerated.
7561         * sysdeps/x86_64/configure: Likewise.
7563 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7565         [BZ #16137]
7566         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7567         * benchtests/bench-strcoll.c (input_files): Likewise.
7568         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7569         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7570         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7572 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7574         [BZ #19929]
7575         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7576         [__USE_XOPEN2K8 && !__USE_GNU].
7577         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7578         variable.
7580         [BZ #19925]
7581         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7582         define if [!__USE_MISC && __USE_XOPEN2K].
7583         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7584         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7585         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7586         Likewise.
7587         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7588         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7589         variable.
7590         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7592 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7594         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7595         (sysdep_routines): Add new strspn targets.
7596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7597         (__libc_ifunc_impl_list): Add strspn.
7598         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7599         New file.
7600         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7601         Likewise.
7602         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7603         Likewise.
7604         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7605         Likewise.
7607 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7609         * misc/hsearch_r.c: Include <limits.h>.
7611 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7613         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7615 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7617         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7618         (MEMCPY_SYMBOL): New.
7619         (MEMPCPY_SYMBOL): Likewise.
7620         (MEMMOVE_CHK_SYMBOL): Likewise.
7621         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7622         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7623         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7624         Provide alias for memcpy in libc.a and ld.so.
7626 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7628         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7629         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7630         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7631         Disabled fro now.
7632         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7633         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7635 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7637         * benchtests/Makefile (string-benchset): Add memcpy-large,
7638         memmove-large and memset-large.
7639         * benchtests/bench-memcpy-large.c: New file.
7640         * benchtests/bench-memmove-large.c: Likewise.
7641         * benchtests/bench-memmove-large.c: Likewise.
7642         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7644 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7646         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7647         32-bit displacement to avoid long nop between instructions.
7649 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7651         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7652         a comment on VMOVU and VMOVA.
7654 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7656         [BZ #19633]
7657         Use specified locale for number formatting in strfmon_l.
7658         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7659         (__nl_lookup_word): New inline functions.
7660         * include/printf.h (__print_fp_l): Declare.
7661         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7662         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7663         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7664         (___printf_fp): New function.
7665         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7666         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7667         * stdlib/tst-strfmon_l.c (do_test): New test.
7668         * stdlib/Makefile (tests): Add kt.
7669         (LOCALES): Build additional locales.
7670         (tst-strfmon_l.out): Require locales.
7672 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7674         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7675         if not in libc.
7676         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7677         Likewise.
7678         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7679         Likewise.
7680         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7681         Likewise.
7683 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7685         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7686         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7687         with unaligned_erms.
7688         (__memmove_erms): Skip if source == destination.
7689         (__memmove_unaligned_erms): Don't check source == destination
7690         first.
7692 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7694         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7695         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7697 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7699         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7700         * string/strspn.c (strspn): Likewise.
7702 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7704         * benchtests/bench-memset.c (do_test): Support 64-byte
7705         alignment.
7706         (test_main): Test 64-byte alignment.
7708 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7710         * benchtests/bench-memmove.c (test_main): Test 64-byte
7711         alignment.
7713 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7715         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7717 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7719         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7720         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7721         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7723         * string/strpbrk.c (strpbrk): Rewrite function.
7724         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7725         (__strpbrk_c2): Likewise.
7726         (__strpbrk_c3): Likewise.
7727         * string/string-inlines.c
7728         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7729         Likewise.
7730         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7731         Likewise.
7733         * string/strspn.c (strcspn): Rewrite function.
7734         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7735         (__strspn_c1): Remove inline function.
7736         (__strspn_c2): Likewise.
7737         (__strspn_c3): Likewise.
7738         * string/string-inlines.c
7739         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7740         compatibility symbol.
7741         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7742         Likewise.
7743         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7744         Likewise.
7745         * string/string-inlines.c: Include generic version.
7747 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7748             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7750         * string/Version (libc): Add GLIBC_2.24.
7751         * string/strcspn.c (strcspn): Rewrite function.
7752         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7753         (__strcspn_c1): Remove inline function.
7754         (__strcspn_c2): Likewise.
7755         (__strcspn_c3): Likewise.
7756         * string/string-inline.c
7757         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7758         compatibility symbol.
7759         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7760         Likewise.
7761         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7762         Likewise.
7763         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7765 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7767         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7768         Use ahi instead of aghi to adjust stack pointer.
7770 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7772         [BZ #19853]
7773         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7774         TEST to take significant digits as second parameter.
7775         [TEST]: Redefine in terms of TEST_N taking 30
7776         significant digits.
7777         (do_test): Add test case to demonstrate precision
7778         failure in the ldbl-128ibm printf.
7779         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7780         (__mpn_extract_long_double): Carry 7 extra intermediate
7781         bits of precision to aide computing difference when
7782         signs differ.
7784 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7786         [BZ #19881]
7787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7788         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7789         memset-avx512-unaligned-erms.
7790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7791         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7792         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7793         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7794         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7795         __memset_sse2_unaligned_erms, __memset_erms,
7796         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7797         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7798         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7799         file.
7800         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7801         Likewise.
7802         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7803         Likewise.
7804         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7805         Likewise.
7807 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7809         [BZ #19776]
7810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7811         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7812         memmove-avx512-unaligned-erms.
7813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7814         (__libc_ifunc_impl_list): Test
7815         __memmove_chk_avx512_unaligned_2,
7816         __memmove_chk_avx512_unaligned_erms,
7817         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7818         __memmove_chk_sse2_unaligned_2,
7819         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7820         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7821         __memmove_avx512_unaligned_erms, __memmove_erms,
7822         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7823         __memcpy_chk_avx512_unaligned_2,
7824         __memcpy_chk_avx512_unaligned_erms,
7825         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7826         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7827         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7828         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7829         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7830         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7831         __mempcpy_chk_avx512_unaligned_erms,
7832         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7833         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7834         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7835         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7836         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7837         __mempcpy_erms.
7838         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7839         file.
7840         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7841         Likwise.
7842         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7843         Likwise.
7844         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7845         Likwise.
7847 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7849         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7850         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7851         (La_s390_64_regs): Likewise.
7852         (La_s390_32_retval): Append vector register lrv_v24.
7853         (La_s390_64_retval): Likeweise.
7854         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7855         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7856         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7857         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7859 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7861         [BZ #19916]
7862         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7863         to create a non-vector/vector version for _dl_runtime_resolve and
7864         _dl_runtime_profile. Move implementation to ...
7865         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7866         (_dl_runtime_resolve) Save and restore fpr/vrs.
7867         (_dl_runtime_profile) Save and restore vrs and fix some issues
7868         if _dl_call_pltexit is called.
7869         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7870         Choose the correct resolver function if running on a machine with vx.
7871         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7872         to create a non-vector/vector version for _dl_runtime_resolve and
7873         _dl_runtime_profile. Move implementation to ...
7874         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7875         (_dl_runtime_resolve) Save and restore fpr/vrs.
7876         (_dl_runtime_profile) Save and restore vrs and fix some issues
7877         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7878         Choose the correct resolver function if running on a machine with vx.
7880 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7882         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7884 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7886         [BZ #19509]
7887         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7888         skip_map != NULL.
7889         * elf/tst-dlsym-error.c: New file.
7890         * elf/Makefile (tests): Add tst-dlsym-error.
7891         (tst-dlsym-error): Link against libdl.
7893 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7895         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7896         (__ASSUME_FUTIMESAT): Remove macro.
7897         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7899 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7901         [BZ #19879]
7902         CVE-2016-3075
7903         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7904         copy name.
7906 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7908         [BZ #19837]
7909         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7910         error if parse_line fails.
7912 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7914         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7915         (index_cpu_ERMS): Likewise.
7916         (reg_ERMS): Likewise.
7918 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7920         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7921         PER_LINUX_FDPIC): Add.
7923 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7926         memcpy-avx512-no-vzeroupper.
7927         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7928         to ...
7929         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7930         (MEMCPY): Don't define.
7931         (MEMCPY_CHK): Likewise.
7932         (MEMPCPY): Likewise.
7933         (MEMPCPY_CHK): Likewise.
7934         (MEMPCPY_CHK): Renamed to ...
7935         (__mempcpy_chk_avx512_no_vzeroupper): This.
7936         (MEMPCPY_CHK): Renamed to ...
7937         (__mempcpy_chk_avx512_no_vzeroupper): This.
7938         (MEMCPY_CHK): Renamed to ...
7939         (__memmove_chk_avx512_no_vzeroupper): This.
7940         (MEMCPY): Renamed to ...
7941         (__memmove_avx512_no_vzeroupper): This.
7942         (__memcpy_avx512_no_vzeroupper): New alias.
7943         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7945 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7947         [BZ #18858]
7948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7949         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7950         and mempcpy-avx512-no-vzeroupper.
7951         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7952         New.
7953         (MEMPCPY): Likewise.
7954         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7955         (MEMPCPY_CHK): New.
7956         (MEMPCPY): Likewise.
7957         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7958         (MEMPCPY): Likewise.
7959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7960         (MEMPCPY): Likewise.
7961         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7962         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7963         Likewise.
7964         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7965         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7967 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7968              Amit Pawar  <Amit.Pawar@amd.com>
7970         [BZ #19583]
7971         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7972         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7973         processors.  Set Fast_Copy_Backward for AMD Excavator
7974         processors.
7975         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7976         New.
7977         (index_arch_Fast_Unaligned_Copy): Likewise.
7978         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7979         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7981 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7983         [BZ #19791]
7984         * resolv/res_send.c (close_and_return_error): New function.
7985         (send_dg): Initialize *resplen2 after reopen failure.  Call
7986         close_and_return_error for error returns.  On error paths without
7987         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7988         successful return.
7990 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7992         [BZ# 19860]
7993         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7994         zero if the compiler does not provide the AVX512F bit.
7996 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7998         [BZ #19848]
7999         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8000         from 8 to 4.
8001         (__ieee754_powl): Compare integer exponent against 4 not 8.
8002         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8003         from 8 to 4.
8004         (__ieee754_powl): Compare integer exponent against 4 not 8.
8005         * math/auto-libm-test-in: Add more tests of pow.
8006         * math/auto-libm-test-out: Regenerated.
8007         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8012         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8013         Make code unconditional.
8014         [!__NR_utimensat]: Remove conditional code.
8015         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8016         Make code unconditional.
8017         [!__NR_utimensat]: Remove conditional code.
8018         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8019         Make code unconditional.
8020         [!__NR_utimensat]: Remove conditional code.
8022 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8024         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8025         Make code unconditional.
8027 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8029         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8030         call-clobbered %eax on retry path.
8031         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8033 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8035         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8036         Don't set %rcx twice before "rep movsb".
8038 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8040         [BZ #19583]
8041         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8042         inline.  Check family before setting family, model and
8043         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8044         bits here.
8045         (init_cpu_features): Replace HAS_CPU_FEATURE and
8046         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8047         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8048         for Intel processors with usable AVX2.  Call get_common_indeces
8049         for other processors with family == NULL.
8050         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8051         (CPU_FEATURES_ARCH_P): Likewise.
8052         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8053         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8055 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8057         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8058         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8059         $(shared-thread-library) instead of hardcoding the path to libpthread.
8061 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8063         * sysdeps/unix/sysv/linux/kernel-features.h
8064         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8065         * sysdeps/unix/sysv/linux/getdents.c
8066         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8067         [!have_no_getdents64_defined]: Likewise.
8068         (__GETDENTS): Remove __have_no_getdents64 conditional.
8070 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8072         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8073         Remove macro.
8074         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8075         <kernel-features.h>.
8076         (signalfd) [__NR_signalfd4]: Make code unconditional.
8077         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8079 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8081         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8082         style.
8084 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8086         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8087         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8088         __pthread_unwind.
8089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8090         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8092         (__condvar_cleanup1): Likewise.
8094 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8096         [BZ #19822]
8097         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8098         move it to the final $@ location.
8100 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8102         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8103         access where posix_spawn success and pid argument is null.
8104         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8105         success case.
8107 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8109         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8111         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8113         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8114         and __fcntl.
8115         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8116         __fcntl only.
8117         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8118         adding attribute_hidden to __open and __fcntl.
8120         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8121         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8122         depend on libc-modules.h,
8123         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8125 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8127         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8128         Remove macro.
8129         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8130         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8131         entry.
8133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8134         Remove macro.
8135         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8136         include <kernel-features.h>.
8137         [!__ASSUME_FALLOCATE]: Remove conditional code.
8138         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8140 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8143         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8145         (_ZGVdN4v_cos_avx2): Likewise.
8146         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8147         (_ZGVdN4v_cos): Likewise.
8148         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8149         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8150         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8151         (_ZGVdN4v_exp_avx2): Likewise.
8152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8153         (_ZGVdN4v_exp): Likewise.
8154         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8155         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8156         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8157         (_ZGVdN4v_log_avx2): Likewise.
8158         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8159         (_ZGVdN4v_log): Likewise.
8160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8161         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8163         (_ZGVdN4vv_pow_avx2): Likewise.
8164         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8165         (_ZGVdN4vv_pow): Likewise.
8166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8167         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8169         (_ZGVdN4v_sin_avx2): Likewise.
8170         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8171         (_ZGVdN4v_sin): Likewise.
8172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8173         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8175         (_ZGVdN4vvv_sincos_avx2): Likewise.
8176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8177         (_ZGVdN4vvv_sincos): Likewise.
8178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8179         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8180         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8181         (_ZGVbN4v_cosf_sse4): Likewise.
8182         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8183         (_ZGVdN8v_cosf_avx2): Likewise.
8184         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8185         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8186         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8187         (_ZGVbN4v_expf_sse4): Likewise.
8188         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8189         (_ZGVdN8v_expf_avx2): Likewise.
8190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8191         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8193         (_ZGVbN4v_logf_sse4): Likewise.
8194         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8195         (_ZGVdN8v_logf_avx2): Likewise.
8196         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8197         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8198         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8199         (_ZGVbN4vv_powf_sse4): Likewise.
8200         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8201         (_ZGVdN8vv_powf_avx2): Likewise.
8202         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8203         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8205         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8207         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8209         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8210         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8211         (_ZGVbN4v_sinf_sse4): Likewise.
8212         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8213         (_ZGVdN8v_sinf_avx2): Likewise.
8214         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8215         Use JUMPTARGET to call callee.
8216         (WRAPPER_IMPL_SSE2_ff): Likewise.
8217         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8218         (WRAPPER_IMPL_AVX): Likewise.
8219         (WRAPPER_IMPL_AVX_ff): Likewise.
8220         (WRAPPER_IMPL_AVX_fFF): Likewise.
8221         (WRAPPER_IMPL_AVX512): Likewise.
8222         (WRAPPER_IMPL_AVX512_ff): Likewise.
8223         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8224         Likewise.
8225         (WRAPPER_IMPL_SSE2_ff): Likewise.
8226         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8227         (WRAPPER_IMPL_AVX): Likewise.
8228         (WRAPPER_IMPL_AVX_ff): Likewise.
8229         (WRAPPER_IMPL_AVX_fFF): Likewise.
8230         (WRAPPER_IMPL_AVX512): Likewise.
8231         (WRAPPER_IMPL_AVX512_ff): Likewise.
8232         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8234 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8236         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8237         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8238         qualifier.
8239         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8240         internal_function qualifiers.
8242 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8244         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8245         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8246         * math/atest-exp.c (exp_mpn): Mark chk unused.
8247         * math/atest-exp2.c (exp_mpn): Likwise.
8248         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8249         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8251 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8254         Remove macro.
8255         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8256         <kernel-features.h>.
8257         [__NR_ppoll]: Make code unconditional.
8258         [!__ASSUME_PPOLL]: Remove conditional code.
8260         * sysdeps/unix/sysv/linux/kernel-features.h
8261         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8262         (__ASSUME_ACCEPT4): Likewise.
8263         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8264         Define.
8265         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8266         Likewise.
8267         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8268         Likewise.
8269         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8270         Likewise.
8271         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8272         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8273         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8274         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8275         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8276         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8279         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8281         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8282         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8284         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8285         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8287         Likewise.
8288         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8289         Likewise.
8290         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8291         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8292         0x040300].
8293         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8294         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8295         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8296         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8297         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8298         0x030300].
8299         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8300         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8301         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8302         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8303         0x040300].
8304         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8305         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8306         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8307         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8308         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8309         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8310         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8311         0x030300].
8312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8313         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8314         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8315         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8316         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8317         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8320         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8321         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8322         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8323         0x040300].
8324         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8325         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8326         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8327         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8329         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8330         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8334         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8335         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8336         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8337         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8338         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8339         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8340         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8341         Likewise.
8342         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8343         Likewise.
8345 2016-03-15  Andreas Schwab  <schwab@suse.de>
8347         [BZ #19257]
8348         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8349         statp->_u._ext.nscount as loop count.
8351 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8353         * math/test-signgam-finite-c99.c: Also #undef
8354         __LIBC_INTERNAL_MATH_INLINES.
8355         * math/test-signgam-main.c: Likewise.
8357 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8359         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8360         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8361         (MADV_FREE): Likewise.
8362         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8363         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8364         EPOLLEXCLUSIVE.
8366 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8368         * timezone/README: Remove mention of checktab.awk. Mention wiki
8369         SharedSourceFiles.
8371 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8373         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8374         WUNTRACED.
8376 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8378         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8379         order to match the type of p when calling atomic_exchange_acq().
8381 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8383         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8384         cfi_offset calls.
8385         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8386         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8387         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8388         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8389         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8391 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8393         * timezone/checktab.awk: Removed.
8395 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8397         * manual/math.texi (Errors in Math Functions): Document relaxed
8398         accuracy goals for IBM long double.
8399         * math/libm-test.inc (test_exceptions): Always allow spurious
8400         "underflow" and "inexact" exceptions for IBM long double.
8402 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8404         [BZ #19762]
8405         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8406         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8407         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8408         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8409         (bit_arch_*): This for feature array.
8410         (bit_*): Renamed to ...
8411         (bit_cpu_*): This for cpu array.
8412         (index_*): Renamed to ...
8413         (index_arch_*): This for feature array.
8414         (index_*): Renamed to ...
8415         (index_cpu_*): This for cpu array.
8416         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8417         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8418         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8419         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8420         bit_##name with index_cpu_##name and bit_cpu_##name.
8421         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8422         bit_##name with index_arch_##name and bit_arch_##name.
8424 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8426         [BZ #19792]
8427         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8428         Terminate FDE before return label.
8430 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8432         [BZ #19790]
8433         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8434         (rintl): Define as macro.
8435         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8436         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8437         of fesetround.  Ensure results are evaluated before end of scope.
8438         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8439         USE_AS_NEARBYINTL and include s_rintl.c.
8440         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8441         Disable exception traps in new environment.
8442         (libc_feholdsetround_ppc_ctx): Likewise.
8444 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8446         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8447         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8448         (tst_audit10_aux) [__AVX512F__]: ... here.
8450 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8452         * include/sys/auxv.h: New file.
8454 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8456         [BZ #19759]
8457         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8459 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8461         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8462         operand modifier.
8463         (feclearexcept): Likewise.
8465 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8467         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8468         to reflect the entire 32-bit HWCAP.
8469         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8470         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8472 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8474         [BZ #19783]
8475         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8476         $(test-via-rtld-prefix).
8477         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8479 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8481         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8482         union wait.  Report any non-zero exit status as error.
8484 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8486         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8487         configured with --enable-hardcoded-path-in-tests.
8489 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8491         [BZ #19677]
8492         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8493         (__ieee754_remainderl): Put zero low parts in canonical form.
8494         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8495         file.  Based on
8496         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8497         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8498         with wrapper round test-fmodrem-ldbl-128ibm.c.
8499         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8500         file.
8501         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8502         Likewise.
8503         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8504         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8506 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8508         [BZ #19610]
8509         * elf/ldconfig.c (opt_link): Update comment.
8510         (options): Update help string for option -X.
8511         (search_dir): Unlink stale symbolic link only if updating symbolic
8512         links.
8513         * elf/tst-ldconfig-X.sh: New file.
8514         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8515         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8517 2016-03-07  Andreas Schwab  <schwab@suse.de>
8519         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8520         needed arguments.
8522 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8524         [BZ #15333]
8525         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8526         to lstat64.
8528 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8530         * libio/filedoalloc.c (isatty): Remove.
8531         (local_isatty): Add comment.  Call __isatty directly.
8532         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8533         * libio/wfiledoalloc.c (isatty): Remove.
8534         (_IO_wfile_doallocate): Update comment.
8536 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8538         [BZ #19269]
8539         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8540         tst-audit4-aux.o.
8541         (tst-audit10): Depend on tst-audit10-aux.o.
8542         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8543         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8544         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8545         instead of inline AVX code.
8546         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8547         instead of inline AVX512 code.
8548         * sysdeps/x86_64/tst-audit4-aux.c: New file
8549         * sysdeps/x86_64/tst-audit10-aux.c: New file
8551         [BZ #19648]
8552         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8554 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8556         [BZ #14750]
8557         [BZ #10354]
8558         [BZ #18433]
8559         * include/sched.h (__clone): Add hidden prototype.
8560         (__clone2): Likewise.
8561         * include/unistd.h (__dup): Likewise.
8562         * posix/Makefile (tests): Add tst-spawn2.
8563         * posix/tst-spawn2.c: New file.
8564         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8565         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8566         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8567         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8568         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8569         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8570         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8571         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8572         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8573         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8574         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8576         Likewise.
8577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8580         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8581         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8582         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8583         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8584         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8585         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8586         * sysdeps/unix/sysv/linux/nptl-signals.h
8587         (____nptl_is_internal_signal): New function.
8588         * sysdeps/unix/sysv/linux/spawni.c: New file.
8590         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8591         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8592         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8593         * posix/tst-execvp2.c (do_test): Likewise.
8594         * posix/tst-execvp3.c (do_test): Likewise.
8595         * posix/tst-execvp4.c (do_test): Likewise.
8596         * posix/tst-execvpe1.c: New file.
8597         * posix/tst-execvpe2.c: Likewise.
8598         * posix/tst-execvpe3.c: Likewise.
8599         * posix/tst-execvpe4.c: Likewise.
8600         * posix/tst-execvpe5.c: Likewise.
8601         * posix/tst-execvpe6.c: Likewise.
8603         [BZ #19534]
8604         * posix/execl.c (execl): Remove dynamic memory allocation.
8605         * posix/execle.c (execle): Likewise.
8606         * posix/execlp.c (execlp): Likewise.
8608 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8610         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8611         Replace .text with .text.avx512.
8612         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8613         Likewise.
8615 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8617         * sysdeps/generic/libnsl.abilist: New file.
8618         * sysdeps/generic/libutil.abilist: New file.
8620 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8622         [BZ #19762]
8623         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8624         HAS_ARCH_FEATURE with Fast_Rep_String.
8625         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8626         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8627         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8628         Likewise.
8629         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8630         Likewise.
8631         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8632         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8633         Likewise.
8634         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8635         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8636         Likewise.
8638 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8640         [BZ #19745]
8641         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8642         with *%rax in call.
8644 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8646         [BZ #19745]
8647         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8648         with *__libc_start_main@GOTPCREL(%rip) in call.
8650 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8652         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8653         inside conditional for nonempty $(CXX).
8655         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8656         nonempty.
8658         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8659         to test for empty $(CXX) rather than $(CXX) of "no".
8661 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8663         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8665 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8666             H.J. Lu  <hongjiu.lu@intel.com>
8668         [BZ #18880]
8669         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8670         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8671         enable __memcpy_ssse3_back.
8673 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8675         [BZ #19758]
8676         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8677         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8679 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8681         [BZ #19490]
8682         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8683         (__fentry__): Likewise.
8685 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8687         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8688         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8690 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8692         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8693         __mcount_internal directly.
8694         (C_LABEL(__fentry__)): Likewise.
8695         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8696         directly.
8698 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8700         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8701         (__start_context): Call __setcontext directly.
8703 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8705         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8706         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8707         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8708         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8710         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8711         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8712         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8713         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8714         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8715         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8716         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8717         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8718         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8719         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8720         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8721         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8723         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8724         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8725         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8726         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8727         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8728         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8729         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8730         Remove conditional code.
8731         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8732         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8733         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8734         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8735         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8736         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8737         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8738         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8739         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8740         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8741         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8742         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8744 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8746         * NEWS (2.23): Fix typo in bug 19048 text.
8748 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8750         [BZ #14259]
8751         * Makeconfig: Rename msgcatdir to localedir.
8752         Rename inst_msgcatdir to inst_localedir.
8753         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8754         * config.make.in: Add localedir.
8755         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8756         (ldd-rewrite): Likewise.
8757         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8758         (install-others): Use inst_localedir.
8759         (CPPFLAGS): Use localedir.
8760         * locale/Makefile (locale-CPPFLAGS): Likewise.
8761         * po/Makefile (mo-installed): Use inst_localedir.
8763         [BZ #19575]
8764         * localedata/charmaps/GB18030: Update comments regarding PAU to
8765         non-PUA mappings.
8767 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8769         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8770         test for header.
8771         * sysdeps/unix/sysv/linux/configure: Regenerated.
8772         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8773         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8774         Remove conditional code.
8775         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8777         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8778         Define to 3.2.0.
8779         (arch_minimum_kernel): Likewise.
8780         * sysdeps/unix/sysv/linux/configure: Regenerated.
8781         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8782         Define to 2.6.32.
8783         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8784         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8785         (arch_minimum_kernel): Define to 2.6.32.
8786         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8787         * README: Document Linux 3.2 requirement.
8788         * manual/install.texi (Linux): Document Linux 3.2 headers
8789         requirement.
8790         * INSTALL: Regenerated.
8792 2016-02-24  Andreas Schwab  <schwab@suse.de>
8794         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8795         if !NO_LONG_DOUBLE.
8797 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8799         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8800         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8802 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8804         [BZ #19512]
8805         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8807 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8809         * posix/tst-dir.c: Include libc-internal.h.
8811 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8813         [BZ #19056]
8814         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8815         * manual/filesys.texi (Reading/Closing Directory): Mention
8816         deprecaion.
8817         * posix/tst-dir.c (main): Disable deprecation warning in test.
8819 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8821         [BZ #19679]
8822         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8823         Renamed to ...
8824         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8825         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8826         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8827         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8828         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8829         * sysdeps/x86_64/dl-trampoline.h
8830         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8831         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8833 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8835         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8837 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8839         * elf/elf.h (R_386_GOT32X): New.
8840         (R_386_NUM): Update.
8841         (R_X86_64_GOTPCRELX: New.
8842         (R_X86_64_REX_GOTPCRELX): New.
8843         (R_X86_64_NUM): Update.
8845 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8847         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8849 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8851         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8852         assign attr->stackaddr to it, and adjust it down when
8853         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8854         [_STACK_GROWS_UP]: Delete assert.
8855         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8856         Implement stack grows up logic.
8857         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8858         stack grows up logic.
8860 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8862         * NEWS: Update with 2.24 template.
8864 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8866         [BZ #19678]
8867         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8868         Ensure +0.0 is returned when taking the next value below the least
8869         positive value.
8871 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8873         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8874         available.  Do not define NO_THREADS.
8875         * malloc/malloc.c: Do not check NO_THREADS.
8876         * malloc/arena.c: Likewise.
8878 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8880         * malloc/malloc.c (__libc_mallinfo): Update comment.
8881         (struct malloc_par): Remove max_total_mem member, it was always 0.
8882         (int_mallinfo): Store 0 into usmblks (no functional change).
8883         * malloc/hooks.c (struct malloc_state): Document that
8884         max_total_mem is always 0.
8885         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8886         always 0.
8887         * manual/memory.texi (Statistics of Malloc): Likewise.
8889 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8891         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8892         * malloc/arena.c (arena_max): Remove.
8893         (heap_trim, _int_new_arena): Do not update arena_max.
8895 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8897         * resolv/res_init.c (res_ninit): Update comment.
8899 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8901         [BZ #19505]
8902         * posix/spawn_int.h: Add headers and include guard.
8903         (__spawn_valid_fd): New function.
8904         * posix/spawn_faction_addopen.c
8905         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8906         * posix/spawn_faction_addclose.c
8907         (posix_spawn_file_actions_addclose): Likewise.
8908         * posix/spawn_faction_adddup2.c
8909         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8910         second file descriptor.
8911         * posix/spawn_valid_fd.c: New file.
8912         * posix/tst-posix_spawn-fd.c: New file.
8913         * posix/Makefile (routines): Add spawn_valid_fd.
8914         (tests): Add tst-posix_spawn-fd.
8916 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8918         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8919         (do_test): Limit the number of arenas, so that we can use fewer
8920         outer threads.  Limit timeout to 3 seconds, in preparation for a
8921         larger TIMEOUT value.
8923 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8925         [BZ #19674]
8926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8927         sign in overflowing and underflowing results when overflow or
8928         underflow is detected early.  Include sign in result before rather
8929         than after scaling.
8931         [BZ #19603]
8932         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8933         (__ieee754_remainderl): Adjust sign of integer version of low part
8934         when taking absolute value of high part.
8935         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8936         * math/libm-test.inc (remainder_test_data): Add another test.
8937         (remquo_test_data): Likewise.
8939 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8941         [BZ #19602]
8942         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8943         equal high parts and both low parts zero specially.
8944         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8945         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8946         Add test-fmodl-ldbl-128ibm.
8948         [BZ #19595]
8949         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8950         common logic for all cases of shifting subnormal results.  Do not
8951         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8952         exponent to ldbl_insert_mantissa in subnormal case.
8954         [BZ #19594]
8955         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8956         on high and low parts then adjust result and use
8957         ldbl_canonicalize_int if needed.
8959         [BZ #19593]
8960         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8961         on high part and __floor or __ceil on low part then use
8962         ldbl_canonicalize_int if needed.
8964         [BZ #19592]
8965         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8966         high and low parts then use ldbl_canonicalize_int if needed.
8968         [BZ #17899]
8969         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8970         New function.
8971         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8972         on high and low parts then use ldbl_canonicalize_int if needed.
8974 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8976         * configure: Regenerated.
8978         * po/libc.pot: Regenerated.
8980         * po/be.po: Updated translation.
8981         * po/bg.po: Likewise.
8982         * po/ca.po: Likewise.
8983         * po/cs.po: Likewise.
8984         * po/da.po: Likewise.
8985         * po/el.po: Likewise.
8986         * po/eo.po: Likewise.
8987         * po/es.po: Likewise.
8988         * po/fi.po: Likewise.
8989         * po/fr.po: Likewise.
8990         * po/gl.po: Likewise.
8991         * po/hr.po: Likewise.
8992         * po/hu.po: Likewise.
8993         * po/ia.po: Likewise.
8994         * po/id.po: Likewise.
8995         * po/it.po: Likewise.
8996         * po/ja.po: Likewise.
8997         * po/lt.po: Likewise.
8998         * po/nb.po: Likewise.
8999         * po/nl.po: Likewise.
9000         * po/pt_BR.po: Likewise.
9001         * po/rw.po: Likewise.
9002         * po/sk.po: Likewise.
9003         * po/sl.po: Likewise.
9004         * po/sv.po: Likewise.
9005         * po/tr.po: Likewise.
9006         * po/zh_CN.po: Likewise.
9007         * po/zh_TW.po: Likewise.
9009         * version.h (RELEAES): Set to "development".
9010         (VERSION): Set to 2.23.90.
9012         * version.h (RELEASE): Set to "stable".
9013         (VERSION): Set to 2.23.
9014         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9016         * NEWS: Updated fixed bugs.
9018 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9019             Wilco Dijkstra  <wdijkstr@arm.com>
9021         [BZ #19462]
9022         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9023         (_STRING_INLINE_unaligned): This.
9024         * include/string.h: Include <string_private.h>.
9025         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9026         _STRING_INLINE_unaligned.
9027         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9028         (_STRING_INLINE_unaligned): New.
9029         * sysdeps/aarch64/string_private.h: New file.
9030         * sysdeps/generic/string_private.h: Likewise.
9031         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9032         * sysdeps/s390/string_private.h: Likewise.
9033         * sysdeps/x86/string_private.h: Likewise.
9034         * sysdeps/m68k/m680x0/m68020/bits/string.h
9035         (_STRING_ARCH_unaligned): Renamed to ...
9036         (_STRING_INLINE_unaligned): This.
9037         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9038         to ...
9039         (_STRING_INLINE_unaligned): This.
9040         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9041         to ...
9042         (_STRING_INLINE_unaligned): This.
9043         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9044         to ...
9045         (_STRING_INLINE_unaligned): This.
9047 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9048             H.J. Lu  <hongjiu.lu@intel.com>
9050         [BZ #19590]
9051         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9052         relocation.
9054 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9056         [BZ #18665]
9057         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9058         *herrno_p.
9059         (gaih_getanswer): Document functional behviour. Return tryagain
9060         if any result is tryagain.
9061         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9062         when freed.
9063         * resolv/res_send.c: Add copyright text.
9064         (__libc_res_nsend): Document that MAXPACKET is expected.
9065         (send_vc): Document. Remove buffer reuse.
9066         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9067         size of the buffer. Add Dprint for truncated UDP buffer.
9069 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9071         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9072         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9073         * INSTALL: Regenerate.
9075 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9076             Jonathan Wakely  <jwakely@redhat.com>
9077             Carlos O'Donell  <carlos@redhat.com>
9079         [BZ 19439]
9080         * math/Makefile (tests): Add test-math-isinff.
9081         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9082         * math/bits/mathcalls.h [__USE_MISC]: Use
9083         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9084         functions not in C++11 and which don't conflict e.g. isinff,
9085         isinfl etc.
9086         * math/test-math-isinff.cc: New file.
9088 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9090         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9092 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9094         [BZ #19529]
9095         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9097 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9099         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9101 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9103         [BZ #19550]
9104         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9105         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9106         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9107         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9108         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9109         New syscall entry.
9110         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9111         New syscall entry.
9112         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9113         syscall entry.
9115 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9117         [BZ #18240]
9118         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9119         unsigned int wraparound.
9121 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9123         [BZ #18240]
9124         * misc/bug18240.c: New test.
9125         * misc/Makefile (tests): Add it.
9127 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9128             Joseph Myers  <joseph@codesourcery.com>
9130         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9131         load in branch delay slot when less than a word of input left.
9133 2016-01-27  Andreas Schwab  <schwab@suse.de>
9135         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9136         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9137         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9138         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9140 2016-01-26  David S. Miller  <davem@davemloft.net>
9142         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9144 2016-01-25  David S. Miller  <davem@davemloft.net>
9146         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9147         __sqrtl_finite.
9148         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9149         instead using versioned_symbol.
9150         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9151         of entries.
9153         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9154         __sqrtl_finite to GLIBC_2.23
9156 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9158         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9160 2016-01-25  Andreas Schwab  <schwab@suse.de>
9162         [BZ #17514]
9163         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9164         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9165         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9166         * nptl/tst-mutex-errorcheck.c: New file.
9168 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9170         [BZ #18560]
9171         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9172         (IPCOP_semop): Likewise.
9173         (IPCOP_semget): Likewise.
9174         (IPCOP_semctl): Likewise.
9175         (IPCOP_msgsnd): Likewise.
9176         (IPCOP_msgrcv): Likewise.
9177         (IPCOP_msgget): Likewise.
9178         (IPCOP_msgctl): Likewise.
9179         (IPCOP_shmat): Likewise.
9180         (IPCOP_shmdt): Likewise.
9181         (IPCOP_shmget): Likewise.
9182         (IPCOP_shmctl): Likewise.
9184 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9186         * string/tst-endian.c: Include <libc-internal.h>.
9187         (do_test): Ignore tautological-compare warnings around
9188         "htobeXX (beXXtoh (i)) != i" and
9189         "htoleXX (leXXtoh (i)) != i" if-statements.
9191 2016-01-24  David S. Miller  <davem@davemloft.net>
9193         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9194         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9195         alias.
9196         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9197         __sqrtl_finite.
9199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9201 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9203         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9204         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9205         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9207 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9209         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9210         (thread_func): Use new function to simplify barrier check.
9211         (do_test): Use new function to simplify checking barrier exit
9212         code, and actually join the child thread.
9214 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9216         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9217         semicolon.
9218         (__libc_tend): Likewise.
9219         (__libc_tabort): Likewise.
9221 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9223         * sysdeps/nios2/libm-test-ulps: Update.
9224         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9225         (__gtsf2): Likewise.
9226         (__unorddf2): Likewise.
9227         (__unordsf2): Likewise.
9228         (__ledf2): Likewise.
9230 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9232         * nis/nis_table.c (__follow_path): Disable diagnostic for
9233         uninitialized variable that is a false positive for gcc 4.7.
9234         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9236 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9238         * sysdeps/nacl/lowlevellock-futex.h
9239         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9240         Always evaluate PRIVATE argument.
9242 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9244         [BZ #19490]
9245         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9246         (pthread_cond_broadcast): Use ENTRY/END
9247         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9248         (pthread_cond_signal): Likewise.
9249         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9250         Likewise.
9251         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9252         Likewise.
9253         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9254         Likewise.
9256 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9258         * sysdeps/ieee754/dbl-64/s_finite.c
9259         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9260         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9261         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9262         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9263         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9266         (__gtsf2): Add as optional for libc.so.
9267         (__unordsf2): Likewise.
9268         (__signbit): Remove for libc.so.
9269         (__signbitl): Likewise.
9271 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9273         * iconvdata/bug-iconv11.c (test_ibm93x):
9274         Use %zu printf format specifier for size_t argument.
9276 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9278         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9279         already-recorded ulps.
9280         * sysdeps/arm/libm-test-ulps: Regenerated.
9281         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9282         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9283         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9285 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9286             Paul Pluzhnikov  <ppluzhnikov@google.com>
9288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9289         assembler not supporting AVX-512.
9291 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9293         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9295 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9297         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9298         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9300         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9302         * sysdeps/arm/libm-test-ulps: Regenerated.
9304 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9306         [BZ #19451]
9307         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9309 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9311         [BZ #19486]
9312         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9313         * sysdeps/generic/fix-fp-int-convert-overflow.h
9314         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9315         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9316         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9317         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9318         Likewise.
9319         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9320         Avoid conversions to long int where inexact exceptions
9321         could be raised.
9322         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9323         Likewise.
9324         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9325         Avoid conversions to long long int where inexact exceptions
9326         could be raised.
9327         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9328         Likewise.
9330 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9332         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9333         * configure: Regenerated.
9335 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9337         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9339 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9341         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9342         outside of comment.
9344 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9346         * nptl/tst-barrier1.c: Add description on first line.
9347         * nptl/tst-barrier2.c: Likewise.
9348         * nptl/tst-barrier3.c: Likewise.
9349         * nptl/tst-barrier4.c: Likewise.
9350         * nptl/tst-barrier5.c: Likewise.
9352 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9354         [BZ #18868]
9355         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9357 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9361         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9362         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9363         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9364         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9365         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9366         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9367         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9368         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9369         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9371 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9373         [BZ #13065]
9374         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9375         new implementation.
9376         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9377         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9378         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9379         (BARRIER_IN_THRESHOLD): New macro.
9380         * nptl/pthread_barrierattr_setpshared.c
9381         (pthread_barrierattr_setpshared): Clean up.
9382         * nptl/tst-barrier4.c: Correct comment.
9383         * nptl/tst-barrier5.c: New file.
9384         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9385         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9386         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9387         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9388         * nptl/lowlevelbarrier.sym: Remove.
9389         * nptl/DESIGN-barrier.txt: Remove.
9390         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9391         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9392         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9393         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9394         error.
9395         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9396         implementation.
9398 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9400         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9401         (do_child): Mask SIGRTMIN while thr is running.
9403 2016-01-15  Martin Sebor  <msebor@redhat.com>
9405         [BZ #19432]
9406         * iconvdata/Makefile: Add bug-iconv11.
9407         * iconvdata/bug-iconv11.c: New test.
9408         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9409         * iconvdata/ibm933.c: Same.
9410         * iconvdata/ibm935.c: Same.
9411         * iconvdata/ibm937.c: Same.
9412         * iconvdata/ibm939.c: Same.
9414 2016-01-15  Martin Sebor  <msebor@redhat.com>
9416         [BZ #19443]
9417         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9418         [DEBUG] (_ufc_set_bits): Declare used.
9419         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9420         [DEBUG] (print_all): Declare used.
9421         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9422         operands of the ternary ?: expression to target type.
9423         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9424         calling the undeclared abort.
9425         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9427 2016-01-15  Martin Sebor  <msebor@redhat.com>
9429         [BZ #18755]
9430         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9431         warnings.
9432         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9433         (__gai_create_helper_thread): Same.
9434         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9435         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9436         to suppress -Wmaybe-uninitialized warnings.
9438 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9440         [BZ #19465]
9441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9442         inside if.
9443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9444         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9445         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9447 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9449         [BZ #19466]
9450         * time/tst-mktime2.c (time_t_max): Removed.
9451         (time_t_min): Likewise.
9452         (TYPE_SIGNED): New.
9453         (TYPE_MINIMUM): Likewise.
9454         (TYPE_MAXIMUM): Likewise.
9455         (TIME_T_MIN): Likewise.
9456         (TIME_T_MAX): Likewise.
9457         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9458         and TIME_T_MIN.
9459         (do_test): Likewise.
9461 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9463         [BZ #19467]
9464         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9465         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9467 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9469         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9471 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9473         * benchtests/Makefile (PYTHON): Define.
9474         (bench-func): Use $(PYTHON) to run python scripts.
9475         ($(objpfx)bench-%.c): Likewise.
9477 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9479         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9480         leading slash when `file_name' is "/".
9482 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9484         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9485         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9486         Likewise.
9487         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9488         Likewise.
9489         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9490         Likewise.
9491         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9492         enum constant and macro.
9493         (PTRACE_SETSIGMASK): Likewise.
9494         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9495         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9496         (PTRACE_GETSIGMASK): Likewise.
9497         (PTRACE_SETSIGMASK): Likewise.
9498         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9499         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9500         Likewise.
9501         (PTRACE_SETSIGMASK): Likewise.
9502         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9503         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9504         (PTRACE_GETSIGMASK): Likewise.
9505         (PTRACE_SETSIGMASK): Likewise.
9506         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9508         Likewise.
9509         (PTRACE_SETSIGMASK): Likewise.
9510         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9511         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9512         Likewise.
9513         (PTRACE_SETSIGMASK): Likewise.
9514         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9515         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9516         Likewise.
9517         (PTRACE_SETSIGMASK): Likewise.
9518         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9520 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9521             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9523         [BZ #19439]
9524         * math/bits/mathcalls.h
9525         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9526         prototype.
9527         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9529 2016-01-11  Andreas Schwab  <schwab@suse.de>
9531         [BZ #19253]
9532         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9533         cache when TZDEFRULES was used.
9534         * time/tst-tzname.c: New file.
9535         * time/Makefile (test): Add tst-tzname.
9536         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9537         * timezone/Makefile (test-zones): Add $(posixrules-file).
9538         ($(testdata)/$(posixrules-file)): New rule.
9540 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9542         Fix doc quoting problems with Texinfo 5
9543         Without this change, in the info file output, Texinfo 5 quotes code
9544         in text with undirected single quotes 'like this' and generates
9545         code examples that with many PDF readers cannot be cut out of PDFs
9546         and pasted into code.
9547         * manual/libc.texinfo: Configure the libc manual like the GNU
9548         Emacs manual, by using @documentencoding and setting
9549         txicodequoteundirected and txicodequotebacktick.  This way,
9550         Texinfo 5 quotes code in text with directed single quotes ‘like
9551         this’ and produces examples that can be cut out of PDFs.  This
9552         change causes Texinfo 5 to generate info files that contain UTF-8
9553         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9554         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9556 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9558         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9559         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9560         barriers to their respective compiler built-ins.
9561         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9562         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9563         * sysdeps/powerpc/sysdep.h: Likewise.
9564         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9565         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9566         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9568 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9570         * scripts/config.guess: Revert previous shebang change.
9571         * scripts/config.sub: Likewise.
9572         * scripts/mkinstalldirs: Likewise.
9574 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9576         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9577         PPC_FEATURE2_HAS_IEEE128.
9578         * sysdeps/powerpc/dl-procinfo.c:
9579         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9581 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9583         [BZ #19415]
9584         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9585         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9586         (_dl_lookup_address): Rewrite using function resolver trampoline.
9587         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9588         two bits in address.
9590 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9592         * longlong.h: Change !__SHMEDIA__ to
9593         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9594         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9596 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9597             Joseph Myers  <joseph@codesourcery.com>
9598             Mark Shinwell  <shinwell@codesourcery.com>
9599             Andrew Stubbs  <ams@codesourcery.com>
9600             Rich Felker <dalias@libc.org>
9602         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9604 2016-01-07  Richard Henderson  <rth@redhat.com>
9606         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9608 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9610         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9611         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9612         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9613         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9614         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9616 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9617             Joseph Myers  <joseph@codesourcery.com>
9619         * timezone/private.h: Update from tzcode 2015g.
9620         * timezone/tzfile.h: Likewise.
9621         * timezone/tzselect.ksh: Likewise.
9622         * timezone/zdump.c: Likewise.
9623         * timezone/zic.c: Likewise.
9624         * timezone/ialloc.c: Remove file.
9625         * timezone/scheck.c: Likewise.
9626         * timezone/Makefile (extra-objs): Remove variable.
9627         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9628         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9629         -Wno-maybe-uninitialized.
9630         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9631         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9632         (CFLAGS-ialloc.c): Remove variable.
9633         (CFLAGS-scheck.c): Likewise.
9634         * timezone/README: Update list of files from tzcode.
9636 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9638         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9639         instead of __fxprintf when _LIBC is undefined.
9641 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9643         * catgets/test-gencat.sh: Remove space after shebang.
9644         * conform/GlibcConform.pm: Likewise.
9645         * conform/check-header-lists.sh: Likewise.
9646         * conform/conformtest.pl: Likewise.
9647         * conform/linknamespace.pl: Likewise.
9648         * conform/list-header-symbols.pl: Likewise.
9649         * debug/catchsegv.sh: Likewise.
9650         * elf/genrtldtbl.awk: Likewise.
9651         * elf/tst-pathopt.sh: Likewise.
9652         * elf/tst-rtld-load-self.sh: Likewise.
9653         * grp/tst_fgetgrent.sh: Likewise.
9654         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9655         * iconvdata/gen-8bit-gap.sh: Likewise.
9656         * iconvdata/gen-8bit.sh: Likewise.
9657         * iconvdata/run-iconv-test.sh: Likewise.
9658         * intl/tst-gettext.sh: Likewise.
9659         * intl/tst-gettext2.sh: Likewise.
9660         * intl/tst-gettext4.sh: Likewise.
9661         * intl/tst-gettext6.sh: Likewise.
9662         * intl/tst-translit.sh: Likewise.
9663         * io/ftwtest-sh: Likewise.
9664         * libio/test-freopen.sh: Likewise.
9665         * locale/gen-translit.pl: Likewise.
9666         * malloc/tst-mtrace.sh: Likewise.
9667         * manual/check-safety.sh: Likewise.
9668         * manual/libc-texinfo.sh: Likewise.
9669         * manual/tsort.awk: Likewise.
9670         * manual/xtract-typefun.awk: Likewise.
9671         * nptl/tst-cancel-wrappers.sh: Likewise.
9672         * nptl/tst-tls6.sh: Likewise.
9673         * posix/globtest.sh: Likewise.
9674         * posix/tst-getconf.sh: Likewise.
9675         * posix/wordexp-tst.sh: Likewise.
9676         * scripts/check-c++-types.sh: Likewise.
9677         * scripts/check-local-headers.sh: Likewise.
9678         * scripts/config.guess: Likewise.
9679         * scripts/config.sub: Likewise.
9680         * scripts/cpp: Likewise.
9681         * scripts/cross-test-ssh.sh: Likewise.
9682         * scripts/documented.sh: Likewise.
9683         * scripts/evaluate-test.sh: Likewise.
9684         * scripts/gen-libc-abis: Likewise.
9685         * scripts/gen-sorted.awk: Likewise.
9686         * scripts/list-fixed-bugs.py: Likewise.
9687         * scripts/merge-test-results.sh: Likewise.
9688         * scripts/mkinstalldirs: Likewise.
9689         * scripts/rellns-sh: Likewise.
9690         * scripts/test-installation.pl: Likewise.
9691         * scripts/update-copyrights: Likewise.
9692         * stdio-common/tst-printf.sh: Likewise.
9693         * stdio-common/tst-unbputc.sh: Likewise.
9694         * stdlib/tst-fmtmsg.sh: Likewise.
9695         * stdlib/tst-setcontext3.sh: Likewise.
9696         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9697         * sysdeps/unix/make-syscalls.sh: Likewise.
9699 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9701         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9702         asm stw with atomic_exchange_rel.  Add explanatory comment.
9703         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9704         Likewise.
9706 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9708         [BZ #19122]
9709         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9710         * sysdeps/generic/dl-unistd.h: New file.
9711         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9713 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9715          [BZ #19122]
9716          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9717          * sysdeps/generic/dl-mman.h: New file.
9718          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9720 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9722         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9723         trailing whitespace removed.
9724         * scripts/config.guess: Update to version 2016-01-01.
9725         * scripts/config.sub: Update to version 2016-01-01.
9726         * scripts/move-if-change: Update from gnulib.
9728 2016-01-04  Anton Blanchard  <anton@samba.org>
9730         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9731         for array indices.
9732         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9734 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9736         * NEWS: Update copyright dates.
9737         * catgets/gencat.c (print_version): Likewise.
9738         * csu/version.c (banner): Likewise.
9739         * debug/catchsegv.sh: Likewise.
9740         * debug/pcprofiledump.c (print_version): Likewise.
9741         * debug/xtrace.sh (do_version): Likewise.
9742         * elf/ldconfig.c (print_version): Likewise.
9743         * elf/ldd.bash.in: Likewise.
9744         * elf/pldd.c (print_version): Likewise.
9745         * elf/sotruss.sh: Likewise.
9746         * elf/sprof.c (print_version): Likewise.
9747         * iconv/iconv_prog.c (print_version): Likewise.
9748         * iconv/iconvconfig.c (print_version): Likewise.
9749         * locale/programs/locale.c (print_version): Likewise.
9750         * locale/programs/localedef.c (print_version): Likewise.
9751         * login/programs/pt_chown.c (print_version): Likewise.
9752         * malloc/memusage.sh (do_version): Likewise.
9753         * malloc/memusagestat.c (print_version): Likewise.
9754         * malloc/mtrace.pl: Likewise.
9755         * manual/libc.texinfo: Likewise.
9756         * nptl/version.c (banner): Likewise.
9757         * nscd/nscd.c (print_version): Likewise.
9758         * nss/getent.c (print_version): Likewise.
9759         * nss/makedb.c (print_version): Likewise.
9760         * posix/getconf.c (main): Likewise.
9761         * scripts/test-installation.pl: Likewise.
9762         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9764         * All files with FSF copyright notices: Update copyright dates
9765         using scripts/update-copyrights.
9766         * intl/plural.c: Regenerated.
9767         * locale/programs/charmap-kw.h: Likewise.
9768         * locale/programs/locfile-kw.h: Likewise.
9770 2016-01-02  Helge Deller  <deller@gmx.de>
9772         [BZ #19285]
9773         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9774         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9775         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9776         (MADV_xxK_PAGES): Remove.
9778 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9780         [BZ #15421]
9781         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9782         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9783         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9784         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9786 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9788         [BZ #19408]
9789         * sysdeps/unix/sysv/linux/personality.c: New file.
9790         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9791         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9792         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9793         (sysdep_routines): Add personality.
9794         (tests): Add tst-personality.
9795         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9797         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9798         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9799         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9800         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9801         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9802         Likewise.
9803         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9804         Likewise.
9805         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9806         Likewise.
9807         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9808         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9809         Likewise.
9811 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9813         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9814         (PATH_ARM_SYSTYPE): Remove.
9815         (PATH_CPUINFO): Likewise.
9816         (IO_BASE_FOOTBRIDGE): Likewise.
9817         (IO_SHIFT_FOOTBRIDGE): Likewise.
9818         (struct platform): Likewise.
9819         (init_iosys): Remove compatibility code for 2.4 kernels.
9820         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9822 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9824         * malloc/tst-malloc-thread-fail.c: New file.
9825         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9826         (tst-malloc-thread-fail): Link against libpthread.
9828 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9830         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9831         (get_parser): New function.
9832         (main): New function.
9834 2015-12-29  Rob Wu  <rob@robwu.nl>
9836         [BZ #19369]
9837         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9839 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9841         [BZ #19270]
9842         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9844 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9846         [BZ #15421]
9847         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9849 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9851         [BZ #13690]
9852         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9853         after releasing it.
9854         (__lll_robust_unlock): Likewise.
9855         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9857         (lll_robust_unlock): Likewise.
9858         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9859         Prevent warnings in callers.
9861 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9863         * malloc/arena.c (list_lock): Update comment.
9865 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9867         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9868         __parse_hwcap_and_convert_at_platform to libc.a.
9870 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9872         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9873         platform and feature support for POWER9.
9874         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9875         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9876         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9877         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9878         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9879         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9880         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9881         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9883 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9885         Harmonize generic stdio-lock support with nptl
9887         This fixes build when _IO_funlockfile is a macro, fixes build where
9888         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9889         stack unwind.
9891         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9892         _IO_release_lock ): Use cleanup attribute on new
9893         _IO_acquire_lock_file variable instead of assuming that
9894         _IO_release_lock will be called.
9895         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9896         _IO_acquire_lock_needs_exceptions_enabled.
9897         (_IO_acquire_lock_clear_flags2): New macro.
9899 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9901         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9903 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9905         [BZ #19182]
9906         * malloc/arena.c (list_lock): Document lock ordering requirements.
9907         (free_list_lock): New lock.
9908         (ptmalloc_lock_all): Comment on free_list_lock.
9909         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9910         (detach_arena): Update comment.  free_list_lock is now needed.
9911         (_int_new_arena): Use free_list_lock around detach_arena call.
9912         Acquire arena lock after list_lock.  Add comment, including FIXME
9913         about incorrect synchronization.
9914         (get_free_list): Switch to free_list_lock.
9915         (reused_arena): Acquire free_list_lock around detach_arena call
9916         and attached threads counter update.  Add two FIXMEs about
9917         incorrect synchronization.
9918         (arena_thread_freeres): Switch to free_list_lock.
9919         * malloc/malloc.c (struct malloc_state): Update comments to
9920         mention free_list_lock.
9922 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9924         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9925         Remove functions.
9926         (sloww, sloww1): Accept argument to offset quadrant.
9927         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9928         quadrant.
9929         (__sin, __cos): Consolidate common code into new functions.
9930         (reduce_sincos_1, do_sincos_1): New functions.
9931         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9933         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9934         code to new functions.
9935         (reduce_sincos_2, do_sincos_2): New functions.
9936         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9938         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9939         common code for sincos.
9940         (__cos) [!IN_SINCOS]: Likewise.
9941         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9942         New function.
9943         (__sincos): Use it.
9945 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9947         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9948         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9949         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9951 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9953         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9956         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9957         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9958         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9959         index_Prefer_No_VZEROUPPER): New feature.
9960         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9961         Prefer_No_VZEROUPPER for Knights Landing.
9963 015-12-18  Torvald Riegel  <triegel@redhat.com>
9965         * math/atest-exp2.c (mp_exp_m1): Remove.
9967 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9969         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9970         syscalls.
9971         (__SYSCALL0): New macro.
9972         (__SYSCALL1): Likewise.
9973         (__SYSCALL2): Likewise.
9974         (__SYSCALL3): Likewise.
9975         (__SYSCALL4): Likewise.
9976         (__SYSCALL5): Likewise.
9977         (__SYSCALL6): Likewise.
9978         (__SYSCALL_CONCAT_X): Likewise.
9979         (__SYSCALL_CONCAT): Likewise.
9980         (__SYSCALL_DIST): Likewise.
9981         (__SYSCALL_CALL): Likewise.
9983 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9985         [BZ #19363]
9986         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9988 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9990         [BZ #19375]
9991         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9992         negative subnormals.
9994 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9997         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9998         (INTERNAL_SYSCALL_NCS): Use it.
9999         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10001 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10003         [BZ #19243]
10004         * malloc/arena.c (get_free_list): Remove assert and adjust
10005         reference count handling.  Add comment about reused_arena
10006         interaction.
10007         (reused_arena): Add comments abount get_free_list interaction.
10008         * malloc/tst-malloc-thread-exit.c: New file.
10009         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10010         (tst-malloc-thread-exit): Link against libpthread.
10012 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10014         [BZ #19367]
10015         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10016         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10017         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10018         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10019         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10021 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10023         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10024         Silvermont optimizations for Knights Landing.
10026 2015-12-15  Andreas Schwab  <schwab@suse.de>
10028         [BZ #17197]
10029         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10030         immediately after emitting SI.
10031         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10032         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10033         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10034         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10035         * iconvdata/bug-iconv10.c: New file.
10036         * iconvdata/Makefile (tests): Add bug-iconv10.
10037         ($(objpfx)bug-iconv10.out): New rule.
10039 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10041         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10042         aliasing violation.
10044 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10046         [BZ #18472]
10047         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10048         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10049         conditionals for them.
10050         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10051         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10053         sys/kdaemon.h.
10054         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10055         compat-only syscall, obsoleted in glibc 2.23.
10056         (create_module): Likewise.
10057         (get_kernel_syms): Likewise.
10058         (query_module): Likewise.
10059         (uselib): Likewise.
10060         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10062 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10064         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10065         <linux/version.h>.
10066         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10067         conditional code.
10068         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10069         and ioshift_name initialization.
10071 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10073         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10074         Fix indentation.
10076 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10078         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10080 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10082         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10084 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10085             Jakub Wilk  <jwilk@debian.org>
10087         [BZ #19347]
10088         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10089         to change the group of the device to the tty group.
10091 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10093         Split large string section; add truncation advice
10094         * manual/examples/strncat.c: Remove.
10095         This example was misleading, as the code would have undefined
10096         behavior if "hello" was longer than SIZE.  Anyway, the manual
10097         shouldn't encourage strncpy+strncat for this sort of thing.
10098         * manual/string.texi (Copying Strings and Arrays): Split into
10099         three sections Copying Strings and Arrays, Concatenating Strings,
10100         and Truncating Strings, as this section was way too long.  All
10101         cross-referenced changed.  Add advice about string-truncation
10102         functions.  Remove misleading strncat example.
10104 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10106         * manual/nss.texi (NSS Modules Interface): Document
10107         NSS_STATUS_NOTFOUND and SUCCESS.
10109 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10111         [BZ 18568]
10112         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10113         201505L, for Unicode 8.
10115 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10117         * locale/C-translit.h: Regenerate.
10119 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10121         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10122         and U+0153.
10124 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10126         [BZ #19351]
10127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10128         expanding log(1+z), compare z rather than its square with epsilon
10129         to determine when to avoid evaluating the expansion.
10131         [BZ #19350]
10132         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10133         Increase overflow threshold.
10135         [BZ #19349]
10136         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10137         when small.
10139         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10140         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10141         New macro.
10142         [__LINUX_KERNEL_VERSION >= 0x040300]
10143         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10145         Likewise.
10146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10147         Likewise.
10148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10149         Likewise.
10150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10151         Likewise.
10152         [__LINUX_KERNEL_VERSION >= 0x040300]
10153         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10154         [__LINUX_KERNEL_VERSION >= 0x040300]
10155         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10156         [__LINUX_KERNEL_VERSION >= 0x040300]
10157         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10158         [__LINUX_KERNEL_VERSION >= 0x040300]
10159         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10160         [__LINUX_KERNEL_VERSION >= 0x040300]
10161         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10163         Likewise.
10164         [__LINUX_KERNEL_VERSION >= 0x040300]
10165         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10167         Likewise.
10168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10169         Likewise.
10170         [__LINUX_KERNEL_VERSION >= 0x040300]
10171         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10173         Likewise.
10174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10175         Likewise.
10176         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10178         Likewise.
10179         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10180         Likewise.
10181         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10182         Likewise.
10183         [__LINUX_KERNEL_VERSION >= 0x040300]
10184         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10186         Likewise.
10187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10188         Likewise.
10189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10190         Likewise.
10191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10192         Likewise.
10193         [__LINUX_KERNEL_VERSION >= 0x040300]
10194         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10195         [__LINUX_KERNEL_VERSION >= 0x040300]
10196         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10197         [__LINUX_KERNEL_VERSION >= 0x040300]
10198         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10199         [__LINUX_KERNEL_VERSION >= 0x040300]
10200         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10201         [__LINUX_KERNEL_VERSION >= 0x040300]
10202         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10203         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10204         Likewise.
10205         [__LINUX_KERNEL_VERSION >= 0x040300]
10206         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10207         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10208         Likewise.
10209         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10210         Likewise.
10211         [__LINUX_KERNEL_VERSION >= 0x040300]
10212         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10213         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10214         Likewise.
10215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10216         Likewise.
10217         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10218         (__ASSUME_SOCKET_SYSCALL): Likewise.
10219         (__ASSUME_BIND_SYSCALL): Likewise.
10220         (__ASSUME_CONNECT_SYSCALL): Likewise.
10221         (__ASSUME_LISTEN_SYSCALL): Likewise.
10222         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10223         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10224         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10225         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10226         (__ASSUME_SEND_SYSCALL): Likewise.
10227         (__ASSUME_SENDTO_SYSCALL): Likewise.
10228         (__ASSUME_RECV_SYSCALL): Likewise.
10229         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10230         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10231         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10232         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10233         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10234         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10235         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10236         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10237         Likewise.
10238         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10239         Likewise.
10240         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10241         Likewise.
10242         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10243         Likewise.
10244         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10245         Likewise.
10246         [__LINUX_KERNEL_VERSION >= 0x020625]
10247         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10248         [__LINUX_KERNEL_VERSION >= 0x020625]
10249         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10250         [__LINUX_KERNEL_VERSION >= 0x020625]
10251         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10253         Likewise.
10254         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10255         Likewise.
10256         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10257         Likewise.
10258         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10259         Likewise.
10260         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10261         Likewise.
10262         [__LINUX_KERNEL_VERSION >= 0x020625]
10263         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10264         [__LINUX_KERNEL_VERSION >= 0x020625]
10265         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10266         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10267         Likewise.
10268         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10269         Likewise.
10271 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10273         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10274         record the current if the current ABI and CPU support the FP64
10275         extension.
10276         (has-modd-spreg): Define to record the current if the current ABI and
10277         CPU support 32-bit floating point values in odd FPU registers.
10278         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10279         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10280         $(has-modd-spreg) equals yes.
10281         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10282         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10283         $(has-modd-spreg) equal yes.
10285 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10287         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10288         basename.
10290 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10292         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10293         (bench-string): ... here.
10294         (bench): Add bench-string.
10295         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10296         to *-benchset to reflect what they are.
10297         (benchset): Adjust.
10299         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10300         cos-inputs.
10302 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10304         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10305         __attribute__ ((__simd__)) for vector math function declarations.
10307 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10309         Fix typo in strncat, wcsncat manual entries
10310         * manual/string.texi (Copying and Concatenation): Fix typos in
10311         sample implementations of strncat and wcsncat, by having them use
10312         the old value of the destination length, not the new one.
10314 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10316         [BZ #16961]
10317         [BZ #16962]
10318         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10319         string on the stack for strtod.
10320         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10321         a string on the stack for strtof.
10322         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10323         constructing a string on the stack for strtold.
10324         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10325         __strtold_nan to GLIBC_PRIVATE.
10326         * math/test-nan-overflow.c: New file.
10327         * math/test-nan-payload.c: Likewise.
10328         * math/Makefile (tests): Add test-nan-overflow and
10329         test-nan-payload.
10331 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10333         Consistency about byte vs character in string.texi
10334         * manual/string.texi (String and Array Utilities):
10335         Distinguish more carefully among bytes, multibyte characters,
10336         and wide characters.  Use "byte" when talking about C 'char',
10337         to distinguish it more clearly from multibyte characters.
10338         Say "wide character" or "multibyte character" instead of
10339         "character", when a wide or multibyte character is intended.
10340         Similarly for "multibyte string" versus "string".
10341         Define these terms more carefully.
10343 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10345         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10346         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10347         Likewise.
10348         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10349         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10350         * sysdeps/sh/math_private.h: New file.
10351         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10352         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10353         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10354         long double function name.
10355         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10356         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10357         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10358         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10361         Remove __finitel, __isinfl, and __isnanl.
10362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10366         Remove __finitel.
10367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10368         Likewise.
10369         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10371 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10373         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10374         installed libmvec_nonshared.a.
10376 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10378         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10379         (sysdep_routines): Likewise.
10380         (sysdep-rtld-routines): Likewise.
10381         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10382         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10383         * sysdeps/powerpc/Versions: Added new
10384         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10385         * sysdeps/powerpc/hwcapinfo.c: New file.
10386         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10387         and parse hwcap, hwcap2 and platform number information.
10388         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10389         to store HWCAP+HWCAP2 and platform number.
10390         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10391         for HWCAP+HWCAP2 and platform number in the TCB.
10392         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10393         the HWCAP, HWCAP2 and platform number in the TCB.
10394         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10395         (TLS_INIT_TP): Included calls to add the hwcap and
10396         at_platform values in the TCB in TP initialization.
10397         (TLS_DEFINE_INIT_TP): Likewise.
10398         (THREAD_GET_HWCAP): New macro.
10399         (THREAD_SET_HWCAP): Likewise.
10400         (THREAD_GET_AT_PLATFORM): Likewise.
10401         (THREAD_SET_AT_PLATFORM): Likewise.
10402         * sysdeps/powerpc/powerpc32/dl-machine.h:
10403         (dl_platform_init): New function that calls
10404         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10405         powerpc32.
10406         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10407         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10408         this functionality, static linking case.
10409         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10410         linking case.
10411         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10412         __parse_hwcap_and_convert_at_platform for the static linking case.
10413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10414         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10415         ABI list for GLIBC 2.23.
10416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10417         Likewise.
10418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10419         Likewise.
10421 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10423         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10424         * configure: Regenerate.
10425         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10426         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10428 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10430         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10431         * iconvdata/ibm933.c: Likewise.
10432         * iconvdata/ibm935.c: Likewise.
10433         * iconvdata/ibm937.c: Likewise.
10434         * iconvdata/ibm939.c: Likewise.
10436 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10438         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10439         pthread_join.
10440         * nptl/tst-cancel21.c (tf): Likewise.
10442 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10444         [BZ #19313]
10445         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10446         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10447         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10448         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10449         Likewise.
10450         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10451         Likewise.
10452         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10453         Likewise.
10454         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10455         Likewise.
10456         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10457         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10458         unsigned long int with __CPU_MASK_TYPE.
10460 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10462         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10464 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10466         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10467         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10468         t512.x.
10469         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10471 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10473         [BZ #19214]
10474         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10475         argument to return extended model.  Update family and model
10476         with extended family and model when family == 0x0f.
10477         (init_cpu_features): Updated.
10479 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10481         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10482         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10484         * sysdeps/mach/hurd/mmap64.c: New file.
10486 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10488         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10489         rights for its main user thread in NEWTASK.
10491 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10493         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10494         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10496 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10498         [BZ #14259]
10499         * Makeconfig: Rename localedir to complocaledir.
10500         Rename inst_localedir to inst_complocaledir.
10501         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10502         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10503         * configure.ac: Use libc_cv_complocaledir.
10504         * configure: Regenerate.
10505         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10506         -DCOMPLOCALEDIR.
10507         * locale/findlocale.c: Use COMPLOCALEDIR.
10508         * locale/loadarchive.c: Likewise.
10509         * locale/programs/locale.c: Likewise.
10510         * locale/programs/localedef.c: Likewise.
10511         * locale/programs/locarchive.c: Likewise.
10512         * localedata/Makefile: Use inst_complocaledir.
10513         * sysdeps/gnu/configure: Regenerate.
10514         * sysdeps/hppa/configure: Regenerate.
10515         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10516         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10518         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10519         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10520         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10521         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10523 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10525         [BZ #19058]
10526         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10527         AS_NEEDED.
10528         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10529         workaround.
10530         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10531         libmvec-static-only-routines): Added new file.
10532         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10534 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10536         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10537         of interrupted RPC instead of restoring it.
10539         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10540         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10541         libc_hidden_def.
10542         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10543         into initialized data instead of common. Define rtld_hidden_data_def.
10544         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10545         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10546         libc_hidden_def.
10547         (if_freenameindex): Add libc_hidden_weak.
10548         (if_nameindex): Add libc_hidden_weak.
10549         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10550         __open64.
10551         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10552         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10553         * sysdeps/mach/nanosleep.c: Include <time.h>
10554         (__nanosleep): Rename to __libc_nanosleep.
10555         (__nanosleep): Add weak_alias.
10556         (nanosleep): Update alias.
10558 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10560         * stdlib/strtod_nan.c: New file.
10561         * stdlib/strtod_nan_double.h: Likewise.
10562         * stdlib/strtod_nan_float.h: Likewise.
10563         * stdlib/strtod_nan_main.c: Likewise.
10564         * stdlib/strtod_nan_narrow.h: Likewise.
10565         * stdlib/strtod_nan_wide.h: Likewise.
10566         * stdlib/strtof_nan.c: Likewise.
10567         * stdlib/strtold_nan.c: Likewise.
10568         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10569         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10570         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10571         * wcsmbs/wcstod_nan.c: Likewise.
10572         * wcsmbs/wcstof_nan.c: Likewise.
10573         * wcsmbs/wcstold_nan.c: Likewise.
10574         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10575         strtold_nan.
10576         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10577         wcstof_nan.
10578         * include/stdlib.h (__strtof_nan): Declare and use
10579         libc_hidden_proto.
10580         (__strtod_nan): Likewise.
10581         (__strtold_nan): Likewise.
10582         (__wcstof_nan): Likewise.
10583         (__wcstod_nan): Likewise.
10584         (__wcstold_nan): Likewise.
10585         * include/wchar.h (____wcstoull_l_internal): Declare.
10586         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10587         (____strtoull_l_internal): Remove declaration.
10588         (STRTOF_NAN): Define macro.
10589         (SET_MANTISSA): Remove macro.
10590         (STRTOULL): Likewise.
10591         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10592         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10593         (STRTOF_NAN): Define macro.
10594         (SET_MANTISSA): Remove macro.
10595         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10596         (SET_MANTISSA): Remove macro.
10597         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10598         macro.
10599         (SET_MANTISSA): Remove macro.
10600         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10601         macro.
10602         (SET_MANTISSA): Remove macro.
10603         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10604         (SET_MANTISSA): Remove macro.
10605         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10606         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10607         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10609         [BZ #19266]
10610         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10611         upper case and lower case letters inside NAN(), not using TOLOWER.
10612         * stdlib/tst-strtod-nan-locale-main.c: New file.
10613         * stdlib/tst-strtod-nan-locale.c: Likewise.
10614         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10615         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10616         Depend on $(gen-locales).
10617         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10618         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10619         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10620         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10621         Depend on $(gen-locales).
10622         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10624 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10626         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10628         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10630         __finitel, __isinfl, and __isnanl.
10631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10632         Likewise.
10633         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10635         __finitel.
10636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10640 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10642         * malloc/memusage.c (me): Remove redundant getenv call.
10644 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10646         [BZ #19143]
10647         [BZ #19164]
10648         * nptl/check-cpuset.h: Remove.
10649         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10650         Remove CPU set size check.
10651         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10654         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10655         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10656         (__pthread_setaffinity_new): Remove CPU set size check.
10657         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10658         (__kernel_cpumask_size): Remove.
10659         (__sched_setaffinity_new): Remove CPU set size check.
10660         * manual/threads.texi (Default Thread Attributes): Remove stale
10661         reference to check_cpuset_attr, determine_cpumask_size in comment.
10662         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10663         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10664         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10665         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10666         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10667         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10668         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10669         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10670         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10671         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10672         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10673         skeleton test file.
10674         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10675         tst-affinity-pid.
10677 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10679         * scripts/update-abilist.sh: New file.
10680         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10681         * Makerules (update-all-abi-%, update-all-abi)
10682         (subdir_update-all-abi): New targets.
10683         * elf/Makefile (update-all-abi): New target.
10685 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10687         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10688         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10689         (__libc_lock_define_initialized): Use it.
10690         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10691         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10692         * malloc/malloc.c (main_arena): Likewise.
10693         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10694         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10696 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10698         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10699         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10700         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10701         (PTRACE_O_MASK): Update value.
10702         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10703         New value in enum __ptrace_setoptions.
10704         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10705         (PTRACE_O_MASK): Update value.
10706         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10707         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10708         (PTRACE_O_MASK): Update value.
10709         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10710         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10711         (PTRACE_O_MASK): Update value.
10712         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10713         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10714         (PTRACE_O_MASK): Update value.
10715         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10716         New value in enum __ptrace_setoptions.
10717         (PTRACE_O_MASK): Update value.
10718         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10719         New value in enum __ptrace_setoptions.
10720         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10721         (PTRACE_O_MASK): Update value.
10723         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10724         New macro.
10725         (PACKET_AUXDATA): Likewise.
10726         (PACKET_ORIGDEV): Likewise.
10727         (PACKET_VERSION): Likewise.
10728         (PACKET_HDRLEN): Likewise.
10729         (PACKET_RESERVE): Likewise.
10730         (PACKET_TX_RING): Likewise.
10731         (PACKET_LOSS): Likewise.
10732         (PACKET_VNET_HDR): Likewise.
10733         (PACKET_TX_TIMESTAMP): Likewise.
10734         (PACKET_TIMESTAMP): Likewise.
10735         (PACKET_FANOUT): Likewise.
10736         (PACKET_TX_HAS_OFF): Likewise.
10737         (PACKET_QDISC_BYPASS): Likewise.
10738         (PACKET_ROLLOVER_STATS): Likewise.
10739         (PACKET_FANOUT_DATA): Likewise.
10740         (PACKET_MR_UNICAST): Likewise.
10742         [BZ #19242]
10743         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10744         (TOUPPER): Likewise.
10745         * stdlib/tst-strtol-locale-main.c: New file.
10746         * stdlib/tst-strtol-locale.c: Likewise.
10747         * stdlib/Makefile (tests): Add tst-strtol-locale.
10748         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10749         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10750         Depend on $(gen-locales).
10751         * wcsmbs/tst-wcstol-locale.c: New file.
10752         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10753         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10754         tr_TR.ISO-8859-9.
10755         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10756         Depend on $(gen-locales).
10758 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10760         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10761         __glibc_likely instead of __builtin_expect.  After falling back to
10762         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10763         system interface to register the code pages as occupied.
10765 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10767         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10768         [!ARM_MATH_PRIVATE_H].
10769         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10770         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10771         [!HPPA_MATH_PRIVATE_H].
10772         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10773         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10774         to [!I386_MATH_PRIVATE_H].
10775         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10776         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10777         Change guard to [!M68K_MATH_PRIVATE_H].
10778         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10779         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10780         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10781         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10782         macro.
10783         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10784         [!MIPS_MATH_PRIVATE_H].
10785         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10786         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10787         [!NIO2_MATH_PRIVATE_H].
10788         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10789         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10790         [!TILE_MATH_PRIVATE_H].
10791         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10793         [BZ #15421]
10794         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10795         initialize with 0 and define as weak alias of __signgam.
10796         * include/math.h [!_ISOMAC] (__signgam): Declare.
10797         * math/Makefile (libm-calls): Add w_lgamma_compat.
10798         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10799         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10800         test-signgam-ullong-init.
10801         (tests-static): Add test-signgam-uchar-static,
10802         test-signgam-uchar-init-static, test-signgam-uint-static,
10803         test-signgam-uint-init-static, test-signgam-ullong-static and
10804         test-signgam-ullong-init-static.
10805         (CFLAGS-test-signgam-uchar.c): New variable.
10806         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10807         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10808         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10809         (CFLAGS-test-signgam-uint.c): Likewise.
10810         (CFLAGS-test-signgam-uint-init.c): Likewise.
10811         (CFLAGS-test-signgam-uint-static.c): Likewise.
10812         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10813         (CFLAGS-test-signgam-ullong.c): Likewise.
10814         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10815         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10816         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10817         * math/Versions (libm): Add GLIBC_2.23.
10818         * math/lgamma-compat.h: New file.
10819         * math/test-signgam-main.c: Likewise.
10820         * math/test-signgam-uchar-init-static.c: Likewise.
10821         * math/test-signgam-uchar-init.c: Likewise.
10822         * math/test-signgam-uchar-static.c: Likewise.
10823         * math/test-signgam-uchar.c: Likewise.
10824         * math/test-signgam-uint-init-static.c: Likewise.
10825         * math/test-signgam-uint-init.c: Likewise.
10826         * math/test-signgam-uint-static.c: Likewise.
10827         * math/test-signgam-uint.c: Likewise.
10828         * math/test-signgam-ullong-init-static.c: Likewise.
10829         * math/test-signgam-ullong-init.c: Likewise.
10830         * math/test-signgam-ullong-static.c: Likewise.
10831         * math/test-signgam-ullong.c: Likewise.
10832         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10833         wrapper of w_lgamma_main.c.
10834         * math/w_lgamma_compat.c: New file.
10835         * math/w_lgamma_compatf.c: Likewise.
10836         * math/w_lgamma_compatl.c: Likewise.
10837         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10838         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10839         defining compatibility symbols.
10840         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10841         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10842         wrapper of w_lgammaf_main.c.
10843         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10844         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10845         defining compatibility symbols.
10846         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10847         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10848         wrapper of w_lgammal_main.c.
10849         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10850         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10851         defining compatibility symbols.
10852         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10853         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10854         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10855         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10856         <lgamma-compat.h>.
10857         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10858         (__ieee754_gamma): Define as alias.
10859         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10860         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10861         <lgamma-compat.h>.
10862         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10863         (__ieee754_gammaf): Define as alias.
10864         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10865         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10866         <lgamma-compat.h>.
10867         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10868         (__ieee754_gammal): Define as alias.
10869         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10870         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10871         <math/w_lgamma_compat.c>.
10872         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10873         Define as alias of __lgamma_compat and use in defining lgammal.
10874         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10875         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10876         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10877         (USE_AS_COMPAT): New macro.
10878         (LGAMMA_OLD_VER): Undefine and redefine.
10879         (lgammal): Do not define here.
10880         (gammal): Only define here if [GAMMA_ALIAS].
10881         * conform/linknamespace.pl (@whitelist): Remove signgam.
10882         * sysdeps/nacl/libm.abilist: Update.
10883         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10891         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10896         Likewise.
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10898         Likewise.
10899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10900         Likewise.
10901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10902         Likewise.
10903         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10904         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10905         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10907         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10909         Likewise.
10910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10911         Likewise.
10912         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10913         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10914         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10916 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10918         [BZ #16364]
10919         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10920         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10922 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10924         * sysdeps/s390/fpu/bits/mathinline.h:
10925         Use __asm__ [__volatile__] instead of asm [volatile].
10926         * sysdeps/s390/abort-instr.h: Likewise.
10927         * sysdeps/s390/atomic-machine.h: Likewise.
10928         * sysdeps/s390/bits/string.h: Likewise.
10929         * sysdeps/s390/dl-tls.h: Likewise.
10930         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10931         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10932         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10933         * sysdeps/s390/fpu/fesetround.c: Likewise.
10934         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10935         * sysdeps/s390/fpu/s_fma.c: Likewise.
10936         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10937         * sysdeps/s390/memusage.h: Likewise.
10938         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10939         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10940         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10941         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10942         * sysdeps/s390/nptl/tls.h: Likewise.
10943         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10944         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10945         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10946         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10947         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10948         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10949         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10950         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10951         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10952         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10953         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10954         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10955         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10956         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10957         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10958         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10959         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10960         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10961         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10963         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10965         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10967 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10968             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10970         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10971         Add lwarx hint, and use macro for acquire instruction.
10972         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10973         Likewise.
10974         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10975         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10976         update to use new atomic macros.
10978 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10980         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10981         (__lll_trylock_elision): Fix setting of adapt_count.
10982         * sysdeps/unix/sysv/linux/powerpc/htm.h
10983         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10984         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10985         (_ABORT_SYSCALL): Renumber, and clarify definition.
10986         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10988 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10990         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10991         after system headers to prevent MIN/MAX redefinition.  Define
10992         HAVE_ALLOCA to preserve builtin alloca usage.
10994 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10996         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10997         static and don't set or restore rounding.
10998         (__cos)[IN_SINCOS]: Likewise.
10999         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11000         (__sincos): Set and restore rounding mode.  Remove check for infinite
11001         or NaN input.
11003         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11005         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11006         as used.
11008 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11010         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11012 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11014         * config.make.in (have-glob-dat-reloc): New.
11015         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11016         target supports GLOB_DAT relocaton. AC_SUBST.
11017         * configure: Regenerated.
11018         * elf/Makefile (tests): Add tst-prelink.
11019         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11020         (tst-prelink-ENV): New.
11021         ($(objpfx)tst-prelink-conflict.out): Likewise.
11022         ($(objpfx)tst-prelink-cmp.out): Likewise.
11023         * sysdeps/x86/tst-prelink.c: Moved to ...
11024         * elf/tst-prelink.c: Here.
11025         * sysdeps/x86/tst-prelink.exp: Moved to ...
11026         * elf/tst-prelink.exp: Here.
11027         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11028         (tst-prelink-ENV): Removed.
11029         ($(objpfx)tst-prelink-conflict.out): Likewise.
11030         ($(objpfx)tst-prelink-cmp.out): Likewise.
11031         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11033 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11035         [BZ #14551]
11036         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11037         (__mpn_construct_long_double): If high part overflows to infinity,
11038         set errno and recompute overflowed result of the correct sign.
11039         * sysdeps/ieee754/ldbl-128ibm/Makefile
11040         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11041         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11042         $(libm).
11043         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11045 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11047         [BZ #15479]
11048         [BZ #19238]
11049         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11050         floating-point state after first operation on input.  Restore full
11051         state rather than just rounding mode.
11052         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11053         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11054         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11056         [BZ #19235]
11057         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11058         add 0.5 to integer arguments.
11059         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11060         Likewise.
11061         (.LC2): New object.
11063 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11065         * scripts/pylintrc (reports): Set to no.
11067 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11069         * elf/dl-load.c (open_verify): Take new argument FD.
11070         Skip __open call if passed FD is not -1.
11071         (_dl_map_object, open_path): Update callers.
11072         * elf/dl-sysdep-open.h: New file.
11073         * elf/dl-load.c: Include it.
11074         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11075         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11076         * sysdeps/nacl/dl-sysdep-open.h: New file.
11077         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11078         from libc to rtld.
11080 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11082         [BZ #19228]
11083         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11084         and restore full floating-point state.
11085         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11086         Likewise.
11087         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11088         Likewise.
11089         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11090         Likewise.
11091         * math/test-nearbyint-except-2.c: New file.
11092         * math/Makefile (tests): Add test-nearbyint-except-2.
11094 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11096         [BZ #19178]
11097         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11098         (tst-prelink-ENV): New.
11099         ($(objpfx)tst-prelink-conflict.out): Likewise.
11100         ($(objpfx)tst-prelink-cmp.out): Likewise.
11101         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11102         * sysdeps/x86/tst-prelink.c: New file.
11103         * sysdeps/x86/tst-prelink.exp: Likewise.
11105 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11107         * math/auto-libm-test-in: Add another test of pow.
11108         * math/auto-libm-test-out: Regenerated.
11109         * math/libm-test.inc (pow_test_data): Add another test.
11111 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11113         [BZ #19219]
11114         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11115         weak_alias to nearbyintl.
11117 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11119         * sysdeps/aarch64/bits/string.h: New file.
11120         (_STRING_ARCH_unaligned): Define.
11122 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11124         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11125         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11126         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11127         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11130 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11132         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11133         for original name of the DSO.  Add it to the name list of the DSO
11134         if it is actually given.
11135         (_dl_map_object): Keep track of whether an audit module rewrote
11136         the file name.  If yes, pass the original name to
11137         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11138         debugging is enabled, log the change of the file name.
11139         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11140         _dl_map_object_from_fd.
11141         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11142         * elf/tst-audit11.c: New file
11143         * elf/tst-auditmod11.c: New file.
11144         * elf/tst-audit11mod1.c: New file.
11145         * elf/tst-audit11mod2.c: New file.
11146         * elf/tst-audit11mod2.map: New file.
11147         * elf/tst-audit12.c: New file
11148         * elf/tst-auditmod12.c: New file.
11149         * elf/tst-audit12mod1.c: New file.
11150         * elf/tst-audit12mod2.c: New file.
11151         * elf/tst-audit12mod2.map: New file.
11152         * elf/tst-audit12mod3.c: New file.
11154 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11156         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11157         Don't create weak aliases,
11158         because versioned symbols are created later.
11159         * sysdeps/s390/s390-32/setjmp.S
11160         (setjmp, _setjmp): Remove weak and rename to an unique name
11161         in SHARED case due to existing versioned symbols.
11162         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11163         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11164         (getcontext): Create weak alias only in non SHARED case.
11165         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11167 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11169         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11170         (__ASSUME_*_SYSCALL) Define new macros.
11171         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11172         Remove socketcall syscalls.
11173         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11174         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11175         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11176         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11177         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11178         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11180 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11182         [BZ #12926]
11183         Terminate process on invalid netlink response.
11184         * sysdeps/unix/sysv/linux/netlinkaccess.h
11185         (__netlink_assert_response): Declare.
11186         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11187         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11188         (sysdep_routines): Add netlink_assert_response.
11189         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11190         __netlink_assert_response.
11191         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11192         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11193         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11194         __netlink_assert_response.
11196 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11198         [BZ #19178]
11199         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11200         (RTYPE_CLASS_PLT): Likewise.
11201         (RTYPE_CLASS_COPY): Likewise.
11202         (RTYPE_CLASS_TLS): Likewise.
11203         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11204         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11205         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11206         DL_DEBUG_PRELINK.
11208 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11210         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11211         calls with argument -0.5.
11212         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11214         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11215         (libc_cv_z_nodlopen): Likewise.
11216         (libc_cv_z_initfirst): Likewise.
11217         * configure: Regenerated.
11219 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11221         Simplify abilist format to be line-based.
11222         * scripts/abilist.awk: Collect descriptors in the descs variable.
11223         (emit): Write descs variable and sort it
11224         externally, with sort.
11225         * sysdeps/**/*.abilist: Convert to new format.
11227 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11229         [BZ #11460]
11230         * io/Makefile (routines): Add fts64.
11231         (tests): Add tst-fts and tst-fts-lfs.
11232         (CFLAGS-fts64.c): New.
11233         * io/Versions (GLIBC_2.23): New.
11234         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11235         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11236         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11237         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11238         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11239         (FTSENT64): Likewise.
11240         (fts64_children): Likewise.
11241         (fts64_close): Likewise.
11242         (fts64_open): Likewise.
11243         (fts64_read): Likewise.
11244         (fts64_set): Likewise.
11245         * io/fts64.c: New file.
11246         * io/tst-fts.c: New test.
11247         * io/tst-fts-lfs.c: Likewise.
11248         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11249         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11250         fts64_set.
11251         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11252         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11253         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11254         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11255         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11258         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11260         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11261         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11262         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11263         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11265         Likewise.
11266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11267         Likewise.
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11271         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11272         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11277         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11278         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11279         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11280         * sysdeps/wordsize-64/fts.c: New file.
11281         * sysdeps/wordsize-64/fts64.c: Likewise.
11282         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11283         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11284         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11285         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11287 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11289         * math/libm-test.inc (NON_FINITE): New macro.
11290         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11291         * math/gen-libm-test.pl (show_exceptions): Add argument
11292         $non_finite.
11293         (parse_args): Update call to show_exceptions.
11294         * math/test-math-finite.h: New file.
11295         * math/test-math-no-finite.h: Likewise.
11296         * math/test-double-finite.c: Likewise.
11297         * math/test-float-finite.c: Likewise.
11298         * math/test-ldouble-finite.c: Likewise.
11299         * math/test-double.c: Include "test-math-no-finite.h".
11300         * math/test-float.c: Include "test-math-no-finite.h".
11301         * math/test-ldouble.c: Include "test-math-no-finite.h".
11302         * math/test-math-inline.h (TEST_FINITE): New macro.
11303         * math/test-math-vector.h (TEST_FINITE): Likewise.
11304         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11305         (libm-tests): Add test-float-finite and test-double-finite.
11306         ($(objpfx)test-float-finite.o): New dependency on
11307         $(objpfx)libm-test.stmp.
11308         ($(objpfx)test-double-finite.o): Likewise.
11309         ($(objpfx)test-ldouble-finite.o): Likewise.
11310         (libm-test-no-inline-cflags): New variable.
11311         (libm-test-finite-cflags): Likewise.
11312         (CFLAGS-test-float-finite.c): Likewise.
11313         (CFLAGS-test-double-finite.c): Likewise.
11314         (CFLAGS-test-ldouble-finite.c): Likewise.
11315         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11316         (CFLAGS-test-double.c): Likewise.
11317         (CFLAGS-test-ldouble.c): Likewise.
11319 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11321         * io/fcntl.c (__fcntl): Add ... to prototype.
11322         * misc/ioctl.c (__ioctl): Likewise.
11323         * misc/syscall.c (syscall): Likewise.
11325 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11327         * scripts/list-fixed-bugs.py: New file.
11329         [BZ #19213]
11330         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11331         returned for argument 1.
11332         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11333         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11334         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11335         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11336         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11337         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11339         [BZ #19211]
11340         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11341         __USE_XOPEN], not if [!__USE_ISOC99].
11342         (lgammaf): Likewise.
11343         (lgammal): Likewise.
11344         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11345         (gammaf): Likewise.
11346         (gammal): Likewise.
11347         * math/test-signgam-finite-c11.c: New file.
11348         * math/test-signgam-finite-c99.c: Likewise.
11349         * math/test-signgam-finite.c: Likewise.
11350         * math/Makefile (tests): Add test-signgam-finite,
11351         test-signgam-finite-c99 and test-signgam-finite-c11.
11352         (CFLAGS-test-signgam-finite.c): New variable.
11353         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11354         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11356         [BZ #19212]
11357         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11358         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11359         500].
11360         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11361         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11362         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11363         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11364         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11365         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11366         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11367         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11368         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11369         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11371         [BZ #19209]
11372         * math/bits/math-finite.h (ldexp): Remove declaration.
11373         (ldexpf): Likewise.
11374         (ldexpl): Likewise.
11376         [BZ #19205]
11377         * math/bits/math-finite.h (acosf): Condition declaration on
11378         [__USE_ISOC99].
11379         (acosl): Likewise.
11380         (acoshf): Likewise.
11381         (acoshl): Likewise.
11382         (asinf): Likewise.
11383         (asinl): Likewise.
11384         (atan2f): Likewise.
11385         (atan2l): Likewise.
11386         (atanhf): Likewise.
11387         (atanhl): Likewise.
11388         (coshf): Likewise.
11389         (coshl): Likewise.
11390         (expf): Likewise.
11391         (expl): Likewise.
11392         (fmodf): Likewise.
11393         (fmodl): Likewise.
11394         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11395         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11396         (j0l): Likewise.
11397         (y0f): Likewise.
11398         (y0l): Likewise.
11399         (j1f): Likewise.
11400         (j1l): Likewise.
11401         (y1f): Likewise.
11402         (y1l): Likewise.
11403         (jnf): Likewise.
11404         (jnl): Likewise.
11405         (ynf): Likewise.
11406         (ynl): Likewise.
11407         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11408         (lgammal_r): Likewise.
11409         (__lgamma_r_finite): New declaration.
11410         (__lgammaf_r_finite): Likewise.
11411         (__lgammal_r_finite): Likewise.
11412         (lgamma): Use __lgamma_r_finite.
11413         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11414         __lgammaf_r_finite.
11415         (lgammal): Condition definition on [__USE_ISOC99].  Use
11416         __lgammal_r_finite.
11417         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11418         __lgamma_r_finite.
11419         (gammaf): Condition definition on [__USE_ISOC99].  Use
11420         __lgammaf_r_finite.
11421         (gammal): Condition definition on [__USE_ISOC99].  Use
11422         __lgammal_r_finite.
11423         (logf): Condition declaration on [__USE_ISOC99].
11424         (logl): Likewise.
11425         (log10f): Likewise.
11426         (log10l): Likewise.
11427         (ldexpf): Likewise.
11428         (ldexpl): Likewise.
11429         (powf): Likewise.
11430         (powl): Likewise.
11431         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11432         __USE_ISOC99].
11433         (remainderf): Condition declaration on [__USE_ISOC99].
11434         (remainderl): Likewise.
11435         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11436         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11437         (scalbl): Likewise.
11438         (sinhf): Condition declaration on [__USE_ISOC99].
11439         (sinhl): Likewise.
11440         (sqrtf): Likewise.
11441         (sqrtl): Likewise.
11443 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11445         * sysdeps/arm/atomic-machine.h
11446         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11447         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11448         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11449         Remove conditional code.
11450         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11451         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11452         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11453         Change conditional to [__ASSEMBLER__].
11454         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11455         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11456         [!__ASSEMBLER__].
11457         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11458         code.
11459         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11460         conditional macro definitions.
11461         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11462         (__arch_compare_and_exchange_val_16_acq): Likewise.
11463         (__arch_compare_and_exchange_val_32_acq): Likewise.
11464         (atomic_exchange_and_add): Likewise.
11465         (atomic_add): Likewise.
11466         (atomic_add_negative): Likewise.
11467         (atomic_add_zero): Likewise.
11468         (atomic_bit_set): Likewise.
11469         (atomic_bit_test_set): Likewise.
11470         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11471         code unconditional.
11472         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11474         * math/test-math-errno.h: New file.
11475         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11476         empty.
11477         (TEST_ERRNO): New macro.
11478         (TEST_EXCEPTIONS): Likewise.
11479         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11480         (TEST_EXCEPTIONS): Likewise.
11481         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11482         * math/test-double.c: Include "test-math-errno.h".
11483         * math/test-float.c: Likewise.
11484         * math/test-ldouble.c: Likewise.
11485         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11486         code unconditional.
11487         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11488         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11489         unconditional.
11490         (test_errno): Only run code if TEST_ERRNO.
11491         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11493 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11495         * nptl/tst-once5.cc: Remove attribution.
11497 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11499         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11500         sqrt, tan, tanh, y0, y1 and yn.
11501         * math/auto-libm-test-out: Regenerated.
11502         * math/libm-test.inc (scalb_test_data): Add more tests.
11503         (scalbn_test_data): Likewise.
11504         (scalbln_test_data): Likewise.
11505         (signbit_test_data): Likewise.
11506         (sin_test_data): Likewise.
11507         (sincos_test_data): Likewise.
11508         (sinh_test_data): Likewise.
11509         (sqrt_test_data): Likewise.
11510         (tan_test_data): Likewise.
11511         (tanh_test_data): Likewise.
11512         (tgamma_test_data): Likewise.
11513         (y0_test_data): Likewise.
11514         (y1_test_data): Likewise.
11515         (yn_test_data): Likewise.
11516         (significand_test_data): Likewise.
11517         * sysdeps/i386/fpu/libm-test-ulps: Update.
11519 2015-11-03  David Kastrup  <dak@gnu.org>
11521         [BZ #18604]
11522         * assert/assert.h (assert): Don't macro-expand failed assertion
11523         expression in error message.
11524         * malloc/malloc.c (assert): Likewise.
11526 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11528         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11529         test.
11530         * configure: Regenerated.
11532 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11534         * math/libm-test.inc (modf_test_data): Add more tests.
11535         (nearbyint_test_data): Likewise.
11536         (nextafter_test_data): Likewise.
11537         (nexttoward_test_data): Likewise.
11538         (pow_test_data): Likewise.
11539         (remainder_test_data): Likewise.
11540         (remquo_test_data): Likewise.
11541         (rint_test_data): Likewise.
11543         [BZ #19201]
11544         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11545         Check for zero remainder in case of large exponents and ensure
11546         correct sign of result in that case.
11547         * math/libm-test.inc (remainder_test_data): Add more tests.
11549         [BZ #6799]
11550         * math/s_nextafter.c: Include <errno.h>.
11551         (__nextafter): Set errno on overflow and underflow.
11552         * math/s_nexttowardf.c: Include <errno.h>.
11553         (__nexttowardf): Set errno on overflow and underflow.
11554         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11555         (__nextafterl): Set errno on overflow and underflow.
11556         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11557         (__nexttoward): Set errno on overflow and underflow.
11558         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11559         (__nexttowardf): Set errno on overflow and underflow.
11560         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11561         (__nextafterf): Set errno on overflow and underflow.
11562         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11563         (__nextafterl): Set errno on overflow and underflow.
11564         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11565         (__nexttoward): Set errno on overflow and underflow.
11566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11567         (__nexttowardf): Set errno on overflow and underflow.
11568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11569         (__nextafterl): Set errno on overflow and underflow.
11570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11571         (__nexttoward): Set errno on overflow and underflow.
11572         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11573         (__nexttowardf): Set errno on overflow and underflow.
11574         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11575         (__nexttoward): Set errno on overflow and underflow.
11576         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11577         (__nexttowardf): Set errno on overflow and underflow.
11578         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11579         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11580         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11581         (__nextafterl): Set errno on overflow and underflow.
11582         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11583         setting to be missing on overflow.  Add more tests.
11584         (nexttoward_test_data): Likewise.
11586         * configure.ac (libc_cv_initfini_array): Remove configure test.
11587         * configure: Regenerated.
11589 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11591         [BZ #19189]
11592         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11593         non-finite argument handle arguments with negative sign.
11595         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11596         result from infinite argument.
11597         (j1_test_data): Likewise.
11598         (jn_test_data): Likewise.
11599         (y0_test_data): Likewise.
11600         (y1_test_data): Likewise.
11601         (yn_test_data): Likewise.
11603         [BZ #16171]
11604         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11605         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11606         * math/w_remainderf.c (dremf): Define as weak alias of
11607         __remainderf.
11608         * math/w_remainderl.c (dreml): Define as weak alias of
11609         __remainderl.
11610         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11611         __remainder.
11612         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11613         __remainderf.
11614         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11615         __remainderl.
11616         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11617         weak alias of remainderl.
11618         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11619         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11620         alias of __remainder.
11621         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11622         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11623         strong alias of __remainderl.
11624         (dreml): Use long_double_symbol.
11625         * math/Makefile (libm-calls): Remove w_drem.
11626         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11627         (CFLAGS-nldbl-drem.c): Remove variable.
11628         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11629         * math/w_drem.c: Remove file.
11630         * math/w_dremf.c: Likewise.
11631         * math/w_dreml.c: Likewise.
11632         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11633         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11634         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11636         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11637         * sysdeps/i386/configure: Regenerated.
11638         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11639         * sysdeps/x86_64/configure: Regenerated.
11641         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11642         test.
11643         (libc_cv_visibility_attribute): Likewise.
11644         (libc_cv_protected_data): Test unconditionally.
11645         (libc_cv_broken_visibility_attribute): Remove configure test.
11646         (libc_cv_have_sdata_section): Test unconditionally.
11647         * configure: Regenerated.
11649         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11650         * include/scratch_buffer.h: Include <stddef.h> instead of
11651         <libc-internal.h>.
11652         (struct scratch_buffer): Use max_align_t instead of
11653         libc_max_align_t.
11655 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11657         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11658         instead of extend_alloca.  Change control flow to avoid a goto.
11659         Remove assert which is trivially always true.
11661 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11663         [BZ #16068]
11664         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11665         (FE_ALL_EXCEPT_X86): New macro.
11666         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11667         FE_ALL_EXCEPT.  Ensure precision control is included in
11668         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11669         handle "denormal operand exception" and clear FZ and DAZ bits.
11670         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11671         (FE_ALL_EXCEPT_X86): New macro.
11672         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11673         FE_ALL_EXCEPT.  Ensure precision control is included in
11674         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11675         handle "denormal operand exception" and clear FZ and DAZ bits.
11676         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11677         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11678         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11679         test-fenv-x87 and test-fenv-sse-2.
11680         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11682         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11683         * math/test-double.h (BUILD_COMPLEX): New macro.
11684         * math/test-float.h (BUILD_COMPLEX): Likewise.
11685         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11687         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11688         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11689         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11691         instead of DBL_DENORM_MIN in comment.
11692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11693         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11695         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11697         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11699 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11701         [BZ# 19048]
11702         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11703         attached_threads member.
11704         (main_arena): Initialize attached_threads.
11705         * malloc/arena.c (list_lock): Update comment.
11706         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11707         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11708         (deattach_arena): New function.
11709         (_int_new_arena): Initialize arena reference count and deattach
11710         replaced arena.
11711         (get_free_list, reused_arena): Update reference count and deattach
11712         replaced arena.
11713         (arena_thread_freeres): Update arena reference count and only put
11714         unreferenced arenas on the free list.
11716 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11718         [BZ #19181]
11719         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11720         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11721         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11722         * math/test-fenv-clear-main.c: New file.
11723         * math/test-fenv-clear.c: Likewise.
11724         * math/Makefile (tests): Add test-fenv-clear.
11725         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11726         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11727         test-fenv-clear-sse.
11728         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11730         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11731         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11732         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11734 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11736         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11737         static libc.
11739 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11741         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11742         test.
11743         * sysdeps/i386/configure: Regenerated.
11744         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11745         test.
11746         * sysdeps/x86_64/configure: Regenerated.
11747         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11749         memset-avx2 unconditionally instead of conditionally on
11750         [$(config-cflags-avx2) = yes].
11751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11752         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11753         unconditional.
11754         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11755         * sysdeps/x86_64/multiarch/memset_chk.S
11756         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11757         to [IS_IN (libc) && SHARED].
11759 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11761         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11762         configure test.
11763         * sysdeps/arm/configure: Regenerated.
11764         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11765         Define variable if not already defined.
11767         [BZ #17404]
11768         * sysdeps/mips/atomic-machine.h
11769         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11770         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11771         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11773         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11774         unconditional.
11775         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11776         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11777         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11778         unconditional.
11779         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11780         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11781         unconditional.
11782         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11783         * stdlib/setenv.c
11784         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11785         code unconditional.
11786         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11787         Remove conditional code.
11788         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11789         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11790         unconditional.
11791         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11792         code.
11793         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11794         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11795         unconditional.
11796         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11797         code.
11798         * sysdeps/ieee754/ldbl-128/k_tanl.c
11799         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11800         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11801         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11802         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11803         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11804         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11805         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11806         unconditional.
11807         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11808         code.
11809         * sysdeps/ieee754/ldbl-96/k_tanl.c
11810         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11811         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11813         * nptl/tst-initializers1-c11.c: New file.
11814         * nptl/tst-initializers1-gnu11.c: Likewise.
11815         * nptl/Makefile (tests): Add these new tests.
11816         (CFLAGS-tst-initializers1-c11.c): New variable.
11817         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11819         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11820         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11821         instead of -std=gnu99.
11822         * configure.ac (systemtap): Test with -std=gnu11 instead of
11823         -std=gnu99.
11824         * configure: Regenerated.
11825         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11826         in compilation command in comment.
11828         * sysdeps/nptl/configure.ac: Remove file.
11829         * sysdeps/nptl/configure: Remove generated file.
11830         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11831         * configure: Regenerated.
11832         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11833         * config.make.in (have-forced-unwind): Remove variable.
11834         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11835         unconditional.
11836         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11837         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11838         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11839         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11840         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11841         unconditional.
11843 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11845         [BZ #19174]
11846         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11847         .skip_lock_out_of_tbegin_retries.
11848         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11849         (__lll_lock_elision): Likewise, and respect a value of
11850         try_tbegin <= 0.
11852 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11854         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11855         statement.
11857 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11859         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11860         variable.
11861         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11862         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11864         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11865         of -std=c1x -D_ISOC11_SOURCE.
11867         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11868         * configure: Regenerated.
11869         * manual/install.texi (Tools for Compilation): Document
11870         requirement for GCC 4.7 or later.
11871         * INSTALL: Regenerated.
11873 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11875         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11876         on CNT to a conditional jump to 'puntdata'.
11878 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11880         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11881         (libc_cv_gcc_tls_model_attr): Likewise.
11882         * configure: Regenerated.
11884         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11885         * configure: Regenerated.
11886         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11888 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11890         * configure.ac (old_glibc_headers): Remove configure test.
11891         * configure: Regenerated.
11892         * config.make.in (old-glibc-headers): Remove variable.
11893         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11894         (install): Remove dependency on remove-old-headers.
11895         (headers2_0): Remove variable.
11896         (remove-old-headers): Remove rule.
11898         * configure.ac (libc_cv_dot_text): Remove configure test.
11899         (libc_cv_asm_set_directive): Use .text instead of
11900         ${libc_cv_dot_text} in configure test.
11901         * configure: Regenerated.
11903 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11905         [BZ #19168]
11906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11908 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11910         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11911         not support static linking.
11912         * configure: Regenerate.
11914 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11916         * math/libm-test.inc (check_float_internal): Do not special-case
11917         errors up to 0.5 ulp.
11919         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11920         log2.
11921         * math/auto-libm-test-out: Regenerated.
11922         * math/libm-test.inc (MAX_EXP): New macro.
11923         (ilogb_test_data): Add more tests.
11924         (isfinite_test_data): Likewise.
11925         (isgreater_test_data): Likewise.
11926         (isgreaterequal_test_data): Likewise.
11927         (isinf_test_data): Likewise.
11928         (isless_test_data): Likewise.
11929         (islessequal_test_data): Likewise.
11930         (islessgreater_test_data): Likewise.
11931         (isnan_test_data): Likewise.
11932         (isnormal_test_data): Likewise.
11933         (issignaling_test_data): Likewise.
11934         (isunordered_test_data): Likewise.
11935         (j0_test_data): Likewise.
11936         (j1_test_data): Likewise.
11937         (jn_test_data): Likewise.
11938         (lgamma_test_data): Likewise.
11939         (log_test_data): Likewise.
11940         (log10_test_data): Likewise.
11941         (log1p_test_data): Likewise.
11942         (log2_test_data): Likewise.
11943         (logb_test_data): Likewise.
11944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11946         [BZ #18611]
11947         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11948         avoid excess range and precision on underflow.
11949         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11950         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11951         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11952         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11953         underflow.
11954         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11956         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11957         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11958         * math/auto-libm-test-in: Do not allow missing errno setting for
11959         tests of j1 and jn.
11960         * math/auto-libm-test-out: Regenerated.
11962 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11964         [BZ #15491]
11965         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11966         floating-point environment instead of clearing all exceptions.
11967         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11968         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11969         merging in "invalid" exceptions from frndint.
11970         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11971         * math/test-nearbyint-except.c: New file.
11972         * math/Makefile (tests): Add test-nearbyint-except.
11974 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11976         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11978         * sysdeps/tile/libm-test-ulps: Regenerated.
11980 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11983         (__NR_sync_file_range2): Assume it is always defined.
11984         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11985         (__NR_sync_file_range): Assume it is always defined.
11987 2015-10-22  Andreas Schwab  <schwab@suse.de>
11989         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11990         INTERNAL_SYSCALL_ERRNO.
11991         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11992         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11993         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11994         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11995         Likewise.
11996         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11998 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12000         * io/tst-fcntl.c (fd): New static variable.
12001         (do_prepare): Open temporary file here....
12002         (do_test): ...not here.
12004         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12006 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12008         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12009         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12010         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12011         Moved before "#ifdef __ASSEMBLER__".
12013 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12015         [BZ #19156]
12016         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12017         arguments very close to 0.
12019 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12021         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12022         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12024 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12026         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12027         New.  Defined for GCC 5 and above when not compiling for
12028         profiling.
12029         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12031         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12032         Renamed to ...
12033         (CFLAGS-epoll_pwait.o): This.
12034         (CFLAGS-mmap.c): Renamed to ...
12035         (CFLAGS-mmap.o): This.
12036         (CFLAGS-mmap64.c): Renamed to ...
12037         (CFLAGS-mmap64.o): This.
12038         (CFLAGS-epoll_pwait.os): New.
12039         (CFLAGS-mmap.os): Likewise.
12040         (CFLAGS-mmap64.os): Likewise.
12041         (CFLAGS-semtimedop.os): Likewise.
12042         (CFLAGS-semtimedop.c): Renamed to ...
12043         (CFLAGS-semtimedop.o): This.
12045 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12047         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12048         warning message.
12050 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12052         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12053         * Makefile ($(objpfx)c++-types-check.out): Filter out
12054         $(+gccwarn-c) instead of -Wstrict-prototypes.
12056         * io/fts.c (fts_open): Convert to prototype-style function
12057         definition.
12058         * malloc/mcheck.c (mcheck): Likewise.
12059         (mcheck_pedantic): Likewise.
12060         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12061         internal_function.
12062         (re_search_internal): Likewise.
12063         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12064         prototype-style function definition.
12065         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12066         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12067         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12068         (xdr_utmpptr): Likewise.
12069         (xdr_utmparr): Likewise.
12070         (xdr_utmpidle): Likewise.
12071         (xdr_utmpidleptr): Likewise.
12072         (xdr_utmpidlearr): Likewise.
12074         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12075         log, log10 and log2.
12076         * math/auto-libm-test-out: Regenerated.
12077         * math/libm-test.inc (fmod_test_data): Add more tests.
12078         (fpclassify_test_data): Likewise.
12079         (frexp_test_data): Likewise.
12080         (hypot_test_data): Likewise.
12081         (ilogb_test_data): Likewise.
12083 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12085         * debug/fortify_fail.c (__fortify_fail): Convert to
12086         prototype-style function definition.  Use internal_function.
12087         * libio/genops.c (save_for_backup): Convert to prototype-style
12088         function definition.
12089         * libio/wgenops.c (save_for_wbackup): Likewise.
12090         * login/grantpt.c (grantpt): Likewise.
12091         * login/ptsname.c (ptsname): Likewise.
12092         (__ptsname_r): Likewise.
12093         * login/unlockpt.c (unlockpt): Likewise.
12094         * mach/msgserver.c (__mach_msg_server): Likewise.
12095         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12096         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12097         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12098         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12099         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12100         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12101         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12102         Likewise.
12103         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12104         internal_function.
12105         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12106         prototype-style function definition.
12107         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12108         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12109         (__pthread_create_2_0): Likewise.
12110         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12111         * nptl/register-atfork.c (__register_atfork): Likewise.
12112         * posix/glob.c (glob): Likewise.
12113         * posix/regcomp.c (re_comp): Likewise.
12114         * posix/regexec.c (re_exec): Likewise.
12115         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12116         [!__STDC__]: Remove conditional code.
12117         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12118         [!__STDC__]: Remove conditional code.
12119         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12120         [!__STDC__]: Remove conditional code.
12121         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12122         [!__STDC__]: Remove conditional code.
12123         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12124         [!__STDC__]: Remove conditional code.
12125         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12126         [!__STDC__]: Remove conditional code.
12127         * stdlib/mul.c [__STDC__]: Make code unconditional.
12128         [!__STDC__]: Remove conditional code.
12129         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12130         [!__STDC__]: Remove conditional code.
12131         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12132         [!__STDC__]: Remove conditional code.
12133         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12134         function definition.
12135         (STRTOF): Likewise.
12136         * stdlib/strtod_l.c (__STRTOF): Likewise.
12137         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12138         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12139         (__strtol_l): Likewise.
12140         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12141         [!__STDC__]: Remove conditional code.
12142         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12143         definition.
12144         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12145         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12146         type.
12147         (__strcasecmp): Convert to prototype-style function definition.
12148         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12149         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12150         type.
12151         (__strncasecmp): Convert to prototype-style function definition.
12152         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12153         * sunrpc/xdr.c (xdr_union): Likewise.
12154         * sunrpc/xdr_array.c (xdr_array): Likewise.
12155         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12156         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12157         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12158         Likewise.
12159         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12160         Likewise.
12161         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12162         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12163         Likewise.
12164         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12165         (LOCALE_PARAM_PROTO): Likewise.
12166         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12167         argument type.
12168         (ut_argument_spec): Remove macro.
12169         (ut_argument_spec_iso): Rename to ut_argument_spec.
12170         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12171         prototype-style function definition.
12172         (memcpy_uppcase): Likewise.
12173         (__strftime_internal): Likewise.
12174         (my_strftime): Likewise.
12175         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12176         (LOCALE_PARAM_DECL): Likewise.
12177         [_LIBC] (LOCALE_PARAM): Include argument type.
12178         (__strptime_internal): Convert to prototype-style function
12179         definition.
12180         (strptime): Likewise.
12181         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12182         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12183         type.
12184         (__wcscasecmp): Convert to prototype-style function definition.
12185         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12186         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12187         type.
12188         (__wcsncasecmp): Convert to prototype-style function definition.
12190         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12191         function definition.
12192         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12193         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12194         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12195         * elf/dl-minimal.c (_itoa): Likewise.
12196         * hurd/hurdmalloc.c (malloc): Likewise.
12197         (free): Likewise.
12198         (realloc): Likewise.
12199         * inet/inet6_option.c (inet6_option_space): Likewise.
12200         (inet6_option_init): Likewise.
12201         (inet6_option_append): Likewise.
12202         (inet6_option_alloc): Likewise.
12203         (inet6_option_next): Likewise.
12204         (inet6_option_find): Likewise.
12205         * io/ftw.c (FTW_NAME): Likewise.
12206         (NFTW_NAME): Likewise.
12207         (NFTW_NEW_NAME): Likewise.
12208         (NFTW_OLD_NAME): Likewise.
12209         * libio/iofwide.c (_IO_fwide): Likewise.
12210         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12211         (_IO_str_init_static): Likewise.
12212         (_IO_str_init_readonly): Likewise.
12213         (_IO_str_overflow): Likewise.
12214         (_IO_str_underflow): Likewise.
12215         (_IO_str_count): Likewise.
12216         (_IO_str_seekoff): Likewise.
12217         (_IO_str_pbackfail): Likewise.
12218         (_IO_str_finish): Likewise.
12219         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12220         (_IO_wstr_overflow): Likewise.
12221         (_IO_wstr_underflow): Likewise.
12222         (_IO_wstr_count): Likewise.
12223         (_IO_wstr_seekoff): Likewise.
12224         (_IO_wstr_pbackfail): Likewise.
12225         (_IO_wstr_finish): Likewise.
12226         * locale/programs/localedef.c (normalize_codeset): Likewise.
12227         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12228         (add_locales_to_archive): Likewise.
12229         (delete_locales_from_archive): Likewise.
12230         * malloc/malloc.c (__libc_mallinfo): Likewise.
12231         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12232         * misc/tsearch.c (__tfind): Likewise.
12233         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12234         * nptl/pthread_attr_getdetachstate.c
12235         (__pthread_attr_getdetachstate): Likewise.
12236         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12237         Likewise.
12238         * nptl/pthread_attr_getinheritsched.c
12239         (__pthread_attr_getinheritsched): Likewise.
12240         * nptl/pthread_attr_getschedparam.c
12241         (__pthread_attr_getschedparam): Likewise.
12242         * nptl/pthread_attr_getschedpolicy.c
12243         (__pthread_attr_getschedpolicy): Likewise.
12244         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12245         Likewise.
12246         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12247         Likewise.
12248         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12249         Likewise.
12250         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12251         Likewise.
12252         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12253         (__pthread_attr_init_2_0): Likewise.
12254         * nptl/pthread_attr_setdetachstate.c
12255         (__pthread_attr_setdetachstate): Likewise.
12256         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12257         Likewise.
12258         * nptl/pthread_attr_setinheritsched.c
12259         (__pthread_attr_setinheritsched): Likewise.
12260         * nptl/pthread_attr_setschedparam.c
12261         (__pthread_attr_setschedparam): Likewise.
12262         * nptl/pthread_attr_setschedpolicy.c
12263         (__pthread_attr_setschedpolicy): Likewise.
12264         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12265         Likewise.
12266         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12267         Likewise.
12268         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12269         Likewise.
12270         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12271         Likewise.
12272         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12273         Likewise.
12274         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12275         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12276         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12277         use internal_function.
12278         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12279         prototype-style function definition.
12280         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12281         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12282         internal_function.
12283         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12284         Convert to prototype-style function definition.
12285         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12286         Likewise.
12287         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12288         Likewise.
12289         (__pthread_mutex_unlock): Likewise.
12290         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12291         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12292         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12293         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12294         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12295         * nss/makedb.c (process_input): Likewise.
12296         * posix/fnmatch.c (__strchrnul): Likewise.
12297         (__wcschrnul): Likewise.
12298         (fnmatch): Likewise.
12299         * posix/fnmatch_loop.c (FCT): Likewise.
12300         * posix/glob.c (globfree): Likewise.
12301         (__glob_pattern_type): Likewise.
12302         (__glob_pattern_p): Likewise.
12303         * posix/regcomp.c (re_compile_pattern): Likewise.
12304         (re_set_syntax): Likewise.
12305         (re_compile_fastmap): Likewise.
12306         (regcomp): Likewise.
12307         (regerror): Likewise.
12308         (regfree): Likewise.
12309         * posix/regexec.c (regexec): Likewise.
12310         (re_match): Likewise.
12311         (re_search): Likewise.
12312         (re_match_2): Likewise.
12313         (re_search_2): Likewise.
12314         (re_search_stub): Likewise.  Use internal_function
12315         (re_copy_regs): Likewise.
12316         (re_set_registers): Convert to prototype-style function
12317         definition.
12318         (prune_impossible_nodes): Likewise.  Use internal_function.
12319         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12320         prototype-style function definition.
12321         (inet_net_pton_ipv4): Likewise.
12322         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12323         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12324         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12325         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12326         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12327         Make variadic.
12328         * time/strptime_l.c (localtime_r): Convert to prototype-style
12329         function definition.
12330         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12331         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12332         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12333         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12335         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12336         definition.
12337         (_ufc_doit_r): Likewise.
12338         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12339         (_ufc_output_conversion_r): Likewise.
12340         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12341         * inet/rcmd.c (rcmd_af): Likewise.
12342         (rcmd): Likewise.
12343         (ruserok_af): Likewise.
12344         (ruserok): Likewise.
12345         (ruserok2_sa): Likewise.
12346         (ruserok_sa): Likewise.
12347         (iruserok_af): Likewise.
12348         (iruserok): Likewise.
12349         (__ivaliduser): Likewise.
12350         (__validuser2_sa): Likewise.
12351         * inet/rexec.c (rexec_af): Likewise.
12352         (rexec): Likewise.
12353         * inet/ruserpass.c (ruserpass): Likewise.
12354         * locale/programs/xmalloc.c (xcalloc): Likewise.
12355         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12356         * math/w_drem.c (__drem): Likewise.
12357         * math/w_dremf.c (__dremf): Likewise.
12358         * math/w_dreml.c (__dreml): Likewise.
12359         * misc/daemon.c (daemon): Likewise.
12360         * resolv/res_debug.c (p_fqnname): Likewise.
12361         * stdlib/div.c (div): Likewise.
12362         * string/memcmp.c (memcmp_bytes): Likewise.
12363         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12364         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12366         * crypt/cert.c (main): Convert to prototype-style function
12367         definition.
12368         * io/pipe.c (__pipe): Likewise.
12369         * io/pipe2.c (__pipe2): Likewise.
12370         * misc/futimesat.c (futimesat): Likewise.
12371         * misc/utimes.c (__utimes): Likewise.
12372         * posix/execve.c (__execve): Likewise.
12373         * posix/execvp.c (execvp): Likewise.
12374         * posix/execvpe.c (__execvpe): Likewise.
12375         * posix/fexecve.c (fexecve): Likewise.
12376         * socket/socketpair.c (socketpair): Likewise.
12377         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12378         * stdlib/erand48.c (erand48): Likewise.
12379         * stdlib/erand48_r.c (__erand48_r): Likewise.
12380         * stdlib/jrand48.c (jrand48): Likewise.
12381         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12382         * stdlib/lcong48.c (lcong48): Likewise.
12383         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12384         * stdlib/nrand48.c (nrand48): Likewise.
12385         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12386         * stdlib/seed48.c (seed48): Likewise.
12387         * stdlib/seed48_r.c (__seed48_r): Likewise.
12388         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12389         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12390         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12392 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12394         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12395         * configure: Regenerated.
12396         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12397         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12398         unconditional.
12399         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12400         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12401         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12402         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12403         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12404         unconditional.
12405         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12407         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12408         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12410         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12411         function definition.
12412         * crypt/crypt_util.c (__encrypt_r): Likewise.
12413         * libio/genops.c (_IO_no_init): Likewise.
12414         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12415         (_IO_old_fopencookie): Likewise.
12416         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12417         * libio/iogetline.c (_IO_getline): Likewise.
12418         (_IO_getline_info): Likewise.
12419         * libio/iogetwline.c (_IO_getwline): Likewise.
12420         (_IO_getwline_info): Likewise.
12421         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12422         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12423         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12424         (find_entry): Likewise.
12425         (iterate_table): Likewise.
12426         (lookup): Likewise.
12427         * login/forkpty.c (forkpty): Likewise.
12428         * misc/hsearch_r.c (__hsearch_r): Likewise.
12429         * misc/select.c (__select): Likewise.
12430         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12431         Likewise.
12432         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12433         Likewise.
12434         * nptl/old_pthread_cond_timedwait.c
12435         (__pthread_cond_timedwait_2_0): Likewise.
12436         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12437         * nptl/pthread_barrierattr_getpshared.c
12438         (pthread_barrierattr_getpshared): Likewise.
12439         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12440         Likewise.
12441         * nptl/pthread_mutex_setprioceiling.c
12442         (pthread_mutex_setprioceiling): Likewise.
12443         * nptl/pthread_mutexattr_getprioceiling.c
12444         (pthread_mutexattr_getprioceiling): Likewise.
12445         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12446         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12447         Likewise.
12448         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12449         Likewise.
12450         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12451         Likewise.
12452         * socket/recvfrom.c (__recvfrom): Likewise.
12453         * socket/sendto.c (__sendto): Likewise.
12454         * socket/setsockopt.c (__setsockopt): Likewise.
12455         * stdio-common/_itoa.c (_itoa): Likewise.
12456         * stdio-common/_itowa.c (_itowa): Likewise.
12457         * stdio-common/reg-printf.c (__register_printf_specifier):
12458         Likewise.
12459         (__register_printf_function): Likewise.
12460         * stdio-common/tempname.c (__path_search): Likewise.
12461         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12462         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12463         * stdlib/random_r.c (__initstate_r): Likewise.
12464         * stdlib/setenv.c (__add_to_environ): Likewise.
12465         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12466         * streams/getpmsg.c (getpmsg): Likewise.
12467         * streams/putmsg.c (putmsg): Likewise.
12468         * streams/putpmsg.c (putpmsg): Likewise.
12469         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12470         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12471         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12472         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12473         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12474         * sunrpc/svc_udp.c (cache_get): Likewise.
12475         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12476         * sysdeps/mach/hurd/getcwd.c
12477         (__canonicalize_directory_name_internal): Likewise.
12478         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12479         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12480         * sysdeps/mach/hurd/select.c (__select): Likewise.
12481         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12482         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12483         * sysdeps/sparc/nptl/pthread_barrier_init.c
12484         (__pthread_barrier_init): Likewise.
12485         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12486         (__pthread_cond_timedwait): Likewise.
12487         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12488         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12489         Likewise.
12490         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12491         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12492         Likewise.
12493         * sysvipc/semtimedop.c (semtimedop): Likewise.
12494         * time/setitimer.c (__setitimer): Likewise.
12495         * time/strftime_l.c (emacs_strftime): Likewise.
12497 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12499         * config.make.in (have-ssp): Delete.
12500         (stack-protector): New variable.
12501         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12502         cache test for -fstack-protector-strong.  Export stack_protector to
12503         the best ssp flag.
12504         * configure: Regenerated.
12505         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12506         * nscd/Makefile (CFLAGS-nscd): Likewise.
12507         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12509 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12511         [BZ #19122]
12512         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12513         attribute_hidden.
12515 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12517         [BZ #18743]
12518         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12519         code to...
12520         (ELIDE_LOCK): ...here.
12521         (__get_new_count): New function with part of the code from
12522         __elide_lock that updates the value of adapt_count after a
12523         transaction abort.
12524         (__elided_trylock): Moved this code to...
12525         (ELIDE_TRYLOCK): ...here.
12527 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12529         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12530         * configure: Regenerate.
12531         * INSTALL: Regenerate.
12532         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12533         and tweak grammar.
12535 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12537         * login/programs/pt_chown.c: Include signal.h
12538         (main): Clear any signal mask from the parent process.
12540 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12542         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12543         * configure: Regenerated.
12544         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12545         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12546         $(gnu89-inline-CFLAGS).
12548         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12549         test.
12550         (libc_cv_asm_weakext_directive): Likewise.
12551         * configure: Regenerated.
12552         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12553         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12554         * include/libc-symbols.h
12555         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12556         #error.
12557         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12558         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12560         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12561         prototype-style function definition.
12562         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12563         * sysdeps/i386/ffs.c (__ffs): Likewise.
12564         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12565         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12566         Likewise.
12567         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12568         Likewise.
12569         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12570         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12571         Likewise.
12572         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12573         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12574         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12575         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12576         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12577         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12578         * sysdeps/mach/hurd/access.c (__access): Likewise.
12579         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12580         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12581         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12582         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12583         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12584         (cthread_getspecific): Likewise.
12585         (cthread_setspecific): Likewise.
12586         (__libc_getspecific): Likewise.
12587         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12588         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12589         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12590         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12591         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12592         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12593         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12594         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12595         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12596         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12597         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12598         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12599         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12600         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12601         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12602         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12603         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12604         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12605         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12606         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12607         * sysdeps/mach/hurd/link.c (__link): Likewise.
12608         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12609         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12610         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12611         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12612         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12613         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12614         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12615         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12616         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12617         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12618         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12619         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12620         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12621         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12622         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12623         * sysdeps/mach/hurd/send.c (__send): Likewise.
12624         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12625         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12626         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12627         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12628         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12629         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12630         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12631         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12632         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12633         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12634         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12635         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12636         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12637         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12638         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12639         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12640         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12641         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12642         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12643         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12644         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12645         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12646         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12647         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12648         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12649         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12650         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12651         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12652         * sysdeps/posix/alarm.c (alarm): Likewise.
12653         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12654         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12655         * sysdeps/posix/dup.c (__dup): Likewise.
12656         * sysdeps/posix/dup2.c (__dup2): Likewise.
12657         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12658         (main): Likewise.
12659         * sysdeps/posix/flock.c (__flock): Likewise.
12660         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12661         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12662         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12663         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12664         * sysdeps/posix/isatty.c (__isatty): Likewise.
12665         * sysdeps/posix/killpg.c (killpg): Likewise.
12666         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12667         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12668         * sysdeps/posix/raise.c (raise): Likewise.
12669         * sysdeps/posix/remove.c (remove): Likewise.
12670         * sysdeps/posix/rename.c (rename): Likewise.
12671         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12672         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12673         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12674         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12675         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12676         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12677         * sysdeps/posix/sigset.c (sigset): Likewise.
12678         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12679         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12680         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12681         * sysdeps/posix/time.c (time): Likewise.
12682         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12683         (ttyname): Likewise.
12684         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12685         * sysdeps/posix/utime.c (utime): Likewise.
12686         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12687         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12688         Likewise.
12689         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12690         (pthread_spin_trylock): Likewise.
12691         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12692         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12693         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12694         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12695         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12696         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12697         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12698         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12699         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12700         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12701         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12702         * sysdeps/s390/ffs.c (__ffs): Likewise.
12703         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12704         Likewise.
12705         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12706         Likewise.
12707         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12708         Likewise.
12709         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12710         (pthread_barrier_destroy): Likewise.
12711         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12712         (__pthread_barrier_wait): Likewise.
12713         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12714         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12715         (__pthread_barrier_wait): Likewise.
12716         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12717         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12718         (memcmp_not_common_alignment): Likewise.
12719         (MEMCMP): Likewise.
12720         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12721         (_wordcopy_fwd_dest_aligned): Likewise.
12722         (_wordcopy_bwd_aligned): Likewise.
12723         (_wordcopy_bwd_dest_aligned): Likewise.
12724         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12725         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12726         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12727         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12728         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12729         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12730         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12731         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12732         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12733         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12734         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12735         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12736         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12737         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12738         * sysdeps/unix/stime.c (stime): Likewise.
12739         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12740         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12741         Likewise.  Use internal_function.
12742         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12743         Convert to prototype-style function definition.
12744         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12745         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12746         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12747         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12748         Likewise.  Use internal_function.
12749         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12750         prototype-style function definition
12751         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12752         Likewise.
12753         (__getlogin_r): Likewise.
12754         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12755         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12756         (__pthread_cond_broadcast): Likewise.
12757         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12758         (__pthread_cond_destroy): Likewise.
12759         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12760         (__pthread_cond_init): Likewise.
12761         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12762         (__pthread_cond_signal): Likewise.
12763         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12764         (__pthread_cond_wait): Likewise.
12765         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12766         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12767         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12768         Likewise.
12769         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12770         Likewise.
12771         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12772         Likewise.
12773         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12774         Likewise.
12775         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12777         (__ftruncate64): Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12779         (truncate64): Likewise.
12780         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12781         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12782         (pthread_getcpuclockid): Likewise.
12783         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12784         Likewise.
12785         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12786         Likewise.
12787         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12788         Likewise.
12789         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12792         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12793         (__libc_sigaction): Likewise.
12794         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12795         Likewise.
12796         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12797         (__sigprocmask): Likewise.
12798         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12799         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12800         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12801         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12802         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12803         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12804         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12805         Likewise.
12806         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12807         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12808         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12809         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12810         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12811         Likewise.
12812         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12813         (__sigprocmask): Likewise.
12814         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12815         (cfgetispeed): Likewise.
12816         (cfsetospeed): Likewise.
12817         (cfsetispeed): Likewise.
12818         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12819         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12820         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12821         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12822         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12823         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12824         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12825         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12826         Likewise.
12827         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12828         Likewise.
12829         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12830         Likewise.
12831         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12832         Likewise.
12833         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12835 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12837         sunrpc: Rewrite with explicit TLS access using __thread.
12838         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12839         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12840         directly.
12841         (__rpc_thread_variables): Access thread_rpc_vars directly.
12842         Eliminate redundant assignment of the tvp variable.
12844 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12846         malloc: Rewrite with explicit TLS access using __thread.
12847         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12848         (tsd_setspecific, tsd_getspecific): Remove.
12849         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12850         (tsd_setspecific, tsd_getspecific): Likewise.
12851         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12852         (tsd_setspecific, tsd_getspecific): Likewise.
12853         * malloc/arena.c (thread_arena): New TLS variable.
12854         (arena_key): Remove variable.
12855         (arena_get): Use thread_arena.
12856         (arena_lookup): Remove macro.
12857         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12858         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12859         (_int_new_arena, get_free_list, reused_arena)
12860         (arena_thread_freeres): Use thread_arena.
12861         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12862         tsd_getspecific, tsd_setspecific from safety annotations.
12863         (Allocating Cleared Space): Remove arena_lookup from safety
12864         annotations.
12866 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12868         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12869         struct scratch_buffer instead of extend_alloca.
12871 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12873         * sysdeps/unix/sysv/linux/kernel-features.h
12874         (__ASSUME_SOCK_CLOEXEC): Remove.
12875         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12876         (__have_paccept): Remove unused macro.
12877         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12878         * misc/syslog.c (openlog_internal): Remove fallback code for
12879         !__ASSUME_SOCK_CLOEXEC.
12880         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12881         missing SOCK_CLOEXEC.
12882         * nscd/connections.c (have_sock_cloexec): Remove definition.
12883         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12884         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12885         !__ASSUME_SOCK_CLOEXEC.
12886         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12887         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12888         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12889         definition.
12890         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12891         code for !__ASSUME_SOCK_CLOEXEC.
12893 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12895         [BZ #18982]
12896         * manual/stdio.texi (Variable Arguments Output): Add portability
12897         note, explaining that vfprintf clobbers the va_list pointer.
12899 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12901         * math/libm-test.inc (fabs_test_data): Add more tests.
12902         (fdim_test_data): Likewise.
12903         (fma_test_data): Likewise.
12904         (fmax_test_data): Likewise.
12905         (fmin_test_data): Likewise.
12906         (fmod_test_data): Likewise.
12908 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12910         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12911         data.
12913 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12915         * math/libm-test.inc (ceil_test_data): Add more tests and more
12916         expectations for "inexact".
12917         (floor_test_data): Add more tests.
12918         (round_test_data): Likewise.
12919         (trunc_test_data): Likewise.
12921         * crypt/cert.c (good_bye): Convert to prototype-style function
12922         definition.
12923         (get8): Likewise.
12924         (put8): Likewise.
12925         * crypt/crypt-entry.c (crypt): Likewise.
12926         (__fcrypt): Likewise.
12927         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12928         (_ufc_set_bits): Likewise.
12929         (_ufc_clearmem): Likewise.
12930         (__init_des_r): Likewise.
12931         (shuffle_sb): Likewise.
12932         (shuffle_sb): Likewise.
12933         (_ufc_setup_salt_r): Likewise.
12934         (_ufc_mk_keytab_r): Likewise.
12935         (_ufc_dofinalperm_r): Likewise.
12936         (encrypt): Likewise.
12937         (__setkey_r): Likewise.
12938         (setkey): Likewise.
12939         * crypt/md5.c (md5_init_ctx): Likewise.
12940         (md5_read_ctx): Likewise.
12941         (md5_finish_ctx): Likewise.
12942         (md5_stream): Likewise.
12943         (md5_buffer): Likewise.
12944         (md5_process_bytes): Likewise.
12945         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12946         (__sha256_finish_ctx): Likewise.
12947         (__sha256_process_bytes): Likewise.
12948         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12949         (__sha512_finish_ctx): Likewise.
12950         (__sha512_process_bytes): Likewise.
12951         * ctype/isctype.c (__isctype): Likewise.
12952         * debug/backtrace.c (__backtrace): Likewise.
12953         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12954         * debug/fgets_chk.c (__fgets_chk): Likewise.
12955         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12956         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12957         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12958         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12959         * debug/memset_chk.c (__memset_chk): Likewise.
12960         * debug/strcat_chk.c (__strcat_chk): Likewise.
12961         * debug/strncat_chk.c (__strncat_chk): Likewise.
12962         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12963         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12964         * dirent/dirfd.c (dirfd): Likewise.
12965         * dirent/getdents.c (__getdirentries): Likewise.
12966         * dirent/getdents64.c (getdirentries64): Likewise.
12967         * dirent/rewinddir.c (__rewinddir): Likewise.
12968         * dirent/seekdir.c (seekdir): Likewise.
12969         * dirent/telldir.c (telldir): Likewise.
12970         * elf/sln.c (makesymlinks): Likewise.
12971         (makesymlink): Likewise.
12972         * gmon/gmon.c (__moncontrol): Likewise.
12973         (__monstartup): Likewise.
12974         (write_hist): Likewise.
12975         (write_call_graph): Likewise.
12976         (write_bb_counts): Likewise.
12977         * grp/setgroups.c (setgroups): Likewise.
12978         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12979         * inet/inet_net.c (inet_network): Likewise.
12980         * inet/inet_netof.c (inet_netof): Likewise.
12981         * inet/rcmd.c (rresvport_af): Likewise.
12982         (rresvport): Likewise.
12983         * io/access.c (__access): Likewise.
12984         * io/chdir.c (__chdir): Likewise.
12985         * io/chmod.c (__chmod): Likewise.
12986         * io/chown.c (__chown): Likewise.
12987         * io/close.c (__close): Likewise.
12988         * io/creat.c (creat): Likewise.
12989         * io/creat64.c (creat64): Likewise.
12990         * io/dup.c (__dup): Likewise.
12991         * io/dup2.c (__dup2): Likewise.
12992         * io/dup3.c (__dup3): Likewise.
12993         * io/euidaccess.c (__euidaccess): Likewise.
12994         * io/faccessat.c (faccessat): Likewise.
12995         * io/fchmod.c (__fchmod): Likewise.
12996         * io/fchmodat.c (fchmodat): Likewise.
12997         * io/fchown.c (__fchown): Likewise.
12998         * io/fchownat.c (fchownat): Likewise.
12999         * io/fcntl.c (__fcntl): Likewise.
13000         * io/flock.c (__flock): Likewise.
13001         * io/fts.c (fts_load): Likewise.
13002         (fts_close): Likewise.
13003         (fts_read): Likewise.
13004         (fts_set): Likewise.
13005         (fts_children): Likewise.
13006         (fts_build): Likewise.
13007         (fts_stat): Likewise.
13008         (fts_sort): Likewise.
13009         (fts_alloc): Likewise.
13010         (fts_lfree): Likewise.
13011         (fts_palloc): Likewise.
13012         (fts_padjust): Likewise.
13013         (fts_maxarglen): Likewise.
13014         (fts_safe_changedir): Likewise.
13015         * io/getwd.c (getwd): Likewise.
13016         * io/isatty.c (__isatty): Likewise.
13017         * io/lchown.c (__lchown): Likewise.
13018         * io/link.c (__link): Likewise.
13019         * io/linkat.c (linkat): Likewise.
13020         * io/lseek.c (__libc_lseek): Likewise.
13021         * io/mkdir.c (__mkdir): Likewise.
13022         * io/mkdirat.c (mkdirat): Likewise.
13023         * io/mkfifo.c (mkfifo): Likewise.
13024         * io/mkfifoat.c (mkfifoat): Likewise.
13025         * io/open.c (__libc_open): Likewise.
13026         * io/open64.c (__libc_open64): Likewise.
13027         * io/readlink.c (__readlink): Likewise.
13028         * io/readlinkat.c (readlinkat): Likewise.
13029         * io/rmdir.c (__rmdir): Likewise.
13030         * io/symlink.c (__symlink): Likewise.
13031         * io/symlinkat.c (symlinkat): Likewise.
13032         * io/ttyname.c (ttyname): Likewise.
13033         * io/ttyname_r.c (__ttyname_r): Likewise.
13034         * io/umask.c (__umask): Likewise.
13035         * io/unlink.c (__unlink): Likewise.
13036         * io/unlinkat.c (unlinkat): Likewise.
13037         * io/utime.c (utime): Likewise.
13038         * libio/clearerr.c (clearerr): Likewise.
13039         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13040         * libio/feof.c (_IO_feof): Likewise.
13041         * libio/feof_u.c (feof_unlocked): Likewise.
13042         * libio/ferror.c (_IO_ferror): Likewise.
13043         * libio/ferror_u.c (ferror_unlocked): Likewise.
13044         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13045         * libio/fileno.c (__fileno): Likewise.
13046         * libio/fputc.c (fputc): Likewise.
13047         * libio/fputc_u.c (fputc_unlocked): Likewise.
13048         * libio/fputwc.c (fputwc): Likewise.
13049         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13050         * libio/freopen.c (freopen): Likewise.
13051         * libio/freopen64.c (freopen64): Likewise.
13052         * libio/fseek.c (fseek): Likewise.
13053         * libio/fseeko.c (fseeko): Likewise.
13054         * libio/fseeko64.c (fseeko64): Likewise.
13055         * libio/ftello.c (__ftello): Likewise.
13056         * libio/ftello64.c (ftello64): Likewise.
13057         * libio/fwide.c (fwide): Likewise.
13058         * libio/genops.c (_IO_un_link): Likewise.
13059         (_IO_link_in): Likewise.
13060         (_IO_least_marker): Likewise.
13061         (_IO_switch_to_main_get_area): Likewise.
13062         (_IO_switch_to_backup_area): Likewise.
13063         (_IO_switch_to_get_mode): Likewise.
13064         (_IO_free_backup_area): Likewise.
13065         (_IO_switch_to_put_mode): Likewise.
13066         (__overflow): Likewise.
13067         (__underflow): Likewise.
13068         (__uflow): Likewise.
13069         (_IO_setb): Likewise.
13070         (_IO_doallocbuf): Likewise.
13071         (_IO_default_underflow): Likewise.
13072         (_IO_default_uflow): Likewise.
13073         (_IO_default_xsputn): Likewise.
13074         (_IO_sgetn): Likewise.
13075         (_IO_default_xsgetn): Likewise.
13076         (_IO_sync): Likewise.
13077         (_IO_default_setbuf): Likewise.
13078         (_IO_default_seekpos): Likewise.
13079         (_IO_default_doallocate): Likewise.
13080         (_IO_init): Likewise.
13081         (_IO_old_init): Likewise.
13082         (_IO_default_sync): Likewise.
13083         (_IO_default_finish): Likewise.
13084         (_IO_default_seekoff): Likewise.
13085         (_IO_sputbackc): Likewise.
13086         (_IO_sungetc): Likewise.
13087         (_IO_set_column): Likewise.
13088         (_IO_set_column): Likewise.
13089         (_IO_adjust_column): Likewise.
13090         (_IO_get_column): Likewise.
13091         (_IO_init_marker): Likewise.
13092         (_IO_remove_marker): Likewise.
13093         (_IO_marker_difference): Likewise.
13094         (_IO_marker_delta): Likewise.
13095         (_IO_seekmark): Likewise.
13096         (_IO_unsave_markers): Likewise.
13097         (_IO_nobackup_pbackfail): Likewise.
13098         (_IO_default_pbackfail): Likewise.
13099         (_IO_default_seek): Likewise.
13100         (_IO_default_stat): Likewise.
13101         (_IO_default_read): Likewise.
13102         (_IO_default_write): Likewise.
13103         (_IO_default_showmanyc): Likewise.
13104         (_IO_default_imbue): Likewise.
13105         (_IO_iter_next): Likewise.
13106         (_IO_iter_file): Likewise.
13107         * libio/getc.c (_IO_getc): Likewise.
13108         * libio/getwc.c (_IO_getwc): Likewise.
13109         * libio/iofclose.c (_IO_new_fclose): Likewise.
13110         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13111         * libio/iofflush.c (_IO_fflush): Likewise.
13112         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13113         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13114         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13115         * libio/iofgets.c (_IO_fgets): Likewise.
13116         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13117         * libio/iofgetws.c (fgetws): Likewise.
13118         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13119         * libio/iofopen64.c (_IO_fopen64): Likewise.
13120         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13121         (_IO_cookie_write): Likewise.
13122         (_IO_cookie_seek): Likewise.
13123         (_IO_cookie_close): Likewise.
13124         (_IO_cookie_seekoff): Likewise.
13125         (_IO_old_cookie_seek): Likewise.
13126         * libio/iofputs.c (_IO_fputs): Likewise.
13127         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13128         * libio/iofputws.c (fputws): Likewise.
13129         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13130         * libio/iofread.c (_IO_fread): Likewise.
13131         * libio/iofread_u.c (__fread_unlocked): Likewise.
13132         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13133         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13134         * libio/ioftell.c (_IO_ftell): Likewise.
13135         * libio/iofwrite.c (_IO_fwrite): Likewise.
13136         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13137         * libio/iogets.c (_IO_gets): Likewise.
13138         * libio/iopadn.c (_IO_padn): Likewise.
13139         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13140         (_IO_new_popen): Likewise.
13141         (_IO_new_proc_close): Likewise.
13142         * libio/ioputs.c (_IO_puts): Likewise.
13143         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13144         (_IO_seekoff): Likewise.
13145         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13146         (_IO_seekpos): Likewise.
13147         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13148         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13149         * libio/ioungetc.c (_IO_ungetc): Likewise.
13150         * libio/ioungetwc.c (ungetwc): Likewise.
13151         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13152         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13153         * libio/iowpadn.c (_IO_wpadn): Likewise.
13154         * libio/libc_fatal.c (__libc_fatal): Likewise.
13155         * libio/memstream.c (__open_memstream): Likewise.
13156         (_IO_mem_sync): Likewise.
13157         (_IO_mem_finish): Likewise.
13158         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13159         (_IO_old_file_close_it): Likewise.
13160         (_IO_old_file_finish): Likewise.
13161         (_IO_old_file_fopen): Likewise.
13162         (_IO_old_file_attach): Likewise.
13163         (_IO_old_file_setbuf): Likewise.
13164         (_IO_old_do_write): Likewise.
13165         (old_do_write): Likewise.
13166         (_IO_old_file_underflow): Likewise.
13167         (_IO_old_file_overflow): Likewise.
13168         (_IO_old_file_sync): Likewise.
13169         (_IO_old_file_seekoff): Likewise.
13170         (_IO_old_file_write): Likewise.
13171         (_IO_old_file_xsputn): Likewise.
13172         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13173         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13174         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13175         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13176         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13177         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13178         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13179         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13180         (_IO_old_popen): Likewise.
13181         (_IO_old_proc_close): Likewise.
13182         * libio/oldpclose.c (__old_pclose): Likewise.
13183         * libio/pclose.c (__new_pclose): Likewise.
13184         * libio/peekc.c (_IO_peekc_locked): Likewise.
13185         * libio/putc.c (_IO_putc): Likewise.
13186         * libio/putc_u.c (putc_unlocked): Likewise.
13187         * libio/putchar.c (putchar): Likewise.
13188         * libio/putchar_u.c (putchar_unlocked): Likewise.
13189         * libio/putwc.c (putwc): Likewise.
13190         * libio/putwc_u.c (putwc_unlocked): Likewise.
13191         * libio/putwchar.c (putwchar): Likewise.
13192         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13193         * libio/rewind.c (rewind): Likewise.
13194         * libio/setbuf.c (setbuf): Likewise.
13195         * libio/setlinebuf.c (setlinebuf): Likewise.
13196         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13197         * libio/vscanf.c (_IO_vscanf): Likewise.
13198         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13199         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13200         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13201         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13202         (_IO_switch_to_main_wget_area): Likewise.
13203         (_IO_switch_to_wbackup_area): Likewise.
13204         (_IO_wsetb): Likewise.
13205         (_IO_wdefault_pbackfail): Likewise.
13206         (_IO_wdefault_finish): Likewise.
13207         (_IO_wdefault_uflow): Likewise.
13208         (__woverflow): Likewise.
13209         (__wuflow): Likewise.
13210         (__wunderflow): Likewise.
13211         (_IO_wdefault_xsputn): Likewise.
13212         (_IO_wdefault_xsgetn): Likewise.
13213         (_IO_wdoallocbuf): Likewise.
13214         (_IO_wdefault_doallocate): Likewise.
13215         (_IO_switch_to_wget_mode): Likewise.
13216         (_IO_free_wbackup_area): Likewise.
13217         (_IO_switch_to_wput_mode): Likewise.
13218         (_IO_sputbackwc): Likewise.
13219         (_IO_sungetwc): Likewise.
13220         (_IO_adjust_wcolumn): Likewise.
13221         (_IO_init_wmarker): Likewise.
13222         (_IO_wmarker_delta): Likewise.
13223         (_IO_seekwmark): Likewise.
13224         (_IO_unsave_wmarkers): Likewise.
13225         * libio/wmemstream.c (open_wmemstream): Likewise.
13226         (_IO_wmem_sync): Likewise.
13227         (_IO_wmem_finish): Likewise.
13228         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13229         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13230         * locale/programs/simple-hash.c (init_hash): Likewise.
13231         (delete_hash): Likewise.
13232         (insert_entry): Likewise.
13233         (set_entry): Likewise.
13234         (next_prime): Likewise.
13235         (is_prime): Likewise.
13236         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13237         (xmalloc): Likewise.
13238         (xrealloc): Likewise.
13239         * locale/programs/xstrdup.c (xstrdup): Likewise.
13240         * localedata/collate-test.c (xstrcoll): Likewise.
13241         * localedata/xfrm-test.c (xstrcmp): Likewise.
13242         * login/getlogin_r.c (__getlogin_r): Likewise.
13243         * login/getpt.c (__posix_openpt): Likewise.
13244         * login/login_tty.c (login_tty): Likewise.
13245         * login/setlogin.c (setlogin): Likewise.
13246         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13247         (mach_msg_destroy_port): Likewise.
13248         (mach_msg_destroy_memory): Likewise.
13249         * malloc/mcheck.c (flood): Likewise.
13250         * misc/acct.c (acct): Likewise.
13251         * misc/brk.c (__brk): Likewise.
13252         * misc/chflags.c (chflags): Likewise.
13253         * misc/chroot.c (chroot): Likewise.
13254         * misc/fchflags.c (fchflags): Likewise.
13255         * misc/fstab.c (getfsspec): Likewise.
13256         (getfsfile): Likewise.
13257         * misc/fsync.c (fsync): Likewise.
13258         * misc/ftruncate.c (__ftruncate): Likewise.
13259         * misc/ftruncate64.c (__ftruncate64): Likewise.
13260         * misc/getdomain.c (getdomainname): Likewise.
13261         (getdomainname): Likewise.
13262         * misc/gethostname.c (__gethostname): Likewise.
13263         * misc/getpass.c (getpass): Likewise.
13264         * misc/getttyent.c (skip): Likewise.
13265         (value): Likewise.
13266         * misc/gtty.c (gtty): Likewise.
13267         * misc/hsearch.c (hsearch): Likewise.
13268         (hcreate): Likewise.
13269         * misc/hsearch_r.c (__hcreate_r): Likewise.
13270         (__hdestroy_r): Likewise.
13271         * misc/ioctl.c (__ioctl): Likewise.
13272         * misc/mkdtemp.c (mkdtemp): Likewise.
13273         * misc/mkostemp.c (mkostemp): Likewise.
13274         * misc/mkostemp64.c (mkostemp64): Likewise.
13275         * misc/mkostemps.c (mkostemps): Likewise.
13276         * misc/mkostemps64.c (mkostemps64): Likewise.
13277         * misc/mkstemp.c (mkstemp): Likewise.
13278         * misc/mkstemp64.c (mkstemp64): Likewise.
13279         * misc/mkstemps.c (mkstemps): Likewise.
13280         * misc/mkstemps64.c (mkstemps64): Likewise.
13281         * misc/mktemp.c (__mktemp): Likewise.
13282         * misc/preadv.c (preadv): Likewise.
13283         * misc/preadv64.c (preadv64): Likewise.
13284         * misc/pwritev.c (pwritev): Likewise.
13285         * misc/pwritev64.c (pwritev64): Likewise.
13286         * misc/readv.c (__readv): Likewise.
13287         * misc/revoke.c (revoke): Likewise.
13288         * misc/setdomain.c (setdomainname): Likewise.
13289         * misc/setegid.c (setegid): Likewise.
13290         * misc/seteuid.c (seteuid): Likewise.
13291         * misc/sethostid.c (sethostid): Likewise.
13292         * misc/sethostname.c (sethostname): Likewise.
13293         * misc/setregid.c (__setregid): Likewise.
13294         * misc/setreuid.c (__setreuid): Likewise.
13295         * misc/sstk.c (sstk): Likewise.
13296         * misc/stty.c (stty): Likewise.
13297         * misc/syscall.c (syscall): Likewise.
13298         * misc/syslog.c (setlogmask): Likewise.
13299         * misc/truncate.c (__truncate): Likewise.
13300         * misc/truncate64.c (truncate64): Likewise.
13301         * misc/ualarm.c (ualarm): Likewise.
13302         * misc/usleep.c (usleep): Likewise.
13303         * misc/ustat.c (ustat): Likewise.
13304         * misc/writev.c (__writev): Likewise.
13305         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13306         * nptl/old_pthread_cond_broadcast.c
13307         (__pthread_cond_broadcast_2_0): Likewise.
13308         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13309         Likewise.
13310         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13311         Likewise.
13312         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13313         Likewise.
13314         * nptl/pt-raise.c (raise): Likewise.
13315         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13316         Likewise.
13317         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13318         * nptl/pthread_barrierattr_destroy.c
13319         (pthread_barrierattr_destroy): Likewise.
13320         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13321         Likewise.
13322         * nptl/pthread_barrierattr_setpshared.c
13323         (pthread_barrierattr_setpshared): Likewise.
13324         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13325         Likewise.
13326         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13327         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13328         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13329         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13330         Likewise.
13331         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13332         Likewise.
13333         * nptl/pthread_condattr_getpshared.c
13334         (pthread_condattr_getpshared): Likewise.
13335         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13336         Likewise.
13337         * nptl/pthread_condattr_setpshared.c
13338         (pthread_condattr_setpshared): Likewise.
13339         * nptl/pthread_detach.c (pthread_detach): Likewise.
13340         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13341         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13342         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13343         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13344         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13345         Likewise.
13346         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13347         Likewise.
13348         * nptl/pthread_mutex_getprioceiling.c
13349         (pthread_mutex_getprioceiling): Likewise.
13350         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13351         Likewise.
13352         * nptl/pthread_mutexattr_getprotocol.c
13353         (pthread_mutexattr_getprotocol): Likewise.
13354         * nptl/pthread_mutexattr_getpshared.c
13355         (pthread_mutexattr_getpshared): Likewise.
13356         * nptl/pthread_mutexattr_getrobust.c
13357         (pthread_mutexattr_getrobust): Likewise.
13358         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13359         Likewise.
13360         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13361         Likewise.
13362         * nptl/pthread_mutexattr_setprioceiling.c
13363         (pthread_mutexattr_setprioceiling): Likewise.
13364         * nptl/pthread_mutexattr_setprotocol.c
13365         (pthread_mutexattr_setprotocol): Likewise.
13366         * nptl/pthread_mutexattr_setpshared.c
13367         (pthread_mutexattr_setpshared): Likewise.
13368         * nptl/pthread_mutexattr_setrobust.c
13369         (pthread_mutexattr_setrobust): Likewise.
13370         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13371         Likewise.
13372         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13373         Likewise.
13374         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13375         Likewise.
13376         * nptl/pthread_rwlockattr_getkind_np.c
13377         (pthread_rwlockattr_getkind_np): Likewise.
13378         * nptl/pthread_rwlockattr_getpshared.c
13379         (pthread_rwlockattr_getpshared): Likewise.
13380         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13381         Likewise.
13382         * nptl/pthread_rwlockattr_setkind_np.c
13383         (pthread_rwlockattr_setkind_np): Likewise.
13384         * nptl/pthread_rwlockattr_setpshared.c
13385         (pthread_rwlockattr_setpshared): Likewise.
13386         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13387         Likewise.
13388         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13389         Likewise.
13390         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13391         Likewise.
13392         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13393         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13394         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13395         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13396         * nptl/sem_close.c (sem_close): Likewise.
13397         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13398         * nptl/sem_init.c (__old_sem_init): Likewise.
13399         * nptl/sigaction.c (__sigaction): Likewise.
13400         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13401         * posix/_exit.c (_exit): Likewise.
13402         * posix/alarm.c (alarm): Likewise.
13403         * posix/confstr.c (confstr): Likewise.
13404         * posix/fpathconf.c (__fpathconf): Likewise.
13405         * posix/getgroups.c (__getgroups): Likewise.
13406         * posix/getpgid.c (__getpgid): Likewise.
13407         * posix/group_member.c (__group_member): Likewise.
13408         * posix/pathconf.c (__pathconf): Likewise.
13409         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13410         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13411         * posix/setgid.c (__setgid): Likewise.
13412         * posix/setpgid.c (__setpgid): Likewise.
13413         * posix/setuid.c (__setuid): Likewise.
13414         * posix/sleep.c (__sleep): Likewise.
13415         * posix/sysconf.c (__sysconf): Likewise.
13416         * posix/times.c (__times): Likewise.
13417         * posix/uname.c (__uname): Likewise.
13418         * posix/waitid.c (__waitid): Likewise.
13419         * pwd/getpw.c (__getpw): Likewise.
13420         * resolv/base64.c (b64_pton): Likewise.
13421         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13422         * resolv/gethnamaddr.c (Dprintf): Likewise.
13423         (gethostbyname): Likewise.
13424         (gethostbyname2): Likewise.
13425         (gethostbyaddr): Likewise.
13426         (_sethtent): Likewise.
13427         (_gethtbyname): Likewise.
13428         (_gethtbyname2): Likewise.
13429         (_gethtbyaddr): Likewise.
13430         (map_v4v6_address): Likewise.
13431         (map_v4v6_hostent): Likewise.
13432         (addrsort): Likewise.
13433         (ht_sethostent): Likewise.
13434         (ht_gethostbyname): Likewise.
13435         (ht_gethostbyaddr): Likewise.
13436         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13437         (inet_net_ntop_ipv4): Likewise.
13438         * resolv/inet_neta.c (inet_neta): Likewise.
13439         * resolv/inet_ntop.c (inet_ntop): Likewise.
13440         (inet_ntop4): Likewise.
13441         (inet_ntop6): Likewise.
13442         * resolv/inet_pton.c (__inet_pton): Likewise.
13443         (inet_pton4): Likewise.
13444         (inet_pton6): Likewise.
13445         * resolv/res_debug.c (loc_aton): Likewise.
13446         (loc_ntoa): Likewise.
13447         * resource/getpriority.c (__getpriority): Likewise.
13448         * resource/getrusage.c (__getrusage): Likewise.
13449         * resource/nice.c (nice): Likewise.
13450         * resource/setpriority.c (__setpriority): Likewise.
13451         * resource/setrlimit64.c (setrlimit64): Likewise.
13452         * resource/vlimit.c (vlimit): Likewise.
13453         * resource/vtimes.c (vtimes): Likewise.
13454         * rt/aio_error.c (aio_error): Likewise.
13455         * rt/aio_return.c (aio_return): Likewise.
13456         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13457         * signal/kill.c (__kill): Likewise.
13458         * signal/killpg.c (killpg): Likewise.
13459         * signal/raise.c (raise): Likewise.
13460         * signal/sigaction.c (__sigaction): Likewise.
13461         * signal/sigaddset.c (sigaddset): Likewise.
13462         * signal/sigaltstack.c (sigaltstack): Likewise.
13463         * signal/sigandset.c (sigandset): Likewise.
13464         * signal/sigblock.c (__sigblock): Likewise.
13465         * signal/sigdelset.c (sigdelset): Likewise.
13466         * signal/sigempty.c (sigemptyset): Likewise.
13467         * signal/sigfillset.c (sigfillset): Likewise.
13468         * signal/sighold.c (sighold): Likewise.
13469         * signal/sigignore.c (sigignore): Likewise.
13470         * signal/sigintr.c (siginterrupt): Likewise.
13471         * signal/sigisempty.c (sigisemptyset): Likewise.
13472         * signal/sigismem.c (sigismember): Likewise.
13473         * signal/signal.c (signal): Likewise.
13474         * signal/sigorset.c (sigorset): Likewise.
13475         * signal/sigpause.c (__sigpause): Likewise.
13476         * signal/sigpending.c (sigpending): Likewise.
13477         * signal/sigprocmask.c (__sigprocmask): Likewise.
13478         * signal/sigrelse.c (sigrelse): Likewise.
13479         * signal/sigreturn.c (__sigreturn): Likewise.
13480         * signal/sigset.c (sigset): Likewise.
13481         * signal/sigsetmask.c (__sigsetmask): Likewise.
13482         * signal/sigstack.c (sigstack): Likewise.
13483         * signal/sigsuspend.c (__sigsuspend): Likewise.
13484         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13485         * signal/sysv_signal.c (__sysv_signal): Likewise.
13486         * socket/accept.c (accept): Likewise.
13487         * socket/accept4.c (__libc_accept4): Likewise.
13488         * socket/bind.c (__bind): Likewise.
13489         * socket/connect.c (__connect): Likewise.
13490         * socket/getpeername.c (getpeername): Likewise.
13491         * socket/getsockname.c (__getsockname): Likewise.
13492         * socket/getsockopt.c (getsockopt): Likewise.
13493         * socket/listen.c (__listen): Likewise.
13494         * socket/recv.c (__recv): Likewise.
13495         * socket/recvmsg.c (__recvmsg): Likewise.
13496         * socket/send.c (__send): Likewise.
13497         * socket/sendmsg.c (__sendmsg): Likewise.
13498         * socket/shutdown.c (shutdown): Likewise.
13499         * socket/sockatmark.c (sockatmark): Likewise.
13500         * socket/socket.c (__socket): Likewise.
13501         * stdio-common/ctermid.c (ctermid): Likewise.
13502         * stdio-common/cuserid.c (cuserid): Likewise.
13503         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13504         * stdio-common/remove.c (remove): Likewise.
13505         * stdio-common/rename.c (rename): Likewise.
13506         * stdio-common/renameat.c (renameat): Likewise.
13507         * stdio-common/tempname.c (__gen_tempname): Likewise.
13508         * stdio-common/xbug.c (InitBuffer): Likewise.
13509         (AppendToBuffer): Likewise.
13510         (ReadFile): Likewise.
13511         * stdlib/a64l.c (a64l): Likewise.
13512         * stdlib/drand48_r.c (drand48_r): Likewise.
13513         * stdlib/getcontext.c (getcontext): Likewise.
13514         * stdlib/getenv.c (getenv): Likewise.
13515         * stdlib/l64a.c (l64a): Likewise.
13516         * stdlib/llabs.c (llabs): Likewise.
13517         * stdlib/lldiv.c (lldiv): Likewise.
13518         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13519         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13520         * stdlib/putenv.c (putenv): Likewise.
13521         * stdlib/random.c (__srandom): Likewise.
13522         (__initstate): Likewise.
13523         (__setstate): Likewise.
13524         * stdlib/random_r.c (__srandom_r): Likewise.
13525         (__setstate_r): Likewise.
13526         (__random_r): Likewise.
13527         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13528         * stdlib/setcontext.c (setcontext): Likewise.
13529         * stdlib/setenv.c (setenv): Likewise.
13530         (unsetenv): Likewise.
13531         * stdlib/srand48.c (srand48): Likewise.
13532         * stdlib/srand48_r.c (__srand48_r): Likewise.
13533         * stdlib/swapcontext.c (swapcontext): Likewise.
13534         * stdlib/system.c (__libc_system): Likewise.
13535         * stdlib/tst-strtod.c (expand): Likewise.
13536         * stdlib/tst-strtol.c (expand): Likewise.
13537         * stdlib/tst-strtoll.c (expand): Likewise.
13538         * streams/fattach.c (fattach): Likewise.
13539         * streams/fdetach.c (fdetach): Likewise.
13540         * streams/getmsg.c (getmsg): Likewise.
13541         * streams/isastream.c (isastream): Likewise.
13542         * string/ffs.c (__ffs): Likewise.
13543         * string/ffsll.c (ffsll): Likewise.
13544         * string/memcmp.c (memcmp_common_alignment): Likewise.
13545         (memcmp_not_common_alignment): Likewise.
13546         (MEMCMP): Likewise.
13547         * string/memcpy.c (memcpy): Likewise.
13548         * string/memmove.c (MEMMOVE): Likewise.
13549         * string/memset.c (memset): Likewise.
13550         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13551         * string/strchrnul.c (STRCHRNUL): Likewise.
13552         * string/strerror.c (strerror): Likewise.
13553         * string/strndup.c (__strndup): Likewise.
13554         * string/strverscmp.c (__strverscmp): Likewise.
13555         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13556         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13557         (clnttcp_freeres): Likewise.
13558         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13559         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13560         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13561         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13562         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13563         (xdr_callhdr): Likewise.
13564         * sunrpc/rpcinfo.c (udpping): Likewise.
13565         (tcpping): Likewise.
13566         (pstatus): Likewise.
13567         (pmapdump): Likewise.
13568         (brdcst): Likewise.
13569         (deletereg): Likewise.
13570         (getprognum): Likewise.
13571         (getvers): Likewise.
13572         (get_inet_address): Likewise.
13573         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13574         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13575         (svcudp_stat): Likewise.
13576         (svcudp_recv): Likewise.
13577         (svcudp_reply): Likewise.
13578         (svcudp_getargs): Likewise.
13579         (svcudp_freeargs): Likewise.
13580         (svcudp_destroy): Likewise.
13581         * sunrpc/xdr.c (xdr_bytes): Likewise.
13582         (xdr_netobj): Likewise.
13583         (xdr_string): Likewise.
13584         (xdr_wrapstring): Likewise.
13585         * sunrpc/xdr_float.c (xdr_float): Likewise.
13586         (xdr_double): Likewise.
13587         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13588         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13589         * sysvipc/ftok.c (ftok): Likewise.
13590         * sysvipc/msgctl.c (msgctl): Likewise.
13591         * sysvipc/msgget.c (msgget): Likewise.
13592         * sysvipc/msgrcv.c (msgrcv): Likewise.
13593         * sysvipc/msgsnd.c (msgsnd): Likewise.
13594         * sysvipc/semget.c (semget): Likewise.
13595         * sysvipc/semop.c (semop): Likewise.
13596         * sysvipc/shmat.c (shmat): Likewise.
13597         * sysvipc/shmctl.c (shmctl): Likewise.
13598         * sysvipc/shmdt.c (shmdt): Likewise.
13599         * sysvipc/shmget.c (shmget): Likewise.
13600         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13601         * termios/speed.c (cfgetospeed): Likewise.
13602         (cfgetispeed): Likewise.
13603         (cfsetospeed): Likewise.
13604         (cfsetispeed): Likewise.
13605         * termios/tcflow.c (tcflow): Likewise.
13606         * termios/tcflush.c (tcflush): Likewise.
13607         * termios/tcgetattr.c (__tcgetattr): Likewise.
13608         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13609         * termios/tcgetsid.c (tcgetsid): Likewise.
13610         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13611         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13612         * time/adjtime.c (__adjtime): Likewise.
13613         * time/dysize.c (dysize): Likewise.
13614         * time/ftime.c (ftime): Likewise.
13615         * time/getitimer.c (__getitimer): Likewise.
13616         * time/gettimeofday.c (__gettimeofday): Likewise.
13617         * time/gmtime.c (__gmtime_r): Likewise.
13618         (gmtime): Likewise.
13619         * time/localtime.c (__localtime_r): Likewise.
13620         (localtime): Likewise.
13621         * time/offtime.c (__offtime): Likewise.
13622         * time/settimeofday.c (__settimeofday): Likewise.
13623         * time/stime.c (stime): Likewise.
13624         * time/strftime_l.c (tm_diff): Likewise.
13625         (iso_week_days): Likewise.
13626         * time/strptime.c (strptime): Likewise.
13627         * time/time.c (time): Likewise.
13628         * time/timespec_get.c (timespec_get): Likewise.
13629         * time/tzset.c (tzset_internal): Likewise.
13630         (compute_change): Likewise.
13631         (__tz_compute): Likewise.
13632         * wcsmbs/btowc.c (__btowc): Likewise.
13633         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13634         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13635         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13636         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13637         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13638         * wcsmbs/wcscat.c (__wcscat): Likewise.
13639         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13640         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13641         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13642         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13643         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13644         * wcsmbs/wcslen.c (__wcslen): Likewise.
13645         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13646         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13647         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13648         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13649         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13650         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13651         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13652         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13653         * wcsmbs/wcstok.c (wcstok): Likewise.
13654         * wcsmbs/wctob.c (wctob): Likewise.
13655         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13656         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13657         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13658         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13659         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13660         * wcsmbs/wmemset.c (__wmemset): Likewise.
13661         * wctype/wcfuncs.c (__towlower): Likewise.
13662         (__towupper): Likewise.
13664         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13665         (lll_unlock_elision): Add adapt_count parameter.
13667 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13669         * sysdeps/nptl/configure.ac: Do not give errors based on the
13670         results of top-level configure tests.
13671         * sysdeps/nptl/configure: Regenerated.
13673         * configure.ac (libc_cv_Bgroup): Remove configure test.
13674         * configure: Regenerated.
13675         * config.make.in (have-Bgroup): Remove variable.
13677         * configure.ac (sizeof_long_double): Remove configure test.
13678         * configure: Regenerated.
13679         * config.make.in (sizeof-long-double): Remove variable.
13681         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13682         * configure: Regenerated.
13683         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13684         variable.
13685         (exceptions): Likewise.
13686         * sysdeps/arm/configure: Regenerated.
13687         * config.make.in (exceptions): Remove variable.
13688         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13689         $(exceptions).
13690         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13691         (CFLAGS-vdprintf_chk.c): Likewise.
13692         (CFLAGS-printf_chk.c): Likewise.
13693         (CFLAGS-fprintf_chk.c): Likewise.
13694         (CFLAGS-vprintf_chk.c): Likewise.
13695         (CFLAGS-vfprintf_chk.c): Likewise.
13696         (CFLAGS-gets_chk.c): Likewise.
13697         (CFLAGS-fgets_chk.c): Likewise.
13698         (CFLAGS-fgets_u_chk.c): Likewise.
13699         (CFLAGS-fread_chk.c): Likewise.
13700         (CFLAGS-fread_u_chk.c): Likewise.
13701         (CFLAGS-wprintf_chk.c): Likewise.
13702         (CFLAGS-fwprintf_chk.c): Likewise.
13703         (CFLAGS-vwprintf_chk.c): Likewise.
13704         (CFLAGS-vfwprintf_chk.c): Likewise.
13705         (CFLAGS-fgetws_chk.c): Likewise.
13706         (CFLAGS-fgetws_u_chk.c): Likewise.
13707         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13708         (CFLAGS-fputc.c): Likewise.
13709         (CFLAGS-fputwc.c): Likewise.
13710         (CFLAGS-freopen64.c): Likewise.
13711         (CFLAGS-freopen.c): Likewise.
13712         (CFLAGS-fseek.c): Likewise.
13713         (CFLAGS-fseeko64.c): Likewise.
13714         (CFLAGS-fseeko.c): Likewise.
13715         (CFLAGS-ftello64.c): Likewise.
13716         (CFLAGS-ftello.c): Likewise.
13717         (CFLAGS-fwide.c): Likewise.
13718         (CFLAGS-genops.c): Likewise.
13719         (CFLAGS-getc.c): Likewise.
13720         (CFLAGS-getchar.c): Likewise.
13721         (CFLAGS-getwc.c): Likewise.
13722         (CFLAGS-getwchar.c): Likewise.
13723         (CFLAGS-iofclose.c): Likewise.
13724         (CFLAGS-iofflush.c): Likewise.
13725         (CFLAGS-iofgetpos64.c): Likewise.
13726         (CFLAGS-iofgetpos.c): Likewise.
13727         (CFLAGS-iofgets.c): Likewise.
13728         (CFLAGS-iofgetws.c): Likewise.
13729         (CFLAGS-iofputs.c): Likewise.
13730         (CFLAGS-iofputws.c): Likewise.
13731         (CFLAGS-iofread.c): Likewise.
13732         (CFLAGS-iofsetpos64.c): Likewise.
13733         (CFLAGS-iofsetpos.c): Likewise.
13734         (CFLAGS-ioftell.c): Likewise.
13735         (CFLAGS-iofwrite.c): Likewise.
13736         (CFLAGS-iogetdelim.c): Likewise.
13737         (CFLAGS-iogetline.c): Likewise.
13738         (CFLAGS-iogets.c): Likewise.
13739         (CFLAGS-iogetwline.c): Likewise.
13740         (CFLAGS-ioputs.c): Likewise.
13741         (CFLAGS-ioseekoff.c): Likewise.
13742         (CFLAGS-ioseekpos.c): Likewise.
13743         (CFLAGS-iosetbuffer.c): Likewise.
13744         (CFLAGS-iosetvbuf.c): Likewise.
13745         (CFLAGS-ioungetc.c): Likewise.
13746         (CFLAGS-ioungetwc.c): Likewise.
13747         (CFLAGS-oldfileops.c): Likewise.
13748         (CFLAGS-oldiofclose.c): Likewise.
13749         (CFLAGS-oldiofgetpos64.c): Likewise.
13750         (CFLAGS-oldiofgetpos.c): Likewise.
13751         (CFLAGS-oldiofsetpos64.c): Likewise.
13752         (CFLAGS-oldiofsetpos.c): Likewise.
13753         (CFLAGS-peekc.c): Likewise.
13754         (CFLAGS-putc.c): Likewise.
13755         (CFLAGS-putchar.c): Likewise.
13756         (CFLAGS-putwc.c): Likewise.
13757         (CFLAGS-putwchar.c): Likewise.
13758         (CFLAGS-rewind.c): Likewise.
13759         (CFLAGS-wfileops.c): Likewise.
13760         (CFLAGS-wgenops.c): Likewise.
13761         (CFLAGS-oldiofopen.c): Likewise.
13762         (CFLAGS-iofopen.c): Likewise.
13763         (CFLAGS-iofopen64.c): Likewise.
13764         (CFLAGS-oldtmpfile.c): Likewise.
13765         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13766         (CFLAGS-fprintf.c): Likewise.
13767         (CFLAGS-printf.c): Likewise.
13768         (CFLAGS-vfwprintf.c): Likewise.
13769         (CFLAGS-vfscanf.c): Likewise.
13770         (CFLAGS-vfwscanf.c): Likewise.
13771         (CFLAGS-fscanf.c): Likewise.
13772         (CFLAGS-scanf.c): Likewise.
13773         (CFLAGS-isoc99_vfscanf.c): Likewise.
13774         (CFLAGS-isoc99_vscanf.c): Likewise.
13775         (CFLAGS-isoc99_fscanf.c): Likewise.
13776         (CFLAGS-isoc99_scanf.c): Likewise.
13777         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13778         (CFLAGS-isoc99_fwscanf.c): Likewise.
13779         (CFLAGS-isoc99_vwscanf.c): Likewise.
13780         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13782         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13783         after mkstemp64.
13784         * login/tst-utmp.c (do_prepare): Likewise.
13785         * rt/tst-aio.c (do_prepare): Likewise.
13786         * rt/tst-aio64.c (do_prepare): Likewise.
13788 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13790         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13791         (__lll_lock_elision): Remove adapt_count decrement...
13792         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13793         (__lll_trylock_elision): Likewise.
13794         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13795         (__lll_unlock_elision): ... to here. And utilize
13796         new adapt_count parameter.
13797         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13798         (__lll_unlock_elision): Update to include adapt_count
13799         parameter.
13800         (lll_unlock_elision): Pass pointer to adapt_count
13801         variable.
13803 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13805         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13806         Add elision adapt_count parameter to list of arguments.
13807         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13808         (lll_unlock_elision): Update with new parameter list
13809         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13810         (lll_unlock_elision): Likewise.
13811         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13812         (lll_unlock_elision): Likewise.
13814 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13816         [BZ #19122]
13817         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13818         attribute_hidden.
13820         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13821         attribute_hidden.
13822         [IS_IN (rtld)] (__strdup): Likewise.
13823         [IS_IN (rtld)] (__strerror_r): Likewise.
13824         [IS_IN (rtld)] (__strsep_g): Likewise.
13825         [IS_IN (rtld)] (memchr): Likewise.
13826         [IS_IN (rtld)] (memcmp): Likewise.
13827         [IS_IN (rtld)] (memcpy): Likewise.
13828         [IS_IN (rtld)] (memmove): Likewise.
13829         [IS_IN (rtld)] (memset): Likewise.
13830         [IS_IN (rtld)] (rawmemchr): Likewise.
13831         [IS_IN (rtld)] (stpcpy): Likewise.
13832         [IS_IN (rtld)] (strchr): Likewise.
13833         [IS_IN (rtld)] (strcmp): Likewise.
13834         [IS_IN (rtld)] (strlen): Likewise.
13835         [IS_IN (rtld)] (strnlen): Likewise.
13836         [IS_IN (rtld)] (strsep): Likewise.
13838         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13839         attribute_hidden.
13840         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13842         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13843         attribute_hidden.
13844         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13846         * include/setjmp.h (__longjmp): Add attribute_hidden.
13847         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13849         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13850         Add attribute_hidden.
13852         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13853         [IS_IN (rtld)] (__open): Likewise.
13854         [IS_IN (rtld)] (__fcntl): Likewise.
13856         * include/dirent.h (__opendirat): Add attribute_hidden.
13857         (__getdents): Likewise.
13858         (__getdents64): Likewise.
13859         (__alloc_dir): Likewise.
13860         [IS_IN (rtld)] (__closedir): Likewise.
13861         [IS_IN (rtld)] (__fdopendir): Likewise.
13862         [IS_IN (rtld)] (__readdir): Likewise.
13863         [IS_IN (rtld)] (__readdir64): Likewise.
13864         [IS_IN (rtld)] (__rewinddir): Likewise.
13866         * include/dlfcn.h (_dl_catch_error): Moved to ...
13867         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13868         attribute_hidden.
13870         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13871         (_itoa_word): Likewise.
13873         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13874         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13875         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13876         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13877         (_dl_higher_prime_number): Likewise.
13878         (_dl_debug_printf_c): Likewise.
13879         (_dl_signal_cerror): Likewise.
13880         (_dl_receive_error): Likewise.
13881         (_dl_reloc_bad_type): Likewise.
13882         (_dl_resolve_conflicts): Likewise.
13883         (_dl_check_all_versions): Likewise.
13884         (_dl_check_map_versions): Likewise.
13885         (_dl_sort_fini): Likewise.
13886         (_dl_debug_initialize): Likewise.
13887         (_dl_init_paths): Likewise.
13888         (_dl_show_auxv): Likewise.
13889         (_dl_next_ld_env_entry): Likewise.
13890         (_dl_important_hwcaps): Likewise.
13891         (_dl_load_cache_lookup): Likewise.
13892         (_dl_update_slotinfo): Likewise.
13893         (_dl_show_scope): Likewise.
13895         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13896         attribute_hidden.
13897         (_wordcopy_fwd_dest_aligned): Likewise.
13898         (_wordcopy_bwd_aligned): Likewise.
13899         (_wordcopy_bwd_dest_aligned): Likewise.
13901         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13902         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13903         Likewise.
13904         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13905         Likewise.
13906         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13908 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13911         GCC 5 requirement.
13913 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13915         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13916         test.
13917         * sysdeps/i386/configure: Regenerated.
13918         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13919         code unconditional.
13921         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13922         test.
13923         (libc_cv_asm_popsection_directive): Likewise.
13924         * configure: Regenerated.
13925         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13926         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13927         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13928         (__make_section_unallocated): Make definition unconditional.
13929         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13930         Remove conditional definition.
13931         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13932         (__make_section_unallocated): Likewise.
13934         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13935         * configure: Regenerated.
13936         * config.make.in (static-libgcc): Remove variable.
13937         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13938         $(static-libgcc).
13939         (build-module-helper): Likewise.
13941         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13942         * configure: Regenerated.
13944 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13946         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13947         (struct char_buffer): New type.
13948         (char_buffer_start, char_buffer_size, char_buffer_error)
13949         (char_buffer_rewind, char_buffer_add): New functions.
13950         (ADDW): Remove macro, replaced by the char_buffer_add function.
13951         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13952         of extend_alloca.  Make control flow more explicit.
13954 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13956         [BZ #19137]
13957         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13958         Add -fomit-frame-pointer.
13959         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13961 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13963         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13964         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13965         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13966         only if !__GNUC_PREREQ (5,0).
13967         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13968         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13969         (INTERNAL_SYSCALL_NCS): Likewise.
13970         (LOADREGS_0): New macro for GCC 5.
13971         (ASMARGS_0): Likewise.
13972         (LOADREGS_1): Likewise.
13973         (ASMARGS_1): Likewise.
13974         (LOADREGS_2): Likewise.
13975         (ASMARGS_2): Likewise.
13976         (LOADREGS_3): Likewise.
13977         (ASMARGS_3): Likewise.
13978         (LOADREGS_4): Likewise.
13979         (ASMARGS_4): Likewise.
13980         (LOADREGS_5): Likewise.
13981         (ASMARGS_5): Likewise.
13982         (LOADREGS_6): Likewise.
13983         (ASMARGS_6): Likewise.
13985 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13987         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13988         -fomit-frame-pointer.
13989         (CFLAGS-mmap64.c): Likewise.
13990         (CFLAGS-semtimedop.c): Likewise.
13991         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13992         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13993         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13994         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13996 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13998         [BZ #18928]
13999         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14000         _dl_pointer_guard member.
14001         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14002         initializer.
14003         (security_init): Always set up pointer guard.
14004         (process_envvars): Do not process LD_POINTER_GUARD.
14006 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14008         [BZ #19134]
14009         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14010         (.LC2): Likewise.
14011         (.LC3): Likewise.
14012         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14014 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14016         [BZ #19129]
14017         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14018         r0 and r1.
14020 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14022         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14024 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14026         * include/stap-probe.h: Fix macro definition formatting.
14028 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14030         [BZ #19074]
14031         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14032         load and store num_ifs.
14034 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14036         [BZ #18822]
14037         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14038         (__sched_getaffinity_new): Add libc_hidden_proto and
14039         libc_hidden_def.
14041 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14043         [BZ #19007]
14044         * scripts/localplt.awk: Also allow GOT references.
14045         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14046         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14047         with "+ REL R_386_GLOB_DAT".
14048         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14049         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14051 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14053         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14054         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14055         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14056         Likewise.
14057         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14058         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14059         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14060         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14061         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14062         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14063         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14064         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14065         Likewise.
14066         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14068 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14070         [BZ #19125]
14071         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14072         <math_private.h> and <stdint.h>.
14073         (__llround): Avoid conversions to and from long long int, and
14074         subtractions, where those might raise spurious exceptions.
14075         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14076         <math_private.h> and <stdint.h>.
14077         (__llroundf): Avoid conversions to and from long long int, and
14078         subtractions, where those might raise spurious exceptions.
14080 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14082         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14083         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14084         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14085         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14086         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14087         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14088         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14089         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14090         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14091         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14092         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14093         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14094         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14095         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14096         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14097         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14098         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14099         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14100         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14101         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14102         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14103         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14104         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14105         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14106         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14107         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14108         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14109         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14110         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14111         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14112         (__xstat64_conv): Likewise.
14113         (__xstat32_conv): Likewise.
14115 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14117         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14118         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14119         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14120         <sysdeps/unix/sysv/linux/sysdep.h>.
14121         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14122         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14123         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14124         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14125         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14126         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14127         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14128         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14129         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14134         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14135         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14137         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14138         (sysdep-dl-routines): Add sysdep.
14139         [$(subdir) == nptl] (libpthread-routines): Likewise.
14140         [$(subdir) == rt] (librt-routines): Likewise.
14141         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14142         PIC when branching to SYSCALL_ERROR_LABEL.
14143         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14144         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14145         <sysdeps/unix/sysv/linux/sysdep.h>.
14146         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14147         (SYSCALL_ERROR_ERRNO): Removed.
14148         (SYSCALL_ERROR_HANDLER): Changed to empty.
14149         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14150         (__syscall_error): New prototype.
14151         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14152         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14154 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14156         [BZ #19124]
14157         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14158         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14159         _dl_runtime_resolve_avx.
14160         (_dl_runtime_profile_avx512): Make it a hidden alias of
14161         _dl_runtime_profile_avx.
14163 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14165         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14166         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14167         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14168         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14170         [BZ #16422]
14171         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14172         New configure test.
14173         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14174         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14175         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14176         <math_private.h> and <stdint.h>.
14177         (__llrint): Avoid conversions to long long int where those might
14178         raise spurious exceptions.
14179         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14180         <math_private.h> and <stdint.h>.
14181         (__llrintf): Avoid conversions to long long int where those might
14182         raise spurious exceptions.
14184 2015-10-12  Andreas Schwab  <schwab@suse.de>
14186         [BZ #18969]
14187         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14188         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14189         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14190         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14191         $(gen-locales).
14192         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14193         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14194         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14195         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14196         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14197         $(gen-locales).
14198         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14199         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14200         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14201         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14202         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14203         ($(objpfx)tst-ftell-active-handler.out)
14204         ($(objpfx)tst-ftell-append.out)
14205         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14206         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14207         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14208         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14209         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14210         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14211         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14212         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14213         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14214         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14215         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14216         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14217         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14218         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14219         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14220         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14221         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14222         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14223         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14224         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14225         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14226         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14227         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14228         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14229         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14230         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14231         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14232         $(gen-locales).
14233         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14234         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14235         $(gen-locales).
14236         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14237         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14238         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14239         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14240         $(gen-locales).
14241         * libio/tst_wprintf2.c (main): Use explicit locale.
14242         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14244 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14246         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14247         __msg_sig_post.
14248         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14250 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14252         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14253         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14255         * sysdeps/arm/libm-test-ulps: Regenerated.
14257         [BZ #15470]
14258         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14260         [BZ #16399]
14261         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14262         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14263         and <fix-fp-int-convert-overflow.h>.
14264         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14265         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14266         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14267         and <fix-fp-int-convert-overflow.h>.
14268         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14269         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14270         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14271         <fix-fp-int-convert-overflow.h>.
14272         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14273         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14274         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14275         <fix-fp-int-convert-overflow.h>.
14276         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14277         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14278         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14279         and <fix-fp-int-convert-overflow.h>.
14280         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14281         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14282         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14283         <limits.h> and <fix-fp-int-convert-overflow.h>.
14284         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14285         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14286         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14287         and <fix-fp-int-convert-overflow.h>.
14288         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14289         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14290         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14291         and <fix-fp-int-convert-overflow.h>.
14292         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14293         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14294         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14296 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14298         [BZ #18589]
14299         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14300         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14301         $(gen-locales).
14303 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14304             Phil Blundell <pb@pbcl.net>
14306         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14307         * nptl/tst-cancel26.c: New file.
14308         * nptl/tst-cancel27.c: Likewise.
14310 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14312         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14313         __ILP32__ isn't defined.
14314         (lrint): Likewise.
14315         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14316         (lrintf): Likewise.
14317         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14318         (lrintl): Likewise.
14319         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14320         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14321         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14323 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14326         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14328         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14329         file.
14330         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14331         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14333 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14335         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14336         configure test.
14337         * sysdeps/i386/configure: Regenerated.
14338         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14339         configure test.
14340         * sysdeps/x86_64/configure: Regenerated.
14341         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14342         Make code unconditional.
14344         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14345         test.
14346         * sysdeps/i386/configure: Regenerated.
14347         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14348         test.
14349         * sysdeps/x86_64/configure: Regenerated.
14350         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14351         Make code unconditional.
14352         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14353         Likewise.
14354         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14355         Likewise.
14356         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14357         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14358         code unconditional.
14359         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14360         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14361         code unconditional.
14362         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14363         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14364         code unconditional.
14365         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14366         code unconditional.
14367         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14368         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14369         code unconditional.
14370         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14371         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14372         code unconditional.
14373         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14374         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14375         code unconditional.
14376         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14377         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14378         code unconditional.
14379         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14380         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14382         [BZ #19095]
14383         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14384         mantissa to long int before shifting left.
14386 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14388         [BZ #19094]
14389         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14390         <limits.h>.
14391         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14392         when result overflows but exception would not result from cast.
14393         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14394         <limits.h>.
14395         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14396         when result overflows but exception would not result from cast.
14397         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14398         <limits.h>.
14399         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14400         when result overflows but exception would not result from cast.
14401         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14402         <limits.h>.
14403         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14404         when result overflows but exception would not result from cast.
14405         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14406         <limits.h>.
14407         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14408         when result overflows but exception would not result from cast.
14409         * math/libm-test.inc (lrint_test_data): Add more tests.
14410         (llrint_test_data): Likewise.
14412 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14414         [BZ #18872]
14415         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14416         Move out from under [$(run-built-tests) = yes] conditional.
14417         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14418         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14420 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14422         [BZ #18589]
14423         * string/Makefile (tests): Add bug-strcoll2.
14424         (LOCALES): Add cs_CZ.UTF-8.
14425         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14427         [BZ #18589]
14428         * string/bug-strcoll2.c: New file.
14429         * locale/categories.def: Revert commit
14430         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14431         * locale/langinfo.h: Likewise.
14432         * locale/localeinfo.h: Likewise.
14433         * locale/C-collate.c: Likewise.
14434         * locale/programs/ld-collate.c (collate_output): Likewise.
14435         * string/strcoll_l.c (STRDIFF): Likewise.
14436         (STRCOLL): Likewise.
14437         * wcsmbs/wcscoll_l.c: Likewise.
14439 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14441         * math/libm-test.inc (lround_test_data): Do not expect the absence
14442         of "inexact" for some tests with non-integer arguments.
14443         (llround_test_data): Likewise.
14445         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14446         test.
14447         (libc_cv_cc_sse2avx): Likewise.
14448         * sysdeps/i386/configure: Regenerated.
14449         * sysdeps/i386/i686/multiarch/Makefile
14450         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14451         [$(subdir) = math].
14452         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14453         code unconditional.
14454         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14455         Likewise.
14456         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14457         Likewise.
14458         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14459         Likewise.
14460         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14461         test.
14462         (libc_cv_cc_sse2avx): Likewise.
14463         * sysdeps/x86_64/configure: Regenerated.
14464         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14465         unconditional.
14466         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14467         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14468         unconditional.
14469         (_dl_runtime_profile)
14470         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14471         conditional code.
14472         * sysdeps/x86_64/fpu/multiarch/Makefile
14473         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14474         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14475         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14476         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14477         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14478         * sysdeps/x86_64/fpu/multiarch/e_log.c
14479         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14480         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14481         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14482         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14483         Likewise.
14484         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14485         Likewise.
14486         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14487         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14488         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14489         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14490         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14491         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14492         (HAVE_SSE2AVX_SUPPORT): Likewise.
14494 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14496         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14497         instead of #pragma optimize.
14499 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14501         [BZ #17195]
14502         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14503         as is similarly done in systrim and _int_free already.
14505 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14507         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14509 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14511         [BZ #19088]
14512         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14513         <limits.h>.
14514         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14515         overflows but exception would not result from cast.
14516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14517         and <limits.h>.
14518         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14519         overflows but exception would not result from cast.
14520         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14521         <limits.h>.
14522         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14523         overflows but exception would not result from cast.
14524         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14525         <limits.h>.
14526         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14527         overflows but exception would not result from cast.
14528         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14529         <limits.h>.
14530         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14531         overflows but exception would not result from cast.
14532         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14533         <limits.h>.
14534         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14535         overflows but exception would not result from cast.
14536         * math/libm-test.inc (lround_test_data): Add more tests.
14537         (llround_test_data): Likewise.
14539 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14541         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14542         (CFLAGS-ialloc.c): Ditto.
14543         (CFLAGS-scheck.c): Ditto.
14545 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14547         [BZ #19086]
14548         * manual/filesys.texi (Storage Allocation): Fix argument order for
14549         posix_fallocate64.
14551 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14553         [BZ #19085]
14554         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14555         exponent below 48 inside case for non-overflowing exponent.
14556         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14558 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14560         * iconvdata/cp737.h (from_idx): Add const.
14561         * iconvdata/cp775.h (from_idx): Likewise.
14563 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14565         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14566         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14567         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14569         [BZ #19079]
14570         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14571         file, conditioned on [!_LP64].
14572         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14573         [!_LP64] (__lround): Do not define as function or alias.
14574         [!_LP64] (lround): Likewise.
14575         [!_LP64] (__lroundl): Likewise.
14576         [!_LP64] (lroundl): Likewise.
14577         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14578         macro.
14579         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14580         Likewise.
14582 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14584         * math/libm-test.inc (lrint_test_data): Add more tests.
14585         (llrint_test_data): Likewise.
14586         (lround_test_data): Likewise.
14587         (llround_test_data): Likewise.
14589         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14590         (llrint_test_data): Add tests used for lrint.
14592         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14593         test.
14594         * sysdeps/i386/configure: Regenerated.
14595         * sysdeps/i386/i686/multiarch/Makefile
14596         [$(config-cflags-sse4) = yes]: Make code unconditional.
14597         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14598         Likewise.
14599         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14600         Likewise.
14601         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14602         test.
14603         * sysdeps/x86_64/configure: Regenerated.
14604         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14605         Make code unconditional.
14606         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14607         Likewise.
14608         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14609         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14611         * scripts/rpm2dynsym.sh: Remove file.
14613 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14615         * configure.ac (libc_cv_cxx_thread_local): Define.
14616         * configure: Regenerate.
14617         * config.make.in (have-cxx-thread_local): Define.
14618         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14619         (LDLIBS-tst-thread_local1): Define.
14620         (tests): Add tst-thread_local1.
14621         [have-cxx-thread_local != yes] (tests-unsupported): Add
14622         tst-thread_local1.
14623         * nptl/tst-thread_local1.cc: New file.
14625 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14627         [BZ #19078]
14628         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14629         (u_thres): Likewise.
14630         (__expl): Determine whether to call __kernel_standard_l based on
14631         value of result, not argument.
14633         * math/libm-test.inc (scalb_test_data): Add more expectations for
14634         the "inexact" exception.
14636         [BZ #19077]
14637         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14638         0.0L for argument 1.0L.
14640         [BZ #19076]
14641         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14642         constant 0.0L when computing infinite result.
14644 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14646         [BZ #10432]
14647         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14648         malloc_usable_size.
14650 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14652         [BZ #19018]
14653         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14654         Mangle function pointer before storing it.
14655         (__call_tls_dtors): Demangle function pointer before calling it.
14657 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14659         [BZ #19012]
14660         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14661         Clean up on failure.
14663 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14665         [BZ #19071]
14666         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14667         long int variable to store possibly incremented high part of
14668         mantissa.
14669         * math/libm-test.inc (lround_test_data): Add tests used for
14670         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14671         for tests requiring 64-bit long.  Do not condition tests on
14672         [TEST_FLOAT] unnecessarily.
14673         (llround_test_data): Add tests used for lround.  Add another
14674         expectation for the "inexact" exception.  Do not condition tests
14675         on [TEST_FLOAT] unnecessarily.
14677         [BZ #887]
14678         [BZ #19049]
14679         [BZ #19050]
14680         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14681         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14682         <fix-int-fp-convert-zero.h>.
14683         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14684         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14685         <fix-int-fp-convert-zero.h>.
14686         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14687         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14688         <fix-int-fp-convert-zero.h>.
14689         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14690         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14691         <fix-int-fp-convert-zero.h>.
14692         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14693         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14694         <fix-int-fp-convert-zero.h>.
14695         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14696         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14697         <fix-int-fp-convert-zero.h>.
14698         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14699         * sysdeps/ieee754/flt-32/s_erff.c: Include
14700         <fix-int-fp-convert-zero.h>.
14701         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14702         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14703         <fix-int-fp-convert-zero.h>.
14704         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14705         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14706         <fix-int-fp-convert-zero.h>.
14707         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14709         <fix-int-fp-convert-zero.h>.
14710         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14711         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14712         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14713         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14714         file.
14715         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14717 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14719         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14721 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14723         [BZ #19059]
14724         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14725         overflowing computation.
14726         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14727         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14728         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14729         Likewise.
14730         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14731         Likewise.
14732         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14733         Likewise.
14734         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14735         Likewise.
14736         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14737         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14738         Likewise.
14739         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14740         Likewise.
14741         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14743         * nss/rewrite_field.c (__nss_rewrite_field): Use
14744         internal_function.
14745         * nss/valid_field.c (__nss_valid_field): Likewise.
14746         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14748 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14750         [BZ #18724]
14751         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14752         (__nss_invalid_field_characters, __nss_valid_field)
14753         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14754         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14755         tst-field.c: New file.
14756         * nss/Makefile (routines): Add valid_field, rewrite_field.
14757         (tests-static): Define unconditionally.
14758         (tests): Include tests-static.
14759         [build-static-nss] (tests-static): Use append.
14760         [build-static-nss] (tests): Remove modification.
14761         * nss/getent.c (print_group): Call putgrent.  Report error.
14762         (print_gshadow): Call putsgent.  Report error.
14763         (print_passwd): Call putpwent.  Report error.
14764         (print_shadow): Call putspent.  Report error.
14765         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14766         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14767         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14768         name, password, directory, shell fields for valid syntax.  Rewrite
14769         GECOS field to match syntax.
14770         * pwd/Makefile (tests): Add tst-putpwent.
14771         * pwd/tst-putpwent.c: New file.
14772         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14773         Check grName, grpasswd, gr_mem fields for valid syntax.
14774         Change loop variable i to size_t.
14775         * grp/Makefile (tests): Add tst-putgrent.
14776         * grp/tst-putgrent.c: New file.
14777         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14778         valid syntax.
14779         * shadow/Makefile (tests): Add tst-putspent.
14780         * shadow/tst-putspent.c: New file.
14781         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14782         sg_mem fields for valid syntax.
14783         * gshadow/Makefile (tests): Add tst-putsgent.
14784         * gshadow/tst-putsgent.c: New file.
14786 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14788         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14789         assembly instructions.
14791 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14793         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14794         prefix from operands.
14796 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14798         [BZ #16347]
14799         [BZ #19046]
14800         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14801         <libc-internal.h>.
14802         (MAXLGM): Do not use diagnostic control macros.
14803         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14804         threshold for ldbl-128ibm.
14805         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14806         instead of multiplying by log then subtracting.
14807         * math/auto-libm-test-in: Add more tests of lgamma.
14808         * math/auto-libm-test-out: Regenerated.
14810         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14811         (TYPE_HEX_DIG): Likewise.
14812         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14813         precisions when printing floating-point numbers.
14814         (check_float_internal): Likewise.
14816 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14818         [BZ #16620]
14819         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14820         of log (10) rounded downward to 48 bits.
14821         (log10_low): Use corresponding low part of log (10).
14823         [BZ #19032]
14824         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14825         compute result as (x - x) / (x - x) not as 0 / 0.
14826         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14827         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14829         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14830         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14831         and expm1.
14832         * math/auto-libm-test-out: Regenerated.
14833         * math/libm-test.inc (acos_test_data): Add more tests.
14834         (asin_test_data): Likewise.
14835         (asinh_test_data): Likewise.
14836         (atan_test_data): Likewise.
14837         (atanh_test_data): Likewise.
14838         (atan2_test_data): Likewise.
14839         (cbrt_test_data): Likewise.
14840         (ceil_test_data): Likewise.
14841         (copysign_test_data): Likewise.
14842         (cos_test_data): Likewise.
14843         (cosh_test_data): Likewise.
14844         (erf_test_data): Likewise.
14845         (erfc_test_data): Likewise.
14846         (exp_test_data): Likewise.
14847         (exp10_test_data): Likewise.
14848         (exp2_test_data): Likewise.
14849         (expm1_test_data): Likewise.
14850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14852 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14854         [BZ #19006]
14855         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14856         to ...
14857         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14858         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14859         to ...
14860         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14861         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14862         to ...
14863         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14864         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14865         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14866         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14867         to ...
14868         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14869         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14870         Moved to ...
14871         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14872         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14873         Moved to ...
14874         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14875         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14876         to ...
14877         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14878         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14879         Moved to ...
14880         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14881         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14882         to ...
14883         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14884         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14885         Removed.
14886         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14887         Likewise.
14888         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14889         Likewise.
14890         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14891         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14892         Likewise.
14893         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14894         Likewise.
14895         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14896         Likewise.
14897         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14898         Likewise.
14899         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14900         Likewise.
14901         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14902         Likewise.
14903         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14904         Likewise.
14905         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14906         Likewise.
14907         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14908         Likewise.
14909         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14910         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14911         Likewise.
14912         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14913         Likewise.
14914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14915         Likewise.
14916         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14917         Likewise.
14918         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14919         Likewise.
14920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14921         Replace ../i486/pthread_cond_timedwait.S with
14922         ../pthread_cond_timedwait.S.
14924 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14926         * math/libm-test.inc (acos_test_data): Refine expectations for
14927         errno and "inexact" exceptions.
14928         (acosh_test_data): Likewise.
14929         (asin_test_data): Likewise.
14930         (asinh_test_data): Likewise.
14931         (atan_test_data): Likewise.
14932         (atanh_test_data): Likewise.
14933         (atan2_test_data): Likewise.
14934         (cbrt_test_data): Likewise.
14935         (ceil_test_data): Likewise.
14936         (copysign_test_data): Likewise.
14937         (cosh_test_data): Likewise.
14938         (erf_test_data): Likewise.
14939         (erfc_test_data): Likewise.
14940         (exp_test_data): Likewise.
14941         (exp10_test_data): Likewise.
14942         (exp2_test_data): Likewise.
14943         (expm1_test_data): Likewise.
14944         (fabs_test_data): Likewise.
14945         (floor_test_data): Likewise.
14946         (fma_test_data): Likewise.
14947         (fmax_test_data): Likewise.
14948         (fmin_test_data): Likewise.
14949         (fmod_test_data): Likewise.
14950         (fpclassify_test_data): Likewise.
14951         (frexp_test_data): Likewise.
14952         (hypot_test_data): Likewise.
14953         (ilogb_test_data): Likewise.
14954         (isgreater_test_data): Likewise.
14955         (isgreaterequal_test_data): Likewise.
14956         (isinf_test_data): Likewise.
14957         (isless_test_data): Likewise.
14958         (islessequal_test_data): Likewise.
14959         (islessgreater_test_data): Likewise.
14960         (isnan_test_data): Likewise.
14961         (isnormal_test_data): Likewise.
14962         (issignaling_test_data): Likewise.
14963         (isunordered_test_data): Likewise.
14964         (j0_test_data): Likewise.
14965         (j1_test_data): Likewise.
14966         (jn_test_data): Likewise.
14967         (lgamma_test_data): Likewise.
14968         (lrint_test_data): Likewise.
14969         (llrint_test_data): Likewise.
14970         (log_test_data): Likewise.
14971         (log10_test_data): Likewise.
14972         (log1p_test_data): Likewise.
14973         (log2_test_data): Likewise.
14974         (logb_test_data): Likewise.
14975         (lround_test_data): Likewise.
14976         (llround_test_data): Likewise.
14977         (modf_test_data): Likewise.
14978         (nearbyint_test_data): Likewise.
14979         (nextafter_test_data): Likewise.
14980         (nexttoward_test_data): Likewise.
14981         (pow_test_data): Likewise.
14982         (remainder_test_data): Likewise.
14983         (remquo_test_data): Likewise.
14984         (rint_test_data): Likewise.
14985         (round_test_data): Likewise.
14986         (signbit_test_data): Likewise.
14987         (sinh_test_data): Likewise.
14988         (sqrt_test_data): Likewise.
14989         (tanh_test_data): Likewise.
14990         (tgamma_test_data): Likewise.
14991         (trunc_test_data): Likewise.
14992         (y0_test_data): Likewise.
14993         (y1_test_data): Likewise.
14994         (yn_test_data): Likewise.
14995         (significand_test_data): Likewise.
14997 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14999         * manual/filesys.texi (Storage Allocation): Document that
15000         posix_fallocate emulation fails when fd is open with O_WRONLY.
15002 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15004         [BZ #19016]
15005         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15006         allow more cases with X^2 + Y^2 >= 0.5.
15007         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15008         normal element in sum instead of special-casing based on values of
15009         arguments.
15010         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15011         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15012         -1 as normal element in sum instead of special-casing based on
15013         values of arguments.
15014         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15015         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15016         (__x2y2m1): Update comment.
15017         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15018         as normal element in sum instead of special-casing based on values
15019         of arguments.
15020         * math/s_clog.c (__clog): Handle more cases using log1p without
15021         hypot.
15022         * math/s_clog10.c (__clog10): Likewise.
15023         * math/s_clog10f.c (__clog10f): Likewise.
15024         * math/s_clog10l.c (__clog10l): Likewise.
15025         * math/s_clogf.c (__clogf): Likewise.
15026         * math/s_clogl.c (__clogl): Likewise.
15027         * math/auto-libm-test-in: Add more tests of clog and clog10.
15028         * math/auto-libm-test-out: Regenerated.
15029         * sysdeps/i386/fpu/libm-test-ulps: Update.
15030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15032 2015-09-28  Martin Sebor  <msebor@redhat.com>
15034         [BZ #18969]
15035         * string/Makefile (LOCALES): Define.
15036         (gen-locales.mk): Include.
15037         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15038         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15039         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15040         on setlocale failure.
15042 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15044         [BZ #18985]
15045         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15046         (__strftime_internal): Likewise.
15047         * time/tst-strftime.c (do_bz18985): New test.
15048         (do_test): Call it.
15050 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15052         [BZ #18956]
15053         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15054         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15055         extracting high part.
15056         * math/auto-libm-test-in: Add another test of pow.
15057         * math/auto-libm-test-out: Regenerated.
15058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15060 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15062         [BZ #18825]
15063         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15064         New macro.
15065         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15066         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15067         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15068         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15069         DBL_NARROW_EVAL, reloading the PIC register as needed.
15070         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15071         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15072         FLT_NARROW_EVAL.  Use separate return path for case when first
15073         argument is NaN.
15074         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15075         DEFINE_LDBL_MIN.
15076         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15077         PIC register.
15078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15079         math_check_force_underflow_nonneg.
15080         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15081         underflow for subnormal result.
15082         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15083         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15084         math_check_force_underflow_nonneg.
15085         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15086         math_check_force_underflow.
15087         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15088         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15089         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15090         DEFINE_LDBL_MIN.
15091         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15092         * math/auto-libm-test-in: Add more tests of pow.
15093         * math/auto-libm-test-out: Regenerated.
15095 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15097         * nss/bug17079.c (init_test_items): Add diagnostic for
15098         inconsistent entries.
15099         (test_buffer_size): Skip inconsistent entries.
15101 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15103         [BZ #13304]
15104         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15105         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15106         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15108         [BZ #13304]
15109         * sysdeps/microblaze/s_fma.c: New file.
15110         * sysdeps/microblaze/s_fmaf.c: Likewise.
15111         * sysdeps/microblaze/sfp-machine.h: Likewise.
15113 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15115         [BZ #17250]
15116         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15117         member.
15119 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15121         [BZ #18803]
15122         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15123         (MO): New macro.
15124         (__ieee754_hypot) [PIC]: Load PIC register.
15125         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15126         DBL_NARROW_EVAL.
15127         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15128         math_check_force_underflow_nonneg in case where result might be
15129         tiny.
15130         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15131         Likewise.
15132         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15133         Likewise.
15134         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15135         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15136         * math/auto-libm-test-in: Add more tests of hypot.
15137         * math/auto-libm-test-out: Regenerated.
15139 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15141         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15143 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15145         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15146         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15147         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15148         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15149         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15150         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15151         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15153         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15154         LOAD_PIC_REG.
15156         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15157         (FLT_CHECK_FORCE_UFLOW): Likewise.
15158         (DBL_CHECK_FORCE_UFLOW): Likewise.
15159         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15160         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15161         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15162         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15163         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15164         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15165         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15166         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15167         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15168         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15169         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15170         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15171         (flt_min): Replace with use of DEFINE_FLT_MIN.
15172         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15173         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15174         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15175         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15176         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15177         (flt_min): Replace with use of DEFINE_FLT_MIN.
15178         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15179         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15180         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15181         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15182         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15183         (flt_min): Replace with use of DEFINE_FLT_MIN.
15184         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15185         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15186         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15187         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15188         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15189         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15190         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15191         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15192         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15193         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15194         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15195         (flt_min): Replace with use of DEFINE_FLT_MIN.
15196         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15197         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15198         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15199         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15200         main computation.
15201         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15202         (flt_min): Replace with use of DEFINE_FLT_MIN.
15203         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15204         main computation.
15205         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15206         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15207         (MO): New macro.
15208         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15209         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15210         (flt_min): Replace with use of DEFINE_FLT_MIN.
15211         (MO): New macro.
15212         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15213         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15214         (__log1pl): Use MO.
15216         [BZ #19003]
15217         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15218         $(config-cflags-nofma).
15220 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15222         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15224 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15226         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15227         (TWO127): Likewise.
15229         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15230         (min_of_type): Likewise.
15231         (math_check_force_underflow): Likewise.
15232         (math_check_force_underflow_nonneg): Likewise.
15233         (math_check_force_underflow_complex): Likewise.
15234         * math/e_exp2l.c (__ieee754_exp2l): Use
15235         math_check_force_underflow_nonneg.
15236         * math/k_casinh.c (__kernel_casinh): Likewise.
15237         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15238         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15239         * math/s_catan.c (__catan): Use
15240         math_check_force_underflow_complex.
15241         * math/s_catanf.c (__catanf): Likewise.
15242         * math/s_catanh.c (__catanh): Likewise.
15243         * math/s_catanhf.c (__catanhf): Likewise.
15244         * math/s_catanhl.c (__catanhl): Likewise.
15245         * math/s_catanl.c (__catanl): Likewise.
15246         * math/s_ccosh.c (__ccosh): Likewise.
15247         * math/s_ccoshf.c (__ccoshf): Likewise.
15248         * math/s_ccoshl.c (__ccoshl): Likewise.
15249         * math/s_cexp.c (__cexp): Likewise.
15250         * math/s_cexpf.c (__cexpf): Likewise.
15251         * math/s_cexpl.c (__cexpl): Likewise.
15252         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15253         * math/s_clog10.c (__clog10): Likewise.
15254         * math/s_clog10f.c (__clog10f): Likewise.
15255         * math/s_clog10l.c (__clog10l): Likewise.
15256         * math/s_clogf.c (__clogf): Likewise.
15257         * math/s_clogl.c (__clogl): Likewise.
15258         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15259         * math/s_csinf.c (__csinf): Likewise.
15260         * math/s_csinh.c (__csinh): Likewise.
15261         * math/s_csinhf.c (__csinhf): Likewise.
15262         * math/s_csinhl.c (__csinhl): Likewise.
15263         * math/s_csinl.c (__csinl): Likewise.
15264         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15265         * math/s_csqrtf.c (__csqrtf): Likewise.
15266         * math/s_csqrtl.c (__csqrtl): Likewise.
15267         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15268         * math/s_ctanf.c (__ctanf): Likewise.
15269         * math/s_ctanh.c (__ctanh): Likewise.
15270         * math/s_ctanhf.c (__ctanhf): Likewise.
15271         * math/s_ctanhl.c (__ctanhl): Likewise.
15272         * math/s_ctanl.c (__ctanl): Likewise.
15273         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15274         instead of volatile.
15275         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15276         math_check_force_underflow.
15277         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15278         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15279         volatile when forcing underflow.
15280         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15281         math_check_force_underflow_nonneg.
15282         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15283         Likewise.
15284         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15285         math_check_force_underflow.
15286         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15287         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15288         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15289         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15290         math_check_force_underflow_nonneg.
15291         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15292         math_check_force_underflow.
15293         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15295         instead of volatile.
15296         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15297         math_check_force_underflow.
15298         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15299         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15300         math_check_force_underflow_nonneg.
15301         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15302         math_check_force_underflow.
15303         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15304         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15305         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15306         math_check_force_underflow_nonneg.
15307         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15308         Likewise.
15309         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15310         math_check_force_underflow.
15311         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15312         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15313         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15314         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15315         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15316         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15317         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15318         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15319         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15320         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15321         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15322         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15323         Likewise.
15324         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15325         math_check_force_underflow_nonneg.
15326         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15327         Likewise.
15328         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15329         math_check_force_underflow.
15330         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15331         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15332         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15333         Likewise.
15334         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15335         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15336         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15337         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15338         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15339         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15341         instead of volatile.
15342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15343         math_check_force_underflow.
15344         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15345         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15346         math_check_force_underflow.
15347         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15348         Likewise.
15349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15350         Use math_check_force_underflow_nonneg.
15351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15352         math_check_force_underflow.
15353         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15354         Likewise.
15355         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15356         Likewise.
15357         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15358         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15359         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15360         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15362         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15363         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15364         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15365         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15366         math_check_force_underflow_nonneg.
15367         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15368         math_check_force_underflow.
15369         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15370         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15371         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15372         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15373         math_check_force_underflow_nonneg.
15374         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15375         math_check_force_underflow.
15376         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15378         instead of volatile.
15379         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15380         math_check_force_underflow.
15382         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15383         * stdlib/strtod_l.c: Include <math_private.h>.
15384         (overflow_value): Use math_narrow_eval.
15385         (underflow_value): Likewise.
15386         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15387         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15388         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15389         (__ieee754_gamma_r): Likewise.
15390         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15391         Likewise.
15392         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15393         Likewise.
15394         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15395         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15396         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15397         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15398         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15399         (__ieee754_gammaf_r): Likewise.
15400         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15401         Likewise.
15402         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15403         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15404         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15405         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15406         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15407         volatile.
15408         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15409         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15410         math_narrow_eval.
15411         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15412         Likewise.
15413         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15414         Likewise.
15415         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15416         Likewise.
15417         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15418         volatile.
15419         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15420         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15421         math_narrow_eval.
15422         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15423         Likewise.
15424         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15425         Likewise.
15427 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15429         * nptl/Versions: Remove ignored symbols.
15431 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15433         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15434         * nss/Makefile (tests): Update.
15436 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15438         * nss/bug18287.c: New file.
15439         * nss/Makefile (tests): Add bug18287.
15441 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15443         * mach/Versions (__mach_host_self_): Add symbol.
15445 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15447         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15448         vm_page_size.
15450 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15452         Really fix sysdeps/i386/fpu/s_scalbn.S build
15454         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15455         (libc: GLIBC_2_22): Remove unused version set.
15457 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15459         * config.make.in (enable-timezone-tools): New variable.
15460         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15461         (enable_timezone_tools): Export to generated files.
15462         * configure: Regenerate.
15463         * INSTALL: Regenerate.
15464         * manual/install.texi (--disable-timezone-tools): Document new flag.
15465         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15466         ifeq ($(enable-timezone-tools),yes) check.
15468 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15470         * timezone/Makefile: Revert previous change.
15472         [BZ #18980]
15473         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15474         (DEFINE_DBL_MIN): Likewise.
15475         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15476         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15477         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15478         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15479         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15480         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15481         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15482         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15483         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15484         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15485         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15486         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15487         (flt_min): Replace with use of DEFINE_FLT_MIN.
15488         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15489         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15490         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15491         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15492         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15493         (flt_min): Replace with use of DEFINE_FLT_MIN.
15494         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15495         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15496         (flt_min): Replace with use of DEFINE_FLT_MIN.
15497         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15498         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15499         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15500         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15501         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15502         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15503         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15504         (__ieee754_pow): Use DBL_NARROW_EVAL.
15505         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15506         (__ieee754_powf): Use FLT_NARROW_EVAL.
15507         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15508         (__ieee754_expf_sse2): Convert double-precision result to single
15509         precision.
15510         * sysdeps/i386/fpu/libm-test-ulps: Update.
15512 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15514         * timezone/Makefile: Ignore unused variable errors due to private.h
15515         (time_t_min) and (time_t_max).
15516         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15517         Likewise.
15519 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15521         [BZ #18981]
15522         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15523         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15524         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15525         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15526         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15527         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15528         (__scalbn): Use DBL_NARROW_EVAL.
15529         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15530         (__scalbnf): Use FLT_NARROW_EVAL.
15532 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15534         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15535         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15536         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15537         * stdio-common/printf_fp.c (___printf_fp):
15538         Use signbit to get the sign. Use isinf macro to allow inlining.
15539         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15540         * stdio-common/printf_size.c (__printf_size): Likewise.
15542 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15544         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15546 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15548         [BZ #18980]
15549         * sysdeps/generic/math_private.h: Include <float.h>.
15550         (math_narrow_eval): New macro.
15551         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15552         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15553         math_narrow_eval on overflowing return value.
15554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15555         Likewise.
15556         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15557         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15559         Likewise.
15560         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15562 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15564         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15565         * math/Makefile: Remove isinf_ns.c.
15566         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15567         * math/multc3.c (__multc3): Likewise.
15568         * math/s_casin.c (__casin): Likewise.
15569         * math/s_casinf.c (__casinf): Likewise.
15570         * math/s_casinl.c (__casinl): Likewise.
15571         * math/s_cproj.c (__cproj): Likewise.
15572         * math/s_cprojf.c (__cprojf): Likewise.
15573         * math/s_cprojl.c (__cprofl): Likewise.
15574         * math/s_ctan.c (__ctan): Likewise.
15575         * math/s_ctanf.c (__ctanf): Likewise.
15576         * math/s_ctanh.c (__ctanh): Likewise.
15577         * math/s_ctanhf.c (__ctanhf): Likewise.
15578         * math/s_ctanhl.c (__ctanhl): Likewise.
15579         * math/s_ctanl.c (__ctanl): Likewise.
15580         * math/w_fmod.c (__fmod): Likewise.
15581         * math/w_fmodf.c (__fmodf): Likewise.
15582         * math/w_fmodl.c (_fmodl): Likewise.
15583         * math/w_remainder.c (__remainder): Likewise.
15584         * math/w_remainderf.c (__remainderf): Likewise.
15585         * math/w_remainderl.c (__remainderl): Likewise.
15586         * math/w_scalb.c (__scalb): Likewise.
15587         * math/w_scalbf.c (__scalbf): Likewise.
15588         * math/w_scalbl.c (__scalbl): Likewise.
15589         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15590         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15591         with isinf.
15592         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15594         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15595         __isinf_nsf with isinf.
15596         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15597         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15598         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15599         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15600         with isinf.
15601         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15602         __isinf_nsl with isinf.
15603         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15604         with isinf.
15605         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15606         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15607         __isinf_nsl with isinf.
15608         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15609         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15610         with isinf.
15612 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15614         * resolv/base64.c (rcsid): Remove unused static.
15615         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15616         static.  (tqpi1): Likewise.
15617         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15618         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15619         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15620         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15621         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15622         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15623         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15624         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15625         Likewise.
15627 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15629         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15630         <nptl/pthreadP.h>.
15631         (_longjmp_unwind): Use __libc_ptf_call.
15632         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15634 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15636         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15637         * sysdeps/arm/__longjmp.S: Likewise.
15639 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15641         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15642         Use __builtin_signbit.
15643         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15644         Use __builtin_signbitf.
15645         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15646         Use __builtin_signbitl.
15647         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15648         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15650 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15652         [BZ #15367]
15653         [BZ #17441]
15655         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15656         * math/math.h (fpclassify): Use __builtin_fpclassify when
15657         available.  (signbit): Use __builtin_signbit(f/l).
15658         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15659         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15660         (isinf): Use __builtin_isinf_sign.
15662 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15664         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15665         * benchtests/bench-math-inlines.c: New benchmark.
15666         * benchtests/bench-util.h: New file.
15667         * benchtests/bench-util.c: New file.
15668         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15670 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15672         * elf/tst-dlmopen1.c: Define TEST_SO.
15673         (do_test): Use TEST_SO.
15675         * elf/dl-load.c: Include libc-internal.h.
15676         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15678 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15680         [BZ #17887]
15681         * time/strptime_l.c (__strptime_internal): Make %z accept
15682         [+-]HH:MM time zones.
15684 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15686         [BZ #17886]
15687         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15688         valid time zone.
15690 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15692         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15693         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15694         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15695         (__ASSUME_FDATASYNC): Delete.
15697 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15699         * conform/linknamespace.pl: Require weak undefined symbols to be
15700         in the standard namespace.
15701         (%strong_syms): Rename to %seen_syms.
15702         (%strong_seen): Rename to %seen_where.
15704 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15706         [BZ #18970]
15707         * misc/error.c (error): Replace pthread_setcancelstate with
15708         __pthread_setcancelstate.
15709         (error_at_line): Likewise.
15710         * posix/wordexp.c (parse_comm): Likewise.
15711         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15712         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15713         (__pthread_setcancelstate): This.
15714         (pthread_setcancelstate): Add an alias.
15715         * nptl/nptl-init.c (pthread_functions): Replace
15716         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15717         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15718         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15719         hidden_proto.
15720         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15721         it with hidden_def.
15722         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15723         (pthread_setcancelstate): Renamed to ...
15724         (__pthread_setcancelstate): This.
15725         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15726         __libc_ptf_call with __pthread_setcancelstate.
15728 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15729             Andreas Schwab  <schwab@suse.de>
15731         [BZ #17118]
15732         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15733         result when imaginary part of argument is infinite using sine and
15734         cosine.
15735         * math/s_ctanf.c (__ctanf): Likewise.
15736         * math/s_ctanl.c (__ctanl): Likewise.
15737         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15738         of result when real part of argument is infinite using sine and
15739         cosine.
15740         * math/s_ctanhf.c (__ctanhf): Likewise.
15741         * math/s_ctanhl.c (__ctanhl): Likewise.
15742         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15743         (ctanh_test_data): Add more tests of ctanh.
15745 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15747         [BZ #15384]
15748         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15749         bit-mask as in subtraction.
15750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15751         Likewise.
15752         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15753         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15754         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15756         [BZ #18951]
15757         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15758         underflow exception for small results.
15759         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15760         Likewise.
15761         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15762         Likewise.
15763         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15764         Likewise.
15765         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15766         Likewise.
15767         * math/auto-libm-test-in: Add more tests of tgamma.
15768         * math/auto-libm-test-out: Regenerated.
15770 2015-09-17  Andreas Schwab  <schwab@suse.de>
15772         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15774 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15776         [BZ #18977]
15777         * math/bits/mathcalls.h
15778         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15779         not declare.
15780         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15781         Likewise.
15782         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15783         Likewise.
15784         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15785         Likewise.
15786         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15787         Likewise.
15788         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15789         Likewise.
15790         * conform/data/math.h-data
15791         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15792         function.
15793         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15794         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15795         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15796         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15797         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15798         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15799         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15800         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15801         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15802         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15803         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15805         [BZ #6803]
15806         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15807         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15808         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15809         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15810         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15811         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15812         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15813         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15814         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15815         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15816         Likewise.
15817         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15818         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15819         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15820         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15821         long_double_symbol calls.
15822         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15823         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15824         strong alias of __ldexpl.
15825         (scalbnl): Define using long_double_symbol.
15826         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15827         Remove alias.
15828         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15829         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15830         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15831         (scalbln_test_data): Add more errno expectations.
15833 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15835         Cache the host port like we cache the task port.  This way we do not
15836         need to call the kernel just to get the port.  Furthermore, we no
15837         longer increase the reference count on every invocation of
15838         `mach_host_self'.
15840         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15841         Protect declarations against the macro expansion.
15842         * mach/mach_init.c (__mach_host_self_): New variable.
15843         (mach_init): Initialize `__mach_host_self_'.
15844         * mach/mach_init.h (__mach_host_self_): New declaration.
15845         (__mach_host_self, mach_host_self): New macros.
15846         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15847         Release reference.
15849 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15851         [BZ #4404]
15852         * po/de.po: Update from Translation Project.
15854         [BZ #16415]
15855         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15856         (__expm1l): Remove code to handle positive infinity and overflow.
15857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15858         variable.
15859         (__expm1l): Remove code to handle positive infinity and overflow.
15861 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15862             Paul Pluzhnikov  <ppluzhnikov@google.com>
15864         [BZ #18872]
15865         * stdio-common/Makefile (tst-printf-bz18872): New test.
15866         (tst-printf-bz18872-mem.out): Likewise.
15867         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15868         * stdio-common/vfprintf.c: Fix memory leaks.
15870 2015-09-16  Andreas Schwab  <schwab@suse.de>
15872         [BZ #17244]
15873         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15874         Remove extra va_start/va_end calls.
15876         [BZ #17243]
15877         * posix/execl.c (execl): Add missing va_end.
15878         * posix/execle.c (execle): Likewise.
15879         * posix/execlp.c (execlp): Likewise.
15881 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15883         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15884         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15886 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15888         [BZ #18967]
15889         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15890         undefine around includes of <bits/mathcalls.h>.
15891         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15892         not declare function.
15893         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15894         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15895         (scalb): Likewise.
15896         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15897         not define macro.
15898         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15899         variable.
15900         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15901         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15902         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15904         [BZ #18857]
15905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15906         return non-finite argument without doing ordered comparisons on
15907         it.
15909         [BZ #16296]
15910         * math/fenv.h (fegetround): Use __attribute_pure__.
15911         * include/fenv.h (__fegetround): Likewise.
15913         [BZ #18595]
15914         * math/s_ctan.c (__ctan): Force underflow exception for results
15915         whose real or imaginary part has small absolute value.
15916         * math/s_ctanf.c (__ctanf): Likewise.
15917         * math/s_ctanh.c (__ctanh): Likewise.
15918         * math/s_ctanhf.c (__ctanhf): Likewise.
15919         * math/s_ctanhl.c (__ctanhl): Likewise.
15920         * math/s_ctanl.c (__ctanl): Likewise.
15921         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15922         and ctanh.  Add more tests of ctan and ctanh.
15924         [BZ #15918]
15925         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15926         handling of cases where one argument is an infinity.
15928         [BZ #18875]
15929         [BZ #18966]
15930         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15931         (MO): New macro.
15932         (__ieee754_exp10): For small results, force underflow exception
15933         and remove excess range and precision from return value.
15934         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15935         (MO): New macro.
15936         (__ieee754_exp10f): For small results, force underflow exception
15937         and remove excess range and precision from return value.
15938         * math/auto-libm-test-in: Add more tests of exp10.
15939         * math/auto-libm-test-out: Regenerated.
15941 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15943         [BZ #18875]
15944         [BZ #18961]
15945         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15946         (MO): New macro.
15947         (__ieee754_exp): For small results, force underflow exception and
15948         remove excess range and precision from return value.
15949         (__exp_finite): Likewise.
15950         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15951         (MO): New macro.
15952         (__ieee754_expf): For small results, force underflow exception and
15953         remove excess range and precision from return value.
15954         (__expf_finite): Likewise.
15955         * math/auto-libm-test-in: Add more tests of exp.
15956         * math/auto-libm-test-out: Regenerated.
15958         [BZ #16521]
15959         [BZ #18875]
15960         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15961         small results.
15962         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15963         (MO): New macro.
15964         (__ieee754_exp2): For small results, force underflow exception and
15965         remove excess range and precision from return value.
15966         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15967         (MO): New macro.
15968         (__ieee754_exp2f): For small results, force underflow exception
15969         and remove excess range and precision from return value.
15970         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15971         (MO): New macro.
15972         (__ieee754_exp2l): Force underflow exception for small results.
15973         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15974         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15975         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15976         (MO): New macro.
15977         (__ieee754_exp2l): Force underflow exception for small results.
15978         * math/auto-libm-test-in: Add more tests or exp2.
15979         * math/auto-libm-test-out: Regenerated.
15981 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15983         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15985         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15986         /dev/null.
15988 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15990         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15991         io fs process)): Drop spurious backslash.
15993 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15996         Use sysinfo system call instead of parsing /proc/meminfo.
15997         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15998         Likewise.
16000 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16002         [BZ #16985]
16003         * programs/localedef.c (main): Display argv[remaining] when
16004         output_path is NULL.
16006 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16008         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16009         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16010         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16011         tanh.
16012         * math/auto-libm-test-out: Regenerated.
16013         * sysdeps/i386/fpu/libm-test-ulps: Update.
16014         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16015         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16018 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16020         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16021         Use 'override' keyword to freeze the value here, preventing
16022         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16024 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16026         [BZ #14912]
16027         * sysdeps/aarch64/bits/atomic.h: Move to ...
16028         * sysdeps/aarch64/atomic-machine.h: ...here.
16029         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16030         _AARCH64_ATOMIC_MACHINE_H.
16031         * sysdeps/alpha/bits/atomic.h: Move to ...
16032         * sysdeps/alpha/atomic-machine.h: ...here.
16033         * sysdeps/arm/bits/atomic.h: Move to ...
16034         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16035         * bits/atomic.h: Move to ...
16036         * sysdeps/generic/atomic-machine.h: ...here.
16037         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16038         * sysdeps/i386/bits/atomic.h: Move to ...
16039         * sysdeps/i386/atomic-machine.h: ...here.
16040         * sysdeps/ia64/bits/atomic.h: Move to ...
16041         * sysdeps/ia64/atomic-machine.h: ...here.
16042         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16043         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16044         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16045         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16046         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16047         * sysdeps/microblaze/bits/atomic.h: Move to ...
16048         * sysdeps/microblaze/atomic-machine.h: ...here.
16049         * sysdeps/mips/bits/atomic.h: Move to ...
16050         * sysdeps/mips/atomic-machine.h: ...here.
16051         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16052         * sysdeps/powerpc/bits/atomic.h: Move to ...
16053         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16054         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16055         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16056         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16057         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16058         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16059         <atomic-machine.h> instead of <bits/atomic.h>.
16060         * sysdeps/s390/bits/atomic.h: Move to ...
16061         * sysdeps/s390/atomic-machine.h: ...here.
16062         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16063         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16064         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16065         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16066         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16067         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16068         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16069         * sysdeps/tile/bits/atomic.h: Move to ...
16070         * sysdeps/tile/atomic-machine.h: ...here.
16071         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16072         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16073         <sysdeps/tile/atomic-machine.h> instead of
16074         <sysdeps/tile/bits/atomic.h>.
16075         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16076         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16077         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16078         <sysdeps/tile/atomic-machine.h> instead of
16079         <sysdeps/tile/bits/atomic.h>.
16080         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16081         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16082         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16083         <sysdeps/arm/atomic-machine.h> instead of
16084         <sysdeps/arm/bits/atomic.h>.
16085         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16086         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16087         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16088         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16089         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16090         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16091         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16092         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16093         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16094         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16095         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16096         * sysdeps/x86_64/bits/atomic.h: Move to ...
16097         * sysdeps/x86_64/atomic-machine.h: ...here.
16098         * include/atomic.h: Include <atomic-machine.h> instead of
16099         <bits/atomic.h>.
16101         * sysdeps/mips/mips32/libm-test-ulps: Update.
16102         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16104         [BZ #18952]
16105         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16106         not convert non-integer negative arguments to int to determine the
16107         value of signgam.
16108         * math/auto-libm-test-in: Add more tests of lgamma.
16109         * math/auto-libm-test-out: Regenerated.
16111         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16112         cosh, csqrt, erfc, expm1 and lgamma.
16113         * math/auto-libm-test-out: Regenerated.
16114         * sysdeps/i386/fpu/libm-test-ulps: Update.
16115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16117 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16119         [BZ #2542]
16120         [BZ #2543]
16121         [BZ #2558]
16122         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16123         __lgamma_neg for arguments from -28.0 to -2.0.
16124         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16125         __lgamma_negf for arguments from -15.0 to -2.0.
16126         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16127         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16128         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16129         Call __lgamma_negl for arguments from -33.0 to -2.0.
16130         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16131         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16132         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16133         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16134         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16135         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16136         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16137         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16138         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16139         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16140         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16141         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16142         (__lgamma_neg): Likewise.
16143         (__lgamma_negl): Likewise.
16144         (__lgamma_product): Likewise.
16145         (__lgamma_productl): Likewise.
16146         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16147         * math/auto-libm-test-in: Add more tests of lgamma.
16148         * math/auto-libm-test-out: Regenerated.
16149         * sysdeps/i386/fpu/libm-test-ulps: Update.
16150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16152 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16154         [BZ #18675]
16155         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16157 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16159         [BZ #14912]
16160         * bits/libc-lock.h: Move to ...
16161         * sysdeps/generic/libc-lock.h: ...here.
16162         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16163         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16164         * sysdeps/mach/hurd/libc-lock.h: ...here.
16165         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16166         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16167         * sysdeps/mach/bits/libc-lock.h: Move to ...
16168         * sysdeps/mach/libc-lock.h: ...here.
16169         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16170         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16171         * sysdeps/nptl/libc-lock.h: ...here.
16172         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16173         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16174         * sysdeps/nptl/libc-lockP.h: ...here.
16175         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16176         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16177         <bits/libc-lock.h>.
16178         * dirent/scandir-tail.c: Likewise.
16179         * dlfcn/dlerror.c: Likewise.
16180         * elf/dl-close.c: Likewise.
16181         * elf/dl-iteratephdr.c: Likewise.
16182         * elf/dl-lookup.c: Likewise.
16183         * elf/dl-open.c: Likewise.
16184         * elf/dl-support.c: Likewise.
16185         * elf/dl-writev.h: Likewise.
16186         * elf/rtld.c: Likewise.
16187         * grp/fgetgrent.c: Likewise.
16188         * gshadow/fgetsgent.c: Likewise.
16189         * gshadow/sgetsgent.c: Likewise.
16190         * iconv/gconv_conf.c: Likewise.
16191         * iconv/gconv_db.c: Likewise.
16192         * iconv/gconv_dl.c: Likewise.
16193         * iconv/gconv_int.h: Likewise.
16194         * iconv/gconv_trans.c: Likewise.
16195         * include/link.h: Likewise.
16196         * inet/getnameinfo.c: Likewise.
16197         * inet/getnetgrent.c: Likewise.
16198         * inet/getnetgrent_r.c: Likewise.
16199         * intl/bindtextdom.c: Likewise.
16200         * intl/dcigettext.c: Likewise.
16201         * intl/finddomain.c: Likewise.
16202         * intl/gettextP.h: Likewise.
16203         * intl/loadmsgcat.c: Likewise.
16204         * intl/localealias.c: Likewise.
16205         * intl/textdomain.c: Likewise.
16206         * libidn/idn-stub.c: Likewise.
16207         * libio/libioP.h: Likewise.
16208         * locale/duplocale.c: Likewise.
16209         * locale/freelocale.c: Likewise.
16210         * locale/newlocale.c: Likewise.
16211         * locale/setlocale.c: Likewise.
16212         * login/getutent_r.c: Likewise.
16213         * login/getutid_r.c: Likewise.
16214         * login/getutline_r.c: Likewise.
16215         * login/utmp-private.h: Likewise.
16216         * login/utmpname.c: Likewise.
16217         * malloc/mtrace.c: Likewise.
16218         * misc/efgcvt.c: Likewise.
16219         * misc/error.c: Likewise.
16220         * misc/fstab.c: Likewise.
16221         * misc/getpass.c: Likewise.
16222         * misc/mntent.c: Likewise.
16223         * misc/syslog.c: Likewise.
16224         * nis/nis_call.c: Likewise.
16225         * nis/nis_callback.c: Likewise.
16226         * nis/nss-default.c: Likewise.
16227         * nis/nss_compat/compat-grp.c: Likewise.
16228         * nis/nss_compat/compat-initgroups.c: Likewise.
16229         * nis/nss_compat/compat-pwd.c: Likewise.
16230         * nis/nss_compat/compat-spwd.c: Likewise.
16231         * nis/nss_nis/nis-alias.c: Likewise.
16232         * nis/nss_nis/nis-ethers.c: Likewise.
16233         * nis/nss_nis/nis-grp.c: Likewise.
16234         * nis/nss_nis/nis-hosts.c: Likewise.
16235         * nis/nss_nis/nis-network.c: Likewise.
16236         * nis/nss_nis/nis-proto.c: Likewise.
16237         * nis/nss_nis/nis-pwd.c: Likewise.
16238         * nis/nss_nis/nis-rpc.c: Likewise.
16239         * nis/nss_nis/nis-service.c: Likewise.
16240         * nis/nss_nis/nis-spwd.c: Likewise.
16241         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16242         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16243         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16244         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16245         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16246         * nis/nss_nisplus/nisplus-network.c: Likewise.
16247         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16248         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16249         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16250         * nis/nss_nisplus/nisplus-service.c: Likewise.
16251         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16252         * nis/ypclnt.c: Likewise.
16253         * nptl/libc_pthread_init.c: Likewise.
16254         * nss/getXXbyYY.c: Likewise.
16255         * nss/getXXent.c: Likewise.
16256         * nss/getXXent_r.c: Likewise.
16257         * nss/nss_db/db-XXX.c: Likewise.
16258         * nss/nss_db/db-netgrp.c: Likewise.
16259         * nss/nss_db/nss_db.h: Likewise.
16260         * nss/nss_files/files-XXX.c: Likewise.
16261         * nss/nss_files/files-alias.c: Likewise.
16262         * nss/nsswitch.c: Likewise.
16263         * posix/regex_internal.h: Likewise.
16264         * posix/wordexp.c: Likewise.
16265         * pwd/fgetpwent.c: Likewise.
16266         * resolv/res_hconf.c: Likewise.
16267         * resolv/res_libc.c: Likewise.
16268         * shadow/fgetspent.c: Likewise.
16269         * shadow/lckpwdf.c: Likewise.
16270         * shadow/sgetspent.c: Likewise.
16271         * socket/opensock.c: Likewise.
16272         * stdio-common/reg-modifier.c: Likewise.
16273         * stdio-common/reg-printf.c: Likewise.
16274         * stdio-common/reg-type.c: Likewise.
16275         * stdio-common/vfprintf.c: Likewise.
16276         * stdio-common/vfscanf.c: Likewise.
16277         * stdlib/abort.c: Likewise.
16278         * stdlib/cxa_atexit.c: Likewise.
16279         * stdlib/fmtmsg.c: Likewise.
16280         * stdlib/random.c: Likewise.
16281         * stdlib/setenv.c: Likewise.
16282         * string/strsignal.c: Likewise.
16283         * sunrpc/auth_none.c: Likewise.
16284         * sunrpc/bindrsvprt.c: Likewise.
16285         * sunrpc/create_xid.c: Likewise.
16286         * sunrpc/key_call.c: Likewise.
16287         * sunrpc/rpc_thread.c: Likewise.
16288         * sysdeps/arm/backtrace.c: Likewise.
16289         * sysdeps/generic/ldsodefs.h: Likewise.
16290         * sysdeps/generic/stdio-lock.h: Likewise.
16291         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16292         * sysdeps/i386/backtrace.c: Likewise.
16293         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16294         * sysdeps/m68k/backtrace.c: Likewise.
16295         * sysdeps/mach/hurd/cthreads.c: Likewise.
16296         * sysdeps/mach/hurd/dirstream.h: Likewise.
16297         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16298         * sysdeps/nptl/malloc-machine.h: Likewise.
16299         * sysdeps/nptl/stdio-lock.h: Likewise.
16300         * sysdeps/posix/dirstream.h: Likewise.
16301         * sysdeps/posix/getaddrinfo.c: Likewise.
16302         * sysdeps/posix/system.c: Likewise.
16303         * sysdeps/pthread/aio_suspend.c: Likewise.
16304         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16305         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16306         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16307         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16308         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16309         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16310         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16311         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16312         * sysdeps/unix/sysv/linux/system.c: Likewise.
16313         * sysdeps/x86_64/backtrace.c: Likewise.
16314         * time/alt_digit.c: Likewise.
16315         * time/era.c: Likewise.
16316         * time/tzset.c: Likewise.
16317         * wcsmbs/wcsmbsload.c: Likewise.
16318         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16319         instead of <bits/libc-lock.h> in comment.
16321 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16323         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16324         Only use .set mips2 if the current ISA is below mips2.
16325         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16326         Likewise.
16327         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16328         mips32r2 if the current ISA is below mips32r2.
16329         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16330         (TLS_IE): Updated to use the TLD_RDHWR macro.
16331         (TLS_LE): Likewise.
16332         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16333         __ASSEMBLER__ condition.
16335 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16337         Fix parallel build of before-compile targets.
16339         * sysdeps/mach/Makefile ($(patsubst
16340         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16341         mach-before-compile target.
16342         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16343         io fs process)): Move rule to dedicated hurd-before-compile target.
16345 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16347         Fix rules generating headers in hurd/ and mach/ when initial make call
16348         has subdir= explicitly set.
16350         * sysdeps/mach/Makefile ($(patsubst
16351         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16352         calling $(MAKE).
16353         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16354         io fs process)): Force subdir to hurd when calling $(MAKE).
16355         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16356         subdir to mach when calling $(MAKE).
16358 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16360         Check sysheaders when looking for Mach and Hurd headers
16362         * sysdeps/mach/configure.ac: Add sysheaders check.
16363         * sysdeps/mach/configure: Regenerate.
16364         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16365         * sysdeps/mach/hurd/configure: Regenerate.
16367 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16369         [BZ #18921]
16370         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16371         Fix inverted sense of test of 'o_directory_works' value.
16372         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16373         Bernhard Voelker <mail@bernhard-voelker.de>.
16375 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16377         [BZ #14912]
16378         * bits/linkmap.h: Move to ...
16379         * sysdeps/generic/linkmap.h: ...here.
16380         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16381         * sysdeps/aarch64/linkmap.h: ...here.
16382         * sysdeps/arm/bits/linkmap.h: Move to ...
16383         * sysdeps/arm/linkmap.h: ...here.
16384         * sysdeps/hppa/bits/linkmap.h: Move to ...
16385         * sysdeps/hppa/linkmap.h: ...here.
16386         * sysdeps/ia64/bits/linkmap.h: Move to ...
16387         * sysdeps/ia64/linkmap.h: ...here.
16388         * sysdeps/mips/bits/linkmap.h: Move to ...
16389         * sysdeps/mips/linkmap.h: ...here.
16390         * sysdeps/s390/bits/linkmap.h: Move to ...
16391         * sysdeps/s390/linkmap.h: ...here.
16392         * sysdeps/sh/bits/linkmap.h: Move to ...
16393         * sysdeps/sh/linkmap.h: ...here.
16394         * sysdeps/x86/bits/linkmap.h: Move to ...
16395         * sysdeps/x86/linkmap.h: ...here.
16396         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16398 2015-09-04  Andreas Schwab  <schwab@suse.de>
16400         [BZ #18635]
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16402         (__makecontext): Terminate FDE before return label.
16403         (__novec_makecontext): Likewise.
16405 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16407         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16408         first member of struct sv in syscall macro.
16410 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16412         [BZ #14912]
16413         * bits/stdio-lock.h: Move to ...
16414         * sysdeps/generic/stdio-lock.h: ...here.
16415         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16416         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16417         * sysdeps/nptl/stdio-lock.h: ...here.
16418         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16419         * include/libio.h: Include <stdio-lock.h> instead of
16420         <bits/stdio-lock.h>.
16421         * sysdeps/nptl/fork.c: Likewise.
16422         * sysdeps/pthread/flockfile.c: Likewise.
16423         * sysdeps/pthread/ftrylockfile.c: Likewise.
16424         * sysdeps/pthread/funlockfile.c: Likewise.
16426         [BZ #14912]
16427         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16428         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16429         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16430         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16431         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16432         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16433         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16435 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16437         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16438         (test-xfail-tst-protected1b): New variable.
16440 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16442         [BZ #14912]
16443         * bits/libc-tsd.h: Move to ...
16444         * sysdeps/generic/libc-tsd.h: ...here.
16445         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16446         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16447         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16448         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16449         * include/ctype.h: Include <libc-tsd.h> instead of
16450         <bits/libc-tsd.h>.
16451         * include/rpc/rpc.h: Likewise.
16452         * locale/localeinfo.h: Likewise.
16453         * sunrpc/rpc_thread.c: Likewise.
16454         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16455         * sysdeps/nptl/malloc-machine.h: Likewise.
16457         * Makefile (headers): Remove bits/libc-lock.h.
16458         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16460         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16461         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16462         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16463         <bits/stdio-lock.h>.
16464         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16465         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16467 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16469         [BZ #18757]
16470         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16471         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16472         BZ #18757.
16474 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16476         * malloc/mtrace.pl: Filter out NULL entries.
16478 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16480         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16481         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16482         macro.
16484         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16485         (TCP_CC_INFO): Likewise.
16486         (TCP_SAVE_SYN): Likewise.
16487         (TCP_SAVED_SYN): Likewise.
16489 2015-08-31  Brett Neumeier <brett@neumeier.us>
16491         [BZ #18870]
16492         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16494 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16496         [BZ #18873]
16497         Fix broken overflow check in posix_fallocate
16498         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16499         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16500         Fix parenthesization typo.
16502 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16504         [BZ #18887]
16505         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16506         tst-mntent-blank-passno.
16507         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16508         * misc/tst-mntent-blank-corrupt.c: New test.
16509         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16510         * misc/tst-mntent.c (do_test): ... here.
16512 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16514         [BZ #4404]
16515         * po/de.po: Fix SIGALRM typo.
16517 2015-08-28  James Perkins  <james@loowit.net>
16519         * time/tst-strptime2.c (tests): Replace short list of test
16520         strings for strptime %z specifier with code which exhaustively
16521         tests every combination of sign and 0 to 5 digits. Tests for
16522         rejection of invalid strings.
16524 2015-08-28  James Perkins  <james@loowit.net>
16526         [BZ #16141]
16527         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16528         calculation, removing incorrect decimal time rounding, so that
16529         all minute values result in a valid seconds value.
16530         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16531         offset range limits to UTC-99:59 through UTC+99:59 to parse
16532         current and historical use cases.
16533         * time/tst-strptime2.c (tests): Modify and add tests for the
16534         strptime %z input field descriptor, specifically conversion of
16535         minutes to seconds and validating an offset range of -9959 to
16536         +9959.
16538 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16539             Dmitry V. Levin  <ldv@altlinux.org>
16541         [BZ #18877]
16542         * posix/Makefile (tests): Add tst-mmap-offset.
16543         * posix/tst-mmap.c: New file.
16544         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16545         offset calculation for negative values.
16547 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16549         * sysdeps/i386/init-arch.h: New file.
16550         * sysdeps/i386/i586/init-arch.h: Likewise.
16551         * sysdeps/i386/i686/init-arch.h: Likewise.
16552         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16553         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16554         * sysdeps/x86/cpu-features.h (bit_I586): New.
16555         (bit_I686): Likewise.
16556         (bit_CX8): Likewise.
16557         (bit_CMOV): Likewise.
16558         (index_CX8): Likewise.
16559         (index_CMOV): Likewise.
16560         (index_I586): Likewise.
16561         (index_I686): Likewise.
16562         (reg_CX8): Likewise.
16563         (reg_CMOV): Likewise.
16564         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16565         available at compile-time.
16566         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16567         available at compile-time.
16568         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16569         (USE_I686): Likewise.
16571 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16573         * sysdeps/i386/bcopy.S: New file.
16574         * sysdeps/i386/bzero.S: Likewise.
16575         * sysdeps/i386/memcpy.S: Likewise.
16576         * sysdeps/i386/memmove.S: Likewise.
16577         * sysdeps/i386/mempcpy.S: Likewise.
16578         * sysdeps/i386/memset.S: Likewise.
16579         * sysdeps/i386/bzero.c: Removed.
16580         * sysdeps/i386/memset.c: Likewise.
16581         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16582         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16583         * sysdeps/i386/i586/memset_chk.S: Likewise.
16584         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16585         * sysdeps/i386/memcpy_chk.S: Here.
16586         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16587         * sysdeps/i386/memmove_chk.S: Here.
16588         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16589         * sysdeps/i386/mempcpy_chk.S: Likewise.
16590         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16591         * sysdeps/i386/memset_chk.S: Likewise.
16593 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16595         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16596         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16597         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16598         * soft-fp/fmadf4.c: Ditto.
16599         * soft-fp/fmatf4.c: Ditto.
16601 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16603         * sysdeps/i386/i586/Implies: Removed.
16604         * sysdeps/i386/i686/Implies: Likewise.
16606 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16608         * sysdeps/i386/i486/strlen.S: Moved to ...
16609         * sysdeps/i386/strlen.S: Here.
16611 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16613         * sysdeps/i386/i486/strcat.S: Moved to ...
16614         * sysdeps/i386/strcat.S: Here.
16616 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16618         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16619         * sysdeps/i386/pthread_spin_trylock.S: Here.
16620         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16621         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16623 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16625         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16626         * sysdeps/i386/string-inlines.c: Here.
16628 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16630         * sysdeps/i386/i486/htonl.S: Moved ...
16631         * sysdeps/i386/htonl.S: here.
16633 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16635         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16636         * sysdeps/i386/bits/atomic.h: Here.
16638 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16640         * sysdeps/i386/i486/Versions: Removed.
16642 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16644         [BZ #2898]
16645         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16646         Based on patch by Aurelien Jarno.
16648 2015-08-26  Stan Shebs  <stanshebs@google.com>
16650         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16651         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16653 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16655         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16656         * sysdeps/powerpc/dl-procinfo.c:
16657         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16658         feature so it shows when LD_SHOW_AUXV=1.
16660 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16662         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16663         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16664         definition.  ISA 2.07B no longer requires full sync.
16666 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16668         [BZ #18863]
16669         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16670         (si_call_addr): Define.
16671         (si_syscall): Define.
16672         (si_arch): Define.
16674 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16676         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16677         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16678         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16679         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16680         (__memset_zero_constant_len_parameter): New.
16681         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16682         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16683         (__memset_zero_constant_len_parameter): Don't define if
16684         __memset_chk or USE_AS_BZERO are defined.
16686         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16687         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16688         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16690         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16691         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16692         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16693         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16694         comments.
16695         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16696         -mno-mmx for $(all-rtld-routines).
16697         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16698         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16699         i386.
16701 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16703         * sysdeps/generic/unwind.h
16704         (_Unwind_Word): Use __mode__(__unwind_word__)
16705         instead of __mode__(__word__).
16706         (_Unwind_Sword): Likewise.
16708         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16709         (MAX_NEEDED_INPUT): New define.
16710         (MAX_NEEDED_OUTPUT): New define.
16712         * NEWS: New item for IBM z13 string optimizations.
16714         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16715         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16716         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16717         * sysdeps/s390/multiarch/Makefile
16718         (sysdep_routines): Add memrchr functions.
16719         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16720         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16722         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16723         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16724         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16725         * sysdeps/s390/multiarch/Makefile
16726         (sysdep_routines): Add wmemcmp functions.
16727         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16728         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16729         * benchtests/bench-wmemcmp.c: New File.
16730         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16732         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16733         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16734         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16735         * sysdeps/s390/multiarch/Makefile
16736         (sysdep_routines): Add wmemset functions.
16737         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16738         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16739         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16740         * string/test-memset.c: Add wmemset support.
16741         * wcsmbs/test-wmemset.c: New File.
16742         * wcsmbs/Makefile (strop-tests): Add wmemset.
16743         * benchtests/bench-memset.c: Add wmemset support.
16744         * benchtests/bench-wmemset.c: New File.
16745         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16747         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16748         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16749         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16750         * sysdeps/s390/multiarch/Makefile
16751         (sysdep_routines): Add memccpy functions.
16752         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16753         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16754         * string/memccpy.c: Use MEMCCPY if defined.
16756         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16757         * sysdeps/s390/multiarch/memchr.c: Likewise.
16758         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16759         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16760         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16761         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16762         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16763         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16764         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16765         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16767         and rawmemchr functions.
16768         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16769         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16770         and wmemchr.
16771         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16772         * string/test-memchr.c: Add wmemchr support.
16773         * wcsmbs/test-wmemchr.c: New File.
16774         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16775         * benchtests/bench-memchr.c: Add wmemchr support.
16776         * benchtests/bench-wmemchr.c: New File.
16777         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16779         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16780         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16781         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16782         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16783         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16784         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16786         wcscspn functions.
16787         * sysdeps/s390/multiarch/ifunc-impl-list.c
16788         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16789         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16790         * string/test-strcspn.c: Add wcscspn support.
16791         * wcsmbs/test-wcscspn.c: New File.
16792         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16793         * benchtests/bench-strcspn.c: Add wcscspn support.
16794         * benchtests/bench-wcscspn.c: New File.
16795         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16797         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16798         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16799         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16800         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16801         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16802         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16804         wcspbrk functions.
16805         * sysdeps/s390/multiarch/ifunc-impl-list.c
16806         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16807         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16808         * string/test-strpbrk.c: Add wcspbrk support.
16809         * wcsmbs/test-wcspbrk.c: New File.
16810         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16811         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16812         * benchtests/bench-wcspbrk.c: New File.
16813         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16815         * sysdeps/s390/multiarch/strspn-c.c: New File.
16816         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16817         * sysdeps/s390/multiarch/strspn.c: Likewise.
16818         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16819         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16820         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16821         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16822         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16823         wcsspn functions.
16824         * sysdeps/s390/multiarch/ifunc-impl-list.c
16825         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16826         * string/test-strspn.c: Add wcsspn support.
16827         * wcsmbs/test-wcsspn.c: New File.
16828         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16829         * benchtests/bench-strspn.c: Add wcsspn support.
16830         * benchtests/bench-wcsspn.c: New File.
16831         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16833         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16834         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16835         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16836         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16837         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16838         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16840         wcsrchr functions.
16841         * sysdeps/s390/multiarch/ifunc-impl-list.c
16842         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16843         * benchtests/bench-wcsrchr.c: New File.
16844         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16846         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16847         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16848         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16849         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16850         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16851         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16853         wcschrnul functions.
16854         * sysdeps/s390/multiarch/ifunc-impl-list.c
16855         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16856         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16857         * string/test-strchr.c: Add wcschrnul support.
16858         * wcsmbs/test-wcschrnul.c: New File.
16859         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16860         * benchtests/bench-strchr.c: Add wcschrnul support.
16861         * benchtests/bench-wcschrnul.c: New File.
16862         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16864         * sysdeps/s390/multiarch/strchr-c.c: New File.
16865         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16866         * sysdeps/s390/multiarch/strchr.c: Likewise.
16867         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16868         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16869         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16870         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16871         wcschr functions.
16872         * sysdeps/s390/multiarch/ifunc-impl-list.c
16873         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16874         * string/strchr.c (STRCHR): Define and use macro.
16875         * benchtests/bench-wcschr.c: New File.
16876         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16878         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16879         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16880         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16881         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16882         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16883         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16885         wcsncmp functions.
16886         * sysdeps/s390/multiarch/ifunc-impl-list.c
16887         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16888         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16889         * benchtests/bench-strncmp.c: Add wcsncmp support.
16890         * benchtests/bench-wcsncmp.c: New File.
16891         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16893         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16894         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16895         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16896         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16897         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16898         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16899         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16900         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16901         wcscmp functions.
16902         * sysdeps/s390/multiarch/ifunc-impl-list.c
16903         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16904         * string/strcmp.c (STRCMP): Define and use macro.
16905         * benchtests/bench-wcscmp.c: New File.
16906         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16907         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16908         instead of _HAVE_STRING_ARCH_memchr.
16910         * sysdeps/s390/multiarch/strncat-c.c: New File.
16911         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16912         * sysdeps/s390/multiarch/strncat.c: Likewise.
16913         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16914         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16915         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16917         wcsncat functions.
16918         * sysdeps/s390/multiarch/ifunc-impl-list.c
16919         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16920         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16921         * string/test-strncat.c: Add wcsncat support.
16922         * wcsmbs/test-wcsncat.c: New File.
16923         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16924         * benchtests/bench-strncat.c: Add wcsncat support.
16925         * benchtests/bench-wcsncat.c: New File.
16926         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16928         * sysdeps/s390/multiarch/strcat-c.c: New File.
16929         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16930         * sysdeps/s390/multiarch/strcat.c: Likewise.
16931         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16932         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16933         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16934         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16935         wcscat functions.
16936         * sysdeps/s390/multiarch/ifunc-impl-list.c
16937         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16938         * string/strcat.c (STRCAT): Define and use macro.
16939         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16940         * string/test-strcat.c: Add wcscat support.
16941         * wcsmbs/test-wcscat.c: New File.
16942         * wcsmbs/Makefile (strop-tests): Add wcscat.
16943         * benchtests/bench-strcat.c: Add wcscat support.
16944         * benchtests/bench-wcscat.c: New File.
16945         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16947         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16948         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16949         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16950         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16951         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16952         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16954         wcpncpy functions.
16955         * sysdeps/s390/multiarch/ifunc-impl-list.c
16956         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16957         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16958         * string/test-stpncpy.c: Add wcpncpy support.
16959         * wcsmbs/test-wcpncpy.c: New File.
16960         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16961         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16962         * benchtests/bench-wcpncpy.c: New File.
16963         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16965         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16966         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16967         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16968         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16969         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16970         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16971         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16973         wcsncpy functions.
16974         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16975         * sysdeps/s390/multiarch/ifunc-impl-list.c
16976         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16977         * string/test-strncpy.c: Add wcsncpy support.
16978         * wcsmbs/test-wcsncpy.c: New File.
16979         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16980         * benchtests/bench-strncpy.c: Add wcsncpy support.
16981         * benchtests/bench-wcsncpy.c: New File.
16982         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16984         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16985         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16986         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16987         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16988         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16989         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16991         wcpcpy functions.
16992         * string/stpcpy.c: Use STPCPY if defined.
16993         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16994         * sysdeps/s390/multiarch/ifunc-impl-list.c
16995         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16996         * string/test-stpcpy.c: Add wcpcpy support.
16997         * wcsmbs/test-wcpcpy.c: New File.
16998         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16999         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17000         * benchtests/bench-wcpcpy.c: New File.
17001         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17003         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17004         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17005         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17006         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17007         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17008         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17009         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17010         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17011         wcscpy functions.
17012         * sysdeps/s390/multiarch/ifunc-impl-list.c
17013         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17014         * benchtests/bench-wcscpy.c: New File.
17015         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17017         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17018         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17019         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17020         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17021         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17022         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17024         wcsnlen functions.
17025         * sysdeps/s390/multiarch/ifunc-impl-list.c
17026         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17027         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17028         * string/test-strnlen.c: Add wcsnlen support.
17029         * wcsmbs/test-wcsnlen.c: New File.
17030         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17031         * benchtests/bench-strnlen.c: Add wcsnlen support.
17032         * benchtests/bench-wcsnlen.c: New File.
17033         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17035         * sysdeps/s390/multiarch/Makefile: New File.
17036         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17037         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17038         * sysdeps/s390/multiarch/strlen.c: Likewise.
17039         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17040         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17041         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17042         * string/strlen.c (STRLEN): Define and use macro.
17043         * sysdeps/s390/multiarch/ifunc-impl-list.c
17044         (IFUNC_VX_IMPL): New macro function.
17045         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17046         * benchtests/Makefile (wcsmbs-bench): New variable.
17047         (string-bench-all): Added wcsmbs-bench.
17048         * benchtests/bench-wcslen.c: New File.
17050         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17051         s390_vx_libc_ifunc2): New macro function.
17053         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17054         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17055         assembler support.
17056         * sysdeps/s390/configure: Regenerated.
17058         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17059         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17061         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17062         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17063         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17065         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17066         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17067         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17068         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17069         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17070         (memcmp, bcmp): Use __memcmp_default as alias source.
17071         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17072         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17073         Rename to __memcmp_default.
17074         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17075         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17076         (memcpy): Use __memcpy_default as alias source.
17077         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17078         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17079         Rename to __memcpy_default.
17080         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17081         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17082         (memset): Use __memset_default as alias source.
17083         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17084         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17085         Rename to __memset_default.
17086         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17087         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17088         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17089         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17090         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17091         (memcmp, bcmp): Use __memcmp_default as alias source.
17092         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17093         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17094         Rename to __memcmp_default.
17095         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17096         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17097         (memcpy): Use __memcpy_default as alias source.
17098         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17099         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17100         Rename to __memcpy_default.
17101         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17102         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17103         (memset): Use __memset_default as alias source.
17104         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17105         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17106         Rename to __memset_default.
17107         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17108         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17110         [BZ #18610]
17111         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17112         __ieee_instruction_pointer to __unused.
17113         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17114         __ieee_instruction_pointer.
17115         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17116         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17117         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17118         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17119         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17120         Mark dxc-field as reserved.
17122 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17124         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17125         if the weak reference is not null.
17127 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17129         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17131         [BZ #11214]
17132         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17134 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17136         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17137         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17138         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17139         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17140         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17141         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17142         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17143         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17144         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17145         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17146         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17147         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17148         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17149         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17150         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17151         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17152         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17153         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17155 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17157         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17158         register other than r0 for tabort, it has special meaning.
17159         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17160         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17161         transaction before starting syscall.
17163 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17165         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17167 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17169         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17171         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17172         * sysdeps/x86_64/rtld-memset.S: Likewise.
17173         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17174         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17175         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17176         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17178         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17180 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17182         * debug/strcpy_chk.c: Improve performance.
17183         * debug/stpcpy_chk.c: Likewise.
17184         * sysdeps/x86_64/strcpy_chk.S: Remove.
17185         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17187         [BZ #18240]
17188         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17190 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17192         [BZ #15128]
17193         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17194         ifuncmain8.
17195         (modules-names): Add ifuncmod8.
17196         ($(objpfx)ifuncmain8): New rule.
17197         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17198         <cpuid.h>.
17199         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17200         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17201         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17202         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17203         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17204         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17205         * sysdeps/x86_64/ifuncmain8.c: New file.
17206         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17207         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17208         Removed.
17209         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17210         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17211         Change rtld_savespace_sse to __glibc_unused2.
17212         (RTLD_CHECK_FOREIGN_CALL): Removed.
17213         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17214         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17215         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17217 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17219         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17221 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17223         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17224         Unconditionally set __fpcr to avoid uninialized warning.
17225         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17227 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17229         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17230         is corrupt.
17232         * malloc/arena.c (arena_get2): Drop unused argument.
17233         (arena_lock): Adjust.
17234         (arena_get_retry): Likewise.
17236 2015-08-24  Andreas Schwab  <schwab@suse.de>
17238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17239         Don't define.
17240         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17241         (__ASSUME_IPC64): Don't undef.
17242         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17243         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17244         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17245         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17246         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17247         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17248         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17249         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17250         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17251         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17252         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17253         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17254         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17255         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17256         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17257         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17258         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17259         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17260         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17261         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17262         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17264 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17266         * manual/Makefile (install): Only build manual when perl is available.
17268 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17270         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17271         '#undef memcpy' by '#undef memchr'.
17273 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17275         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17276         memchr not point to the internal __GI_memchr implementation.
17278 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17280         * timezone/Makefile (CFLAGS-zdump.c): Remove
17281         -Wno-strict-prototypes.
17282         (CFLAGS-zic.c): Likewise.
17283         (CFLAGS-ialloc.c): Likewise.
17284         (CFLAGS-scheck.c): Likewise.
17286         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17287         -Wno-error=undef.
17289 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17291         * i386/i686/multiarch/strcasestr-c.c: Removed.
17292         * x86_64/multiarch/strcasestr.c: Likewise.
17293         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17294         Remove strcasestr.
17296 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17298         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17300         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17301         variables for high and low parts before possibly modifying them.
17303 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17305         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17306         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17307         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17308         of "multiarch/init-arch.h".
17309         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17310         * sysdeps/x86/init-arch.h: This.
17312 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17314         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17315         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17317 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17319         [BZ #17787]
17320         * manual/macros.texi: Add twoexp macro.
17321         * manual/filesys.texi: Fix exponents.
17322         * manual/llio.texi: Likewise.
17323         * manual/stdio.texi: Likewise.
17325 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17327         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17328         incorrect use.
17330 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17332         [BZ #18370]
17333         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17334         whose real or imaginary part has small absolute value.
17335         * math/s_csqrtf.c (__csqrtf): Likewise.
17336         * math/s_csqrtl.c (__csqrtl): Likewise.
17337         * math/auto-libm-test-in: Add more tests of csqrt.
17338         * math/auto-libm-test-out: Regenerated.
17339         * sysdeps/i386/fpu/libm-test-ulps: Update.
17341 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17343         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17344         __ppc_set_ppr_very_low): New functions.
17345         * manual/platform.texi: Add documentation about
17346         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17348 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17350         * string/stpncpy.c (stpncpy): Improve performance using
17351         __strnlen/memcpy/memset.
17353 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17355         [BZ #18796]
17356         * scripts/test-installation.pl: Don't add -lmvec to build options if
17357         libmvec wasn't built.
17359 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17361         [BZ #14341]
17362         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17363         case when there is a gap between DT_REL and DT_JMPREL sections.
17364         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17365         (LDFLAGS-tst-split-dynreloc): New.
17366         (tst-split-dynreloc-ENV): Likewise.
17367         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17368         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17370 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17372         [BZ #18822]
17373         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17374         attribute_hidden.
17375         (__xstat64_conv): Likewise.
17376         (__xstat32_conv): Likewise.
17378 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17380         [BZ #18822]
17381         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17382         Don't load %ebx when calling __setcontext.  Call __setcontext
17383         with HIDDEN_JUMPTARGET.
17384         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17385         libc_hidden_def.
17387 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17389         * sysdeps/i386/i686/Makefile
17390         [$(subdir) == string] (sysdep_routines): Moved to ...
17391         * sysdeps/i386/Makefile: Here.
17392         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17393         * sysdeps/i386/cacheinfo.c: Here.
17394         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17395         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17396         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17397         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17399 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17401         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17402         __i586__ is defined.
17403         (HAS_I686): Defined to 1 if __i686__ is defined.
17405 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17407         * elf/Makefile [$(have-z-execstack) = yes]
17408         (CPPFLAGS-tst-execstack.c): New variable.
17410         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17411         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17412         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17413         UTMPX || _HAVE_UT_TV].
17414         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17415         UTMPX || _HAVE_UT_TV - 0].
17417 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17419         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17420         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17421         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17423 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17425         * sysdeps/powerpc/dl-procinfo.c:
17426         (_dl_powerpc_cap_flags): Added missing strings for some
17427         hwcap features.
17428         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17430 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17432         Port the 0x7efe...feff pattern to GCC 6.
17433         See Steve Ellcey's bug report in:
17434         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17435         * string/memrchr.c (MEMRCHR):
17436         * string/rawmemchr.c (RAWMEMCHR):
17437         * string/strchr.c (strchr):
17438         * string/strchrnul.c (STRCHRNUL):
17439         Rewrite code to avoid issues with signed shift overflow.
17441 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17443         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17444         whether cpuid is available only if HAS_CPUID is 0.
17445         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17446         (HAS_I586): Likewise.
17447         (HAS_I686): Likewise.
17449 2015-08-18  Zack Weinberg  <zackw@panix.com>
17451         * misc/Versions (libc): Add GLIBC_2.23.
17453 2015-08-18  Alan Modra  <amodra@gmail.com>
17455         [BZ #18421]
17456         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17457         .Lp__global.
17458         (_start): Load %dp via .Lp__global.
17459         [!SHARED]: Use .section .rodata.
17461 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17463         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17464         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17466 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17468         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17469         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17471 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17473         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17474         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17476 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17478         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17479         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17481 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17483         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17484         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17486 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17488         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17489         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17491 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17493         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17495 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17497         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17498         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17499         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17500         (__ASSUME_LWS_CAS): Delete.
17502 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17504         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17505         * sysdeps/hppa/configure: Regenerated.
17506         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17507         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17508         * sysdeps/hppa/nptl/tls.h: Likewise.
17510 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17512         [BZ #18823]
17513         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17514         for scaling up small arguments.
17515         * math/s_csqrtf.c (__csqrtf): Likewise.
17516         * math/s_csqrtl.c (__csqrtl): Likewise.
17517         * math/auto-libm-test-in: Add more tests of csqrt.
17518         * math/auto-libm-test-out: Regenerated.
17520 2015-08-17  Andreas Schwab  <schwab@suse.de>
17522         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17523         version set GLIBC_2.19.
17525 2015-08-16  Zack Weinberg  <zackw@panix.com>
17527         [BZ #18681]
17528         * misc/regexp.h: This interface is no longer supported.
17529         Remove all contents, leaving only an #error directive.
17530         * misc/regexp.c (loc1, loc2, locs, step, advance):
17531         Demote to compatibility symbols.
17533 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17535         [BZ #18084]
17536         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17537         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17538         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17539         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17540         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17541         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17542         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17543         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17544         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17546 2015-08-15  Zack Weinberg  <zackw@panix.com>
17548         [BZ #18795]
17549         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17550         buffer length is known to be too large, not if it's known to be
17551         small enough.
17552         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17553         overflow at runtime, involving a length parameter, twice: once
17554         with a compile-time constant length parameter, once without.
17556 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17558         [BZ #18824]
17559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17560         scaling x * y up instead of down.
17561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17563         * math/auto-libm-test-in: Add more tests of fma.
17564         * math/auto-libm-test-out: Regenerated.
17566 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17568         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17570 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17572         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17573         unnecessary movq.
17574         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17575         Likewise.
17577 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17579         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17580         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17581         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17582         and tgamma.
17583         * math/auto-libm-test-out: Regenerated.
17584         * sysdeps/i386/fpu/libm-test-ulps: Update.
17585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587         [BZ #16520]
17588         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17589         (__tanh): Force underflow exception for arguments with small
17590         absolute value.
17591         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17592         (__tanhf): Force underflow exception for arguments with small
17593         absolute value.
17594         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17595         (__tanhl): Force underflow exception for arguments with small
17596         absolute value.
17597         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17598         (__tanhl): Force underflow exception for arguments with small
17599         absolute value.
17600         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17601         (__tanhl): Force underflow exception for arguments with small
17602         absolute value.
17603         * math/auto-libm-test-in: Add more tests of tanh.
17604         * math/auto-libm-test-out: Regenerated.
17605         * sysdeps/i386/fpu/libm-test-ulps: Update.
17607 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17609         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17610         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17612 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17614         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17615         <cpuid.h>.
17617 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17619         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17620         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17622 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17624         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17625         Remove $(objpfx)init-arch.o.
17626         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17627         init-arch.
17628         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17629         (INIT_ARCH_EXT): Defined as empty.
17630         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17631         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17632         __init_cpu_features call.  Replace HAS_XXX with
17633         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17635         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17638         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17639         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17640         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17641         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17642         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17643         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17644         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17645         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17646         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17649         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17650         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17651         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17652         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17656         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17658         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17659         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17662         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17664         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17666         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17667         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17668         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17670 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17672         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17673         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17674         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17675         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17676         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17677         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17678         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17679         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17680         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17681         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17682         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17683         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17684         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17685         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17686         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17687         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17688         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17689         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17690         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17691         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17692         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17693         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17694         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17695         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17696         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17697         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17698         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17699         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17700         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17701         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17702         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17703         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17704         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17705         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17706         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17707         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17708         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17709         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17710         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17711         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17712         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17713         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17714         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17716 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17718         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17719         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17721         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17722         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17723         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17725         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17726         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17727         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17728         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17729         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17730         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17731         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17732         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17733         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17734         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17736         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17737         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17739         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17740         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17741         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17742         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17743         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17744         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17745         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17746         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17747         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17748         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17749         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17750         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17751         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17752         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17753         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17754         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17755         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17756         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17757         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17758         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17759         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17760         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17762 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17764         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17765         (dl_platform_init): Call init_cpu_features.
17766         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17767         * sysdeps/i386/i686/cacheinfo.c
17768         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17769         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17770         * sysdeps/i386/i686/multiarch/Versions: Removed.
17771         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17772         Removed.
17773         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17774         * sysdeps/unix/sysv/linux/x86/Makefile
17775         (libpthread-sysdep_routines): Remove init-arch.
17776         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17777         <sysdeps/x86_64/dl-procinfo.c> instead of
17778         sysdeps/generic/dl-procinfo.c>.
17779         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17780         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17781         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17782         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17783         [$(subdir) == elf] (tests-static): Add
17784         tst-get-cpu-features-static.
17785         * sysdeps/x86/Versions: New file.
17786         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17787         * sysdeps/x86/cpu-features.c: Likewise.
17788         * sysdeps/x86/cpu-features.h: Likewise.
17789         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17790         * sysdeps/x86/libc-start.c: Likewise.
17791         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17792         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17793         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17794         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17795         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17796         Assume USE_MULTIARCH is defined and don't check it.
17797         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17798         (is_amd): Likewise.
17799         (max_cpuid): Likewise.
17800         (intel_check_word): Likewise.
17801         (__cache_sysconf): Don't call __init_cpu_features.
17802         (__x86_preferred_memory_instruction): Removed.
17803         (init_cacheinfo): Don't call __init_cpu_features. Replace
17804         __cpu_features with GLRO(dl_x86_cpu_features).
17805         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17806         (dl_platform_init): Call init_cpu_features.
17807         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17808         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17809         * sysdeps/x86_64/multiarch/Versions: Removed.
17810         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17811         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17812         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17813         Removed.
17814         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17816 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17818         [BZ #18820]
17819         * libio/Makefile (test-fmemopen-mem): New test.
17820         * libio/test-fmemopen.c (do_bz18820): New test.
17821         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17822         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17824 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17826         [BZ #16734]
17827         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17828         (FREE_BUF): Delete.
17829         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17830         * libio/genops.c (_IO_setb): Use malloc and free directly.
17831         (_IO_default_doallocate, _IO_default_finish): Likewise.
17832         ( _IO_unbuffer_all): Likewise.
17833         ( libc_freeres_fn): Likewise.
17834         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17835         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17836         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17837         (_IO_wdefault_doallocate): Likewise.
17839 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17841         [BZ #18086]
17842         * sysdeps/posix/nice.c (nice): Restore old errno.
17843         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17845 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17849 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17851         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17852         __bcopy and add a weak_alias to bcopy.
17853         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17854         for static build.
17856         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17857         cleanup macro usage.
17858         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17861         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17862         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17863         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17864         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17865         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17866         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17867         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17869         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17870         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17871         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17873         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17874         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17876         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17878         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17879         libc_hidden_def.
17880         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17882         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17883         (sysdep_routines): Add strstr-ppc64.
17884         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17886 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17888         [BZ #18778]
17889         * elf/Makefile (tests): Add Add tst-nodelete2.
17890         (modules-names): Add tst-nodelete2mod.
17891         (tst-nodelete2mod.so-no-z-defs): New.
17892         ($(objpfx)tst-nodelete2): Likewise.
17893         ($(objpfx)tst-nodelete2.out): Likewise.
17894         (LDFLAGS-tst-nodelete2): Likewise.
17895         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17896         out of loop through all loaded libraries.
17897         * elf/tst-nodelete2.c: New file.
17898         * elf/tst-nodelete2mod.c: Likewise.
17899         * elf/tst-znodelete-zlib.cc: Delete.
17901 2015-08-11  Andreas Schwab  <schwab@suse.de>
17903         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17904         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17905         (__openat64_nocancel): Likewise.
17907 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17909         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17910         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17911         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17912         * math/auto-libm-test-out: Regenerated.
17913         * sysdeps/i386/fpu/libm-test-ulps: Update.
17914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17916 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17918         [BZ #18790]
17919         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17920         threshold for returning +/- 1.
17921         * math/auto-libm-test-in: Add more tests of tanh.
17922         * math/auto-libm-test-out: Regenerated.
17923         * sysdeps/i386/fpu/libm-test-ulps: Update.
17925 2015-08-10  Andreas Schwab  <schwab@suse.de>
17927         [BZ #18781]
17928         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17929         MORE_OFLAGS to oflag.
17930         * io/test-lfs.c (do_test): Test openat64.
17932 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17934         [BZ #18789]
17935         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17936         smaller threshold for returning the argument.
17937         * math/auto-libm-test-in: Add more tests of sinh.
17938         * math/auto-libm-test-out: Regenerated.
17939         * sysdeps/i386/fpu/libm-test-ulps: Update.
17941 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17943         [BZ #18674]
17944         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17945         break.
17947 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17949         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17950         (generated): Don't add $(addprefix z.,$(tzfiles)).
17952 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17954         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17955         * scripts/sysd-rules.awk: Likewise.
17957 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17959         * iconvdata/tst-tables.sh: Change echo -n to printf.
17960         * nss/db-Makefile: Likewise.
17961         * posix/tst-getconf.sh: Likewise.
17962         * stdio-common/tst-unbputc.sh: Likewise.
17964 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17966         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17967         MADV_*_PAGES defines behind this feature check.
17969 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17971         [BZ #18480]
17972         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17973         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17974         Define.
17975         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17976         LOAD_REGS_5, LOAD_REGS_6): Update.
17977         (INTERNAL_SYSCALL): Update using new LOAD defines.
17978         (INTERNAL_SYSCALL_NCS): Likewise.
17979         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17981 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17983         [BZ #16734]
17984         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17986 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17988         [BZ #17905]
17989         * catgets/Makefile (tst-catgets-mem): New test.
17990         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17991         * catgets/open_catalog.c (__open_catalog): Likewise.
17992         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17994 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17996         [BZ #18787]
17997         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17998         clobber registers.
17999         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18000         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18001         Cast return to __typeof (oldval).
18003 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18005         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18006         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18007         and delete sys/syscall.h include.
18009 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18011         [BZ #16517]
18012         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18013         (tan): Force underflow exception for arguments with small absolute
18014         value.
18015         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18016         (__kernel_tanf): Force underflow exception for arguments with
18017         small absolute value.
18018         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18019         (__kernel_tanl): Force underflow exception for arguments with
18020         small absolute value.
18021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18022         (__kernel_tanl): Force underflow exception for arguments with
18023         small absolute value.
18024         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18025         (__kernel_tanl): Force underflow exception for arguments with
18026         small absolute value.
18027         * math/auto-libm-test-in: Add more tests of tan.
18028         * math/auto-libm-test-out: Regenerated.
18030 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18032         Fix sysdeps/i386/fpu/s_scalbn.S build
18034         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18036 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18038         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18040 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18042         Fix gcrt0.o compilation
18044         When static-start-installed-name is different from
18045         start-installed-name, we must not use the shared objects.
18047         * csu/Makefile
18048         (extra-objs): Add gmon-start.o when building shared library and
18049         $(static-start-installed-name) is different from
18050         $(start-installed-name).
18051         $(objpfx)g$(static-start-installed-name): When building shared
18052         library and $(static-start-installed-name) is different from
18053         $(static-start-installed-name), revert to non-shared rule,
18054         i.e. using $(objpfx)% and gmon-start.o.
18056 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18058         [BZ #16519]
18059         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18060         (__ieee754_sinh): Force underflow exception for arguments with
18061         small absolute value.
18062         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18063         (__ieee754_sinhf): Force underflow exception for arguments with
18064         small absolute value.
18065         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18066         (__ieee754_sinhl): Force underflow exception for arguments with
18067         small absolute value.
18068         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18069         (__ieee754_sinhl): Force underflow exception for arguments with
18070         small absolute value.
18071         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18072         (__ieee754_sinhl): Force underflow exception for arguments with
18073         small absolute value.
18074         * math/auto-libm-test-in: Add more tests of sinh.
18075         * math/auto-libm-test-out: Regenerated.
18076         * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18080         * libio/oldfileops.c: Include unistd.h.
18082 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18084         * stdlib/isomac.c: Include ctype.h.
18086 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18088         * dirent/tst-seekdir.c (main): Converted to ...
18089         (do_test): ... this.
18090         (TEST_FUNCTION): New macro.
18091         Include test-skeleton.c.
18092         * elf/tst-dlmodcount.c (main): Converted to ...
18093         (do_test): ... this.
18094         (TEST_FUNCTION): New macro.
18095         Include test-skeleton.c.
18096         * elf/tst-order-main.c (main): Converted to ...
18097         (do_test): ... this.
18098         (TEST_FUNCTION): New macro.
18099         Include test-skeleton.c.
18100         * elf/tst-pie2.c (main): Converted to ...
18101         (do_test): ... this.
18102         (TEST_FUNCTION): New macro.
18103         Include test-skeleton.c.
18104         * inet/tst-ether_aton.c (main): Converted to ...
18105         (do_test): ... this.
18106         (TEST_FUNCTION): New macro.
18107         Include test-skeleton.c.
18108         * misc/tst-mntent.c (main): Converted to ...
18109         (do_test): ... this.
18110         (TEST_FUNCTION): New macro.
18111         Include test-skeleton.c.
18112         * misc/tst-tsearch.c (main): Converted to ...
18113         (do_test): ... this.
18114         (TEST_FUNCTION): New macro.
18115         Include test-skeleton.c.
18116         * posix/tst-regexloc.c (main): Converted to ...
18117         (do_test): ... this.
18118         (TEST_FUNCTION): New macro.
18119         Include test-skeleton.c.
18120         * resolv/tst-aton.c (main): Converted to ...
18121         (do_test): ... this.
18122         (TEST_FUNCTION): New macro.
18123         Include test-skeleton.c.
18124         * stdio-common/test-fwrite.c (main): Converted to ...
18125         (do_test): ... this.
18126         (TEST_FUNCTION): New macro.
18127         Include test-skeleton.c.
18128         * stdio-common/tst-ferror.c (main): Converted to ...
18129         (do_test): ... this.
18130         (TEST_FUNCTION): New macro.
18131         Include test-skeleton.c.
18132         * stdio-common/tst-printf.c (main): Converted to ...
18133         (do_test): ... this.
18134         (TEST_FUNCTION): New macro.
18135         Include test-skeleton.c.
18136         * stdio-common/tst-printfsz.c (main): Converted to ...
18137         (do_test): ... this.
18138         (TEST_FUNCTION): New macro.
18139         Include test-skeleton.c.
18140         * stdlib/tst-strtod.c (main): Converted to ...
18141         (do_test): ... this.
18142         (TEST_FUNCTION): New macro.
18143         Include test-skeleton.c.
18144         * string/tst-strlen.c (main): Converted to ...
18145         (do_test): ... this.
18146         (TEST_FUNCTION): New macro.
18147         Include test-skeleton.c.
18148         * string/tst-svc.c (main): Converted to ...
18149         (do_test): ... this.
18150         (TEST_FUNCTION): New macro.
18151         Include test-skeleton.c.
18152         * time/tst-strptime.c (main): Converted to ...
18153         (do_test): ... this.
18154         (TEST_FUNCTION): New macro.
18155         Include test-skeleton.c.
18156         * timezone/tst-timezone.c (main): Converted to ...
18157         (do_test): ... this.
18158         (TEST_FUNCTION): New macro.
18159         Include test-skeleton.c.
18161 2015-08-05  Zack Weinberg  <zackw@panix.com>
18163         * misc/regexp.h: Update comments.
18165 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18167         [BZ #18635]
18168         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18169         before return label.
18171 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18173         [BZ #18661]
18174         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18175         when calling __errno_location.
18176         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18177         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18179 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18181         [BZ #18661]
18182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18183         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18184         __gettimeofday.
18186 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18188         [BZ #18661]
18189         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18190         (__start_context): Don't use pop to restore %rdi so that stack
18191         is aligned to 16 bytes when calling __setcontext.
18193 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18195         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18196         only for libc.
18197         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18199 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18201         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18202         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18203         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18205 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18207         * string/memccpy.c (memccpy):
18208         Improve performance by using memchr/memcpy/__mempcpy.
18210 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18212         * string/strncpy.c (strncpy):
18213         Improve performance by using __strnlen/memcpy.
18215 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18217         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18218         Optimize to avoid an unnecessary FPCR read.
18220 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18222         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18223         Optimize to reduce FPCR/FPSR accesses.
18225 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18227         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18228         dead->data[category] != NULL.
18230 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18232         [BZ #18647]
18233         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18234         and |x| close to 1, use absolute value of x when computing log.
18235         * math/auto-libm-test-in: Add more tests of pow.
18236         * math/auto-libm-test-out: Regenerated.
18238 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18240         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18241         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18242         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18244 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18246         [BZ #18525]
18247         * locales/km_KH: Remove timezone definition.
18248         * locales/lo_LA: Likewise.
18249         * locales/my_MM: Likewise.
18250         * locales/nan_TW@latin: Likewise.
18251         * locales/th_TH: Likewise.
18252         * locales/uk_UA: Likewise.
18254 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18256         [BZ #18265]
18257         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18258         (wcsncat): Likewise.
18259         (wcscmp): Likewise.
18260         (wcsncmp): Likewise.
18262 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18264         * test-skeleton.c (usage): New function.
18265         (main): Call usage when opt is '?'.
18267 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18269         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18270         before first use.
18272 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18274         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18275         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18276         in there too.
18278 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18280         * version.h (RELEASE): Set to "development".
18281         (VERSION): Set to "2.22.90"
18283         * version.h (RELEASE): Set to "stable".
18284         (VERSION): Set to "2.22"
18285         * include/features.h (__GLIBC_MINOR__): Set to 22.
18287 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18289         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18290         Restructure macro to avoid "value computed is not used" warning.
18291         (atomic_compare_and_exchange_val_acq): Likewise.
18293 2015-08-04  Andreas Schwab  <schwab@suse.de>
18295         [BZ #18635]
18296         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18297         ret.
18298         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18300 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18302         * po/pl.po: Updated translation.
18303         * po/uk.po: Likewise.
18304         * po/fi.po: Likewise.
18305         * po/ko.po: Likewise.
18306         * po/ru.po: Likewise.
18307         * po/vi.po: Likewise.
18309 2015-07-31  Zack Weinberg  <zackw@panix.com>
18311         [BZ #18681]
18312         * regexp.h: Add unconditional #warning stating that this header
18313         will be removed soon.  Revise banner comment to match.
18314         (compile): Consistently use ERROR instead of RETURN to report
18315         errors (partial fix for bz#18681).
18316         * regexp.c: Don't include regexp.h. Remove some unnecessary
18317         declarations.
18319 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18321         * po/libc.pot: Regenerated.
18323 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18325         [BZ #18740]
18326         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18327         float-vlen4-arch-ext-cflags): Removed.
18328         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18329         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18331 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18333         [BZ #14113]
18334         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18335         aligned to __aligned__.
18336         (pthread_cond_t, pthread_rwlock_t): Likewise.
18338 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18340         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18342 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18344         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18345         (struct sigaction): Change sa_flags from a long to an int, and add
18346         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18348 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18350         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18351         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18352         sysdeps/generic/sysdep.h include.
18353         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18354         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18355         sysdeps/hppa/sysdep.h.
18356         (ENTRY, PSEUDO): Undefine before defining.
18358 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18360         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18361         from scratch to use INTERNAL_SYSCALL.
18363 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18365         [BZ #18078]
18366         * scripts/check-localplt.awk: Support alternate relocations.
18367         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18368         sections.
18369         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18370         malloc entries with + REL R_386_GLOB_DAT.
18371         * sysdeps/x86_64/localplt.data: New file.
18373 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18375         [BZ #18731]
18376         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18377         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18378         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18380 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18382         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18384 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18386         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18387         directly in terms of __sync_fetch_and_add and delete (int) cast.
18389 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18391         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18392         the -D_ASM_IA64_CURRENT_H flag.
18394 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18396         [BZ #18641]
18397         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18399 2015-07-27  Andreas Schwab  <schwab@suse.de>
18401         * conform/conformtest.pl (checknamespace): Filter out string
18402         literals while tokenizing.
18404 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18406         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18407         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18408         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18410 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18412         * nptl/tst-join7mod.c: Add #include <string.h>.
18414 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18416         * sysdeps/nios2/libm-test-ulps: Update.
18418 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18420         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18421         Fix order of arguments to the rt_sigprocmask syscall.
18422         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18423         Likewise.
18425 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18427         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18429 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18431         [BZ #18457]
18432         * nptl/Makefile (tests): New test case tst-join7.
18433         (modules-names): New test case module tst-join7mod.
18434         * nptl/tst-join7.c: New file.
18435         * nptl/tst-join7mod.c: New file.
18436         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18437         all translation units in libc.so, libpthread.so and rtld.
18439 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18443 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18445         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18446         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18447         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18448         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18452         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18453         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18454         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18457         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18458         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18460         implementation.
18462 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18464         [BZ #17711]
18465         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18466         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18467         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18468         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18469         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18470         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18472 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18474         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18475         instead of just saying load lock in the comments.
18477 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18479         * sysdeps/unix/Subdirs: Moved ...
18480         * sysdeps/posix/Subdirs: ... here.
18481         * login/pty.h (struct termios, struct winsize): Add forward decls.
18482         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18483         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18484         * sysdeps/arm/nacl/libc.abilist: Updated.
18485         * sysdeps/nacl/libutil.abilist: New file.
18487         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18488         (SIGWINCH): New macro.
18490         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18491         * sysdeps/arm/nacl/libc.abilist: Add it.
18493 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18495         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18497 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18499         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18500         Swap __glibc_reserved0 and sa_flags order.
18502 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18504         [BZ #18657]
18505         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18506         are pending TLS destructor calls.
18507         * include/link.h (struct link_map): Add concurrency note for
18508         L_TLS_DTOR_COUNT.
18509         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18510         Don't touch the link map flag.  Atomically increment
18511         l_tls_dtor_count.
18512         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18513         Avoid taking the load lock and don't touch the link map flag.
18514         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18515         * stdlib/Makefile (tests): Use it.
18516         * stdlib/tst-tls-atexit.c (do_test): dlopen
18517         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18518         to allow tst-tls-atexit-nodelete test case to use it.
18520 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18522         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18523         to bits/types.h.
18524         (msgqnum_t): New typedef.
18525         (msglen_t): Likewise.
18526         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18527         and msg_qbytes type to msglen_t.
18529 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18531         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18532         pad0 to __glibc_reserved0.
18533         (struct stat64): Likewise.
18535 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18537         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18538         Change sa_flags from a long to an int and add __glibc_reserved0 before
18539         it for padding.
18541 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18543         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18544         anonymous by deleting "siginfo" name.
18546 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18548         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18549         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18550         rather than __nacl_irt_filename.
18551         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18553         * NEWS: New item for arm-nacl port.
18554         * sysdeps/arm/nacl/libc.abilist: New file.
18555         * sysdeps/nacl/ld.abilist: New file.
18556         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18557         * sysdeps/nacl/libanl.abilist: New file.
18558         * sysdeps/nacl/libcrypt.abilist: New file.
18559         * sysdeps/nacl/libdl.abilist: New file.
18560         * sysdeps/nacl/libm.abilist: New file.
18561         * sysdeps/nacl/libpthread.abilist: New file.
18562         * sysdeps/nacl/libresolv.abilist: New file.
18563         * sysdeps/nacl/librt.abilist: New file.
18565 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18567         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18568         __startcontext to initialize the new context.
18569         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18570         up CFI directive to forbid further backtracing.
18572 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18574         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18575         reference.
18576         * charmaps/ANSI_X3.4-1968: Likewise.
18577         * charmaps/BS_4730: Likewise.
18578         * charmaps/BS_VIEWDATA: Likewise.
18579         * charmaps/CP1250: Likewise.
18580         * charmaps/CP1251: Likewise.
18581         * charmaps/CP1252: Likewise.
18582         * charmaps/CP1253: Likewise.
18583         * charmaps/CP1254: Likewise.
18584         * charmaps/CP1255: Likewise.
18585         * charmaps/CP1256: Likewise.
18586         * charmaps/CSN_369103: Likewise.
18587         * charmaps/EBCDIC-DK-NO: Likewise.
18588         * charmaps/GB_1988-80: Likewise.
18589         * charmaps/GREEK-CCITT: Likewise.
18590         * charmaps/GREEK7: Likewise.
18591         * charmaps/INIS-8: Likewise.
18592         * charmaps/ISIRI-3342: Likewise.
18593         * charmaps/ISO_2033-1983: Likewise.
18594         * charmaps/ISO_5427-EXT: Likewise.
18595         * locales/POSIX: Likewise.
18596         * locales/ar_SA: Likewise.
18597         * locales/be_BY: Likewise.
18598         * locales/be_BY@latin: Likewise.
18599         * locales/ca_ES: Likewise.
18600         * locales/cs_CZ: Likewise.
18601         * locales/da_DK: Likewise.
18602         * locales/de_BE: Likewise.
18603         * locales/de_CH: Likewise.
18604         * locales/de_LU: Likewise.
18605         * locales/en_AU: Likewise.
18606         * locales/en_BW: Likewise.
18607         * locales/en_CA: Likewise.
18608         * locales/en_DK: Likewise.
18609         * locales/en_GB: Likewise.
18610         * locales/en_IE: Likewise.
18611         * locales/en_NZ: Likewise.
18612         * locales/en_ZA: Likewise.
18613         * locales/en_ZW: Likewise.
18614         * locales/es_AR: Likewise.
18615         * locales/es_BO: Likewise.
18616         * locales/es_CL: Likewise.
18617         * locales/es_CO: Likewise.
18618         * locales/es_DO: Likewise.
18619         * locales/es_EC: Likewise.
18620         * locales/es_ES: Likewise.
18621         * locales/es_HN: Likewise.
18622         * locales/es_MX: Likewise.
18623         * locales/es_PA: Likewise.
18624         * locales/es_PE: Likewise.
18625         * locales/es_PY: Likewise.
18626         * locales/es_SV: Likewise.
18627         * locales/es_US: Likewise.
18628         * locales/es_UY: Likewise.
18629         * locales/es_VE: Likewise.
18630         * locales/et_EE: Likewise.
18631         * locales/fa_IR: Likewise.
18632         * locales/fo_FO: Likewise.
18633         * locales/fr_CA: Likewise.
18634         * locales/fr_CH: Likewise.
18635         * locales/gv_GB: Likewise.
18636         * locales/he_IL: Likewise.
18637         * locales/hr_HR: Likewise.
18638         * locales/id_ID: Likewise.
18639         * locales/is_IS: Likewise.
18640         * locales/it_CH: Likewise.
18641         * locales/iw_IL: Likewise.
18642         * locales/kl_GL: Likewise.
18643         * locales/ko_KR: Likewise.
18644         * locales/kw_GB: Likewise.
18645         * locales/lg_UG: Likewise.
18646         * locales/lt_LT: Likewise.
18647         * locales/lv_LV: Likewise.
18648         * locales/mi_NZ: Likewise.
18649         * locales/nhn_MX: Likewise.
18650         * locales/nl_BE: Likewise.
18651         * locales/pl_PL: Likewise.
18652         * locales/sk_SK: Likewise.
18653         * locales/sl_SI: Likewise.
18654         * locales/sv_FI: Likewise.
18655         * locales/tl_PH: Likewise.
18656         * locales/tr_TR: Likewise.
18657         * locales/vi_VN: Likewise.
18659 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18661         [BZ #17475]
18662         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18663         of tu_IN and bh_IN.
18665 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18667         [BZ #18694]
18668         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18669         bits/wordsize.h.
18670         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18672 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18674         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18675         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18676         (spawn_thread): New function.
18677         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18678         (do_test): ... here.  Use IS_LOADED to test for its
18679         availability.
18681 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18683         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18685 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18687         [BZ #18696]
18688         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18689         si_addr_bnd.
18690         (si_lower): New.
18691         (si_upper): Likewise.
18693 2015-07-16  David S. Miller  <davem@davemloft.net>
18695         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18697 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18699         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18700         buffer.
18701         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18702         fail output information.
18704 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18707         and strstr-ppc64..
18708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18709         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18710         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18711         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18712         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18714 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18716         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18717         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18718         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18719         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18721 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18723         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18724         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18725         rtld_hidden_proto.
18726         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18728 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18730         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18731         the test can fail.
18733         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18735         [BZ #18676]
18736         * elf/tst-nodelete-opened.c: New test case.
18737         * elf/tst-nodelete-opened-lib.c: New test case module.
18738         * elf/Makefile (tests, modules-names): Use them.
18739         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18740         early.
18742 2015-07-15  David S. Miller  <davem@davemloft.net>
18744         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18745         futex-intenal.h
18746         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18747         * sysdeps/sparc/sparc64/Makefile: Likewise.
18748         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18749         Remove space from macro define.
18750         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18752 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18754         [BZ #17475]
18755         * locale/iso-639.def: Update Bhili and Tulu language codes as
18756         per iso639-3.
18758 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18760         * elf/tst-leaks1.c (main): Converted to ...
18761         (do_test): ... this.
18762         (TEST_FUNCTION): New macro.
18763         Include test-skeleton.c.
18764         * localedata/tst-langinfo.c (main): Converted to ...
18765         (do_test): ... this.
18766         (TEST_FUNCTION): New macro.
18767         Include test-skeleton.c.
18768         * math/test-fpucw.c (main): Converted to ...
18769         (do_test): ... this.
18770         (TEST_FUNCTION): New macro.
18771         Include test-skeleton.c.
18772         * math/test-tgmath.c (main): Converted to ...
18773         (do_test): ... this.
18774         (TEST_FUNCTION): New macro.
18775         Include test-skeleton.c.
18776         * math/test-tgmath2.c (main): Converted to ...
18777         (do_test): ... this.
18778         (TEST_FUNCTION): New macro.
18779         Include test-skeleton.c.
18780         * setjmp/tst-setjmp.c (main): Converted to ...
18781         (do_test): ... this.
18782         (TEST_FUNCTION): New macro.
18783         Include test-skeleton.c.
18784         * stdio-common/tst-sscanf.c (main): Converted to ...
18785         (do_test): ... this.
18786         (TEST_FUNCTION): New macro.
18787         Include test-skeleton.c.
18788         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18789         (do_test): ... this.
18790         (TEST_FUNCTION): New macro.
18791         Include test-skeleton.c.
18793         * elf/tst-audit9.c (main): Converted to ...
18794         (do_test): ... this.
18795         (TEST_FUNCTION): New macro.
18796         Include test-skeleton.c.
18798 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18800         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18802 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18804         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18805         New variable.
18807 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18809         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18811 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18813         * sysdeps/generic/dl-fileid.h: New file.
18814         * sysdeps/posix/dl-fileid.h: New file.
18815         * sysdeps/nacl/dl-fileid.h: New file.
18816         * include/link.h: Include <dl-fileid.h>.
18817         (struct link_map): Replace l_dev and l_ino with l_file_id.
18818         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18819         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18820         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18822 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18824         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18826 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18828         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18829         Add iff $CXX is set.
18830         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18831         Likewise.
18832         (tst-nodelete-zmodiff): Likewise.
18833         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18835 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18839 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18841         * sysdeps/aarch64/fpu/math_private.h
18842         (define math_opt_barrier): Add AArch64 version.
18843         (math_force_eval): Likewise.
18845 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18847         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18849 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18851         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18852         %ld with %jd and cast to intmax_t.
18853         (do_test_length_zero): Likewise.
18855 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18857         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18859 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18861         * sysdeps/tile/libm-test-ulps: Regenerated.
18863         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18864         Comment out the whole function, not just its body.
18866 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18868         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18869         locks.
18871         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18873 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18875         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18876         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18878 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18880         * sysdeps/nptl/futex-internal.h: New file.
18881         * sysdeps/nacl/futex-internal.h: New file.
18882         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18883         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18884         error checking.
18885         (setxid_unmark_thread): Likewise.
18886         (__nptl_setxid): Likewise.
18887         (__wait_lookup_done): Likewise.
18888         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18889         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18890         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18891         * nptl/pthread_once.c (clear_once_control): Likewise.
18892         (__pthread_once_slow): Likewise.
18893         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18894         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18895         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18896         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18897         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18898         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18899         Likewise.
18900         (__pthread_rwlock_rdlock): Likewise.
18901         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18902         Likewise.
18903         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18904         Likewise.
18905         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18906         Likewise.
18907         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18908         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18909         Likewise.
18910         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18911         __ASSUME_PRIVATE_FUTEX check.
18912         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18913         Check that shared futexes are supported.
18914         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18915         wrappers with error checking.
18916         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18917         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18918         * nptl/pthread_barrierattr_setpshared.c
18919         (pthread_barrierattr_setpshared): Check that shared futexes are
18920         supported.
18921         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18922         Likewise.
18923         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18924         Likewise.
18925         * nptl/sem_init.c (futex_private_if_supported): Remove.
18926         (__new_sem_init): Adapt and check that shared futexes are supported.
18927         * nptl/sem_open.c (sem_open): Likewise.
18928         * nptl/sem_post.c (futex_wake): Remove.
18929         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18930         (do_futex_wait): Use futex wrappers with error checking.
18931         * nptl/sem_wait.c: Include lowlevellock.h.
18932         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18933         Use futex_supports_pshared.
18934         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18935         Use futex wrappers with error checking.
18936         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18937         Likewise.
18938         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18939         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18940         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18941         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18942         (futex_wake): Likewise.
18943         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18944         (do_futex_wait): Use futex wrappers with error checking.
18945         (__new_sem_wait_slow): Update EINTR handling.
18946         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18948 2015-07-09  Martin Sebor  <msebor@redhat.com>
18950         [BZ #18435]
18951         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18952         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18953         * nptl/Makefile (test-xfail-tst-once5): Define.
18955 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18957         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18958         * elf/dl-minimal.c: For readability, reorder some definitions and
18959         introduce more page breaks.  Include <stdio.h>.
18960         (__libc_fatal): New function.
18962         * include/unistd.h: Add rtld_hidden_proto for _exit.
18963         * posix/_exit.c: Add rtld_hidden_def.
18964         * sysdeps/mach/hurd/_exit.c: Likewise.
18965         * sysdeps/nacl/_exit.c: Likewise.
18966         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18967         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18969 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18972         bndmov encoding with zero displacement.
18974 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18975             H.J. Lu  <hongjiu.lu@intel.com>
18977         [BZ #18134]
18978         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18979         * sysdeps/i386/configure: Regenerated.
18980         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18981         (_dl_runtime_profile): Save and restore Intel MPX return bound
18982         registers when calling _dl_call_pltexit.  Add
18983         PRESERVE_BND_REGS_PREFIX before return.
18984         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18985         (LRV_BND1_OFFSET): Likewise.
18986         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18987         lrv_bnd1.
18988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18989         typo in bndmov encoding.
18990         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18991         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18992         branch instructions to preserve bounds.
18994 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18997         [GLIBC_2.22]: Add fmemopen.
18999 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19001         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19002         returns an error, also try to use host port from __mach_host_self for
19003         the __vm_wire call.
19004         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19006 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19008         [BZ #18400]
19009         [BZ #18648]
19010         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19011         Fix pr_uid and pr_gid members.
19012         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19013         definition to elf_greg_t.
19015 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19017         [BZ #18383]
19018         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19019         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19020         * sysdeps/arm/configure: Regenerated.
19021         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19022         (test-xfail-tst-tlsalign-static): Variable removed.
19024         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19025         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19026         rather than explicit 'ln -s'.
19028         * resolv/rpc/netdb.h: New file.
19029         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19031 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19033         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19034         length buffers.
19035         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19036         test-skeleton.c.
19038         [BZ #6544]
19039         [BZ #11216]
19040         [BZ #12836]
19041         [BZ #13151]
19042         [BZ #13152]
19043         [BZ #14292]
19044         * include/stdio.h (fmemopen): Remove hidden prototype.
19045         (__fmemopen): Add new hidden prototype.
19046         * libio/Makefile: Add oldfmemopen object.
19047         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19048         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19049         compliance.
19050         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19051         symbol compatibility.
19052         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19053         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19054         fmemopen.
19055         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19056         on append and read mode.
19057         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19058         fmemopen.
19059         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19060         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19061         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19062         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19063         Likewise.
19064         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19065         [GLIBC_2.22]: Likewise.
19066         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19067         Likewise.
19068         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19069         Likewise.
19070         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19071         [GLIBC_2.22]: Likewise.
19072         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19073         [GLIBC_2.22]: Likewise.
19074         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19075         [GLIBC_2.22]: Likewise.
19076         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19077         [GLIBC_2.22]: Likewise.
19078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19079         [GLIBC_2.22]: Likewise.
19080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19081         [GLIBC_2.22]: Likewise.
19082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19083         [GLIBC_2.22]: Likewise.
19084         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19085         Likewise.
19086         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19087         Likewise.
19088         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19089         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19090         [GLIBC_2.22]: Likewise.
19091         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19092         [GLIBC_2.22]: Likewise.
19093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19094         [GLIBC_2.22]: Likewise.
19095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19096         [GLIBC_2.22]: Likewise.
19097         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19098         Likewise.
19099         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19100         Likewise.
19101         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19102         Likewise.
19103         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19104         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19106 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19108         [BZ #18643]
19109         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19110         IPV6_PATHMTU, and IPV6_DONTFRAG.
19112 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19114         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19115         and _IO_UNBUFFERED.
19116         * libio/oldfileops.c: Likewise.
19117         * libio/wfileops.c: Likewise.
19119 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19121         * nscd/selinux.c: Delete selinux/flask.h include.
19123 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19125         [BZ #18641]
19126         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19127         (putpwent): Likewise.
19128         (getpwnam): Likewise.
19129         (getpwent_r): Likewise.
19130         (getpwuid_r): Likewise.
19131         (getpwnam_r): Likewise.
19132         (fgetpwent_r): Likewise.
19134 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19136         [BZ #18557]
19137         * inet/rcmd.c (__validuser2_sa): Check user first to
19138         short-circuit host check.
19140 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19141             Mikhail Ilin  <m.ilin@samsung.com>
19143         [BZ #17833]
19144         * elf/Makefile (tests): Add tst-nodelete.
19145         (modules-names): Add tst-nodelete-uniquemod.
19146         (tst-nodelete-uniquemod.so-no-z-defs): New.
19147         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19148         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19149         ($(objpfx)tst-nodelete): Likewise.
19150         ($(objpfx)tst-nodelete.out): Likewise.
19151         (LDFLAGS-tst-nodelete): Likewise.
19152         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19153         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19154         implement forced object deletion.
19155         (_dl_close): Pass false to _dl_close_worker.
19156         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19157         * elf/tst-nodelete.cc: New file.
19158         * elf/tst-nodeletelib.cc: Likewise.
19159         * elf/tst-znodeletelib.cc: Likewise.
19160         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19162 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19164         [BZ #18508]
19165         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19166         Depend on $(libdl).
19167         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19168         is not called infinitely times.
19169         (backtrace_helper): New function.
19170         (trace_arg): New struct.
19171         (st1): Enlarge stack size.
19172         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19173         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19174         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19175         Likewise.
19177 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19179         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19181 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19183         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19184         Include sys/types.h instead of bits/types.h.
19185         Remove inclusion of bits/wordsize.h.
19187 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19189         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19190         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19191         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19192         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19193         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19194         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19196 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19198         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19199         link-defines.sym.
19200         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19201         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19202         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19203         and LR_SIZE.
19204         * sysdeps/i386/link-defines.sym: New file.
19206 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19208         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19209         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19210         ($(objpfx)tst-audit3): New rule.
19211         ($(objpfx)tst-audit3.out): Likewise.
19212         * sysdeps/i386/tst-audit3.c: New file.
19213         * sysdeps/i386/tst-audit3.h: Likewise.
19214         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19215         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19217 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19219         [BZ #18633]
19220         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19221         pointer in C code.
19222         (__strcat_c): Likewise.
19223         (__strcat_g): Likewise.
19225 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19227         [BZ #18592]
19228         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19230 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19232         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19233         New function.  (__ieee754_sqrtf): New function.
19234         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19235         New function.
19236         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19237         New function.
19239 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19241         * sysdeps/ieee754/support.c: Remove unused file.
19243 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19245         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19246         registers instead of d ones so the layout is kernel abi compatible.
19247         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19248         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19249         Likewise.
19251 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19253         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19255 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19257         [BZ #18619]
19258         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19259         and return argument in case of subnormal argument.
19261 2015-07-01  Martin Sebor  <msebor@redhat.com>
19263         [BZ #18435]
19264         * nptl/Makefile: Add tst-once5.cc.
19265         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19266         Remove macro redefinitions.
19267         * nptl/tst-once5.cc: New test.
19269 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19271         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19273         * sysdeps/arm/libm-test-ulps: Regenerated.
19275         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19276         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19278 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19280         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19281         lll_lock_wait_private and lll_futex_wake probes.
19283         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19284         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19285         Likewise.
19286         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19287         atomic_spin_nop.
19288         * sysdeps/x86_64/bits/atomic.h: Likewise.
19289         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19290         to atomic_spin_nop and move ...
19291         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19292         ... here and ...
19293         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19294         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19295         atomic_spin_nop instead of BUSY_WAIT_NOP.
19296         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19297         Likewise.
19298         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19299         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19300         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19301         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19302         instead of atomic_delay.
19304 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19306         [BZ #18613]
19307         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19308         X_ADJ not X when adjusting exponent.
19309         (__ieee754_gamma_r): Do intermediate computations in
19310         round-to-nearest then adjust overflowing and underflowing results
19311         as needed.
19312         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19313         of X_ADJ not X when adjusting exponent.
19314         (__ieee754_gammaf_r): Do intermediate computations in
19315         round-to-nearest then adjust overflowing and underflowing results
19316         as needed.
19317         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19318         log of X_ADJ not X when adjusting exponent.
19319         (__ieee754_gammal_r): Do intermediate computations in
19320         round-to-nearest then adjust overflowing and underflowing results
19321         as needed.  Use 1.0L not 1.0f as numerator of division.
19322         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19323         log of X_ADJ not X when adjusting exponent.
19324         (__ieee754_gammal_r): Do intermediate computations in
19325         round-to-nearest then adjust overflowing and underflowing results
19326         as needed.  Use 1.0L not 1.0f as numerator of division.
19327         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19328         of X_ADJ not X when adjusting exponent.
19329         (__ieee754_gammal_r): Do intermediate computations in
19330         round-to-nearest then adjust overflowing and underflowing results
19331         as needed.  Use 1.0L not 1.0f as numerator of division.
19332         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19333         to auto-libm-test-in.
19334         (tgamma_test): Use ALL_RM_TEST.
19335         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19336         tests of tgamma with spurious-overflow.
19337         * math/auto-libm-test-out: Regenerated.
19338         * math/gen-libm-have-vector-test.sh: Do not check for START.
19339         * sysdeps/i386/fpu/libm-test-ulps: Update.
19340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19342         [BZ #18612]
19343         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19344         arguments, just return 0.5 times the argument, with underflow
19345         forced as needed.
19346         * math/auto-libm-test-in: Add more tests of j1.
19347         * math/auto-libm-test-out: Regenerated.
19349         [BZ #16559]
19350         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19351         (__ieee754_j1): Force underflow exception for small results.
19352         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19353         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19354         (__ieee754_j1f): Force underflow exception for small results.
19355         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19356         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19357         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19358         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19359         (__ieee754_j1l): Force underflow exception for small results.
19360         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19361         * math/auto-libm-test-in: Add more tests of j1 and jn.
19362         * math/auto-libm-test-out: Regenerated.
19364         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19365         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19366         (PF_MPLS): Likewise.
19367         (AF_IB): Likewise.
19368         (AF_MPLS): Likewise.
19369         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19370         value and macro.
19371         (MS_RMT_MASK): Include MS_LAZYTIME.
19373 2015-06-26  Mel Gorman  <mgorman@suse.de>
19375         [BZ #18502]
19376         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19377         already minimal.
19379 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19381         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19382         (DT_MIPS_NUM): Update.
19383         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19384         DT_MIPS_RLD_MAP_REL.
19386 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19388         [BZ #16559]
19389         [BZ #18602]
19390         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19391         round-to-nearest internally then recompute results that
19392         underflowed to zero in the original rounding mode.
19393         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19394         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19396         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19397         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19398         * sysdeps/i386/fpu/libm-test-ulps: Update.
19399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19401 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19403         * NEWS: Fixed description of link with vector math library.
19405 2015-06-25  Andreas Schwab  <schwab@suse.de>
19407         [BZ #18549]
19408         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19409         * libio/test-fmemopen.c (do_test): Add test for it.
19411 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19413         [BZ #17841]
19414         * Makeconfig (no-pie-ldflag): New.
19415         (+link): Set to $(+link-pie) if default to PIE.
19416         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19417         * config.make.in (build-pie-default): New.
19418         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19419         is default.  AC_SUBST.
19420         * configure: Regenerated.
19421         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19423 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19425         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19426         to 'unsigned int'.
19428         * resolv/gai_misc.h (struct waitlist): Change type of field
19429         counterp to 'volatile unsigned int *'.
19430         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19431         FUTEXADDR and OLDVAL.
19432         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19433         Give local variable TOTAL type 'volatile unsigned int'.
19434         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19435         * resolv/gai_suspend.c (gai_suspend):
19436         Give local variable CNTR type 'unsigned int'.
19438         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19439         counterp to 'volatile unsigned int *'.
19440         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19441         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19442         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19443         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19444         Give local variable TOTAL type 'volatile unsigned int'.
19445         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19447 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19449         [BZ #18383]
19450         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19451         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19452         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19453         comment for i386/x86-64.
19454         (test-xfail-tst-tlsalign-extern-static): Removed.
19456 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19458         * math/test-double.h: New file.
19459         * math/test-float.h: Likewise.
19460         * math/test-ldouble.h: Likewise.
19461         * math/test-math-inline.h: Likewise.
19462         * math/test-math-no-inline.h: Likewise.
19463         * math/test-math-scalar.h: Likewise.
19464         * math/test-math-vector.h: Likewise.
19465         * math/test-vec-loop.h: Remove file.  Contents moved into
19466         test-math-vector.h.
19467         * math/libm-test.inc (MATHCONST): Do not document macro.
19468         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19469         and test-math-scalar.h.
19470         (FUNC): Remove macro.
19471         (FUNC_TEST): Likewise.
19472         (FLOAT): Likewise.
19473         (MATHCONST): Likewise.
19474         (PRINTF_EXPR): Likewise.
19475         (PRINTF_XEXPR): Likewise.
19476         (PRINTF_NEXPR): Likewise.
19477         (TEST_DOUBLE): Likewise.
19478         (TEST_MATHVEC): Likewise.
19479         (__NO_MATH_INLINES): Likewise.
19480         * math/test-float.c: Include test-float.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_FLOAT): Likewise.
19490         (TEST_MATHVEC): Likewise.
19491         (__NO_MATH_INLINES): Likewise.
19492         * math/test-idouble.c: Include test-double.h, test-math-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_DOUBLE): Likewise.
19502         (TEST_MATHVEC): Likewise.
19503         (TEST_INLINE): Likewise.
19504         (__NO_MATH_INLINES): Likewise.
19505         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19506         test-math-scalar.h.
19507         (FUNC): Remove macro.
19508         (FUNC_TEST): Likewise.
19509         (FLOAT): Likewise.
19510         (MATHCONST): Likewise.
19511         (PRINTF_EXPR): Likewise.
19512         (PRINTF_XEXPR): Likewise.
19513         (PRINTF_NEXPR): Likewise.
19514         (TEST_FLOAT): Likewise.
19515         (TEST_MATHVEC): Likewise.
19516         (TEST_INLINE): Likewise.
19517         (__NO_MATH_INLINES): Likewise.
19518         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19519         and test-math-scalar.h.
19520         (FUNC): Remove macro.
19521         (FUNC_TEST): Likewise.
19522         (FLOAT): Likewise.
19523         (MATHCONST): Likewise.
19524         (PRINTF_EXPR): Likewise.
19525         (PRINTF_XEXPR): Likewise.
19526         (PRINTF_NEXPR): Likewise.
19527         (TEST_LDOUBLE): Likewise.
19528         (TEST_MATHVEC): Likewise.
19529         (TEST_INLINE): Likewise.
19530         (__NO_MATH_INLINES): Likewise.
19531         * math/test-ldouble.c: Include test-ldouble.h,
19532         test-math-no-inline.h and test-math-scalar.h.
19533         (FUNC): Remove macro.
19534         (FUNC_TEST): Likewise.
19535         (FLOAT): Likewise.
19536         (MATHCONST): Likewise.
19537         (PRINTF_EXPR): Likewise.
19538         (PRINTF_XEXPR): Likewise.
19539         (PRINTF_NEXPR): Likewise.
19540         (TEST_LDOUBLE): Likewise.
19541         (TEST_MATHVEC): Likewise.
19542         (__NO_MATH_INLINES): Likewise.
19543         * math/test-double-vlen2.h: Include test-double.h,
19544         test-math-no-inline.h and test-math-vector.h.
19545         (FLOAT): Remove macro.
19546         (FUNC): Likewise.
19547         (MATHCONST): Likewise.
19548         (PRINTF_EXPR): Likewise.
19549         (PRINTF_XEXPR): Likewise.
19550         (PRINTF_NEXPR): Likewise.
19551         (TEST_DOUBLE): Likewise.
19552         (TEST_MATHVEC): Likewise.
19553         (__NO_MATH_INLINES): Likewise.
19554         (CNCT): Likewise.
19555         (CONCAT): Likewise.
19556         (WRAPPER_NAME): Likewise.
19557         (WRAPPER_DECL): Likewise.
19558         (WRAPPER_DECL_ff): Likewise.
19559         (WRAPPER_DECL_fFF): Likewise.
19560         (VECTOR_WRAPPER): Likewise.
19561         (VECTOR_WRAPPER_ff): Likewise.
19562         (VECTOR_WRAPPER_fFF): Likewise.
19563         (VEC_LEN): New macro.
19564         * math/test-double-vlen4.h: Include test-double.h,
19565         test-math-no-inline.h and test-math-vector.h.
19566         (FLOAT): Remove macro.
19567         (FUNC): Likewise.
19568         (MATHCONST): Likewise.
19569         (PRINTF_EXPR): Likewise.
19570         (PRINTF_XEXPR): Likewise.
19571         (PRINTF_NEXPR): Likewise.
19572         (TEST_DOUBLE): Likewise.
19573         (TEST_MATHVEC): Likewise.
19574         (__NO_MATH_INLINES): Likewise.
19575         (CNCT): Likewise.
19576         (CONCAT): Likewise.
19577         (WRAPPER_NAME): Likewise.
19578         (WRAPPER_DECL): Likewise.
19579         (WRAPPER_DECL_ff): Likewise.
19580         (WRAPPER_DECL_fFF): Likewise.
19581         (VECTOR_WRAPPER): Likewise.
19582         (VECTOR_WRAPPER_ff): Likewise.
19583         (VECTOR_WRAPPER_fFF): Likewise.
19584         (VEC_LEN): New macro.
19585         * math/test-double-vlen8.h: Include test-double.h,
19586         test-math-no-inline.h and test-math-vector.h.
19587         (FLOAT): Remove macro.
19588         (FUNC): Likewise.
19589         (MATHCONST): Likewise.
19590         (PRINTF_EXPR): Likewise.
19591         (PRINTF_XEXPR): Likewise.
19592         (PRINTF_NEXPR): Likewise.
19593         (TEST_DOUBLE): Likewise.
19594         (TEST_MATHVEC): Likewise.
19595         (__NO_MATH_INLINES): Likewise.
19596         (CNCT): Likewise.
19597         (CONCAT): Likewise.
19598         (WRAPPER_NAME): Likewise.
19599         (WRAPPER_DECL): Likewise.
19600         (WRAPPER_DECL_ff): Likewise.
19601         (WRAPPER_DECL_fFF): Likewise.
19602         (VECTOR_WRAPPER): Likewise.
19603         (VECTOR_WRAPPER_ff): Likewise.
19604         (VECTOR_WRAPPER_fFF): Likewise.
19605         (VEC_LEN): New macro.
19606         * math/test-float-vlen4.h: Include test-float.h,
19607         test-math-no-inline.h and test-math-vector.h.
19608         (FLOAT): Remove macro.
19609         (FUNC): Likewise.
19610         (MATHCONST): Likewise.
19611         (PRINTF_EXPR): Likewise.
19612         (PRINTF_XEXPR): Likewise.
19613         (PRINTF_NEXPR): Likewise.
19614         (TEST_FLOAT): Likewise.
19615         (TEST_MATHVEC): Likewise.
19616         (__NO_MATH_INLINES): Likewise.
19617         (CNCT): Likewise.
19618         (CONCAT): Likewise.
19619         (WRAPPER_NAME): Likewise.
19620         (WRAPPER_DECL): Likewise.
19621         (WRAPPER_DECL_ff): Likewise.
19622         (WRAPPER_DECL_fFF): Likewise.
19623         (VECTOR_WRAPPER): Likewise.
19624         (VECTOR_WRAPPER_ff): Likewise.
19625         (VECTOR_WRAPPER_fFF): Likewise.
19626         (VEC_LEN): New macro.
19627         * math/test-float-vlen8.h: Include test-float.h,
19628         test-math-no-inline.h and test-math-vector.h.
19629         (FLOAT): Remove macro.
19630         (FUNC): Likewise.
19631         (MATHCONST): Likewise.
19632         (PRINTF_EXPR): Likewise.
19633         (PRINTF_XEXPR): Likewise.
19634         (PRINTF_NEXPR): Likewise.
19635         (TEST_FLOAT): Likewise.
19636         (TEST_MATHVEC): Likewise.
19637         (__NO_MATH_INLINES): Likewise.
19638         (CNCT): Likewise.
19639         (CONCAT): Likewise.
19640         (WRAPPER_NAME): Likewise.
19641         (WRAPPER_DECL): Likewise.
19642         (WRAPPER_DECL_ff): Likewise.
19643         (WRAPPER_DECL_fFF): Likewise.
19644         (VECTOR_WRAPPER): Likewise.
19645         (VECTOR_WRAPPER_ff): Likewise.
19646         (VECTOR_WRAPPER_fFF): Likewise.
19647         (VEC_LEN): New macro.
19648         * math/test-float-vlen16.h: Include test-float.h,
19649         test-math-no-inline.h and test-math-vector.h.
19650         (FLOAT): Remove macro.
19651         (FUNC): Likewise.
19652         (MATHCONST): Likewise.
19653         (PRINTF_EXPR): Likewise.
19654         (PRINTF_XEXPR): Likewise.
19655         (PRINTF_NEXPR): Likewise.
19656         (TEST_FLOAT): Likewise.
19657         (TEST_MATHVEC): Likewise.
19658         (__NO_MATH_INLINES): Likewise.
19659         (CNCT): Likewise.
19660         (CONCAT): Likewise.
19661         (WRAPPER_NAME): Likewise.
19662         (WRAPPER_DECL): Likewise.
19663         (WRAPPER_DECL_ff): Likewise.
19664         (WRAPPER_DECL_fFF): Likewise.
19665         (VECTOR_WRAPPER): Likewise.
19666         (VECTOR_WRAPPER_ff): Likewise.
19667         (VECTOR_WRAPPER_fFF): Likewise.
19668         (VEC_LEN): New macro.
19669         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19670         test-vec-loop.h.
19671         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19673         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19674         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19675         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19676         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19677         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19679 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19681         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19682         (__getlogin_r): ... this.
19684 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19686         [BZ #18594]
19687         * math/s_ccosh.c (__ccosh): Compare with least normal value
19688         instead of comparing class with FP_SUBNORMAL.
19689         * math/s_ccoshf.c (__ccoshf): Likewise.
19690         * math/s_ccoshl.c (__ccoshl): Likewise.
19691         * math/s_cexp.c (__cexp): Likewise.
19692         * math/s_cexpf.c (__cexpf): Likewise.
19693         * math/s_cexpl.c (__cexpl): Likewise.
19694         * math/s_csin.c (__csin): Likewise.
19695         * math/s_csinf.c (__csinf): Likewise.
19696         * math/s_csinh.c (__csinh): Likewise.
19697         * math/s_csinhf.c (__csinhf): Likewise.
19698         * math/s_csinhl.c (__csinhl): Likewise.
19699         * math/s_csinl.c (__csinl): Likewise.
19700         * math/s_ctan.c (__ctan): Likewise.
19701         * math/s_ctanf.c (__ctanf): Likewise.
19702         * math/s_ctanh.c (__ctanh): Likewise.
19703         * math/s_ctanhf.c (__ctanhf): Likewise.
19704         * math/s_ctanhl.c (__ctanhl): Likewise.
19705         * math/s_ctanl.c (__ctanl): Likewise.
19706         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19707         csin, csinh, ctan and ctanh.
19708         * math/auto-libm-test-out: Regenerated.
19709         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19710         * sysdeps/i386/fpu/libm-test-ulps: Update.
19711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19713 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19715         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19716         return value is wrong, print the expected value too.
19718 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19720         [BZ #18585]
19721         * elf/readlib.c (is_gdb_python_file): New.
19722         (process_file): Don't issue errors on filenames with -gdb.py
19723         suffix.
19725 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19727         * math/auto-libm-test-in: Add more tests of csin and csinh.
19728         * math/auto-libm-test-out: Regenerated.
19729         * math/libm-test.inc (csin_test_data): Remove tests moved to
19730         auto-libm-test-in.
19731         (csinh_test_data): Likewise.
19733         [BZ #18593]
19734         * math/s_csin.c (__csin): Negate before rather than after possibly
19735         overflowing multiplication.
19736         * math/s_csinf.c (__csinf): Likewise.
19737         * math/s_csinh.c (__csinh): Likewise.
19738         * math/s_csinhf.c (__csinhf): Likewise.
19739         * math/s_csinhl.c (__csinhl): Likewise.
19740         * math/s_csinl.c (__csinl): Likewise.
19741         * math/auto-libm-test-in: Add some tests of csin and csinh.
19742         * math/auto-libm-test-out: Regenerated.
19743         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19744         (csinh_test_data): Likewise.
19745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19747         [BZ #18586]
19748         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19749         underflow exception for small results.
19751 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19755         variable and included header.
19756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19757         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19758         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19759         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19760         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19762         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19763         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19764         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19765         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19766         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19767         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19768         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19769         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19770         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19771         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19773 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19775         [BZ #16526]
19776         [BZ #16538]
19777         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19778         (__sin): Force underflow exception for arguments with small
19779         absolute value.
19780         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19781         (__kernel_sinf): Force underflow exception for arguments with
19782         small absolute value.
19783         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19784         (__kernel_sincosl): Force underflow exception for arguments with
19785         small absolute value.
19786         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19787         (__kernel_sinl): Force underflow exception for arguments with
19788         small absolute value.
19789         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19790         (__kernel_sincosl): Force underflow exception for arguments with
19791         small absolute value.
19792         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19793         (__kernel_sinl): Force underflow exception for arguments with
19794         small absolute value.
19795         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19796         (__kernel_sinl): Force underflow exception for arguments with
19797         small absolute value.
19798         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19799         (__kernel_sinf): Force underflow exception for arguments with
19800         small absolute value.
19801         * math/auto-libm-test-in: Add more tests of sin and sincos.
19802         * math/auto-libm-test-out: Regenerated.
19804         [BZ #18245]
19805         [BZ #18583]
19806         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19807         (__kernel_standard_l): Use feholdexcept and fesetenv around
19808         conversion to double instead of special-casing overflow and
19809         underflow.
19810         * math/libm-test.inc (fmod_test_data): Add more tests.
19811         (remainder_test_data): Likewise.
19812         (sqrt_test_data): Likewise.
19814 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19816         [BZ #17403]
19817         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19818         atomic_read_barrier, atomic_write_barrier): Define.
19819         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19820         atomic_read_barrier, atomic_write_barrier): Define.
19822 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19824         * math/Makefile [$(PERL) != no]
19825         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19826         dependency on libm-test.stmp below the inclusion of Rules.
19828 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19830         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19832         and included header.
19833         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19834         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19837         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19838         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19839         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19840         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19841         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19842         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19843         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19844         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19845         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19846         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19847         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19848         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19849         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19850         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19851         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19853 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19855         [BZ #18371]
19856         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19857         intermediate but not final result might underflow.
19858         * math/s_csqrtf.c (__csqrtf): Likewise.
19859         * math/s_csqrtl.c (__csqrtl): Likewise.
19860         * math/auto-libm-test-in: Add more tests of csqrt.
19861         * math/auto-libm-test-out: Regenerated.
19862         * sysdeps/i386/fpu/libm-test-ulps: Update.
19864         [BZ #18219]
19865         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19866         threshold on absolute value of exponent for which scaling is used.
19867         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19868         * math/auto-libm-test-in: Add more tests of exp2.
19869         * math/auto-libm-test-out: Regenerated.
19871 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19873         [BZ #17977]
19874         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19875         when initializing interface list, based on the bug analysis
19876         and the patch proposed by Eric Newton.
19877         * resolv/tst-res_hconf_reorder.c: New test.
19878         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19879         tst-res_hconf_reorder.
19880         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19881         and $(shared-thread-library).
19882         (tst-res_hconf_reorder-ENV): New variable.
19884         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19885         in comment.
19887 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19889         [BZ #16353]
19890         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19891         (__expm1): Force underflow exception for arguments with small
19892         absolute value.
19893         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19894         (__expm1f): Force underflow exception for arguments with small
19895         absolute value.
19896         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19897         (__expm1): Force underflow exception for arguments with small
19898         absolute value.
19899         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19900         (__expm1f): Force underflow exception for arguments with small
19901         absolute value.
19902         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19903         Check for small arguments before calling __expm1.
19904         * math/auto-libm-test-in: Do not mark underflow exceptions as
19905         possibly missing for bug 16353.
19906         * math/auto-libm-test-out: Regenerated.
19908 2015-06-22  Andreas Schwab  <schwab@suse.de>
19910         [BZ #18513]
19911         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19912         PTR queries.
19914 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19916         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19918         * string/strcoll_l.c: Remove unused struct element idxnow.
19920 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19922         [BZ #18569]
19923         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19924         underflow and return argument in case of subnormal argument.
19925         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19926         Likewise.
19927         * math/auto-libm-test-in: Add more tests of expm1.
19928         * math/auto-libm-test-out: Regenerated.
19930         [BZ #16361]
19931         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19932         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19933         tiny results.
19934         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19935         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19936         tiny results.
19937         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19938         mark underflow exceptions as possibly missing for bug 16361.
19939         * math/auto-libm-test-out: Regenerated.
19941 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19943         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19944         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19945         Remove variable.
19946         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19947         (test-xfail-XOPEN2K8/utmpx.h/conform).
19949         * conform/conformtest.pl ($xerrors): New variable.
19950         (note_error): New function.
19951         (compiletest): New argument $xfail.  Use not_error.
19952         (runtest): Likewise.
19953         (top level): Handle xfail- lines.  Update calls to compiletest and
19954         runtest.  Handle xfail- and optional- in headers listed with
19955         allow-header.
19956         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19957         (O_EXEC): Likewise.
19958         (O_SEARCH): Likewise.
19959         * conform/data/stropts.h-data (ioctl): Likewise.
19960         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19961         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19962         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19963         (msghdr.msg_controllen): Likewise.
19964         (cmsghdr.cmsg_len): Likewise.
19965         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19966         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19967         variable.
19968         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19969         (test-xfail-XPG4/stropts.h/conform): Likewise.
19970         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19971         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19972         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19973         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19974         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19975         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19976         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19977         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19978         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19979         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19980         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19981         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19982         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19983         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19984         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19985         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19986         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19987         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19988         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19990 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19992         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19993         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19994         definitions for proper unfolding of __MATHDECL_VEC.
19996 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19998         * benchtests/bench-strcoll.c:
19999         Include string.h.
20000         (main): Remove unused variable res.
20002 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20004         * timezone/Makefile (%/UTC %/Universal):
20005         Generate test-result files for UTC and Universal.
20007 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20009         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20011 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20013         [BZ #16350]
20014         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20015         for arguments with small absolute value.
20016         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20017         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20018         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20019         (__asinh): Force underflow exception for arguments with small
20020         absolute value.
20021         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20022         (__asinhf): Force underflow exception for arguments with small
20023         absolute value.
20024         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20025         (__asinhl): Force underflow exception for arguments with small
20026         absolute value.
20027         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20028         (__asinhl): Force underflow exception for arguments with small
20029         absolute value.
20030         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20031         (__asinhl): Force underflow exception for arguments with small
20032         absolute value.
20033         * math/auto-libm-test-in: Do not mark underflow exceptions as
20034         possibly missing for bug 16350.
20035         * math/auto-libm-test-out: Regenerated.
20037         * include/bits/ipc.h: Remove file.
20038         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20039         variable.
20040         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20041         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20042         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20043         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20044         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20045         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20046         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20047         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20048         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20050         * math/auto-libm-test-in: Remove spurious underflow allowance for
20051         tests of cexp.
20052         * math/auto-libm-test-out: Regenerated.
20054         [BZ #18558]
20055         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20056         unconditional definition.
20057         (MCAST_BLOCK_SOURCE): Likewise.
20058         (MCAST_UNBLOCK_SOURCE): Likewise.
20059         (MCAST_LEAVE_GROUP): Likewise.
20060         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20061         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20062         (MCAST_MSFILTER): Likewise.
20063         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20064         Remove variable.
20065         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20066         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20067         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20068         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20069         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20071 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20073         * NEWS: Mention addition of x86_64 vector sincosf.
20074         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20075         * math/test-float-vlen4.h: Likewise.
20076         * math/test-float-vlen8.h: Likewise.
20077         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20078         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20079         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20080         * sysdeps/x86_64/fpu/Versions: New versions added.
20081         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20082         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20083         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20087         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20090         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20091         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20092         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20093         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20094         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20095         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20096         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20097         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20098         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20099         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20100         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20101         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20102         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20103         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20104         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20106         * NEWS: Mention addition of x86_64 vector sincos.
20107         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20108         * math/math.h (__MATHDECL_VEC): New macro.
20109         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20110         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20111         declaration under condition.
20112         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20113         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20114         TEST_VEC_LOOP change.
20115         * math/test-double-vlen4.h: Likewise.
20116         * math/test-double-vlen8.h: Likewise.
20117         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20118         * math/test-float-vlen4.h: Likewise.
20119         * math/test-float-vlen8.h: Likewise.
20120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20121         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20122         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20123         * sysdeps/x86_64/fpu/Versions: New versions added.
20124         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20125         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20126         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20128         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20129         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20131         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20132         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20133         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20134         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20135         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20136         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20137         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20138         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20139         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20140         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20141         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20142         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20143         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20144         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20145         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20146         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20147         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20149         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20150         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20151         redirections for powf.
20152         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20153         * sysdeps/x86_64/fpu/Versions: New versions added.
20154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20155         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20156         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20157         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20158         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20160         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20161         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20163         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20164         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20165         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20166         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20167         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20168         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20169         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20170         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20171         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20173         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20177         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20178         * math/test-float-vlen16.h: Fixed 2 argument macro.
20179         * math/test-float-vlen4.h: Likewise.
20180         * math/test-float-vlen8.h: Likewise.
20181         * NEWS: Mention addition of x86_64 vector powf.
20183 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20185         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20186         and redefine.
20187         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20188         and redefine.
20189         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20190         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20191         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20193         [BZ #18553]
20194         * resource/getpriority.c (getpriority): Rename to __getpriority
20195         and define as weak alias of __getpriority.
20196         * resource/setpriority.c (setpriority): Rename to __setpriority
20197         and define as weak alias of __setpriority.
20198         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20199         __getpriority and define as weak alias of __getpriority.
20200         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20201         __setpriority and define as weak alias of __setpriority.
20202         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20203         strong name.
20204         (setpriority): Use __setpriority as strong name.
20205         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20206         __getpriority and define as weak alias of __getpriority.
20207         * include/sys/resource.h (__getpriority): Declare.  Use
20208         libc_hidden_proto.
20209         (__setpriority): Likewise.
20210         (getpriority): Don't use libc_hidden_proto.
20211         (setpriority): Likewise.
20212         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20213         getpriority.  Call __setpriority instead of setpriority.
20214         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20215         Remove variable.
20217         [BZ #18547]
20218         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20219         as weak alias of __getttynam.  Use prototype function definition.
20220         Call __setttyent, __getttyent and __endttyent instead of
20221         setttyent, getttyent and endttyent.
20222         (getttyent): Rename to __getttyent and define as weak alias of
20223         __getttyent.  Call __setttyent instead of setttyent.  Call
20224         __fgets_unlocked instead of fgets_unlocked.
20225         (setttyent): Rename to __setttyent and define as weak alias of
20226         __setttyent.
20227         (endttyent): Rename to __endttyent and define as weak alias of
20228         __endttyent.
20229         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20230         (__setttyent): Likewise.
20231         (__endttyent): Likewise.
20232         (getttyent): Don't use libc_hidden_proto.
20233         (setttyent): Likewise.
20234         (endttyent): Likewise.
20235         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20236         __endttyent instead of setttyent, getttyent and endttyent.
20237         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20238         Remove variable.
20240         [BZ #18546]
20241         * socket/recv.c (__recv): Use libc_hidden_def.
20242         * socket/socket.c (__socket): Likewise.
20243         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20244         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20245         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20246         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20247         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20248         libc_hidden_def.
20249         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20250         libc_hidden_weak.
20251         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20252         Use libc_hidden_proto.
20253         (__recv): Likewise.
20254         * socket/Versions (libc): Export __recv and __socket at version
20255         GLIBC_PRIVATE.
20256         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20257         instead of recv.
20258         (init_mq_netlink): Call __socket instead of socket.
20259         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20260         Remove variable.
20262         [BZ #18545]
20263         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20264         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20265         hidden_weak.
20266         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20267         define as alias of __mq_timedsend.  Use hidden_weak.
20268         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20269         __mq_timedsend as strong name.
20270         (mq_timedreceive): Use __mq_timedreceive as strong name.
20271         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20272         (__mq_timedreceive): Likewise.
20273         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20274         __mq_timedreceive instead of mq_timedreceive.
20275         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20276         instead of mq_timedsend.
20277         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20278         Remove variable.
20280         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20281         hidden_def and hidden_weak instead of libc_hidden_def and
20282         libc_hidden_weak.
20283         (top level): Refer to hidden_def in comment.
20284         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20285         macro.  Use it instead of libc_hidden_def.
20286         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20287         specify __GI_* name explicitly.
20288         (mq_timedreceive): Likewise.
20289         (mq_setattr): Likewise.
20291         [BZ #18544]
20292         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20293         __pthread_barrier_init and define as weak alias of
20294         __pthread_barrier_init.
20295         * sysdeps/sparc/nptl/pthread_barrier_init.c
20296         (pthread_barrier_init): Likewise.
20297         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20298         __pthread_barrier_wait and define as weak alias of
20299         __pthread_barrier_wait.
20300         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20301         (pthread_barrier_wait): Likewise.
20302         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20303         (pthread_barrier_wait): Likewise.
20304         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20305         (pthread_barrier_wait): Likewise.
20306         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20307         (pthread_barrier_wait): Likewise.
20308         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20309         __pthread_barrier_wait at version GLIBC_PRIVATE.
20310         * include/pthread.h (__pthread_barrier_init): Declare.
20311         (__pthread_barrier_wait): Likewise.
20312         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20313         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20314         (helper_thread): Likewise.
20315         (init_mq_netlink): Call __pthread_barrier_init instead of
20316         pthread_barrier_init.
20318         [BZ #18542]
20319         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20320         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20321         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20322         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20323         vswscanf.
20324         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20325         Remove variable.
20327         [BZ #18540]
20328         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20329         strong alias of _IO_fflush.  Use libc_hidden_def.
20330         * libio/iofflush_u.c (fflush_unlocked): Rename to
20331         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20332         Use libc_hidden_weak.
20333         * include/stdio.h (__fflush_unlocked): Declare.  Use
20334         libc_hidden_proto.
20335         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20336         fflush_unlocked.
20337         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20338         Remove variable.
20340         [BZ #18539]
20341         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20342         define as weak alias of __addseverity.
20343         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20344         Remove variable.
20345         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20346         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20347         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20349         [BZ #18536]
20350         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20351         (__tfind): Likewise.
20352         (__tdelete): Likewise.
20353         (__twalk): Likewise.
20354         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20355         __twalk to GLIBC_PRIVATE.
20356         * include/search.h (__tsearch): Use libc_hidden_proto.
20357         (__tfind): Likewise.
20358         (__tdelete): Likewise.
20359         (__twalk): Likewise.
20360         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20361         Call __tdelete instead of tdelete.
20362         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20363         tfind.  Call __tsearch instead of tsearch.
20364         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20365         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20366         Remove variable.
20367         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20369         [BZ #18534]
20370         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20371         (dprintf): Define as a weak alias of __dprintf, not a strong
20372         alias.
20373         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20374         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20375         dprintf.
20376         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20377         Remove variable.
20378         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20379         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20381         [BZ #18533]
20382         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20383         not a strong alias.
20384         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20385         Remove variable.
20387         [BZ #18532]
20388         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20389         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20390         (in6addr_loopback): Rename to __in6addr_loopback and define as
20391         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20392         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20393         libc_hidden_proto.
20394         (__in6addr_any): Likewise.
20395         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20396         in6addr_any.
20397         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20398         variable.
20399         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20401 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20403         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20404         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20405         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20406         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20407         redirections for pow.
20408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20409         * sysdeps/x86_64/fpu/Versions: New versions added.
20410         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20411         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20412         build of SSE, AVX2 and AVX512 IFUNC versions.
20413         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20414         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20415         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20416         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20417         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20418         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20419         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20420         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20421         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20422         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20423         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20424         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20425         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20426         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20427         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20428         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20429         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20430         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20431         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20432         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20433         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20434         * NEWS: Mention addition of x86_64 vector pow.
20436         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20437         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20438         redirections for expf.
20439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20440         * sysdeps/x86_64/fpu/Versions: New versions added.
20441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20442         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20443         build of SSE, AVX2 and AVX512 IFUNC versions.
20444         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20445         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20446         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20447         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20448         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20449         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20450         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20451         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20452         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20453         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20454         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20455         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20456         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20457         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20458         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20459         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20460         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20461         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20462         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20463         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20464         * NEWS: Mention addition of x86_64 vector expf.
20466         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20467         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20468         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20469         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20470         redirections for exp.
20471         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20472         * sysdeps/x86_64/fpu/Versions: New versions added.
20473         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20474         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20475         build of SSE, AVX2 and AVX512 IFUNC versions.
20476         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20477         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20478         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20479         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20480         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20481         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20482         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20483         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20484         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20485         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20486         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20487         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20488         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20489         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20492         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20494         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20495         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20496         * NEWS: Mention addition of x86_64 vector exp.
20498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20499         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20500         redirections for logf.
20501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20502         * sysdeps/x86_64/fpu/Versions: New versions added.
20503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20504         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20505         build of SSE, AVX2 and AVX512 IFUNC versions.
20506         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20508         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20509         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20510         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20511         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20512         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20513         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20514         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20515         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20516         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20517         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20518         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20519         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20526         * NEWS: Mention addition of x86_64 vector logf.
20528         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20529         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20531         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20532         redirections for log.
20533         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20534         * sysdeps/x86_64/fpu/Versions: New versions added.
20535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20536         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20537         build of SSE, AVX2 and AVX512 IFUNC versions.
20538         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20539         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20540         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20541         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20542         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20543         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20544         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20545         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20546         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20547         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20548         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20549         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20550         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20551         test.
20552         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20553         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20554         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20555         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20556         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20557         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20558         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20559         * NEWS: Mention addition of x86_64 vector log.
20561 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20563         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20564         cfi_adjust_cfa_offset argument.
20565         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20566         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20568         [BZ #18034]
20569         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20570         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20571         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20572         ordering using ldar.
20573         (_dl_tlsdesc_dynamic): Likewise.
20574         (_dl_tlsdesc_return_lazy): Likewise.
20575         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20576         relaxed atomics instead of volatile and synchronize with release store.
20577         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20578         volatile.
20579         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20581 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20584         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20586         * sysdeps/x86_64/fpu/Versions: New versions added.
20587         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20588         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20589         build of SSE, AVX2 and AVX512 IFUNC versions.
20590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20591         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20592         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20593         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20594         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20595         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20596         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20597         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20598         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20599         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20600         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20601         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20602         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20603         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20604         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20605         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20608         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20609         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20610         * NEWS: Mention addition of x86_64 vector sinf.
20612 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20614         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20615         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20616         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20617         Remove variable.
20618         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20619         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20621 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20623         [BZ #18530]
20624         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20625         strong alias of _IO_fputs.  Use libc_hidden_def.
20626         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20627         and define as weak alias of __fputs_unlocked.  Use
20628         libc_hidden_weak.
20629         * include/stdio.h (__fputs_unlocked): Declare.  Use
20630         libc_hidden_proto.
20631         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20632         fputs_unlocked.
20634         [BZ #18529]
20635         * resolv/netdb.h [__USE_POSIX]: Change condition to
20636         [__USE_XOPEN2K].
20637         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20638         not expect.
20639         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20640         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20641         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20642         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20643         [XPG4 || UNIX98] (AI_ALL): Likewise.
20644         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20645         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20646         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20647         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20648         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20649         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20650         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20651         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20652         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20653         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20654         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20655         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20656         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20657         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20658         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20659         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20660         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20661         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20662         [XPG4 || UNIX98] (gai_strerror): Likewise.
20663         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20664         [XPG4 || UNIX98] (getnameinfo): Likewise.
20666         [BZ #18528]
20667         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20668         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20669         __USE_XOPEN2K8].
20670         (getgrent): Likewise.
20671         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20672         expect.
20673         [XPG3 || POSIX2008] (endgrent): Likewise.
20674         [XPG3] (setgrent): Likewise.
20675         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20676         variable.
20677         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20679         [BZ #18527]
20680         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20681         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20682         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20683         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20684         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20685         * include/unistd.h (__getlogin_r): Declare.  Use
20686         libc_hidden_proto.
20687         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20688         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20689         variable.
20690         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20691         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20692         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20694 2015-06-12  Martin Sebor  <msebor@redhat.com>
20696         [BZ #18512]
20697         * Makerules (check-install-supported): New target.
20698         (install): Add check-install-supported as a dependency.
20699         * manual/install.texi (Installing the C Library): Document
20700         that overriding prefix and exec_prefix is not supported.
20701         Mention DESTDIR.
20702         * INSTALL: Regenerate from the above.
20704 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20706         [BZ #18519]
20707         * posix/Versions (libc): Export __libc_pread at version
20708         GLIBC_PRIVATE.
20709         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20710         instead of pread.
20711         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20712         variable.
20714         [BZ #18522]
20715         * misc/efgcvt_r.c
20716         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20717         (cvt_symbol): Use weak_alias instead of strong_alias.
20718         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20719         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20720         Remove variable.
20721         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20722         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20724         [BZ #18520]
20725         * inet/herrno.c (h_errno): Rename to __h_errno.
20726         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20727         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20728         to __h_errno instead of h_errno.
20729         * nptl/herrno.c (h_errno): Rename to __h_errno.
20730         (__h_errno_location): Refer to __h_errno not h_errno.
20731         * resolv/Versions (h_errno): Rename to __h_errno.
20732         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20733         Remove variable.
20734         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20736 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20738         * configure.ac: More strict check for AVX512 assembler support.
20739         * configure: Regenerated.
20741         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20742         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20743         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20744         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20745         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20746         * sysdeps/x86_64/fpu/Versions: New versions added.
20747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20749         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20750         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20751         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20752         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20753         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20754         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20755         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20756         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20757         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20758         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20759         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20760         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20761         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20762         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20763         test.
20764         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20765         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20766         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20767         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20768         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20769         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20770         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20771         * NEWS: Mention addition of x86_64 vector sin.
20773 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20775         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20776         comment.
20778 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20780         [BZ #18479]
20781         * nptl/pt-interp.c: New file.
20782         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20783         Add pt-interp.
20784         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20785         $(common-objpfx)runtime-linker.h.
20787 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20789         * Makeconfig (+interp): Remove unused variable.
20790         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20791         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20792         $(elf-objpfx)runtime-linker.h.
20793         ($(elf-objpfx)runtime-linker.h): Rename to
20794         $(common-objpfx)runtime-linker.h and move ...
20795         * Makerules [$(build-shared) = yes]: ... here.
20796         * elf/interp.c: Include <runtime-linker.h> instead of
20797         <elf/runtime-linker.h>.
20799 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20801         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20802         (__gettimeofday_syscall): Remove vsyscall fallback.
20803         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20804         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20805         Add syscall fallback function.
20806         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20807         if vDSO is not present.
20808         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20809         fallback function.
20810         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20811         present.
20812         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20813         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20815 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20817         [BZ #18497]
20818         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20819         of wcscmp.
20820         (wcscmp): Define as weak alias of WCSCMP.
20821         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20822         wcscoll.
20823         (USE_HIDDEN_DEF): Define.
20824         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20825         __wcscoll.  Don't use libc_hidden_weak.
20826         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20827         wcscmp.
20828         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20829         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20830         __GI_wcscmp.
20831         (weak_alias): Undefine and redefine.
20832         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20833         __wcscmp and define as weak alias of __wcscmp.
20834         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20835         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20836         (__wcscoll): Likewise.
20837         (wcscmp): Don't use libc_hidden_proto.
20838         (wcscoll): Likewise.
20839         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20840         wcscoll.
20841         * posix/regexec.c (check_node_accept_bytes): Likewise.
20842         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20843         variable.
20844         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20845         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20847         [BZ #18507]
20848         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20849         __fstatvfs and define as weak alias of __fstatvfs.  Use
20850         libc_hidden_weak.
20851         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20852         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20853         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20854         Define as alias of __fstatvfs, not fstatvfs.
20855         (fstatvfs64): Likewise.
20856         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20857         Define as alias of __statvfs, not statvfs.
20858         (statvfs64): Likewise.
20859         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20860         Remove variable.
20862 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20865         (HAVE_GETCPU_VSYSCALL): Define.
20866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20867         (HAVE_GETCPU_VSYSCALL): Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20869         * sysdeps/unix/sysv/linux/sched_getcpu.c
20870         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20871         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20872         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20873         prototype.
20874         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20875         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20876         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20878         Define.
20879         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20880         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20881         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20882         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20884 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20886         * sysdeps/x86_64/fpu/Makefile: New file.
20887         * sysdeps/x86_64/fpu/Versions: New file.
20888         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20889         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20890         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20891         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20892         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20893         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20894         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20897         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20899         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20902         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20903         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20904         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20905         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20906         * sysdeps/x86_64/configure: Regenerated.
20907         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20908         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20909         * manual/install.texi (Configuring and compiling): Document
20910         --disable-mathvec.
20911         * INSTALL: Regenerated.
20912         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20914         * math/Makefile: Added rules for vector tests.
20915         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20916         declaration under condition.
20917         * math/test-double-vlen2.h: New file.
20918         * math/test-double-vlen4.h: New file.
20919         * math/test-double-vlen8.h: New file.
20920         * math/test-vec-loop.h: Added initialization macro.
20921         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20922         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20923         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20924         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20925         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20927         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20928         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20929         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20930         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20931         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20934         * sysdeps/x86_64/fpu/Versions: New versions added.
20935         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20938         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20939         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20940         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20941         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20942         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20943         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20945         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20946         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20947         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20948         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20949         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20950         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20951         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20952         * NEWS: Mention addition of x86_64 vector cosf.
20954         * math/Makefile: Added CFLAGS for new tests.
20955         * math/test-float-vlen16.h: New file.
20956         * math/test-float-vlen4.h: New file.
20957         * math/test-float-vlen8.h: New file.
20958         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20959         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20961         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20962         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20963         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20964         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20965         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20966         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20967         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20968         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20970 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20972         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20973         * locale/programs/ld-ctype.c: Likewise.
20975 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20977         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20978         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20979         bit_ZMM16_31_state): New macro.
20980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20981         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20983 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20985         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20987 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20989         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20991 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20993         [BZ #18498]
20994         * libio/memstream.c (open_memstream): Rename to __open_memstream
20995         and define as weak alias of __open_memstream.
20996         * include/stdio.h (__open_memstream): Declare.  Use
20997         libc_hidden_proto.
20998         (open_memstream): Don't use libc_hidden_proto.
20999         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21000         open_memstream.
21001         * posix/getopt.c (_getopt_internal_r): Likewise.
21002         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21003         variable.
21004         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21005         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21006         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21008         [BZ #18496]
21009         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21010         instead of wcrtomb.
21012         [BZ #18483]
21013         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21014         [__USE_XOPEN2K8].  Remove redundant #endif.
21015         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21016         Remove redundant #if.
21017         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21018         Remove variable.
21019         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21020         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21022         [BZ #18495]
21023         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21024         (__iswlower): Likewise.
21025         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21026         (__iswlower): Likewise.
21027         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21028         instead of towlower.
21029         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21030         instead of iswlower.  Call __towupper instead of towupper.
21031         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21032         instead of iswalnum.
21034 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21036         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21037         errors to stderr.
21039 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21041         [BZ #15661]
21042         [BZ #17322]
21043         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21044         Check for overflow properly.  Check for O_APPEND.  Ignore large
21045         file system block sizes.  Add comments about problems.
21046         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21047         * manual/filesys.texi (Storage Allocation): New node.
21049 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21051         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21052         cancellable syscalls.
21053         (SYS_ify): Add guard to no redefine it.
21054         (INLINE_SYSCALL): Likewise.
21055         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21056         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21057         SYSCALL_CANCEL instead.
21058         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21059         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21060         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21061         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21062         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21063         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21064         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21065         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21066         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21067         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21068         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21069         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21070         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21071         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21072         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21074         Likewise.
21075         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21076         (__libc_pread64): Likewise.
21077         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21078         (__libc_preadv): Likewise.
21079         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21080         (__libc_readv64): Likewise.
21081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21082         (__libc_pwrite): Likewise.
21083         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21084         (__libc_pwrite64): Likewise.
21085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21086         (__libc_pwritev): Likewise.
21087         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21088         (__libc_pwritev64): Likewise.
21089         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21090         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21091         (sync_file_range): Likewise.
21092         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21093         Likewise.
21094         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21095         Likewise.
21096         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21097         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21098         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21099         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21100         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21101         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21102         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21103         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21105         Likewise.
21106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21107         (__libc_read64): Likewise.
21108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21109         Likewise.
21110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21111         Likewise.
21112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21113         Likewise.
21114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21115         Likewise.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21117         (__libc_pread64): Likewise.
21118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21119         Likewise.
21120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21121         (__libc_pwrite64): Likewise.
21122         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21123         (sync_file_range): Likewise.
21124         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21125         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21126         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21127         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21128         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21129         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21130         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21131         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21132         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21133         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21134         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21135         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21136         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21137         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21138         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21139         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21140         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21141         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21142         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21143         Likewise.
21144         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21145         Likewise.
21146         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21147         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21148         Likewise.
21149         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21150         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21151         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21152         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21153         Likewise.
21154         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21155         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21156         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21157         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21158         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21160 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21162         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21163         Include dl-vdso.
21164         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21165         Use VDSO routines for gettimeofday, clock_gettime if
21166         available.
21167         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21168         Declare VDSO symbols.
21169         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21170         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21171         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21172         * sysdeps/unix/sysv/linux/arm/Versions: Add
21173         __vdso_clock_gettime.
21175 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21177         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21178         be an inline implementation regardless of library is built within.
21179         (open_not_cancel_2): Likewise.
21180         (__read_nocancel): Likewise.
21181         (__write_nocancel): Likewise.
21182         (openat_not_cancel): Likewise.
21183         (openat_not_cancel_3): Likewise.
21184         (openat64_not_cancel): Likewise.
21185         (openat64_not_cancel_3): Likewise.
21186         (__close_nocancel): Likewise.
21187         (pause_not_cancel): Likewise.
21188         (nanosleep_not_cancel): Likewise.
21189         (sigsuspend_not_cancel): Likewise.
21191 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21193         [BZ #14958]
21194         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21195         wake-up.
21196         (__pthread_rwlock_rdlock_slow): Likewise.
21197         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21198         Likewise.
21199         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21200         Likewise.
21201         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21202         * nptl/tst-rwlock16.c: New file.
21203         * nptl/Makefile (tests): Add new test.
21205 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21207         [BZ #18324]
21208         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21209         missing wake-up of readers.
21210         * nptl/tst-rwlock15.c: New file.
21211         * nptl/Makefile (tests): Add new test.
21213 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21215         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21216         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21217         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21218         and __nacl_supply_interface_rtld.
21219         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21220         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21221         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21222         Add __nacl_supply_interface_rtld.
21223         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21225 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21228         isfinite.
21229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21230         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21232 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21234         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21235         __signbit* with standard C99 macros.
21236         * math/e_exp10l.c: Likewise.
21237         * math/e_exp2l.c: Likewise.
21238         * math/e_scalb.c: Likewise.
21239         * math/e_scalbf.c: Likewise.
21240         * math/e_scalbl.c: Likewise.
21241         * math/s_ldexp.c: Likewise.
21242         * math/s_ldexpf.c: Likewise.
21243         * math/s_ldexpl.c: Likewise.
21244         * math/w_atan2.c: Likewise.
21245         * math/w_atan2f.c: Likewise.
21246         * math/w_atan2l.c: Likewise.
21247         * math/w_cosh.c: Likewise.
21248         * math/w_coshf.c: Likewise.
21249         * math/w_coshl.c: Likewise.
21250         * math/w_exp10.c: Likewise.
21251         * math/w_exp10f.c: Likewise.
21252         * math/w_exp10l.c: Likewise.
21253         * math/w_exp2.c: Likewise.
21254         * math/w_exp2f.c: Likewise.
21255         * math/w_exp2l.c: Likewise.
21256         * math/w_fmod.c: Likewise.
21257         * math/w_fmodf.c: Likewise.
21258         * math/w_fmodl.c: Likewise.
21259         * math/w_hypot.c: Likewise.
21260         * math/w_hypotf.c: Likewise.
21261         * math/w_hypotl.c: Likewise.
21262         * math/w_jnl.c: Likewise.
21263         * math/w_lgamma.c: Likewise.
21264         * math/w_lgamma_r.c: Likewise.
21265         * math/w_lgammaf.c: Likewise.
21266         * math/w_lgammaf_r.c: Likewise.
21267         * math/w_lgammal.c: Likewise.
21268         * math/w_lgammal_r.c: Likewise.
21269         * math/w_pow.c: Likewise.
21270         * math/w_powf.c: Likewise.
21271         * math/w_powl.c: Likewise.
21272         * math/w_remainder.c: Likewise.
21273         * math/w_remainderf.c: Likewise.
21274         * math/w_remainderl.c: Likewise.
21275         * math/w_scalb.c: Likewise.
21276         * math/w_scalbf.c: Likewise.
21277         * math/w_scalbl.c: Likewise.
21278         * math/w_scalbln.c: Likewise.
21279         * math/w_scalblnf.c: Likewise.
21280         * math/w_scalblnl.c: Likewise.
21281         * math/w_sinh.c: Likewise.
21282         * math/w_sinhf.c: Likewise.
21283         * math/w_sinhl.c: Likewise.
21284         * math/w_tgamma.c: Likewise.
21285         * math/w_tgammaf.c: Likewise.
21286         * math/w_tgammal.c: Likewise.
21287         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21288         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21289         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21290         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21291         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21293         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21294         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21295         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21296         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21297         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21298         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21299         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21300         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21301         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21302         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21304         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21305         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21306         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21307         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21308         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21309         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21311         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21312         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21313         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21314         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21315         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21316         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21317         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21318         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21319         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21320         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21321         * stdio-common/printf_fp.c: Likewise.
21322         * stdio-common/printf_fphex.c: Likewise.
21323         * stdio-common/printf_size.c: Likewise.
21325 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21327         [BZ #18470]
21328         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21329         strnlen.
21330         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21331         Remove variable.
21332         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21333         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21334         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21335         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21336         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21337         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21338         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21339         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21340         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21341         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21343         [BZ #18468]
21344         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21345         weak alias of __wmemchr.  Use libc_hidden_weak.
21346         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21347         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21348         instead of wmemchr.
21350 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21352         [BZ #18383]
21353         * elf/tst-tlsalign-extern.c: New file.
21354         * elf/tst-tlsalign-extern-static.c: New file.
21355         * elf/tst-tlsalign-vars.c: New file.
21356         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21357         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21358         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21359         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21360         (test-xfail-tst-tlsalign-extern-static): New variable.
21362 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21364         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21365         Use variable name _sc_err instead of err.
21366         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21367         instead of ret.
21368         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21369         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21370         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21371         (INLINE_SYSCALL): Likewise.
21373         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21374         * include/string.h (__strnlen): Use libc_hidden_proto.
21375         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21376         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21377         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21378         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21379         (libc_hidden_def): Undefine and redefine.
21380         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21381         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21382         __GI_strnlen.
21383         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21384         libc_hidden_def.
21385         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21387         [BZ #18469]
21388         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21389         weak alias of __towlower.  Use libc_hidden_weak.
21390         (towupper): Rename to __towupper and define as weak alias of
21391         __towupper.  Use libc_hidden_weak.
21392         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21393         (__towupper): Likewise.
21394         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21395         __towlower instead of towlower.
21397 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21399         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21400         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21402 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21404         * sysdeps/aarch64/libm-test-ulps: Update.
21406 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21408         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21409         Define.
21410         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21412         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21413         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21414         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21415         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21416         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21418 2015-06-01  Martin Sebor  <msebor@redhat.com>
21420         [BZ #18116]
21421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21422         (__setcontext): Use extended four-operand version of mtsf whenever
21423         possible.
21424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21425         (__novec_swapcontext): Likewise.
21427 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21429         * benchtests/scripts/compare_bench.py: New file.
21430         * benchtests/scripts/import_bench.py (mean): New function.
21431         (split_list): Likewise.
21432         (do_for_all_timings): Likewise.
21433         (compress_timings): Likewise.
21435         * benchtests/scripts/import_bench.py: New file.
21436         * benchtests/scripts/validate_benchout.py: Import import_bench
21437         instead of jsonschema.
21438         (validate_bench): Remove function.
21439         (main): Use import_bench.
21441 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21443         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21444         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21446 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21450 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21452         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21453         set THREAD_SELF->tid to a magic value and futex-wake it.
21454         Pass its address to the thread_exit system call.
21455         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21456         bit is clear.
21457         * sysdeps/nacl/lowlevellock.h: New file.
21458         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21460         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21461         Add TIMEOUT to current time, don't subtract it.
21463 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21465         [BZ #2981]
21466         [BZ #18422]
21467         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21468         ($(objpfx)tst-audit2.out): Also depend on
21469         $(objpfx)tst-auditmod9b.so.
21470         * elf/tst-audit2.c: Include <dlfcn.h>.
21471         (calloc_called): New.
21472         (calloc): Allow to be called more than once.
21473         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21475 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21477         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21478         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21480 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21482         * stdlib/monetary.h: Fix comment.
21484 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21486         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21487         Avoid using variables in #defines that might cause shadowing.
21488         (INTERNAL_VSYSCALL_CALL): Likewise.
21490 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21492         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21494         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21495         * nptl/lll_timedlock_wait.c: ... to this new file.
21496         * nptl/Makefile (libpthread-routines): Add it.
21497         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21498         * nptl/lll_timedwait_tid.c: ... to this new file.
21499         * nptl/Makefile (libpthread-routines): Add it.
21500         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21501         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21502         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21503         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21504         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21505         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21506         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21507         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21508         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21509         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21511 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21513         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21514         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21515         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21516         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21517         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21518         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21519         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21520         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21521         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21522         * sysdeps/unix/sysv/linux/tile/sysdep.h
21523         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21524         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21525         using vDSO syscall macro.
21527 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21529         [BZ #17293]
21530         * uk_UA: Fix sorting order for Ukrainian locale
21532 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21534         * stdlib/monetary.h: Fix comment.
21536 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21538         [BZ #18234]
21539         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21540         st_mtim and st_ctim members.
21541         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21542         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21543         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21544         (struct stat64): Likewise.
21545         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21546         (struct stat64): Likewise.
21547         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21548         (struct stat64): Likewise.
21550 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21552         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21553         Define and include sysdep-vdso.h.
21554         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21555         Likewise.
21556         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21557         Likewise.
21558         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21559         Define with VDSO_SYMBOL and use PTR_MANGLE.
21560         (__vdso_clock_gettime): Likewise.
21561         (__vdso_clock_getres): Likewise.
21562         (_libc_vdso_platform_setup): Likewise.
21563         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21564         Likewise.
21565         (_libc_vdso_platform_setup): Likewise.
21566         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21567         Likewise.
21568         (__vdso_clock_gettime): Likewise.
21569         (__vdso_clock_getres): Likewise.
21570         (__vdso_get_tbfreq): Likewise.
21571         (__vdso_getcpu): Likewise.
21572         (__vdso_time): Likewise.
21573         (__vdso_sigtramp_rt64): Likewise.
21574         (__vdso_signtramp32): Likewise.
21575         (__vdso_sigtramp_rt32): Likewise.
21576         (_libc_vdso_platform_setup): Likewise.
21577         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21578         Likewise.
21579         (__vdso_clock_gettime): Likewise.
21580         (__vdso_clock_getres): Likewise.
21581         (_libc_vdso_platform_setup): Likewise.
21582         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21583         Likewise.
21584         (__vdso_clock_gettime): Likewise.
21585         (_libc_vdso_platform_setup): Likewise.
21586         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21587         Likewise.
21588         (__vdso_getcpu): Likewise.
21589         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21590         Use VDSO_SYMBOL macro to define.
21591         (__vdso_clock_gettime): Likewise.
21592         (__vdso_clock_getres): Likewise.
21593         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21594         Likewise.
21595         (__vdso_clock_gettime): Likewise.
21596         (__vdso_clock_getres): Likewise.
21597         (__vdso_get_tbfreq): Likewise.
21598         (__vdso_getcpu): Likewise.
21599         (__vdso_time): Likewise.
21600         (__vdso_sigtramp_rt64): Likewise.
21601         (__vdso_signtramp32): Likewise.
21602         (__vdso_sigtramp_rt32): Likewise.
21603         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21604         Likewise.
21605         (__vdso_clock_gettime): Likewise.
21606         (__vdso_clock_getres): Likewise.
21607         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21608         Likewise.
21609         (__vdso_clock_gettime): Likewise.
21610         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21611         Likewise.
21612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21613         macro.
21614         (INTERNAL_VSYSCALL): Likewise.
21615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21616         Remove macro.
21617         (INTERNAL_VSYSCALL): Likewise.
21618         (INTERNAL_VSYSCALL_NCS): Likewise.
21619         (INTERNAL_VSYSCALL_CALL): New macro.
21620         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21622         Likewise.
21623         (INTERNAL_VSYSCALL): Likewise.
21624         (INTERNAL_VSYSCALL_NCS): Likewise.
21625         (INTERNAL_VSYSCALL_CALL): New macro.
21626         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21628         (INLINE_VSYSCALL): Remove macro.
21629         (INTERNAL_VSYSCALL): Remove macro.
21630         (INTERNAL_VSYSCALL_NCS): Remove macro.
21631         (INTERNAL_VSYSCALL_CALL): New macro.
21632         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21633         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21634         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21635         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21636         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21638         (INLINE_VSYSCALL): Remove macro.
21639         (INTERNAL_VSYSCALL): Likewise.
21640         (INTERNAL_VSYSCALL_NCS): Likewise.
21641         (INTERNAL_VSYSCALL_CALL): New macro.
21642         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21643         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21644         PTR_DEMANGLE on vDSO pointer.
21645         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21646         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21647         macro.
21648         (INTERNAL_SYSCALL): Likewise.
21649         (INTERNAL_VSYSCALL_NCS): Remove macro.
21650         (INTERNAL_VSYSCALL_CALL): New macro.
21651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21652         Remove macro.
21653         (INTERNAL_VSYSCALL): Likewise.
21654         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21655         sysdep-vdso.h instead of libc-vdso.h.
21656         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21657         definition.
21658         (INLINE_VSYSCALL): Likewise.
21659         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21660         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21661         definition.
21662         (INLINE_VSYSCALL): Likewise.
21663         (INTERNAL_VSYSCALL): Likewise.
21664         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21665         * sysdeps/unix/sysv/linux/timespec_get.c
21666         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21667         (timespec_get): Use ANSI prototype.
21668         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21669         and definition for Linux.
21671 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21673         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21674         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21676 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21678         [BZ #2981]
21679         [BZ #18410]
21680         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21681         for missing DT_PLTRELSZ.
21683 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21685         Remove obsolete aliases that broke 'locale -a'
21686         [BZ #18412]
21687         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21688         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21689         breaking some applications that use 'locale -a' output.
21690         Change the encoding of this file from Latin-1 to ASCII to avoid
21691         other potential problems with people grepping this file.
21693 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21695         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21696         -fasynchronous-unwind-tables.
21697         (CFLAGS-sendto.c): Likewise.
21698         (CFLAGS-sendmsg.c): Likewise.
21699         (CFLAGS-connect.c): Likewise.
21700         (CFLAGS-recvmsg.c): Likewise.
21701         (CFLAGS-recvfrom.c): Likewise.
21702         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21703         (SOCKETCALL): New macro: non-cancellable socketcall.
21704         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21705         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21706         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21707         * sysdeps/unix/sysv/linux/accept.c: New file.
21708         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21709         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21710         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21711         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21712         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21713         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21714         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21715         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21716         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21717         * sysdeps/unix/sysv/linux/send.c: Likewise.
21718         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21719         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21720         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21721         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21722         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21723         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21724         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21725         prototype.
21726         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21727         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21728         instead of __internal_xxx function.
21729         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21730         prototype.
21731         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21732         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21733         instead of __internal_xxx function.
21734         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21735         prototype.
21736         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21737         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21738         instead of __internal_xxx function.
21739         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21740         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21741         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21742         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21743         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21744         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21745         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21746         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21747         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21748         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21749         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21750         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21751         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21752         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21753         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21754         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21755         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21756         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21757         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21758         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21761         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21762         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21763         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21764         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21765         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21766         * sysdeps/unix/sysv/linux/send.S: Likewise.
21767         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21768         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21769         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21770         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21771         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21772         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21773         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21774         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21775         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21776         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21777         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21778         socketcall is implemented in GLIBC.
21780 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21782         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21783         (__fma): Ignore uninitialized warnings around packing.
21784         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21785         (__fmaf): Ignore uninitialized warnings around packing.
21786         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21787         (__fmal): Ignore uninitialized warnings around packing.
21789         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21790         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21791         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21792         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21794         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21795         switch statement into default case.
21796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21798         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21799         a conditional in forcing "inexact".
21800         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21801         Likewise.
21803 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21805         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21806         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21807         for each INTERNAL_SYSCALL use.
21809 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21811         [BZ #438]
21812         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21813         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21814         variable.
21816         [BZ #18444]
21817         * string/basename.c (basename): Rename to __basename and define as
21818         weak alias of __basename.  Use libc_hidden_weak.
21819         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21820         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21821         __basename instead of basename.
21822         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21823         Remove variable.
21824         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21826 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21828         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21829         (_IO_JUMPS_FILE_plus): New.
21830         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21831         _IO_CAST_FIELD_ACCESS.
21832         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21833         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21834         * libio/freopen.c (freopen): Likewise.
21835         * libio/freopen64.c (freopen64): Likewise.
21836         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21837         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21838         * libio/iofwide.c (_IO_fwide): Likewise.
21839         * libio/memstream.c (open_memstream): Likewise.
21840         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21841         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21842         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21844 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21846         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21847         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21848         NADJ.
21849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21850         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21851         NADJ.
21852         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21853         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21854         NADJ.
21856         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21857         (p == 4) case.
21859         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21860         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21861         Remove variable.
21862         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21863         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21864         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21866 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21868         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21869         Adjust jump table label generation macros.
21871 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21873         * stdio-common/vfprintf.c (vfprintf): Move local variables
21874         args_malloced, specs, specs_malloced, and the code after
21875         do_positional to the printf_positional function.
21876         (printf_positional): New function.
21878 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21880         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21881         function.
21882         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21883         STEP4_TABLE, process_arg): Move macro definitions
21884         out of the vfprintf function.  (Cosmetic change only.)
21886 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21888         * benchtests/Makefile (stdio-common-bench): Define.
21889         (benchset): Add stdio-common-bench.
21890         * sprintf-inputs: New file.
21891         * sprintf-source.c: New file.
21893 2015-05-21  Andreas Schwab  <schwab@suse.de>
21895         [BZ #13028]
21896         [BZ #17053]
21897         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21898         of struct __res_state.
21899         * resolv/res_send.c (__libc_res_nsend): Likewise.
21900         (get_nsaddr): New function.
21901         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21902         statp directly.
21904 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21906         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21907         -D_POSIX_C_SOURCE=199506L.
21909         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21911         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21912         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21913         Do not mention otherwise.
21914         [POSIX] (_XOPEN_VERSION): Do not expect.
21915         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21916         [POSIX] (_POSIX2_C_BIND): Likewise.
21917         [POSIX] (_POSIX2_VERSION): Likewise.
21918         [POSIX] (_XOPEN_XPG2): Likewise.
21919         [POSIX] (_XOPEN_XPG3): Likewise.
21920         [POSIX] (_XOPEN_XPG4): Likewise.
21921         [POSIX] (_XOPEN_UNIX): Likewise.
21922         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21923         [POSIX] (_POSIX_BARRIERS): Likewise.
21924         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21925         [POSIX] (_POSIX_CPUTIME): Likewise.
21926         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21927         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21928         [POSIX] (_POSIX_SHELL): Likewise.
21929         [POSIX] (_POSIX_SPAWN): Likewise.
21930         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21931         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21932         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21933         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21934         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21935         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21936         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21937         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21938         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21939         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21940         [POSIX] (_POSIX2_PBS): Likewise.
21941         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21942         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21943         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21944         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21945         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21946         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21947         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21948         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21949         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21950         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21951         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21952         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21953         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21954         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21955         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21956         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21957         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21958         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21959         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21960         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21961         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21962         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21963         [POSIX] (_SC_2_C_BIND): Likewise.
21964         [POSIX] (_SC_2_C_VERSION): Likewise.
21965         [POSIX] (_SC_2_PBS): Likewise.
21966         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21967         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21968         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21969         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21970         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21971         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21972         [POSIX] (_SC_BARRIERS): Likewise.
21973         [POSIX] (_SC_BASE): Likewise.
21974         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21975         [POSIX] (_SC_DEVICE_IO): Likewise.
21976         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21977         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21978         [POSIX] (_SC_FD_MGMT): Likewise.
21979         [POSIX] (_SC_FIFO): Likewise.
21980         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21981         [POSIX] (_SC_FILE_LOCKING): Likewise.
21982         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21983         [POSIX] (_SC_IOV_MAX): Likewise.
21984         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21985         [POSIX] (_SC_NETWORKING): Likewise.
21986         [POSIX] (_SC_PAGE_SIZE): Likewise.
21987         [POSIX] (_SC_PASS_MAX): Likewise.
21988         [POSIX] (_SC_PIPE): Likewise.
21989         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21990         [POSIX] (_SC_REGEXP): Likewise.
21991         [POSIX] (_SC_SHELL): Likewise.
21992         [POSIX] (_SC_SIGNALS): Likewise.
21993         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21994         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21995         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21996         [POSIX] (_SC_USER_GROUPS): Likewise.
21997         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21998         [POSIX] (_SC_STREAMS): Likewise.
21999         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22000         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22001         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22002         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22003         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22004         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22005         [POSIX] (_PC_FILESIZEBITS): Likewise.
22006         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22007         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22008         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22009         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22010         [POSIX] (uid_t): Likewise.
22011         [POSIX] (gid_t): Likewise.
22012         [POSIX] (off_t): Likewise.
22013         [POSIX] (pid_t): Likewise.
22014         [POSIX] (cuserid): Allow.
22015         (_SC_2_CHAR_TERM): Require constant.
22016         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22017         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22018         variable.
22020 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22022         * sysdeps/nacl/pthread-pids.h: New file.
22023         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22024         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22026         * nptl/pthread-pids.h: New file.
22027         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22028         * nptl/nptl-init.c: Include <pthread-pids.h>.
22029         (__pthread_initialize_minimal_internal):
22030         Call __pthread_initialize_pids instead of set_tid_address syscall.
22032         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22033         * sysdeps/posix/usleep.c: ... here.
22035 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22037         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22038         call_pselect6 object.
22039         [$(subdir) = io]: Remove call_sync_file_range object.
22040         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22041         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22042         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22043         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22045 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22047         * math/s_cproj.c: Add include "math_private.h".
22048         * math/s_cprojf.c: Likewise.
22049         * math/s_cprojl.c: Likewise.
22051 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22053         [BZ #18244]
22054         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22055         high mantissa bit when testing whether P is a NaN.
22056         * math/libm-test.inc (remainder_test_data): Add more tests.
22057         (remquo_test_data): Likewise.
22059         [BZ #18049]
22060         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22061         below -32, return the argument, with underflow if subnormal.
22062         * math/auto-libm-test-in: Add more tests of atanh.
22063         * math/auto-libm-test-out: Regenerated.
22065 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22067         [BZ #18434]
22068         * nptl/tst-sem15.c: New file.
22069         * nptl/Makefile (tests): Add it.
22070         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22071         s/<</>>/ to fix typo in EOVERFLOW check.
22072         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22074 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22076         * manual/strings.texi (envz_remove): Fix typo in safety
22077         annotations.
22079 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22080             Steve Ellcey  <sellcey@imgtec.com>
22082         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22083         in order to avoid strict alias warnings.
22084         (iruserok_af): Ditto for ra.
22086 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22088         [BZ #17581]
22089         * malloc/hooks.c
22090         (magicbyte): Convert to a function and avoid returning 0x01.
22091         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22092         (mem2chunk_check): Fix unsigned comparisons to zero.
22093         Hoist defs of sz and magic.
22095 2015-05-19  Richard Henderson  <rth@redhat.com>
22097         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22099         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22101 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22103         [BZ #16159]
22104         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22105         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22106         (reused_arena): Find a non-corrupt arena.
22107         (heap_trim): Pass arena to unlink.
22108         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22109         malloc_printerr.
22110         (top_check): Likewise.
22111         (free_check): Likewise.
22112         (realloc_check): Likewise.
22113         * malloc/malloc.c (malloc_printerr): Add arena argument.
22114         (unlink): Likewise.
22115         (munmap_chunk): Adjust.
22116         (ARENA_CORRUPTION_BIT): New macro.
22117         (arena_is_corrupt): Likewise.
22118         (set_arena_corrupt): Likewise.
22119         (sysmalloc): Use mmap if there are no usable arenas.
22120         (_int_malloc): Likewise.
22121         (__libc_malloc): Don't fail if arena_get returns NULL.
22122         (_mid_memalign): Likewise.
22123         (__libc_calloc): Likewise.
22124         (__libc_realloc): Adjust for additional argument to
22125         malloc_printerr.
22126         (_int_free): Likewise.
22127         (malloc_consolidate): Likewise.
22128         (_int_realloc): Likewise.
22129         (_int_memalign): Don't touch corrupt arenas.
22130         * malloc/tst-malloc-backtrace.c: New test case.
22132         * Makefile (summarize-tests): Fix return value on success.
22134         * manual/string.texi (Envz Functions): Add envz_remove.
22136 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22138         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22139         (invalid_name): New function, broken out of ...
22140         (__opendirat): ... here.  Call it.
22141         (need_isdir_precheck): New function, broken out of ...
22142         (__opendirat): ... here.  Call it.
22143         Use __fxstatat64, not __xstatat64.
22144         (opendir_oflags): New function, broken out of ...
22145         (__opendirat): ... here.  Call it.
22146         (opendir_tail): New function, broken out of ...
22147         (__opendirat): ... here.  Call it.
22148         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22149         opendir_tail, rather than punting to __opendirat.
22150         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22152 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22154         * .gitignore: Ignore generated *.pyc.
22156 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22158         * include/stdio.h: Define __need_wint_t.
22159         * test-skeleton.c: Avoid `for' loop initial declaration.
22160         * nptl/tst-initializers1.c: Use test-skeleton.c.
22162 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22164         [BZ #18418]
22165         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22167 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #16352]
22170         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22171         (__ieee754_atanh): Force underflow exception for results with
22172         small absolute value.
22173         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22174         (__ieee754_atanhf): Force underflow exception for results with
22175         small absolute value.
22176         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22177         (__ieee754_atanh): Force underflow exception for results with
22178         small absolute value.
22179         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22180         (__ieee754_atanhf): Force underflow exception for results with
22181         small absolute value.
22182         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22183         (__ieee754_atanhl): Force underflow exception for results with
22184         small absolute value.
22185         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22186         (__ieee754_atanhl): Force underflow exception for results with
22187         small absolute value.
22188         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22189         (__ieee754_atanhl): Force underflow exception for results with
22190         small absolute value.
22191         * math/auto-libm-test-in: Do not allow missing underflow
22192         exceptions from atanh.
22193         * math/auto-libm-test-out: Regenerated.
22195         [BZ #18221]
22196         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22197         2**-28 as threshold for returning x or +/- 1/x.
22198         * math/auto-libm-test-in: Add more tests of tan.
22199         * math/auto-libm-test-out: Regenerated.
22201         [BZ #18220]
22202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22203         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22204         * math/auto-libm-test-in: Add another test of lgamma.
22205         * math/auto-libm-test-out: Regenerated.
22207 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22209         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22210         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22211         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22212         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22213         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22214         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22215         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22216         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22218         (log1): Use fabs.  (my_log2): Use fabs.
22219         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22220         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22222         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22224         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22225         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22226         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22227         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22228         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22229         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22231 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22233         [BZ #18217]
22234         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22235         as threshold for returning 1 - x.
22236         * math/auto-libm-test-in: Add more tests of erfc.
22237         * math/auto-libm-test-out: Regenerated.
22239 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22241         [BZ #18196]
22242         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22243         threshold for large arguments.
22244         * math/auto-libm-test-in: Add another test of atan.
22245         * math/auto-libm-test-out: Regenerated.
22247         [BZ #16339]
22248         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22249         (__log1p): Force underflow exception for results with small
22250         absolute value.
22251         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22252         (__log1pf): Force underflow exception for results with small
22253         absolute value.
22254         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22255         (__log1p): Force underflow exception for results with small
22256         absolute value.
22257         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22258         (__log1pf): Force underflow exception for results with small
22259         absolute value.
22260         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22261         (__log1pl): Force underflow exception for results with small
22262         absolute value.
22263         * math/auto-libm-test-in: Do not allow missing underflow
22264         exceptions from log1p.
22265         * math/auto-libm-test-out: Regenerated.
22267 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22268             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22270         [BZ #16704]
22271         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22273 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22275         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22276         (libmvec): New variable.
22277         * configure.ac: Added option for mathvec build.
22278         * configure: Regenerated.
22279         * mathvec/Depend: New file.
22280         * mathvec/Makefile: New file.
22281         * shlib-versions: Added libmvec.
22282         * math/Makefile: Added rule for libm.so installation.
22284         * bits/math-vector.h: New file.
22285         * bits/libm-simd-decl-stubs.h: New header.
22286         * math/Makefile (headers): Added new header
22287         libm-simd-decl-stubs.h.
22288         * math/math.h (__MATHCALL_VEC): New macro.
22290         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22291         for conditions in testing functions.
22292         * math/Makefile: Added call of libm-have-vector-test.sh.
22293         * math/libm-test.inc (HAVE_VECTOR): New macros.
22295         * math/libm-test.inc: START refactored.
22296         * math/test-double.c (TEST_MATHVEC): Add define.
22297         * math/test-float.c: Likewise.
22298         * math/test-idouble.c: Likewise.
22299         * math/test-ifloat.c: Likewise.
22300         * math/test-ildoubl.c: Likewise.
22301         * math/test-ldouble.c: Likewise.
22302         * sysdeps/generic/math-tests-arch.h
22303         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22304         architecture check.
22306         * math/test-double.c (FUNC_TEST): New macro.
22307         * math/test-float.c: Likewise.
22308         * math/test-idouble.c: Likewise.
22309         * math/test-ifloat.c: Likewise.
22310         * math/test-ildoubl.c: Likewise.
22311         * math/test-ldouble.c: Likewise.
22312         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22314 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22316         * sysdeps/nacl/fdopendir.c: New file.
22318         * dirent/scandir-tail.c: New file.
22319         * dirent/scandir64-tail.c: New file.
22320         * dirent/Makefile (routines): Add them.
22321         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22322         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22323         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22324         [!SCANDIR] (SCANDIR_TAIL): New macro.
22325         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22326         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22327         (SCANDIRAT): Macro removed.
22328         (SCANDIR_TAIL): New macro.
22329         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22330         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22331         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22332         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22333         (READDIR): Macro removed.
22334         (SCANDIR_TAIL): New macro.
22335         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22336         (SCANDIR_TAIL): New macro.
22338         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22339         * dirent/scandir-cancel.c: ... to this new file.
22340         * dirent/Makefile (routines): Add it.
22341         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22342         * sysdeps/unix/sysv/linux/i386/scandir64.c
22343         (SKIP_SCANDIR_CANCEL): Macro removed.
22344         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22346         * dirent/tst-scandir.c: New file.
22347         * dirent/tst-scandir64.c: New file.
22348         * dirent/Makefile (tests): Add them.
22350 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22352         [BZ #18409]
22353         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22355 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22357         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22358         list.
22360 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22362         * benchtests/bench-strcoll.c: New benchmark.
22363         * benchtests/Makefile: Generate locales and run benchmark.
22364         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22365         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22366         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22367         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22368         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22369         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22370         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22371         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22372         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22373         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22374         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22375         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22376         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22377         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22378         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22379         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22380         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22381         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22382         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22383         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22384         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22385         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22386         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22387         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22389 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22391         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22392         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22394 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22396         * posix/uname-values.h: New file.
22397         * posix/uname.c: Include that instead of <config-name.h>.
22398         * sysdeps/nacl/uname-values.h: New file.
22399         * sysdeps/arm/nacl/uname-values.h: New file.
22401 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22403         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22404         splitting into fields.
22406 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22408         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22409         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22410         * locale/localeinfo.h: Add enum collation_encoding_type.
22411         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22412         * programs/ld-collate.c (collate_output): Add encoding type info.
22413         * string/strcoll_l.c (STRDIFF): New function.
22414         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22415         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22417 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22419         [BZ #18397]
22420         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22421         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22422         <fpu_control.h> instead of <math/fpu_control.c>.
22423         * sysdeps/mips/mips32/fpu/Makefile: New file.
22425 2015-05-11  Andreas Schwab  <schwab@suse.de>
22427         [BZ #18007]
22428         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22429         nss_endgrent.
22430         (_nss_compat_endgrent): Call nss_endgrent.
22431         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22432         nss_endpwent.
22433         (_nss_compat_endpwent): Call nss_endpwent.
22434         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22435         needent, call nss_setspent only if non-zero.
22436         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22437         (internal_endspent): Don't call nss_endspent.
22438         (_nss_compat_endspent): Call nss_endspent.
22439         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22440         Remove.  All uses removed.
22441         (internal_setent): Remove parameter stayopen, add parameter
22442         stream.  Use it instead of global variable.
22443         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22444         (internal_endent, internal_getent): Add parameter stream.  Use it
22445         instead of global variable.
22446         (CONCAT(_nss_files_end,ENTNAME))
22447         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22448         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22449         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22450         uses removed.
22451         (internal_setent, internal_endent): Add parameter stream.  Use it
22452         instead of global variable.
22453         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22454         stream.
22455         (get_next_alias): Add parameter stream.
22456         (_nss_files_getaliasent_r): Pass global stream.
22457         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22458         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22459         (_nss_files_gethostbyname4_r): Pass local stream to
22460         internal_setent, internal_getent and internal_endent.  Remove
22461         locking.
22463 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22465         * tst-strfmon1.c (tests): Update expected currency symbol.
22467 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22469         * sysdeps/nacl/gethostname.c: New file.
22471 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22473         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22474         and sinh.
22475         * math/auto-libm-test-out: Regenerated.
22476         * sysdeps/i386/fpu/libm-test-ulps: Update.
22477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22479 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22481         [BZ #18125]
22482         * stdlib/tst-setcontext3.c: New file.
22483         * stdlib/tst-setcontext3.sh: New file.
22484         * stdlib/Makefile (tests): Add tst-setcontext3.
22485         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22486         to verify test program created output file.
22487         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22488         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22489         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22490         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22492 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22494         [BZ #18383]
22495         * elf/tst-tlsalign.c: New file.
22496         * elf/tst-tlsalign-static.c: New file.
22497         * elf/tst-tlsalign-lib.c: New file.
22498         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22499         (tests-static): Add tst-tlsalign-static.
22500         (modules-names): Add tst-tlsalign-lib.
22501         (test-xfail-tst-tlsalign): New variable.
22502         (test-xfail-tst-tlsalign-static): New variable.
22504         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22505         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22507 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22509         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22510         csqrt, erfc, sin and sincos.
22511         * math/auto-libm-test-out: Regenerated.
22512         * sysdeps/i386/fpu/libm-test-ulps: Update.
22513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22515 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22517         * sysdeps/aarch64/libm-test-ulps: Update.
22519 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22521         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22522         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22529         [BZ #18265]
22530         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22531         (wcsncpy): Likewise.
22533 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22535         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22536         Assume __ASSUME_FALLOCATE is always true.
22537         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22538         (__posix_fallocate64_l64): Likweise.
22539         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22540         (posix_fallocate): Likewise.
22541         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22542         (__posix_fallocate64_l64): Likewise.
22543         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22544         [!__ASSUME_FALLOCATE]: Add comment.
22546 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22548         * sysdeps/unix/sysv/linux/i386/Makefile
22549         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22550         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22551         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22552         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22553         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22554         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22555         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22557 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22559         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22560         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22561         tgamma.
22562         * math/auto-libm-test-out: Regenerated.
22563         * sysdeps/i386/fpu/libm-test-ulps: Update.
22564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22566 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22568         * math/auto-libm-test-in: Add more tests of tgamma.
22569         * math/auto-libm-test-out: Regenerated.
22570         * sysdeps/i386/fpu/libm-test-ulps: Update.
22571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22573         * math/auto-libm-test-in: Add more tests of tanh.
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         * math/auto-libm-test-in: Add more tests of tan.
22579         * math/auto-libm-test-out: Regenerated.
22580         * sysdeps/i386/fpu/libm-test-ulps: Update.
22581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22583         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22584         * math/auto-libm-test-out: Regenerated.
22585         * sysdeps/i386/fpu/libm-test-ulps: Update.
22586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22588         * math/auto-libm-test-in: Add another test of pow.
22589         * math/auto-libm-test-out: Regenerated.
22590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22592         * math/auto-libm-test-in: Add more tests of lgamma.
22593         * math/auto-libm-test-out: Regenerated.
22594         * sysdeps/i386/fpu/libm-test-ulps: Update.
22595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22597         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22598         log1p.
22599         * math/auto-libm-test-out: Regenerated.
22600         * sysdeps/i386/fpu/libm-test-ulps: Update.
22601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22603 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22605         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22606         Elf64_Chdr structs and ELFCOMPRESS constants.
22608 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22610         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22611         expm1.
22612         * math/auto-libm-test-out: Regenerated.
22613         * sysdeps/i386/fpu/libm-test-ulps: Update.
22614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22616         * math/auto-libm-test-in: Add more tests of erf and erfc.
22617         * math/auto-libm-test-out: Regenerated.
22618         * sysdeps/i386/fpu/libm-test-ulps: Update.
22619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22621 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22623         * config.h.in (HAVE_AARCH64_BE): Add.
22625 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22627         * math/auto-libm-test-in: Add more tests of csqrt.
22628         * math/auto-libm-test-out: Regenerated.
22629         * sysdeps/i386/fpu/libm-test-ulps: Update.
22630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22632         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22633         * math/auto-libm-test-out: Regenerated.
22634         * sysdeps/i386/fpu/libm-test-ulps: Update.
22635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22637         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22639 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22641         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22642         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22644         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22645         (euidaccess, eaccess): Define as weak aliases.
22647         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22648         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22649         but __suseconds_t is often 'long int' so some sources assume that
22650         type is being used (e.g. they use %ld to print tv_usec).
22652 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22654         [BZ #18007]
22655         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22656         (CVE-2014-8121)
22657         * nss/tst-nss-getpwent.c: New file.
22658         * nss/Makefile (tests): Add new test.
22660 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22662         [BZ #18346]
22663         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22664         exponents less than 48 as cases where high part of mantissa needs
22665         examining to determine whether argument is integral.
22666         * math/libm-test.inc (round_test_data): Add more tests.
22668 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22670         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22672 2015-04-27  David S. Miller  <davem@davemloft.net>
22674         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22675         __tls_get_addr.
22676         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22678 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22680         [BZ#18333]
22681         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22683 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22685         [BZ#18333]
22686         * time/tzset.c (parse_tzname): Return error on memory allocation
22687         failure.
22688         * test-skeleton.c (struct temp_name_list): Change type of name
22689         member to non-const.
22690         (add_temp_file): Create a copy of the file name.
22691         (delete_temp_files): Deallocate memory.
22692         (create_temp_file): Add comment.
22694 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22696         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22697         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22699 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22701         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22702         * sysdeps/arm/configure: Regenerated.
22704 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22706         [BZ #17715]
22707         * time/tzfile.c (__tzfile_read): Check for large values of
22708         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22709         * time/tzset.c (__tzstring_len): New function, based on the old
22710         __tzstring function.
22711         (__tzstring): Call __tzstring_len.
22712         (parse_tzname): New helper function extracted from
22713         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22714         the input string.
22715         (parse_offset): New helper function extracted from
22716         __tzset_parse_tz.  Replace switch with fallthrough with
22717         initialization before sscanf.
22718         (parse_rule): Likewise.
22719         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22720         new-style function definition.
22721         * timezone/Makefile (tests): Add tst-tzset.
22722         (tst-tzset.out): Dependencies on time zone files.
22723         (tst-tzset-ENV): Set TZDIR.
22724         (testdata/XT%): Copy crafted time zone files.
22725         * timezone/README: Mention crafted time zone files.
22726         * timezone/testdata/XT1, timezone/testdata/XT2,
22727         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22728         files.
22729         * timezone/tst-tzset.c: New test.
22731 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22733         * Makeconfig (+gccwarn): Remove -Winline.
22735 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22737         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22739 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22741         * NEWS: Mention sysconf() cache information support for s390.
22742         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22744 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22746         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22747         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22748         (__nearbyint): Likewise.
22749         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22750         (copysignl): Likewise.
22752 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22754         [BZ #18287]
22755         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22756         based on padding.  (CVE-2015-1781)
22758 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22760         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22761         libc-vdso.h.
22762         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22763         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22764         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22765         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22766         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22767         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22768         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22770         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22771         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22772         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22773         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22774         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22775         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22776         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22777         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22778         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22779         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22780         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22781         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22782         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22783         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22784         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22786 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22788         * stdlib/setenv.c (__add_to_environ):
22789         Dump core quickly if setenv (..., NULL, ...) is called.
22790         This time, do it the right way, and pacify GCC with a pragma.
22792 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22794         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22795         IMAP->l_prev cannot be null, and #if out the code for the contrary
22796         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22797         believe that NS (&_dl_ns[NSID]) could point outside the array.
22799         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22800         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22801         before using NSID as an index.
22803 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22805         [BZ #17825]
22806         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22807         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22808         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22810 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22812         Add preliminary port to Google Native Client on ARM.
22813         * abi-tags (.*-.*-nacl.*): New entry.
22814         * sysdeps/arm/nacl: New directory.
22815         * sysdeps/nacl: New directory.
22817 2015-04-16  David S. Miller  <davem@davemloft.net>
22819         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22820         lowlevellock-futex.h
22822 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22824         * sysdeps/tile/configure.ac: New file.
22825         * sysdeps/tile/configure: Regenerated.
22827 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22829         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22830         conditionals for weak_alias and libc_hidden_weak.
22831         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22832         libc_hidden_weak and weak_alias.
22833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22834         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22835         and weak_alias for static one.
22837 2015-04-15  David S. Miller  <davem@davemloft.net>
22839         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22841 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22843         [BZ #18206]
22844         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22845           Use signed comparision instead of substraction to avoid
22846           overflow bug.
22847         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22848           Take the sign of ret.
22849         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22850           Do not expect precise return values. Only the sign matters.
22851         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22852         * wcsmbs/test-wcsncmp.c: New File.
22853         * string/test-strncmp.c: Add wcsncmp support.
22855 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22857         [BZ #6792]
22858         * math/w_log1p.c: New file.
22859         * math/w_log1pf.c: Likewise.
22860         * math/w_log1pl.c: Likewise.
22861         * math/Makefile (libm-calls): Add w_log1p.
22862         * math/s_log1pl.c (log1pl): Remove weak_alias.
22863         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22864         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22865         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22866         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22867         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22868         [NO_LONG_DOUBLE] (log1pl): Likewise.
22869         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22870         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22871         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22872         (log1p): Remove long_double_symbol.
22873         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22874         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22875         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22876         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22877         remove weak_alias for corresponding log1p function.
22878         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22879         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22880         * sysdeps/ia64/fpu/w_log1p.c: New file.
22881         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22882         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22883         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22885 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22887         [BZ #18247]
22888         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22889         decimal exponent by 1.
22890         * stdlib/tst-strtod-round-data: Add more tests.
22891         * stdlib/tst-strtod-round.c (tests): Regenerated.
22893 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22895         * math/auto-libm-test-in: Add more tests of clog and clog10.
22896         * math/auto-libm-test-out: Regenerated.
22897         * sysdeps/i386/fpu/libm-test-ulps: Update.
22898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22900 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22902         * Makeconfig (module-cppflags): Exclude all .v.i files.
22903         (skip-module-cppflags): Variable removed.
22905         * configure.ac (libc_config_ok): Initialize before reading
22906         preconfigure scripts, not after.
22907         * configure: Regenerated.
22909         * test-skeleton.c (TIMEOUT): Move #define to top level.
22910         (main): Grok environment variable TEST_DIRECT.  If set, print
22911         test expectation details into that file and then behave as if
22912         given --direct.
22914 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22916         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22917         warning on 32-bit.
22919 2015-04-08  David S. Miller  <davem@davemloft.net>
22921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22923 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22925         * math/auto-libm-test-in: Add more tests of atanh.
22926         * math/auto-libm-test-out: Regenerated.
22927         * sysdeps/i386/fpu/libm-test-ulps: Update.
22928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22930         * math/auto-libm-test-in: Add more tests of atan.
22931         * math/auto-libm-test-out: Regenerated.
22932         * sysdeps/i386/fpu/libm-test-ulps: Update.
22933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22937         * elf/pldd.c (main): Rewrite to use struct
22938         scratch_buffer instead of extend_alloca.
22939         * elf/pldd-xx.c (find_maps): Likewise.
22940         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22941         <alloca.h>.
22942         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22943         scratch_buffer instead of extend_alloca.
22944         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22945         grp/compat-initgroups.c.
22946         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22947         Rewrite to use struct scratch_buffer instead of extend_alloca.
22948         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22949         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22951 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22953         * math/auto-libm-test-in: Add more tests of cbrt.
22954         * math/auto-libm-test-out: Regenerated.
22955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22957         * math/auto-libm-test-in: Add more tests of cabs.
22958         * math/auto-libm-test-out: Regenerated.
22959         * sysdeps/i386/fpu/libm-test-ulps: Update.
22960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22962         [BZ #18210]
22963         [BZ #18211]
22964         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22965         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22966         computations.
22967         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22968         clog10.
22969         * math/auto-libm-test-out: Regenerated.
22970         * sysdeps/i386/fpu/libm-test-ulps: Update.
22971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22973         [BZ #18197]
22974         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22975         (atan): Set FE_TONEAREST mode for internal computations.
22976         * math/auto-libm-test-in: Add more tests of atan.
22977         * math/auto-libm-test-out: Regenerated.
22979 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22981         [BZ #17930]
22982         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22984 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22986         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22988 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22990         * include/scratch_buffer.h: New file.
22991         * malloc/scratch_buffer_grow.c: Likewise.
22992         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22993         * malloc/scratch_buffer_set_array_size.c: Likewise.
22994         * malloc/tst-scratch_buffer.c: Likewise.
22995         * malloc/Makefile (routines): Add scratch_buffer_grow.
22996         (tests): Add test case.
22997         * malloc/Versions (GLIBC_PRIVATE): Export
22998         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22999         __libc_scratch_buffer_set_array_size.
23001 2015-04-06  Richard Henderson  <rth@redhat.com>
23003         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23004         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23006         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23007         unsigned int before printing.
23009 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23011         [BZ #17596]
23012         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23013         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23015 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23017         * include/libc-internal.h (libc_max_align_t): Define.
23019 2015-04-02  Andreas Schwab  <schwab@suse.de>
23021         [BZ #16850]
23022         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23024 2015-04-02  Mel Gorman  <mgorman@suse.de>
23026         [BZ #17195]
23027         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23028         as well as the main arena.
23030 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23032         [BZ #18185]
23033         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23034         sharing L2 cache to 2 for Silvermont/Knights Landing.
23036 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23038         [BZ #17711]
23039         * config.make.in (have-protected-data): New.
23040         * configure.ac: Check linker support for protected data symbol.
23041         * configure: Regenerated.
23042         * elf/Makefile (modules-names): Add tst-protected1moda and
23043         tst-protected1modb if $(have-protected-data) is yes.
23044         (tests): Add tst-protected1a and tst-protected1b if
23045         $(have-protected-data) is yes.
23046         ($(objpfx)tst-protected1a): New.
23047         ($(objpfx)tst-protected1b): Likewise.
23048         (tst-protected1modb.so-no-z-defs): Likewise.
23049         * elf/tst-protected1a.c: New file.
23050         * elf/tst-protected1b.c: Likewise.
23051         * elf/tst-protected1mod.h: Likewise.
23052         * elf/tst-protected1moda.c: Likewise.
23053         * elf/tst-protected1modb.c: Likewise.
23055 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23057         [BZ #17711]
23058         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23059         indicates it is called from do_lookup_x on relocation against
23060         protected data, skip the data definion in the executable from
23061         copy reloc.
23062         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23063         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23064         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23065         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23066         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23067         otherwise to 0.
23068         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23069         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23070         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23071         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23072         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23073         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23075 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23077         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23078         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23080 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23082         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23083         THREAD_SETMEM_NC.
23084         * sysdeps/x86_64/nptl/tls.h: Ditto.
23086 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23088         * dlfcn/tststatic.c (main): Converted to ...
23089         (do_test): ... this.
23090         (TEST_FUNCTION): New macro.
23091         Include test-skeleton.c.
23093 2015-03-26  Alan Modra  <amodra@gmail.com>
23095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23096         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23097         zero for undefined weak.
23098         (elf_machine_plt_conflict): Similarly.
23100 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23102         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23103         atanh.
23104         * math/auto-libm-test-out: Regenerated.
23105         * sysdeps/i386/fpu/libm-test-ulps: Update.
23106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23108         * math/auto-libm-test-in: Add another test of asin.
23109         * math/auto-libm-test-out: Regenerated.
23110         * sysdeps/i386/fpu/libm-test-ulps: Update.
23111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23113         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23114         Remove macro.
23115         (LLL_EBX_REG): Likewise.
23116         (LLL_ENTER_KERNEL): Likewise.
23118         * math/auto-libm-test-in: Add more tests of asin.
23119         * math/auto-libm-test-out: Regenerated.
23120         * sysdeps/i386/fpu/libm-test-ulps: Update.
23121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23123         [BZ #18138]
23124         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23125         libc_do_syscall_args): New structure.
23126         (INTERNAL_SYSCALL_MAIN_0): New macro.
23127         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23128         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23129         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23130         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23131         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23132         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23133         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23134         Replace conditional definitions by conditional definitions of ....
23135         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23136         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23137         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23138         (libpthread-sysdep_routines): Add libc-do-syscall.
23139         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23141         to __NR_futex not 240.
23143 2015-03-25  Alan Modra  <amodra@gmail.com>
23145         * NEWS: Advertise TLS optimization.
23146         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23147         (DT_PPC_NUM): Increment.
23148         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23149         (CHECK_STATIC_TLS): Use here.
23150         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23151         TLS descriptors.
23152         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23153         * sysdeps/powerpc/dl-tls.c: New file.
23154         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23155         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23156         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23157         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23162 2015-03-25  Alan Modra  <amodra@gmail.com>
23164         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23165         for overlapping .opd entries" to "support...".
23166         * sysdeps/powerpc/powerpc64/configure: Regenerate
23168 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23170         * math/auto-libm-test-in: Add more tests of acos.
23171         * math/auto-libm-test-out: Regenerated.
23172         * sysdeps/i386/fpu/libm-test-ulps: Update.
23173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23175         * math/auto-libm-test-in: Add more tests of expm1.
23176         * math/auto-libm-test-out: Regenerated.
23177         * sysdeps/i386/fpu/libm-test-ulps: Update.
23178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23180 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23182         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23190         * math/auto-libm-test-in: Add more tests of log2.
23191         * math/auto-libm-test-out: Regenerated.
23192         * sysdeps/i386/fpu/libm-test-ulps: Update.
23193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23195 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23197         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23198         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23199         _IO_IS_APPENDING bit in READ_WRITE instead.
23201 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23203         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23204         (__determine_cpumask_size): Replace extend_alloca with a
23205         variable-length array.  Do not treat res == 0 as an error.
23207 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23209         [BZ #18100]
23210         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23211         and integer overflow.
23212         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23213         (main): Add integer overflow tests.
23214         * manual/pattern.texi (Calling Wordexp): Document additional use
23215         for WRDE_SYNTAX.
23217 2015-03-23  Alan Modra  <amodra@gmail.com>
23219         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23220         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23221         and false branch of conditional.
23222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23223         Likewise.
23225 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23227         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23228         libc-modules.h
23229         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23230         unused declaration of _hurd_intr_rpc_msg_in_trap.
23231         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23232         defined instead of whether it is non-zero.
23233         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23234         input constraint instead of both input and output constraint.  Use ecx
23235         clobber instead of %ecx.
23236         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23237         mutex_unlock): Use a statement expression instead of an expression list.
23238         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23239         type to vm_size_t instead of vm_address_t.
23240         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23241         defined instead of whether it is non-zero.
23242         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23243         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23244         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23245         comparisons with mapaddr.
23246         * nscd/nscd-client.h: Include <time.h>.
23247         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23248         9th parameter to __vm_region instead of int.
23249         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23250         * scripts/check-local-headers.sh (exclude): Add device/,
23251         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23252         cthreads.h.
23254 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23256         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23257         to account for alignment padding.
23258         * sysdeps/arm/memmove.S: Likewise.
23260 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23262         * sysdeps/unix/sysv/linux/generic/README: New file.
23264 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23266         [BZ #18138]
23267         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23268         (futex_abstimed_wait)
23269         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23270         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23271         of lll_futex_timed_wait.
23273 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23275         [BZ #17542]
23276         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23278 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23280         [BZ #17090]
23281         [BZ #17620]
23282         [BZ #17621]
23283         [BZ #17628]
23284         * NEWS: Update.
23285         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23286         entries with Static TLS too.  Skip entries past the end of the
23287         allocated DTV, from Alan Modra.
23288         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23289         Static TLS DTV entry set up from...
23290         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23291         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23292         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23293         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23294         for Static TLS.
23295         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23296         that the slot we find is associated with the given map before
23297         using its generation count.
23298         * nptl_db/db_info.c: Include ldsodefs.h.
23299         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23300         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23301         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23302         (link_map::l_tls_offset): New struct field.
23303         (dtv_t::counter): Likewise.
23304         (rtld_global): New struct.
23305         (_rtld_global): New rtld variable.
23306         (dl_tls_dtv_slotinfo_list): New rtld global field.
23307         (dtv_slotinfo_list): New struct.
23308         (dtv_slotinfo): Likewise.
23309         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23310         (td_lookup): Rename to...
23311         (td_mod_lookup): ... this.  Use new mod parameter instead of
23312         LIBPTHREAD_SO.
23313         * nptl_db/td_thr_tlsbase.c: Include link.h.
23314         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23315         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23316         addresses even if the DTV is out of date or missing them.
23317         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23318         index zero-length arrays.
23319         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23320         (td_lookup): Make it a macro implemented in terms of...
23321         (td_mod_lookup): ... this declaration.
23322         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23323         (DB_MAIN_VARIABLE): Likewise.
23325 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23327         [BZ #18134]
23328         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23330 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23332         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23334 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23336         [BZ #18128]
23337         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23338         (atomic_add, atomic_increment_and_test)
23339         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23341 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23343         * stdlib/setenv.c (__add_to_environ):
23344         Dump core quickly if setenv (..., NULL, ...) is called.
23346 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23348         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23349         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23350         all the necessary asm magic in one place.
23351         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23352         using those.
23354 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23356         [BZ #14906]
23357         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23358         traced file mtime. Use consistent log message.
23359         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23360         (register_traced_file): Call install_watches. Always set mtime.
23361         (invalidate_cache): Iterate over all trace files. Call install_watches.
23362         (inotify_check_files): Don't inline. Handle watching parent
23363         directories and configuration file movement in and out.
23364         (handle_inotify_events): New function.
23365         (main_loop_poll): Call handle_inotify_events.
23366         (main_loop_epoll): Likewise.
23367         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23368         (struct traced_file): Use array of inotify fds. Add parent directory,
23369         and basename.
23370         (struct database_dyn): Remove unused file_mtime.
23371         (init_traced_file): New inline function.
23372         (define_traced_file): New macro.
23373         * nss/nss_db/db-init.c: Use define_traced_file.
23374         (_nss_db_init): Use init_traced_file.
23375         * nss/nss_files/files-init.c: Use define_traced_file.
23376         (_nss_files_init): Use init_traced_file.
23378 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23380         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23381         [_LIBC]: Do not include <stdlib.h>.
23382         [!_LIBC] (abort): Remove declaration.
23383         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23384         _FP_STATIC_ASSERT instead of conditionally calling abort.
23385         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23386         (_FP_EXTEND_CNAN): Likewise.
23387         (FP_TRUNC): Likewise.
23388         (__FP_CLZ): Likewise.
23389         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23391 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23393         * manual/string.texi (XPG basename): Fix prototype.
23395 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23397         [BZ #18080]
23398         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23399         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23400         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23401         (__setcontext): Likewise.
23402         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23403         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23404         Call rt_sigprocmask syscall one time to set new signal mask
23405         and retrieve the current signal mask instead of two calls.
23406         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23407         (__swapcontext): Likewise.
23408         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23409         * stdlib/tst-setcontext2.c: New file.
23411 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23413         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23415 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23417         [BZ #18093]
23418         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23419         the wrong size.
23421 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23423         [BZ #18043]
23424         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23426 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23428         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23429         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23430         Remove define.
23431         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23432         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23433         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23434         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23435         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23436         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23437         define.
23438         * nptl_db/td_symbol_list.c (td_lookup): Remove
23439         HAVE_ASM_GLOBAL_DOT_NAME code.
23440         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23441         HAVE_ASM_GLOBAL_DOT_NAME check.
23442         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23443         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23444         (DOT_LABEL): Remove define.
23445         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23446         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23447         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23448         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23449         (__TLS_GET_ADDR): Likewise.
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23451         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23453 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23455         [BZ #18111]
23456         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23457         (_FPU_SETCW): Initialize cw from fpsr before storing.
23458         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23459         (fesetexceptflag): Rewrite using fpu_control.h.
23460         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23462 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23464         [BZ #18110]
23465         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23466         asms.
23467         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23469 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23471         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23472         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23473         abort.
23474         (_FP_FMA): Likewise.
23475         (_FP_DIV): Likewise.
23477 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23479         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23480         with 0 in that case.
23481         * Makefile (summarize-tests): New canned sequence, factored out of
23482         commands for targets tests and xtests.  Display summary lines that
23483         don't start with PASS: or XFAIL: rather than ones that do start with
23484         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23485         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23486         do start with ERROR: or FAIL:.
23487         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23488         (except for [$(build-shared) = yes]).
23489         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23490         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23491         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23492         * nptl/Makefile: Revert 2015-03-04 changes.
23493         [$(CXX) empty] (tests-unsupported): New variable.
23494         * debug/Makefile: Likewise.
23496         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23497         gnulib file.  Replace __attribute with __attribute__ throughout.
23499 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23501         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23503 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23505         [BZ #18104]
23506         * math/auto-libm-test-in: Add another test of pow.
23507         * math/auto-libm-test-out: Regenerated.
23509 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23511         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23512         $(config-cflags-nofma).
23514 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23516         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23517         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23518         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23519         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23520         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23521         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23522         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23523         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23524         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23525         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23526         Add comment on closing #endif.
23528 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23530         * posix/wordexp.c (CHAR_IN_SET): New macro.
23531         (parse_param): Use it.
23533 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23535         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23537 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23539         [BZ #18043]
23540         * posix/wordexp.c (parse_param): Fix buffer overflow.
23541         * posix/wordexp-test.c (test_case): Add test case.
23543 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23545         [BZ #18042]
23546         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23547         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23549 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23551         [BZ #18043]
23552         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23553         (do_bz18043): Delete.
23554         (at_page_end): New.
23555         (testit): Refactor to have words at the edge of unreadable page.
23557 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23559         [BZ #16734]
23560         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23561         Cleanup read-only streams as well.
23562         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23564 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23566         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23567         <bits/libc-lockP.h>
23569 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23571         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23572         on [__KERNEL__].
23573         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23574         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23575         * soft-fp/op-common.h (_FP_DECL): Likewise.
23577 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23579         * elf/ifuncdep2.c (global): Replace
23580         __attribute__((visibility("protected"))) with
23581         asm (".protected global").
23582         * elf/ifuncmod1.c (global): Likewise.
23583         * elf/ifuncmod5.c (global): Likewise.
23585 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23587         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23588         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23590 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23592         * manual/install.texi (Configuring and compiling):
23593         Document test-wrapper-env-only.
23594         * INSTALL: Regenerated.
23596 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23598         [BZ #18043]
23599         * posix/wordexp.c (parse_param): Fix buffer overflow.
23600         * posix/wordexp-test.c (do_bz18043): Add test case.
23602 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23604         * time/tst-strptime2.c (do_test): Ensure failing tests are
23605         reported correctly.
23606         * time/tst-strptime3.c (do_test): Likewise.
23608 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23610         Fix aio_error thread-safety.
23611         * sysdeps/pthread/aio_error.c: New file
23612         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23613         synchronization.
23615 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23617         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23618         (group_number, vfprintf): Use it.
23619         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23620         (JUMP, REF): Use it.
23621         (WORK_BUFFER_SIZE): New enum constant.
23622         (process_arg, vfprintf): Use it.
23624 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23626         * manual/errno.texi (Error Messages): Complete example function
23627         by adding missing #define.
23628         (program_invocation_name): Add statement indicating GNU
23629         extension and reference which header file declares the variable.
23630         (program_invocation_short_name): Likewise.
23632 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23634         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23635         compatibility note.
23637 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23639         * Makeconfig (test-wrapper-env-only): New variable.
23640         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23641         then use that with $(test-wrapper-env-only) rather than using
23642         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23644 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23646         [BZ #18082]
23647         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23648         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23649         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23650         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23651         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23652         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23653         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23654         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23655         Likewise.
23656         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23657         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23658         Likewise.
23659         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23660         Likewise.
23661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23662         Likewise.
23663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23664         Likewise.
23665         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23667         Likewise.
23668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23669         Likewise.
23670         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23671         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23673 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23675         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23676         (ETH_ALEN): New macro.
23677         (struct ether_addr): Use it for length of ether_addr_octet.
23679         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23680         (setdb): Don't call __nss_configure_lookup for "rpc".
23681         (do_test): Don't call test_rpc.
23682         (output_rpcent, test_rpc): Functions moved ...
23683         * sunrpc/test-rpcent.c: ... to this new file.
23684         * sunrpc/Makefile (tests): Add it.
23686         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23687         __xpg_sigpause.
23688         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23689         * nptl/tst-signal6.c: Likewise.
23690         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23691         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23693         * configure.ac (libc_cv_cxx_link_ok): New check.
23694         Reset CXX to empty if it fails to link.
23695         * configure: Regenerated.
23696         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23697         bug-atexit3-lib only if $(CXX) is nonempty.
23698         * nptl/Makefile (tests): Likewise for tst-cancel24.
23699         (tests, tests-static): Likewise for tst-cancel24-static.
23700         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23701         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23702         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23703         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23705 2015-03-04  Andreas Schwab  <schwab@suse.de>
23707         [BZ #17631]
23708         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23709         for non-GCC compilers.
23710         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23711         Likewise.
23713 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23715         [BZ #17776]
23716         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23717         integer before bitwise and assembly operations.
23718         (feclearexcept): Likewise.
23719         * math/test-fenvinline.c: New file.
23720         * math/Makefile: Add test-fenvinline test.
23722 2015-03-03  Alan Modra  <amodra@gmail.com>
23724         [BZ #16512]
23725         * scripts/localplt.awk: Strip off symbol version.
23726         * NEWS: Mention bug fix.
23728 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23730         * sysdeps/pthread/timer_routines.c
23731         (timer_free_list, thread_free_list, thread_active_list): Make static.
23733 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23735         [BZ #17779]
23736         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23737         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23738         Undefine.
23739         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23740         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23741         Likewise.
23742         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23743         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23744         Likewise.
23746 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23748         [BZ #18036]
23749         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23750         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23752 2015-03-02  Andreas Schwab  <schwab@suse.de>
23754         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23755         variable name.
23757 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23759         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23760         Return error status.
23762 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23764         [BZ #15969]
23765         * locale/findlocale.c (_nl_find_locale): Introduce const
23766         version of loc_name and drop unsafe type casts.
23768 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23770         * dlfcn/tststatic2.c (main): Converted to ...
23771         (do_test): ... this.
23772         (TEST_FUNCTION): New macro.
23773         Include test-skeleton.c.
23775 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23777         [BZ #17711]
23778         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23779         (tests-pie): Add vismain.
23780         (CFLAGS-vismain.c): New.
23781         * elf/vismain.c: Add comments for PIE requirement.
23783 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23785         [BZ #18046]
23786         [BZ #18047]
23787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23788         0x1p-56L as threshold for just returning the argument.
23789         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23790         0x1p-32L as threshold for just returning the argument.
23791         * math/auto-libm-test-in: Add more tests of atanh.
23792         * math/auto-libm-test-out: Regenerated.
23793         * sysdeps/i386/fpu/libm-test-ulps: Update.
23794         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23796 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23798         * string/bcopy.c (bcopy): Call memmove for performance.
23800 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23802         * string/bzero.c (__bzero): Call memset for performance.
23804 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23806         [BZ #18068]
23807         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23808         to 00100000.
23810 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23812         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23814 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23816         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23817         (__kernel_standard): Use CSTR macro when setting exc.name.
23818         * sysdeps/ieee754/Makefile [$(subdir) = math]
23819         (CFLAGS-k_standard.c): Remove variable.
23821         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23822         setting p and q from "else if" to "else".
23823         (qzero): Likewise.
23824         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23825         (qone): Likewise.
23826         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23827         (qzerof): Likewise.
23828         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23829         (qonef): Likewise.
23830         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23831         (qzero): Likewise.
23832         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23833         (qone): Likewise.
23835         [BZ #18038]
23836         [BZ #18039]
23837         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23838         return pi/2 for arguments below 0x1p-113L.
23839         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23840         return pi/2 for arguments below 0x1p-106L.
23841         * math/auto-libm-test-in: Add more tests of acos.
23842         * math/auto-libm-test-out: Regenerated.
23844         [BZ #16351]
23845         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23846         (MO): New macro.
23847         (__ieee754_asin): Force underflow exception for results with small
23848         absolute value.
23849         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23850         (MO): New macro.
23851         (__ieee754_asinf): Force underflow exception for results with
23852         small absolute value.
23853         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23854         (__ieee754_asin): Force underflow exception for results with small
23855         absolute value.
23856         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23857         (__ieee754_asinf): Force underflow exception for results with
23858         small absolute value.
23859         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23860         (__ieee754_asinl): Force underflow exception for results with
23861         small absolute value.
23862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23863         (__ieee754_asinl): Force underflow exception for results with
23864         small absolute value.
23865         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23866         (__ieee754_asinl): Force underflow exception for results with
23867         small absolute value.
23868         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23869         Include <math.h>.
23870         * math/auto-libm-test-in: Do not mark underflow exceptions as
23871         possibly missing for bug 16351.
23872         * math/auto-libm-test-out: Regenerated.
23874         [BZ #18030]
23875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23876         of power of 2 down when low part has opposite sign.
23877         * math/libm-test.inc (logb_test_data): Add more tests.
23879 2015-02-26  Andreas Schwab  <schwab@suse.de>
23881         [BZ #18032]
23882         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23883         over collating symbol inside a bracket expression.  Minor cleanup.
23884         * posix/tst-fnmatch3.c (do_test): Add test case.
23886 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23888         [BZ #18029]
23889         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23890         Adjust exponent of power of 2 down when low part has opposite
23891         sign.
23892         * math/libm-test.inc (ilogb_test_data): Add more tests.
23894 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23896         [BZ #15969]
23897         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23898         the previous change.
23900         [BZ #15969]
23901         * locale/findlocale.c (_nl_find_locale): Retry archive search
23902         after alias expansion.
23904 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23906         * iconv/tst-iconv3.c (main): Converted to ...
23907         (do_test): ... this.
23908         (TEST_FUNCTION): New macro.
23909         Include test-skeleton.c.
23911         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23912         (convert): Make function static.
23913         (test_unalign): Likewise.  Add const to argument pointee types.
23914         (main): Replace with static function do_test.
23915         Print "Succeeded." only if RET is zero.
23916         (TEST_FUNCTION): New macro.
23917         Include test-skeleton.c.
23919         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23920         returns a null pointer.
23922 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23924         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23925         to __memcpy_ppc only for static builds.
23927 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23929         [BZ #18020]
23930         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23931         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23932         * math/auto-libm-test-in: Add more tests of asinh.
23933         * math/auto-libm-test-out: Regenerated.
23934         * sysdeps/i386/fpu/libm-test-ulps: Update.
23935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23937 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23939         [BZ #15850]
23940         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23941         and ip6_mtuinfo definitions here.
23942         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23943         in this define too.  Update comment.
23945 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23947         * elf/sprof.c (load_shobj): Tweak error message to match others.
23949 2015-02-24  Kevin Easton  <kevin@guarana.org>
23951         [BZ #16145] (partial fix)
23952         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23953         to reduce lock contention.
23955 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23957         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23958         (struct timex): Update time comment.
23959         (ADJ_SETOFFSET): Define.
23961 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23963         [BZ #18019]
23964         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23965         2**56 not 2**28 as threshold for log (2x) formula.
23966         * math/auto-libm-test-in: Add more tests of acosh.
23967         * math/auto-libm-test-out: Regenerated.
23968         * sysdeps/i386/fpu/libm-test-ulps: Update.
23969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23971 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23973         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23974         parenthesis around the buf assignment.
23975         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23977 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #16783]
23980         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23981         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23982         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23983         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23984         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23985         * math/libm-test.inc (scalb_test_data): Add more tests.
23987 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23989         [BZ #17916]
23990         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23991         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23993 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23995         [BZ #17523]
23996         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23997         * io/bits/fcntl2.h (open): Use it.
23998         (openat): Likewise.
23999         * io/open.c (__libc_open): Likewise.
24000         * io/open64.c (__libc_open64): Likewise.
24001         * io/open64_2.c (__open64_2): Likewise.
24002         * io/open_2.c (__open_2): Likewise.
24003         * io/openat.c (__openat): Likewise.
24004         * io/openat64.c (__openat64): Likewise.
24005         * io/openat64_2.c (__openat64_2): Likewise.
24006         * io/openat_2.c (__openat_2): Likewise.
24007         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24008         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24009         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24010         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24011         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24012         (__open_nocancel): Likewise.
24013         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24014         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24015         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24017 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24019         [BZ #14841]
24020         * resolv/gethnamaddr.c (getanswer): Skip logging if
24021         RES_USE_DNSSEC is set.
24022         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24024 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24026         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24028 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24030         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24031         201304L, for Unicode 7.
24033 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24035         [BZ #17836]
24036         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24037         shared library.  Add gmon-start.os otherwise.
24038         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24039         $(objpfx)gmon-start.os if builing shared library.
24040         ($(objpfx)g$(static-start-installed-name)): Likewise.
24042 2015-02-23  Andreas Schwab  <schwab@suse.de>
24044         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24046 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24048         [BZ #17269]
24049         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24050         (enlarge_userbuf): Likewise.
24052 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24054         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24055         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24056         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24057         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24059 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24061         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24062         expression inside statement expression.
24064 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24066         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24067         <sysdeps/nptl/lowlevellock.h> and remove macros and
24068         functions that are now defined there.
24069         (SYS_futex): Remove.
24070         (lll_compare_and_swap): Remove.
24071         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24073 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24075         [BZ #17999]
24076         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24077         instead of scandirat.
24078         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24079         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24080         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24081         __scandirat.
24082         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24083         (__scandirat): Declare.  Use libc_hidden_proto.
24084         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24085         Remove variable.
24086         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24088 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24090         [BZ #15319]
24091         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24092         (MO): New macro.
24093         (__ieee754_atan2): For results with small absolute value, force
24094         underflow exception and remove excess range and precision from
24095         return value.
24096         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24097         (MO): New macro.
24098         (__ieee754_atan2f): For results with small absolute value, force
24099         underflow exception and remove excess range and precision from
24100         return value.
24101         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24102         (MO): New macro.
24103         (__atan): For results with small absolute value, force underflow
24104         exception and remove excess range and precision from return value.
24105         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24106         (MO): New macro.
24107         (__atanf): For results with small absolute value, force underflow
24108         exception and remove excess range and precision from return value.
24109         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24110         <math.h>.
24111         (__ieee754_atan2): Force underflow exception for results with
24112         small absolute value.
24113         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24114         <math_private.h>.
24115         (atan): Force underflow exception for results with small absolute
24116         value.
24117         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24118         (__atanf): Force underflow exception for results with small
24119         absolute value.
24120         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24121         <math.h>.
24122         (__atanl): Force underflow exception for results with small
24123         absolute value.
24124         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24125         (__atanl): Force underflow exception for results with small
24126         absolute value.
24127         * sysdeps/x86/fpu/bits/mathinline.h
24128         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24129         (__ieee754_atan2): Only define inline for long double.
24130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24131         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24132         * math/auto-libm-test-in: Do not mark underflow exceptions as
24133         possibly missing for bug 15319.  Add more tests of atan2.
24134         * math/auto-libm-test-out: Regenerated.
24135         * math/libm-test.inc (casin_test_data): Do not mark underflow
24136         exceptions as possibly missing for bug 15319.
24137         (casinh_test_data): Likewise.
24138         * sysdeps/i386/fpu/libm-test-ulps: Update.
24140 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24142         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24143         * sysdeps/mips/bits/endian.h: Fix comments.
24145 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24147         [BZ #17996]
24148         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24149         (hdestroy_r): Likewise.
24150         (hsearch_r): Likewise.
24151         (__hcreate_r): Declare and use libc_hidden_proto.
24152         (__hdestroy_r): Likewise.
24153         (__hsearch_r): Likewise.
24154         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24155         (hcreate): Call __hcreate_r instead of hcreate_r.
24156         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24157         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24158         as weak alias of __hcreate_r.
24159         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24160         __hdestroy_r.
24161         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24162         __hsearch_r.
24163         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24164         Remove variable.
24165         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24166         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24167         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24168         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24170 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24172         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24173         arena_lock into a single arena_get.
24175 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24177         * dl-reloc.c: Inlucde libc-internal.h.
24178         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24179         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24180         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24181         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24182         (grow_heap): Likewise.
24183         * malloc/malloc.c: Include libc-internal.h.
24184         (do_check_malloc): Call powerof2.
24185         (sysmalloc): Use pagesize. Call ALIGN_UP.
24186         (systrim): Use pagesize.
24187         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24188         (__libc_valloc): Use pagesize.
24189         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24191 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24193         [BZ #17991]
24194         * include/sys/resource.h (__getrlimit64): Declare.  Use
24195         libc_hidden_proto.
24196         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24197         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24198         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24199         getrlimit64.
24200         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24201         __getrlimit64.
24202         [!getrlimit64] (getrlimit64): Define as weak alias of
24203         __getrlimit64.  Use libc_hidden_weak.
24204         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24205         using __getrlimit64 not __new_getrlimit64.
24206         (__GI_getrlimit64): Likewise.
24207         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24208         Likewise.
24209         (__GI_getrlimit64): Likewise.
24210         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24212         (getrlimit): Add __getrlimit64 alias.
24213         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24214         Likewise.
24215         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24216         Remove variable.
24217         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24218         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24220 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24222         * libio/fileops.c: Add missing sys/mman.h
24223         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24225 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24227         * manual/math.texi (Errors in Math Functions): Clarify goals
24228         regarding inexact and underflow exceptions.
24230 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24232         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24233         * sysdeps/mips/memset.S: Ditto.
24235 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24237         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24239 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24241         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24242         (__v1longjmp): Remove versioned symbol.
24243         (__v1siglongjmp): Remove alias and versioned symbol.
24244         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24245         (__v2siglongjmp): Likewise.
24247 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24249         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24251 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24253         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24255 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24257         [BZ #17987]
24258         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24259         zero result does not depend on the sign resulting from
24260         subtraction.
24261         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24262         Likewise.
24263         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24264         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24265         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24266         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24267         * math/libm-test.inc (remquo_test_data): Add more tests.
24269 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24271         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24272         Problem reported by J William Piggott.
24274 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24276         [BZ #17978]
24277         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24278         products 4 * y and 2 * y where those would overflow.
24279         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24280         Likewise.
24281         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24282         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24283         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24284         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24285         * math/libm-test.inc (remquo_test_data): Add more tests.
24287         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24289         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24290         [defined _COMPILING_NEWLIB].
24291         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24292         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24294         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24295         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24297 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24299         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24300         acquired.
24302 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24304         [BZ #17792]
24305         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24306         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24307         HOST_STACK_END_ADDR): Likewise.
24309 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24311         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24312         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24313         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24315 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24317         * sysdeps/generic/c++-types.data: New file.
24318         * sysdeps/generic/ld.abilist: New file.
24319         * sysdeps/generic/libBrokenLocale.abilist: New file.
24320         * sysdeps/generic/libanl.abilist: New file.
24321         * sysdeps/generic/libc.abilist: New file.
24322         * sysdeps/generic/libcrypt.abilist: New file.
24323         * sysdeps/generic/libdl.abilist: New file.
24324         * sysdeps/generic/libm.abilist: New file.
24325         * sysdeps/generic/libpthread.abilist: New file.
24326         * sysdeps/generic/libresolv.abilist: New file.
24327         * sysdeps/generic/librt.abilist: New file.
24329 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24331         [BZ #17569]
24332         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24333         Compute absolute value of x as modified by fmod, not original
24334         value of x.
24335         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24336         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24337         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24338         RUN_TEST_ffI_f1_mod8.
24339         (remquo_test_data): Add more tests.
24341 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24343         * sysdeps/init_array/pt-crti.S: New file.
24345 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24347         [BZ #17967]
24348         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24349         __builtin_fmaf instead of relying on contraction of a * b + c.
24351 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24353         [BZ #17969]
24354         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24355         node.
24357 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24359         [BZ #17964]
24360         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24361         __builtin_fma instead of relying on contraction of a * b + c.
24363 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24365         * Makeconfig (ASFLAGS): Add -Werror=undef.
24366         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24367         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24368         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24370         * Makeconfig (after-link): New variable.
24371         (+link-pie, +link-pie-tests): Use it.
24372         (+link-static, +link-static-tests): Likewise.
24373         (+link, +link-tests): Likewise.
24374         * Makerules (build-module, build-module-asneeded): Likewise.
24375         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24376         Likewise.
24377         * elf/Makefile ($(objpfx)ld.so): Likewise.
24379 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24381         [BZ #17965]
24382         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24383         both struct timeval and struct timespec.
24385 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24387         [BZ #16560]
24388         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24389         and redefine.
24390         (__ieee754_exp2l): Do not multiply small fractional parts by
24391         M_LN2l.
24392         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24393         small argument.
24394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24395         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24396         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24397         * math/auto-libm-test-in: Add more tests of exp2.
24398         * math/auto-libm-test-out: Regenerated.
24400 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24402         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24403         unaligned path.
24405 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24407         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24408         little endian.
24410 2015-02-12  Andreas Schwab  <schwab@suse.de>
24412         [BZ #15790]
24413         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24414         Filter out elision flags from value returned in kind.
24415         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24416         * nptl/tst-pthread-mutexattr.c: New file.
24418 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24420         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24421         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24422         into gnu-gnu, and update comment to refer to abi-tags.
24424 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24426         [BZ #15467]
24427         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24428         (__sincos): Set errno to EDOM for infinite argument.
24429         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24430         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24431         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24432         (__sincosl): Set errno to EDOM for infinite argument.
24433         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24434         (__sincosl): Set errno to EDOM for infinite argument.
24435         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24436         (__sincosl): Set errno to EDOM for infinite argument.
24437         * math/libm-test.inc (sincos_test_data): Test errno setting.
24439 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24441         * string/strxfrm_l.c: Remove #define STRCMP.
24442         * string/strcoll_l.c: Remove #define STRLEN.
24443         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24444         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24446 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24448         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24449         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24450         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24451         * sysdeps/mips/mips64/Makefile: ... here.
24452         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24453         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24454         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24455         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24456         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24457         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24458         * sysdeps/mips/mips64/n64/Implies: Likewise.
24460 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24462         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24463         <sys/time.h>, <string.h>, and <errno.h>.
24464         (dest_offset, dest_address, value, zero): Remove unused variables.
24465         (ldouble): Remove typedef.
24466         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24467         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24468         1).  Fix code style.
24469         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24470         (check): Function removed.
24471         (CHECK): New macro.
24472         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24473         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24474         Don't call set_sigaction_FP and remove_sigaction_FP here.
24475         (ldouble_test): Just use 'long double' as macro argument, no need for
24476         the 'ldouble' typedef.
24477         (do_test): Set up SIGFPE handler at start, using plain signal rather
24478         than sigaction.  Fix code style.
24480 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24482         [BZ #17949]
24483         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24484         jump label.
24486 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24488         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24489         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24491         * sysdeps/powerpc/configure.ac: Remove file.
24492         * sysdeps/powerpc/configure: Likewise.
24494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24495         [sysdep_routines]: Remove wordcopy-power6 object.
24496         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24497         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24498         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24499         (__memmove_ppc32): Likewise.
24500         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24501         file.
24502         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24504         Remove preprocessor.
24506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24507         [sysdep_routines]: Remove wide chars objects.
24508         [wcsmbs]: New rule for wide char objects.
24510         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24511         Remove wordcopy-power6 obejct.
24512         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24513         Use local call for wordcopy and memcpy symbols.
24514         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24516         implementation for loader.
24517         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24520         Remove wordcopy-power7 object.
24521         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24522         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24523         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24524         (_wordcopy_fwd_dest_aligned): Likewise.
24525         (_wordcopy_bwd_aligned): Likewise.
24526         (_wordcopy_bwd_dest_aligned): Likewise.
24528         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24529         Rewrite to call __memmove_ppc instead of include default
24530         implementation.
24532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24533         Remove wide chars objects.
24534         [wcsmbs]: New rule for wide char objects.
24536 2015-02-09  Andreas Schwab  <schwab@suse.de>
24538         [BZ #17912]
24539         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24540         in terms of __O_DIRECTORY.
24542 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24544         * time/getdate.c: Include <stdbool.h>.
24545         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24546         call PTR_MANGLE.
24547         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24548         PTR_DEMANGLE.
24550 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24552         Add ersatz _Static_assert on older C hosts
24553         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24554         pre-C11 C platform that is not known to support _Static_assert.
24556 2015-02-07  Richard Braun  <rbraun@sceen.net>
24558         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24559         sigstate.
24560         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24562 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24564         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24565         priority against unexistent AIO_PRIO_DELTA_MAX.
24566         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24567         instead of int.
24568         * misc/fchflags.c (fchflags): Likewise.
24569         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24570         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24571         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24572         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24573         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24574         Declare macros.
24575         [__USE_MISC] (chflags, fchflags): Declare functions.
24576         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24577         EINVAL when nfds is greater than FD_SETSIZE.
24578         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24579         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24580         45.
24581         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24582         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24583         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24584         MACH_RCV_TIMED_OUT.
24585         * hurd/hurd/signal.h (_hurd_self_sigstate,
24586         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24587         Explicit casts from void *.
24588         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24589         * abi-tags: Rename gnu-gnu os into gnu.
24591         [BZ #4719]
24592         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24593         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24594         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24595         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24596         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24597         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24599         [BZ #17944]
24600         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24601         duplicates ADDR->sun_path with sockaddr LEN limitation.
24602         * sysdeps/mach/hurd/connect.c: Include <string.h>
24603         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24604         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24605         * sysdeps/mach/hurd/sendto.c: Likewise.
24606         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24607         implementing it by hand.
24609 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24611         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24612         Use sfi_breg on ldr.
24613         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24614         Likewise.
24616         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24617         it's defined.
24618         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24619         Test SIGSETXID only if it's defined.
24621         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24623         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24624         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24626         * nptl/tst-align2.c: Moved ...
24627         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24628         * nptl/Makefile (tests): Remove tst-align2.
24629         * sysdeps/unix/sysv/linux/Makefile
24630         [$(subdir) = nptl] (tests): Add tst-align-clone.
24631         * nptl/tst-getpid1.c: Moved ...
24632         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24633         * nptl/tst-getpid2.c: Moved ...
24634         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24635         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24636         * sysdeps/unix/sysv/linux/Makefile
24637         [$(subdir) = nptl] (tests): ... here.
24638         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24639         * sysdeps/unix/sysv/linux/Makefile
24640         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24642         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24643         Drop trailing \n from perror argument.  Use return rather than exit.
24645         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24646         on [SA_SIGINFO].
24647         * nptl/tst-cancel21.c (do_test): Likewise.
24648         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24649         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24650         [!SA_SIGINFO]: Make it a stub test.
24652         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24653         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24655         * posix/tst-getlogin.c: Move to ...
24656         * login/tst-getlogin.c: ... here.
24657         * posix/Makefile (tests): Move tst-getlogin to ...
24658         * login/Makefile (tests): ... here.
24660         * libio/tst-atime.c (do_test): Move local variables SV and E
24661         inside [ST_NOATIME] conditional.
24663         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24665         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24667         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24668         (wait_code): New function replaces macro.
24669         Call nanosleep rather than syscall.
24671         * nptl/pt-system.c: Rewritten.  Put everything under
24672         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24673         Use IFUNC to redirect when possible.
24675         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24676         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24677         Use IFUNC to redirect when possible.
24679         * nptl/pt-fork.c: Rewritten.  Put everything under
24680         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24681         Use IFUNC to redirect when possible.
24682         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24684         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24685         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24686         unconditionally nowadays.  This included the only reference to
24687         __vdso_clock_gettime that appears outside libc proper.
24688         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24689         Remove version set (containing only __vdso_clock_gettime).
24690         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24691         Add attribute_hidden.
24692         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24693         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24694         libc_hidden_data_def.
24695         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24696         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24698         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24699         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24700         setrpcent, and getrpcport to ...
24701         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24702         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24703         getrpcbynumber_r, and getrpcent_r to ...
24704         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24705         * inet/getrpcbyname.c: Moved ...
24706         * sunrpc/getrpcbyname.c: ... here.
24707         * inet/getrpcbyname_r.c: Moved ...
24708         * sunrpc/getrpcbyname_r.c: ... here.
24709         * inet/getrpcbynumber.c: Moved ...
24710         * sunrpc/getrpcbynumber.c: ... here.
24711         * inet/getrpcbynumber_r.c: Moved ...
24712         * sunrpc/getrpcbynumber_r.c: ... here.
24713         * inet/getrpcent.c: Moved ...
24714         * sunrpc/getrpcent.c: ... here.
24715         * inet/getrpcent_r.c: Moved ...
24716         * sunrpc/getrpcent_r.c: ... here.
24717         * inet/Makefile (routines): Move those to ...
24718         * sunrpc/Makefile (routines): ... here.
24719         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24720         the $(subdirs) list.
24721         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24722         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24723         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24724         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24726         * elf/Makefile (routines): Include $(all-dl-routines), not just
24727         $(dl-routines).
24728         (rtld-routines): Likewise.  Use = rather than :=.
24729         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24730         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24731         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24732         * sysdeps/arm/Makefile: Likewise.
24733         * sysdeps/i386/Makefile: Likewise.
24734         * sysdeps/x86_64/Makefile: Likewise.
24735         * sysdeps/hppa/Makefile [$(subdir) = elf]
24736         (sysdep_routines, sysdep-rtld-routines): Don't add
24737         $(sysdep-dl-routines) to these.
24738         * sysdeps/ia64/Makefile: Likewise.
24739         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24740         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24741         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24742         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24743         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24744         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24745         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24746         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24747         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24748         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24749         these; sysdep-dl-routines alone is enough.
24751 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24753         [BZ #17932]
24754         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24755         where multiplication results in zero and third argument is finite
24756         and nonzero.
24757         * math/auto-libm-test-in: Add more tests of fma.
24758         * math/auto-libm-test-out: Regenerated.
24760         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24761         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24762         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24763         (_FP_CMP_EQ): Likewise.
24764         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24766         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24767         extra argument CHECK_NAN.  Redefine as wrapper around
24768         _FP_EXTEND_CNAN.
24770 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24772         * version.h (RELEASE): Set to "stable".
24773         (VERSION): Set to "2.21"
24774         * include/features.h (__GLIBC_MINOR__): Set to 21.
24776         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24778 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24779             Paul Eggert  <eggert@cs.ucla.edu>
24781         [BZ #16618]
24782         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24783         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24784         size in bytes. Store needed elements in wpmax. Use needed size
24785         in bytes for extend_alloca.
24787 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24789         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24790         binutls 2.25, and texinfo 5.2.
24791         * INSTALL: Regenerate.
24792         * sysdeps/nios2/configure: Regenerate.
24793         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24794         * manual/contrib.texi: Update.
24795         * po/be.po: Update.
24796         * po/bg.po: Update.
24797         * po/ca.po: Update.
24798         * po/cs.po: Update.
24799         * po/da.po: Update.
24800         * po/de.po: Update.
24801         * po/el.po: Update.
24802         * po/eo.po: Update.
24803         * po/es.po: Update.
24804         * po/fi.po: Update.
24805         * po/fr.po: Update.
24806         * po/gl.po: Update.
24807         * po/hr.po: Update.
24808         * po/hu.po: Update.
24809         * po/ia.po: Update.
24810         * po/id.po: Update.
24811         * po/it.po: Update.
24812         * po/ja.po: Update.
24813         * po/ko.po: Update.
24814         * po/lt.po: Update.
24815         * po/nb.po: Update.
24816         * po/nl.po: Update.
24817         * po/pl.po: Update.
24818         * po/pt_BR.po: Update.
24819         * po/ru.po: Update.
24820         * po/rw.po: Update.
24821         * po/sk.po: Update.
24822         * po/sl.po: Update.
24823         * po/sv.po: Update.
24824         * po/tr.po: Update.
24825         * po/uk.po: Update.
24826         * po/vi.po: Update.
24827         * po/zh_CN.po: Update.
24828         * po/zh_TW.po: Update.
24830         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24831         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24832         * sysdeps/hppa/dl-irel.h: Remove #warning.
24833         * sysdeps/hppa/entry.h: Provide prototype for
24834         __canonicalize_funcptr_for_compare and cast argument.
24835         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24836         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24837         * sysdeps/hppa/sotruss-lib.c: New file.
24838         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24839         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24840         (atomic_compare_and_exchange_bool_acq): Likewise.
24841         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24842         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24844         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24845         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24846         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24848 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24850         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24851         called function in non-PIC case.
24853 2015-01-31  David S. Miller  <davem@davemloft.net>
24855         * sysdeps/sparc/sparc32/bits/atomic.h
24856         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24857         unlock not after it.
24858         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24859         volatile register usage warnings from the compiler.
24861         * sysdeps/sparc/nptl/sem_init.c: Delete.
24862         * sysdeps/sparc/nptl/sem_post.c: Delete.
24863         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24864         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24865         * sysdeps/sparc/sparc32/sem_init.c: New file.
24866         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24867         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24868         padding explicitly initialized.
24869         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24870         padding for in-semaphore spinlock.
24871         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24872         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24873         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24874         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24875         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24876         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24877         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24878         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24879         version.
24880         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24881         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24883 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24885         [BZ #17801]
24886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24887         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24888         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24889         New.
24890         (index_AVX_Fast_Unaligned_Load): Likewise.
24891         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24892         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24893         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24894         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24895         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24896         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24897         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24898         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24899         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24901 2015-01-29  Andreas Schwab  <schwab@suse.de>
24903         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24905 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24907         [BZ #17892]
24908         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24910 2015-01-28  Martin Sebor  <msebor@redhat.com>
24912         * math/README.libm-test: Clarify. Add "How to read the test output."
24914 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24916         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24917         Define to 0.
24919 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24921         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24922         (__HAVE_64B_ATOMICS): Define to 0.
24924 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24926         [BZ #17885]
24927         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24928         value to set as new flag.
24930         [BZ #16576]
24931         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24932         and use _ARCH_PPCSQ instead.
24933         (__ieee754_sqrt): Likewise.
24934         (__ieee754_sqrtf): Likewise.
24935         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24936         _ARCH_PPCSQ is defined.
24937         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24938         fsqrt instruction.
24939         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24940         _ARCH_PPCSQ is defined.
24941         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24942         fsqrts instruction.
24943         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24945 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24947         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24948         bug (GCC BZ #64739).
24950 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24952         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24953         Mark _retval as used.
24954         (lll_futex_wake_unlock): Likewise.
24955         (lll_futex_timed_wait_requeue_pi): Likewise.
24957         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24958         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24959         register variables.
24961         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24962         libm_hidden_def.
24964         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24965         (__bswap_64): Mark as __always_inline.
24967 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24969         [BZ #15378]
24970         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24971         when none of the search directories exist.
24973 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24975         [BZ #17869]
24976         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24977         power8 in .machine directive.
24979         [BZ #17868]
24980         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24981         set dependency from opd value.
24983 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24986         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24987         architecture.
24989 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24991         [BZ #17870]
24992         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24993         with uint64_t.
24994         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24995         (uint64_t) 1.
24996         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24997         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24998         Replace 1UL with (uint64_t) 1.
24999         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25000         int with uint64_t.
25002 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25004         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25005         (if_freenameindex): Likewise.
25007         * resource/getrlimit64.c: Add missing libc_hidden_def.
25009 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25011         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25012         __label__.
25013         (_FP_FMA): Likewise.
25014         (_FP_TO_INT_ROUND): Likewise.
25015         (_FP_FROM_INT): Likewise.
25017 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25019         [BZ #16418]
25020         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25021         Make code racy and cancel safe.
25023 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25025         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25026         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25027         attribution.
25029         * pwd/tst-getpw.c: Rewrite.
25031         [BZ #17702]
25032         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25033         (modules-names): Add moddummy1 and moddummy2.
25034         ($(objpfx)tst-rec-dlopen): Define.
25035         * dlfcn/moddummy1.c: New file.
25036         * dlfcn/moddummy2.c: New file.
25037         * dlfcn/tst-rec-dlopen.c: New file.
25038         * elf/dl-cache.c (_dl_load_cache_lookup):
25039         Return char*. Copy result with alloca/strcpy/strdup.
25040         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25041         returns char*. Free cached. If not saving realname
25042         free cached.
25043         * elf/dl-open.c (dl_open_worker): Do not assert that
25044         _r_debug->r_state is RT_CONSISTENT.
25045         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25046         returns char*.
25048 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25049             Carlos O'Donell  <carlos@redhat.com>
25051         [BZ #12674]
25052         * nptl/sem_waitcommon.c: New file.
25053         * nptl/sem_wait.c: Include sem_waitcommon.c.
25054         (__sem_wait_cleanup, do_futex_wait): Remove.
25055         (__new_sem_wait): Adapt.
25056         (__new_sem_trywait): New function.
25057         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25058         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25059         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25060         (sem_timedwait): Adapt.
25061         * nptl/sem_post.c (__new_sem_post): Adapt.
25062         (futex_wake): New function.
25063         (__old_sem_post): Add release MO fence.
25064         * nptl/sem_open.c (sem_open): Adapt.
25065         * nptl/sem_init.c (__new_sem_init): Adapt.
25066         (futex_private_if_supported): New function.
25067         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25068         (__old_sem_getvalue): Add using previous code.
25069         * sysdeps/nptl/internaltypes.h: Adapt.
25070         * nptl/tst-sem13.c (do_test): Adapt.
25071         * nptl/tst-sem11.c (main): Adapt.
25072         * nptl/sem_trywait.c: Remove.
25073         * nptl/DESIGN-sem.txt: Remove.
25074         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25075         (gen-as-const-headers): Remove structsem.sym.
25076         * nptl/structsem.sym: Remove.
25077         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25078         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25079         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25080         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25081         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25082         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25083         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25084         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25085         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25086         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25087         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25088         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25089         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25090         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25091         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25092         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25093         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25094         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25095         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25096         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25097         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25098         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25100 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25102         * INSTALL: Regenerated.
25104         * po/libc.pot: Regenerated.
25106 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25107             Sandra Loosemore  <sandra@codesourcery.com>
25108             Andrew Jenner  <andrew@codesourcery.com>
25109             Joseph Myers  <joseph@codesourcery.com>
25110             Nathan Sidwell  <nathan@codesourcery.com>
25112         * NEWS: Mention new Nios II port.
25113         * sysdeps/nios2/Implies: New file.
25114         * sysdeps/nios2/Makefile: New file.
25115         * sysdeps/nios2/Subdirs: New file.
25116         * sysdeps/nios2/Versions: New file.
25117         * sysdeps/nios2/__longjmp.S: New file.
25118         * sysdeps/nios2/abort-instr.h: New file.
25119         * sysdeps/nios2/backtrace.c: New file.
25120         * sysdeps/nios2/bits/endian.h: New file.
25121         * sysdeps/nios2/bits/fenv.h: New file.
25122         * sysdeps/nios2/bits/link.h: New file.
25123         * sysdeps/nios2/bits/setjmp.h: New file.
25124         * sysdeps/nios2/bsd-_setjmp.S: New file.
25125         * sysdeps/nios2/bsd-setjmp.S: New file.
25126         * sysdeps/nios2/configure: New generated file.
25127         * sysdeps/nios2/configure.ac: New file.
25128         * sysdeps/nios2/crti.S: New file.
25129         * sysdeps/nios2/crtn.S: New file.
25130         * sysdeps/nios2/dl-init.c: New file.
25131         * sysdeps/nios2/dl-machine.h: New file.
25132         * sysdeps/nios2/dl-sysdep.h: New file.
25133         * sysdeps/nios2/dl-tls.h: New file.
25134         * sysdeps/nios2/dl-trampoline.S: New file.
25135         * sysdeps/nios2/gccframe.h: New file.
25136         * sysdeps/nios2/gmp-mparam.h: New file.
25137         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25138         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25139         * sysdeps/nios2/ldsodefs.h: New file.
25140         * sysdeps/nios2/libc-tls.c: New file.
25141         * sysdeps/nios2/libm-test-ulps: New file.
25142         * sysdeps/nios2/machine-gmon.h: New file.
25143         * sysdeps/nios2/math-tests.h: New file.
25144         * sysdeps/nios2/math_private.h: New file.
25145         * sysdeps/nios2/memusage.h: New file.
25146         * sysdeps/nios2/nptl/Makefile: New file.
25147         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25148         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25149         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25150         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25151         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25152         * sysdeps/nios2/nptl/tls.h: New file.
25153         * sysdeps/nios2/preconfigure: New file.
25154         * sysdeps/nios2/s_fma.c: New file.
25155         * sysdeps/nios2/s_fmaf.c: New file.
25156         * sysdeps/nios2/setjmp.S: New file.
25157         * sysdeps/nios2/sfp-machine.h: New file.
25158         * sysdeps/nios2/sotruss-lib.c: New file.
25159         * sysdeps/nios2/stackguard-macros.h: New file.
25160         * sysdeps/nios2/stackinfo.h: New file.
25161         * sysdeps/nios2/start.S: New file.
25162         * sysdeps/nios2/sysdep.h: New file.
25163         * sysdeps/nios2/tls-macros.h: New file.
25164         * sysdeps/nios2/tst-audit.h: New file.
25165         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25166         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25167         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25168         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25169         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25170         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25171         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25172         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25173         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25174         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25175         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25176         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25177         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25178         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25179         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25180         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25181         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25182         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25183         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25184         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25185         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25186         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25187         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25188         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25189         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25190         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25191         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25192         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25193         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25194         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25195         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25196         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25197         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25198         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25199         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25200         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25201         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25202         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25203         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25204         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25205         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25206         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25207         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25208         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25210 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25212         [BZ #17844]
25213         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25214         (getutent): Use weak_alias in non SHARED case
25215         and default_symbol_version in SHARED case.
25216         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25217         (getutent_r, pututline): Likewise.
25218         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25219         (getutid): Likewise.
25220         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25221         (getutid_r): Likewise.
25222         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25223         (getutline): Likewise.
25224         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25225         (getutline_r): Likewise.
25226         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25227         (updwtmp): Likewise.
25229 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25231         [BZ #17848]
25232         * sysdeps/s390/s390-32/memcmp.S
25233         (memcmp_g5): Rename to __memcmp_g5.
25234         * sysdeps/s390/s390-32/memcpy.S
25235         (memcpy_g5): Rename to __memcpy_g5.
25236         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25237         (memcpy_mvcle) Rename to __memcpy_mvcle.
25238         * sysdeps/s390/s390-32/memset.S
25239         (memset_g5): Rename to __memset_g5.
25240         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25241         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25242         and use prefixed functions.
25243         * sysdeps/s390/s390-32/multiarch/memcmp.S
25244         (memcmp_z196): Rename to __memcmp_z196.
25245         (memcmp_z10): Rename to __memcmp_z10.
25246         (memcmp): Set alias to __memcmp_g5.
25247         (bcmp): Set alias to __memcmp_g5.
25248         * sysdeps/s390/s390-32/multiarch/memcpy.S
25249         (memcpy_z196): Rename to __memcpy_z196.
25250         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25251         (memcpy_z10): Rename to __memcpy_z10.
25252         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25253         (memcpy): Set alias to __memcpy_g5.
25254         * sysdeps/s390/s390-32/multiarch/memset.S
25255         (memset_z196): Rename to __memset_z196.
25256         Jump to __memset_mvcle instead of memset_mvcle.
25257         (memset_z10): Rename to __memset_z10.
25258         Jump to __memset_mvcle instead of memset_mvcle.
25259         (memset_mvcle) Rename to __memset_mvcle.
25260         (memset): Set alias to __memset_g5.
25261         * sysdeps/s390/s390-64/memcmp.S
25262         (memcmp_z900): Rename to __memcmp_z900.
25263         * sysdeps/s390/s390-64/memcpy.S
25264         (memcpy_z900): Rename to __memcpy_z900.
25265         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25266         (memcpy_mvcle) Rename to __memcpy_mvcle.
25267         * sysdeps/s390/s390-64/memset.S
25268         (memset_z900): Rename to __memset_z900.
25269         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25270         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25271         and use prefixed functions.
25272         * sysdeps/s390/s390-64/multiarch/memcmp.S
25273         (memcmp_z196): Rename to __memcmp_z196.
25274         (memcmp_z10): Rename to __memcmp_z10.
25275         (memcmp): Set alias to __memcmp_z900.
25276         (bcmp): Set alias to __memcmp_z900.
25277         * sysdeps/s390/s390-64/multiarch/memcpy.S
25278         (memcpy_z196): Rename to __memcpy_z196.
25279         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25280         (memcpy_z10): Rename to __memcpy_z10.
25281         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25282         (memcpy): Set alias to __memcpy_z900.
25283         * sysdeps/s390/s390-64/multiarch/memset.S
25284         (memset_z196): Rename to __memset_z196.
25285         Jump to __memset_mvcle instead of memset_mvcle.
25286         (memset_z10): Rename to __memset_z10.
25287         Jump to __memset_mvcle instead of memset_mvcle.
25288         (memset_mvcle) Rename to __memset_mvcle.
25289         (memset): Set alias to __memset_z900.
25291 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25293         [BZ #17748]
25294         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25295         __fesetenv instead of fesetenv.
25297 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25299         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25300         macro.
25302 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25304         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25305         regression on LE.
25307         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25308         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25309         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25310         strncmp-power8 object.
25311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25312         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25313         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25314         * NEWS: Update.
25316 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25317             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25319         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25320         trailing byte check.
25322 2015-01-13  David S. Miller  <davem@davemloft.net>
25324         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25326 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25328         * login/logout.c (logout): Use memset rather than bzero.
25329         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25330         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25331         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25332         (_gethtbyaddr): Likewise.
25333         * locale/programs/simple-hash.c (bcopy): Macro removed.
25335 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25337         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25338         Add strcmp-power8 object.
25339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25340         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25341         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25342         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25343         __strcmp_power8 implementation.
25344         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25345         * NEWS: Update.
25347         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25348         Add strncpy-power8 and stpncpy-power8 objects.
25349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25350         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25351         implementations.
25352         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25353         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25354         __stpncpy_power8 implementation.
25355         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25356         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25357         __strncpy_power8 implementation.
25358         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25359         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25360         * NEWS: Update.
25362         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25363         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25364         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25366         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25367         strncat-power8 object.
25368         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25369         __strcat_power8 implementation.
25370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25371         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25372         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25373         optimized strcat for power8.
25375         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25376         strcpy-power8 and stpcpy-power8 objects.
25377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25378         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25379         implementations.
25380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25381         multiarch stpcpy implementation for POWER8.
25382         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25383         multiarch strcpy implementation for POWER8.
25384         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25385         __strcpy_power8 function.
25386         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25387         stpcpy for POWER8.
25388         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25389         strcpy for POWER8.
25390         * NEWS: Update.
25392 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25394         [BZ #16009]
25395         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25396         weights and rules. Use do_xfrm_cached if data fits in cache,
25397         do_xfrm otherwise.  Moved former main loop to...
25398         * (do_xfrm_cached): New function.
25399         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25400         find_idx, find_position and stack_push.
25401         * (find_idx): New function.
25402         * (find_position): Likewise.
25403         * localedata/sort-test.sh: Added test run for do_xfrm.
25404         * localedata/xfrm-test.c (main): Added command line option
25405         -nocache to run the test with strings that are too large for
25406         the STRXFRM cache.
25408 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25410         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25411         variable to lll_futex_wake call, not the value itself.
25413 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25415         [BZ #17803]
25416         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25417         twom64.  Adjust value to 0x1p-64L.
25418         (__scalblnl): Only return standard underflowing result for K <=
25419         -64 not K <= -63; adjust exponent for underflowing result by 64
25420         not 63.
25421         * math/libm-test.inc (scalbn_test_data): Add more tests.
25422         (scalbln_test_data): Likewise.
25424         [BZ #17834]
25425         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25426         0x1p63L.
25427         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25428         not HX.
25429         * math/libm-test.inc (scalbn_test_data): Add more tests.
25430         (scalbln_test_data): Likewise.
25432 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25433             Stefani Seibold  <stefani@seibold.net>
25435         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25436         (sysdep_routines): Add dl-vdso here, ...
25437         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25438         (sysdep_routines): ... not here.
25439         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25440         fallback when vDSO is not presented.
25441         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25442         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25443         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25444         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25445         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25446         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25447         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25448         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25449         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25451         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25452         fallback configurable symbol when vDSO is not available.
25453         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25454         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25455         be able to redefine fallback symbol when vDSO is not available.
25456         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25457         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25459 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25461         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25462         (TLS_INIT_TP): Add tm_capable initialization.
25463         (TLS_DEFINE_INIT_TP): Likewise.
25464         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25465         TCB.
25466         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25467         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25468         calculation.
25469         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25470         transactoion is lock elision is built and TCB tm_capable is set.
25471         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25473         (INTERNAL_SYSCALL_NCS): Likewise.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25475         (INTERNAL_SYSCALL_NCS): Likewise.
25476         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25478         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25479         for powerpc.
25480         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25481         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25482         and remove it for 32 bits case.
25483         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25485         initialization.
25486         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25487         Disable lock elision with rdlocks if elision is not available.
25489         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25490         (sysdep_routines): Add lock elision objects.
25491         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25492         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25493         [pthread_mutex_t] (__elision): Add field.
25494         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25495         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25496         elision definitions for powerpc.
25497         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25498         implementation of lock elision for powerpc.
25499         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25500         implementation of timed lock elision for powerpc.
25501         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25502         implementation of trylock with lock elision for powerpc.
25503         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25504         implementaion of unlock for lock elision for powerpc.
25505         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25506         automatic enable lock elision for mutexes.
25507         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25508         transaction execution definitions for powerpc.
25509         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25510         definitions.
25511         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25512         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25513         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25514         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25515         * NEWS: Update.
25517 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25519         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25520         for #include of <shm-directory.h>.
25522 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25524         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25525         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25527 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25529         [BZ #17791]
25530         * NEWS: Mention bug fix.
25531         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25532         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25533         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25535 2015-01-09  Torvald Riegel <triegel@redhat.com>
25537         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25539 2015-01-09  Torvald Riegel <triegel@redhat.com>
25541         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25543 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25545         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25546         pointer and cast to uintptr_t.
25548 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25550         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25551         removed.
25552         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25554 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25556         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25557         of 0.
25559 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25561         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25562         <nptl/pthreadP.h> instead.
25563         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25565         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25566         already defined.
25567         [__SIGRTMIN] (init): Function removed.
25568         [__SIGRTMIN] (initialized): Variable removed.
25569         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25570         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25571         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25572         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25573         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25574         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25575         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25576         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25577         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25578         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25579         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25580         * sysdeps/nptl/allocrtsig.c: New file.
25581         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25582         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25583         * sysdeps/generic/testrtsig.h: File removed.
25585         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25586         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25588         * nptl/nptl-init.c (pthread_functions): Conditionalize
25589         .ptr__nptl_setxid initialization on [SIGSETXID].
25591         * sysdeps/nptl/sys/procfs.h: New file.
25592         * nptl_db/Makefile (headers): Add it.
25593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25595         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25596         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25597         * nptl/pthread_attr_setaffinity.c: Include it.
25598         * nptl/pthread_setattr_default_np.c: Likewise.
25599         * nptl/check-cpuset.h: New file.
25601 2015-01-08  Richard Henderson  <rth@redhat.com>
25603         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25604         (CFLAGS-tst-execstack-prog.c): Likewise.
25605         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25607 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25608             Sandra Loosemore  <sandra@codesourcery.com>
25609             Andrew Jenner  <andrew@codesourcery.com>
25610             Joseph Myers  <joseph@codesourcery.com>
25611             Nathan Sidwell  <nathan@codesourcery.com>
25613         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25614         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25615         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25616         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25617         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25618         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25619         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25620         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25621         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25622         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25623         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25624         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25625         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25626         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25627         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25628         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25629         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25631 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25633         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25634         timespec struct member in syscall macro.
25635         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25636         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25637         first timeval struct member in syscall macro.
25638         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25640 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25642         [BZ #17748]
25643         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25644         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25645         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25646         __feupdateenv and define as weak alias of __feupdateenv.  Use
25647         libm_hidden_weak.
25648         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25649         libm_hidden_def.
25650         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25651         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25652         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25653         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25654         libm_hidden_def.
25655         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25656         __feupdateenv and define as weak alias of __feupdateenv.  Use
25657         libm_hidden_weak.
25658         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25659         libm_hidden_def.
25660         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25661         __feupdateenv and define as weak alias of __feupdateenv.  Use
25662         libm_hidden_weak.
25663         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25664         libm_hidden_def.
25665         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25666         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25667         (__feupdateenv): Likewise.
25668         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25669         __feupdateenv and define as weak alias of __feupdateenv.  Use
25670         libm_hidden_weak.
25671         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25672         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25673         libm_hidden_def.
25674         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25675         function.
25676         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25677         libm_hidden_def.
25678         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25679         __feupdateenv instead of feupdateenv.
25680         (default_libc_feupdateenv_test): Likewise.
25681         (libc_feresetround_ctx): Likewise.
25683 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25685         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25686         prototype.
25688 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25690         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25691         COLL_SYM in a couple of places to avoid uninitialized variable
25692         wanings on tilegx gcc 4.8.2.
25694 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25696         * sysdeps/aarch64/strcpy.S: New file.
25697         * sysdeps/aarch64/stpcpy.S: New file.
25698         * NEWS: Updated.
25700 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25702         * sysdeps/aarch64/strrchr.S: New file.
25703         * NEWS: Updated.
25705 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25707         [BZ #17658]
25708         * stdlib/setenv.c: Fix memory leak when setting large,
25709         duplicate string.
25711 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25713         [BZ #17273]
25714         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25715         and tabs from buffer before parsing fstab entry.
25716         * misc/tst-mntent.c (main): Add test for mount entry with
25717         trailing spaces and tabs.
25719 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25721         [BZ #17748]
25722         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25723         * math/fesetround.c (fesetround): Rename to __fesetround and
25724         define as weak alias of __fesetround.  Use libm_hidden_weak.
25725         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25726         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25727         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25728         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25729         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25730         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25731         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25732         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25733         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25734         __fesetround_inline.
25735         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25736         __fesetround_inline instead of __fesetround.
25737         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25738         __fesetround and define as weak alias of __fesetround.  Use
25739         libm_hidden_weak.  Call __fesetround_inline instead of
25740         __fesetround.
25741         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25742         __fesetround and define as weak alias of __fesetround.  Use
25743         libm_hidden_weak.
25744         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25745         Likewise.
25746         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25747         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25748         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25749         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25750         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25751         __fesetround and define as weak alias of __fesetround.  Use
25752         libm_hidden_weak.
25753         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25754         __fesetround instead of fesetround.
25755         (default_libc_feholdexcept_setround): Likewise.
25756         (libc_feholdsetround_ctx): Likewise.
25757         (libc_feholdsetround_noex_ctx): Likewise.
25759         [BZ #17748]
25760         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25761         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25762         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25763         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25764         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25765         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25766         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25767         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25768         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25769         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25770         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25771         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25772         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25773         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25774         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25775         libm_hidden_def.
25776         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25777         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25778         Likewise.
25779         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25780         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25781         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25782         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25783         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25784         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25785         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25786         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25787         __fesetenv instead of fesetenv.
25788         (libc_feresetround_noex_ctx): Likewise.
25789         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25790         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25791         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25792         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25793         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25794         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25795         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25796         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25797         (__feupdateenv): Likewise.
25798         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25799         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25800         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25801         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25803 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25805         [BZ #17806]
25806         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25807         addresses have been freed.
25809 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25811         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25812         and nservall.
25814 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25816         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25817         Clean up check_pf allocation pattern. addresses
25819 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25821         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25822         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25823         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25824         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25825         * nptl/pthread_join.c (pthread_join): Likewise.
25826         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25827         * sysdeps/posix/waitid.c (__waitid): Likewise.
25828         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25829         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25830         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25831         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25833         Likewise.
25834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25835         (__libc_pread64): Likewise.
25836         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25837         (__libc_pwrite): Likewise.
25838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25839         (__libc_pwrite64): Likewsie.
25840         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25841         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25842         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25843         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25844         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25845         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25846         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25848         Likewise.
25849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25850         (__libc_pread64): Likewise.
25851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25852         Likewise.
25853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25854         (__libc_pwrite64): Likewise.
25855         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25856         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25857         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25858         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25859         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25860         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25861         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25862         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25863         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25864         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25865         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25866         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25867         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25868         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25869         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25870         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25871         Likewise.
25873 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25875         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25876         (CFLAGS-test-double.c): Likewise.
25877         (CFLAGS-test-ldouble.c): Likewise.
25878         (CPPFLAGS-test-ifloat.c): Likewise.
25879         (CPPFLAGS-test-idouble.c): Likewise.
25880         (CPPFLAGS-test-ildoubl.c): Likewise.
25881         (CFLAGS-test-test-fenv.c): Remove variable.
25882         (CFLAGS-test-misc.c): Likewise.
25884 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25886         [BZ #17797]
25887         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25888         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25889         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25890         CLOCKS_PER_SEC == 1000000.
25891         * time/clocktest.c (main): Replace %ld with %jd and cast to
25892         intmax_t.
25894 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25896         * sysdeps/generic/unwind-resume.h: New file.
25897         * sysdeps/gnu/unwind-resume.c: Include it.
25898         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25899         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25900         argument list.
25901         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25902         global rather than static.
25903         (_Unwind_Resume): Update user.
25904         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25905         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25906         rather than static.  Add __attribute__ ((cold)).
25907         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25908         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25909         * sysdeps/arm/arm-unwind-resume.S: New file.
25910         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25911         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25912         * sysdeps/arm/Makefile [$(subdir) = csu]
25913         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25914         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25915         Add rt-arm-unwind-resume.
25916         [$(subdir) = nptl]
25917         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25918         Add pt-arm-unwind-resume.
25919         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25920         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25922 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25924         [BZ #17748]
25925         * include/fenv.h (__feholdexcept): Declare.  Use
25926         libm_hidden_proto.
25927         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25928         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25929         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25930         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25931         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25932         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25933         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25934         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25935         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25936         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25937         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25938         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25939         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25940         (feholdexcept): Likewise.
25941         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25942         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25943         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25944         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25945         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25946         __feholdexcept instead of feholdexcept.
25947         (default_libc_feholdexcept_setround): Likewise.
25949 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25951         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25952         to avoid using stl/str to align destination.
25954 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25956         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25958 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25960         [BZ #17796]
25961         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25962         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25963         Define as weak alias not strong alias.
25965 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25967         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25968         bltzal with addiupc.
25969         (RTLD_START): Ditto.
25971 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25973         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25974         for __vdso_* functions in declarations.
25975         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25976         definitions.
25977         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25978         INTERNAL_VSYSCALL): Use struct return types to check for error.
25980         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25981         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25982         function with cast from llround().
25983         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25984         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25985         Define.
25987 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25989         [BZ #17793]
25990         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25991         Define as weak alias not strong alias.
25993         [BZ #17635]
25994         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25995         ...
25996         * ctype/ctype-extn.c: ... here.
25997         (__isblank_l): Move to ...
25998         * ctype/ctype-c99_l.c: ... here.  New file.
25999         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26000         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26001         Remove variable.
26002         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26003         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26004         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26005         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26006         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26008         [BZ #17777]
26009         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26010         (posix_fadvise64): Define as weak alias not strong alias.
26011         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26012         (posix_fallocate64): Likewise.
26013         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26014         Remove variable.
26015         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26016         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26017         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26018         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26019         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26021 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26023         [BZ #16191]
26024         * NEWS: Mention bug fix.
26025         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26026         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26027         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26028         (HOST_STACK_END_ADDR): Likewise.
26030 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26032         [BZ #17748]
26033         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26034         * math/fegetround.c (fegetround): Rename to __fegetround and
26035         define as weak alias of __fegetround.  Use libm_hidden_weak.
26036         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26037         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26038         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26039         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26040         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26041         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26042         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26043         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26044         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26045         Undefine after rather than before function definition; use
26046         parentheses around function name in definition.
26047         (__fegetround): Also undefine macro after function definition.
26048         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26049         __fegetround and define as weak alias of __fegetround.  Use
26050         libm_hidden_weak.  Do not undefine as macro.
26051         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26052         Likewise.
26053         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26054         __fegetround and define as weak alias of __fegetround.  Use
26055         libm_hidden_weak.
26056         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26057         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26058         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26059         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26060         __fegetround and define as weak alias of __fegetround.  Use
26061         libm_hidden_weak.
26062         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26063         __fegetround instead of fegetround.
26065         [BZ #17782]
26066         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26067         Condition macro definition on [__USE_MISC].
26069         [BZ #17781]
26070         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26071         (struct sigaction): Change type of sa_flags field to int.
26073         [BZ #17780]
26074         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26075         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26076         __glibc_reserved0.
26078         * nptl/version.c (banner): Use single year in copyright notice.
26080         * NEWS: Update copyright dates.
26081         * catgets/gencat.c (print_version): Likewise.
26082         * csu/version.c (banner): Likewise.
26083         * debug/catchsegv.sh: Likewise.
26084         * debug/pcprofiledump.c (print_version): Likewise.
26085         * debug/xtrace.sh (do_version): Likewise.
26086         * elf/ldconfig.c (print_version): Likewise.
26087         * elf/ldd.bash.in: Likewise.
26088         * elf/pldd.c (print_version): Likewise.
26089         * elf/sotruss.sh: Likewise.
26090         * elf/sprof.c (print_version): Likewise.
26091         * iconv/iconv_prog.c (print_version): Likewise.
26092         * iconv/iconvconfig.c (print_version): Likewise.
26093         * locale/programs/locale.c (print_version): Likewise.
26094         * locale/programs/localedef.c (print_version): Likewise.
26095         * login/programs/pt_chown.c (print_version): Likewise.
26096         * malloc/memusage.sh (do_version): Likewise.
26097         * malloc/memusagestat.c (print_version): Likewise.
26098         * malloc/mtrace.pl: Likewise.
26099         * manual/libc.texinfo: Likewise.
26100         * nptl/version.c (banner): Likewise.
26101         * nscd/nscd.c (print_version): Likewise.
26102         * nss/getent.c (print_version): Likewise.
26103         * nss/makedb.c (print_version): Likewise.
26104         * posix/getconf.c (main): Likewise.
26105         * scripts/test-installation.pl: Likewise.
26106         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26108 2015-01-02  Will Newton  <will.newton@linaro.org>
26110         * sysdeps/arm/armv7/configure: Removed.
26111         * sysdeps/arm/armv7/configure.ac: Likewise.
26113 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26115         * All files with FSF copyright notices: Update copyright dates
26116         using scripts/update-copyrights.
26117         * intl/plural.c: Regenerated.
26118         * locale/programs/charmap-kw.h: Likewise.
26119         * locale/programs/locfile-kw.h: Likewise.
26121 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26123         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26125 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26127         [BZ #17748]
26128         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26129         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26130         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26131         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26132         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26133         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26134         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26135         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26136         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26137         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26138         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26139         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26140         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26141         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26142         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26143         libm_hidden_def.
26144         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26145         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26146         Likewise.
26147         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26148         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26149         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26150         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26151         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26152         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26153         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26154         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26155         __fegetenv instead of fegetenv.
26156         (libc_feholdsetround_noex_ctx): Likewise.
26158 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26160         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26161         (Elf_MIPS_ABIFlags_v0): New structure.
26162         (EF_MIPS_FP64): Define.
26163         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26164         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26165         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26166         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26167         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26168         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26169         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26170         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26171         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26172         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26173         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26174         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26175         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26176         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26177         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26178         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26179         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26180         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26181         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26182         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26183         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26184         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26185         field.
26186         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26187         EF_MIPS_FP64.
26188         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26189         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26190         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26191         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26192         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26193         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26194         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26195         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26196         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26197         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26198         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26199         record the current FP ABI extension.
26200         (mips-mode-switch): Define to show if kernel headers support mode
26201         switching.
26202         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26203         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26204         supported SYSV ABI version to 3.
26205         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26206         feature.
26208 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26211         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26212         path.
26213         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26215 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26217         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26218         __fegetround and redefine to call __fegetround.  Remove condition
26219         on [!__NO_MATH_INLINES].
26220         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26221         function.
26222         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26223         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26224         Remove macro.
26225         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26226         instead of <fenv_libc.h>.
26227         (__llrintl): Call fegetround instead of __fegetround.
26228         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26229         instead of <fenv_libc.h>.
26230         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26231         (__lrintl): Call fegetround instead of __fegetround.
26232         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26233         instead of <fenv_libc.h>.
26234         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26235         (__rintl): Call fegetround instead of __fegetround.
26237 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26239         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26240         arrays.
26242 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26244         [BZ #17775]
26245         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26246         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26247         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26249 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26251         * sysdeps/i386/tls-macros.h: Include <features.h>.
26252         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26253         (TLS_IE): Likewise.
26254         (TLS_LD): Likewise.
26255         (TLS_GD): Likewise.
26256         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26257         define for GCC >= 5.0.
26259 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26261         * math/test-fenv.c (test_single_exception, set_single_exc,
26262         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26263         feexcp_mask_test, feenable_test, fe_single_test): Add
26264         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26265         case where they are not used.
26266         * math/libm-test.inc: Likewise.
26267         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26268         unused in the absence of FP rounding/exception support.
26269         * stdio-common/tst-printf-round.c: Likewise.
26270         * stdlib/tst-strtod-round.c: Likewise.
26271         * stdlib/tst-strtod-underflow.c: Likewise.
26273 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26275         [BZ #17723]
26276         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26277         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26278         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26279         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26280         libm_hidden_weak.
26281         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26282         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26283         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26284         libm_hidden_def.
26285         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26286         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26287         libm_hidden_weak.
26288         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26289         Likewise.
26290         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26291         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26292         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26293         libm_hidden_weak.
26294         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26295         libm_hidden_def.
26296         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26297         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26298         (__feraiseexcept): Likewise.
26299         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26300         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26301         libm_hidden_weak.
26302         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26303         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26304         libm_hidden_def.
26305         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26306         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26307         Use libm_hidden_def.
26308         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26309         libm_hidden_def.
26310         (feraiseexcept): Define as weak not strong alias.  Use
26311         libm_hidden_weak.
26312         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26313         New inline function.  Factored out of ...
26314         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26315         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26316         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26317         feraiseexcept.
26318         * math/w_acos.c (__acos): Likewise.
26319         * math/w_asin.c (__asin): Likewise.
26320         * math/w_ilogb.c (__ilogb): Likewise.
26321         * math/w_j0.c (y0): Likewise.
26322         * math/w_j1.c (y1): Likewise.
26323         * math/w_jn.c (yn): Likewise.
26324         * math/w_log.c (__log): Likewise.
26325         * math/w_log10.c (__log10): Likewise.
26326         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26327         * sysdeps/aarch64/fpu/math_private.h
26328         (libc_feupdateenv_test_aarch64): Likewise.
26329         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26330         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26331         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26332         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26333         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26334         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26335         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26336         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26337         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26338         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26340 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26342         [BZ #17732]
26343         * io/test-utime.c (main): Replace %ld with %jd and cast to
26344         intmax_t.
26345         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26346         * nptl/tst-mutex5.c: Include <stdint.h>.
26347         (do_test): Replace %ld with %jd and cast to intmax_t.
26348         * posix/tst-regex.c (run_test): Likewise.
26349         (run_test_backwards): Likewise.
26350         * rt/tst-clock.c: Include <stdint.h>.
26351         (clock_test): Replace %ld with %jd and cast to intmax_t.
26352         * rt/tst-cpuclock1.c: Include <stdint.h>.
26353         (do_test): Replace %lu with %ju and cast to uintmax_t.
26354         * rt/tst-cpuclock2.c: Include <stdint.h>.
26355         (do_test): Replace %lu with %ju and cast to uintmax_t.
26356         * rt/tst-mqueue1.c: Include <stdint.h>.
26357         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26358         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26359         intmax_t.
26360         * rt/tst-mqueue4.c (do_test): Likewise.
26361         * rt/tst-timer4.c: Include <stdint.h>.
26362         (check_ts): Replace %ld with %jd and cast to intmax_t.
26363         (do_test): Likewise.
26364         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26365         and cast to intmax_t.
26366         * sysdeps/pthread/tst-timer.c (main): Likewise.
26367         * time/clocktest.c (main): Likewise.
26368         * time/tst-posixtz.c (do_test): Likewise.
26369         * timezone/tst-timezone.c (main): Likewise.
26371 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26372             H.J. Lu  <hongjiu.lu@intel.com>
26374         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26375         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26376         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26377         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26378         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26379         version if bit_Fast_Unaligned_Load is set.
26380         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26381         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26382         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26383         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26384         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26385         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26387         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26388         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26389         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26390         to 4.
26391         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26392         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26393         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26394         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26396 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26398         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26399         instead of #if to avoid a Wundef warning.
26400         * stdlib/tst-limits.c (do_test): Likewise.
26402         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26403         parallel other exception macros.
26404         (fegetenv): Convert from macro to extern inline so that it applies
26405         retroactively to inline functions already seen by the compiler.
26406         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26408         * posix/Makefile (before-compile): Use $(objpfx) for
26409         posix-conf-vars-def.h.
26411 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26413         * posix/getconf.c (main): Use size_t for type of I.
26414         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26415         NSPEC.
26417         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26418         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26419         * posix/posix-envs.def: Likewise.
26420         * sysdeps/posix/sysconf.c: Likewise.
26421         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26422         (specs): Remove array.
26423         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26424         array.
26426         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26427         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26428         (__sysconf): Use CONF_IS_* macros.
26430         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26431         ($(objpfx)posix-conf-vars-def.h): New target.
26432         * posix/posix-conf-vars.list: New file.
26433         * posix/posix-conf-vars.h: New file.
26434         * posix/confstr.c: Include posix-conf-vars.h.
26435         (confstr): Use CONF_IS_* macros.
26436         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26437         CONF_IS_* macros.
26438         * scripts/gen-posix-conf-vars.awk: New file.
26440 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26442         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26443         fegetround): Add no-op macros to avoid linknamespace issues.
26445         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26446         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26448         * sysdeps/unix/sysv/linux/tile/sysdep.h
26449         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26450         assembly-specific section to avoid a redefinition warning.
26452         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26453         long before casting to pointer to avoid a cast warning.
26455 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26457         * sysdeps/tile/tilegx/Implies: New file.
26459 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26461         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26463 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26465         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26467 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26470         not define.
26471         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26472         <kernel-features.h>.
26473         (__utimes) [__NR_utimes]: Make code unconditional.
26474         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26475         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26476         (__ASSUME_UTIMES): Do not undefine.
26477         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26478         (__ASSUME_UTIMES): Likewise.
26479         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26480         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26481         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26482         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26484 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26486         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26488 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26490         [BZ #17747]
26491         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26492         alias to weak alias for j0l, y0l.
26493         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26494         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26496         [BZ #17746]
26497         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26498         conversion.
26500 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26502         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26503         to zero if not already defined.
26505 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26507         [BZ #17724]
26508         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26509         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26510         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26511         (char *) casts added.
26512         * sysdeps/ieee754/k_standardf.c: New file.
26513         * sysdeps/ieee754/k_standardl.c: Likewise.
26514         * math/Makefile (libm-support): Remove k_standard.
26515         (libm-calls): Add k_standard.
26517 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26519         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26520         Optimize to avoid an unnecessary FPCR read.
26522 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26524         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26525         Optimize to reduce FPCR/FPSR accesses.
26527 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26529         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26530         Call libc_fetestexcept_aarch64.
26532 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26534         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26535         Call libc_fesetround_aarch64.
26537 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #17733]
26540         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26541         (__bind): Do not define as weak alias.
26542         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26543         define.
26544         (__getsockname): Do not define as weak alias.
26546 2014-12-22  Will Newton  <will.newton@linaro.org>
26548         * manual/install.texi: Document that we require bison 2.7
26549         or above.
26550         * INSTALL: Regenerate.
26551         * configure.ac: Use AC_CHECK_PROG_VER instead of
26552         AC_PATH_PROG when checking for bison and check for
26553         version 2.7 or above.
26554         * configure: Regenerate.
26556 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26558         [BZ #17745]
26559         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26560         * sysdeps/tile/ffsll.c (ffsll): To here.
26562         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26564 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26566         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26567         if not defined.
26568         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26569         definition.
26570         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26571         hidden ___tls_get_addr.
26572         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26573         hidden __tls_get_addr.
26574         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26575         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26576         Likewise.
26578 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26580         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26581         _dl_init call.
26583 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26585         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26586         from "call _dl_init@PLT".
26587         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26589 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26591         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26592         guarantees.
26594 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26596         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26598 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26600         [BZ #17744]
26601         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26602         strnlen.
26604 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26606         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26607         of multu on MIPSr6.
26608         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26609         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26610         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26611         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26612         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26614 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26616         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26617         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26618         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26619         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26620         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26621         mips32r6/mips64r6.
26622         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26624 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26626         * string/strncat.c (STRNCAT): Simplify implementation.
26628 2014-12-19  David S. Miller  <davem@davemloft.net>
26630         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26631         access the quad as both a long double and as a series of 4 words.
26633         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26634         link_map->l_info array access.
26636 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26638         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26640         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26641         * math/atest-exp2.c (TIMEOUT): Likewise.
26642         * math/atest-sincos.c (TIMEOUT): Likewise.
26644 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26646         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26647         -Wno-error with -fno-builtin-lround.
26649 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26651         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26652         Contains futex constants and functions moved over from ...
26653         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26654         <lowlevellock-futex.h>.
26655         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26656         (lll_timedwait_tid): Add comments and parentheses around macro
26657         arguments.
26659 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26662         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26663         (__lll_private_flag): Remove.
26664         (lll_futex_wait): Likewise.
26665         (lll_futex_timed_wait): Likewise.
26666         (lll_futex_wake): Likewise.
26667         (lll_futex_requeue): Likewise.
26668         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26669         (__lll_timedwait_tid): Spell out argument names.
26670         (lll_timedwait_tid): Add comments and parentheses around macro
26671         arguments.
26672         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26673         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26675 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26677         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26678         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26679         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26680         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26681         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26682         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26683         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26684         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26685         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26686         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26687         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26688         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26689         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26690         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26691         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26692         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26693         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26694         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26695         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26697 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26699         * sysdeps/x86_64/x32/Makefile: New file.
26701 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26703         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26704         1L with (mp_limb_t) 1.
26706 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26708         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26709         * nptl/libc_pthread_init.c: ... here.
26710         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26711         * nptl/register-atfork.c: ... here.
26713         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26714         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26715         Use assert_perror to check its return value.
26716         (__gai_create_helper_thread): Likewise.
26718         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26720         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26722 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26724         [BZ #17725]
26725         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26726         __profil_counter.
26727         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26728         Likewise.
26729         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26730         Likewise.
26731         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26732         Likewise.
26733         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26734         (profil_counter): Likewise.
26735         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26736         (profil_counter): Likewise.
26737         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26738         Likewise.
26739         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26740         Likewise.
26741         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26742         (profil_counter): Likewise.
26743         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26744         Likewise.
26745         [!__profil_counter] (profil_counter): Define as weak alias of
26746         __profil_counter.
26747         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26748         (profil_counter): Rename to __profil_counter.
26749         [!__profil_counter] (profil_counter): Define as weak alias of
26750         __profil_counter.
26751         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26752         (profil_counter): Rename to __profil_counter.
26753         [!__profil_counter] (profil_counter): Define as weak alias of
26754         __profil_counter.
26755         * sysdeps/posix/profil.c: Update comment referring to
26756         profil_counter.
26757         (__profil): Use __profil_counter instead of profil_counter.
26758         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26759         __profil_counter.  Use __profil_counter_ushort and
26760         __profil_counter_uint in definitions.
26761         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26762         instead of profil_counter_uint and profil_counter_ushort.
26764         [BZ #17722]
26765         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26766         define as weak alias of __inet_makeaddr.
26767         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26768         as weak alias of __inet_addr.
26769         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26770         as weak alias of __inet_pton.  Use libc_hidden_weak.
26771         * include/arpa/inet.h (__inet_pton): Declare.  Use
26772         libc_hidden_proto.
26773         (inet_makeaddr): Don't use libc_hidden_proto.
26774         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26775         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26776         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26777         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26778         Remove variable.
26779         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26780         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26782 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26784         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26786 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26788         * stdio-common/bug-vfprintf-nargs.c (do_test):
26789         Cast value to intptr_t to avoid format warning
26790         for usage with PRIdPTR printing macro.
26792 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26794         * libio/tst-widetext.c (do_test):
26795         Use format type %td instead of %Zd for ptrdiff_t
26796         in order to avoid format warning.
26798 2014-12-17  Andreas Schwab  <schwab@suse.de>
26800         * nscd/mem.c (gc): Add size_t cast to match printf format.
26802 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26804         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26805         (init): Apply PTR_MANGLE to pointers before storing them.
26806         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26807         before using them.
26809 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26811         [BZ #17719]
26812         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26813         define as weak alias of __memrchr.
26814         (__memrchr): Do not define as strong alias of memrchr.
26815         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26816         Remove variable.
26817         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26818         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26819         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26821         [BZ #17717]
26822         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26823         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26824         (if_indextoname): Rename to __if_indextoname and define as weak
26825         alias of __if_indextoname.  Use libc_hidden_weak.
26826         (if_freenameindex): Rename to __if_freenameindex and define as
26827         weak alias of __if_freenameindex.
26828         (if_nameindex): Rename to __if_nameindex and define as weak alias
26829         of __if_nameindex.
26830         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26831         __if_nametoindex and define as weak alias of __if_nametoindex.
26832         Use libc_hidden_weak.
26833         (if_freenameindex): Rename to __if_freenameindex and define as
26834         weak alias of __if_freenameindex.
26835         (if_nameindex): Rename to __if_nameindex and define as weak alias
26836         of __if_nameindex.
26837         (if_indextoname): Rename to __if_indextoname and define as weak
26838         alias of __if_indextoname.  Use libc_hidden_weak.
26839         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26840         __if_nametoindex and define as weak alias of __if_nametoindex.
26841         Use libc_hidden_weak.
26842         (if_freenameindex): Rename to __if_freenameindex and define as
26843         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26844         (if_nameindex_netlink): Use __if_freenameindex instead of
26845         if_freenameindex.
26846         (if_nameindex): Rename to __if_nameindex and define as weak alias
26847         of __if_nameindex.  Use libc_hidden_weak.
26848         (if_indextoname): Rename to __if_indextoname and define as weak
26849         alias of __if_indextoname.  Use libc_hidden_weak.
26850         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26851         libc_hidden_proto.
26852         [!_ISOMAC] (__if_freenameindex): Likewise.
26853         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26854         if_nametoindex.
26855         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26856         variable.
26857         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26858         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26859         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26860         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26861         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26862         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26863         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26865         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26866         Remove variable.
26867         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26868         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26870 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26872         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26873         subscript above bounds'
26875         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26876         bounds.
26878 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26880         * libio/tst-fopenloc.c: Use test-skeleton.c.
26882         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26883         (entry): Rename to ITEM.
26884         (do_test, comp): Adjust.
26886         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26888 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26890         * string/tester.c: Include <libc-internal.h>.
26891         (test_memset): Ignore -Wmemset-transposed-args.
26893 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26895         * misc/tst-mntent2.c (do_test): Fix warning.
26897 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26899         * elf/tst-unique4lib.cc(a): Mark as used.
26901 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26903         [BZ #17630]
26904         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26905         names.
26907 2014-12-16  Allan McRae  <allan@archlinux.org>
26909         * stdio-common/Makefile (tests): Re-add bug26.
26911 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26913         [BZ #17657]
26914         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26915         static array.
26917 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26919         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26920         (__lll_lock_wait): Likewise.
26921         (__lll_timedlock_wait): Likewise.
26922         (__lll_timedwait_tid): Likewise.
26923         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26924         (__lll_robust_timedlock_wait): Likewise.
26925         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26926         (lll_cond_trylock): Likewise.
26927         (__lll_lock): Likewise.
26928         (__lll_robust_lock): Likewise.
26929         (__lll_cond_lock): Likewise.
26930         (lll_robust_cond_lock): Likewise.
26931         (__lll_timedlock): Likewise.
26932         (__lll_robust_timedlock): Likewise.
26933         (__lll_unlock): Likewise.
26934         (__lll_robust_unlock): Likewise.
26935         (lll_wait_tid): Likewise.
26936         (lll_timedwait_tid): Likewise.
26938 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26940         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26942 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26944         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26946 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26948         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26949         * stdio-common/tst-sprintf.c: Likewise.
26951 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26953         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26955 2014-12-15  Jeff Law  <law@redhat.com>
26957         [BZ #16617]
26958         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26959         on the heap.  (CVE-2012-3406)
26960         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26961         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26962         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26964 2014-12-15  Will Newton  <will.newton@linaro.org>
26966         * manual/install.texi: Bump required version of texinfo
26967         to 4.7 from 4.5.
26968         * INSTALL: Regenerated.
26969         * configure.ac: Check for makeinfo version 4.7 and above.
26970         * configure: Regenerated.
26972 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26974         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26975         PREFIX, string constant to insert between directory and name.
26976         * sysdeps/posix/shm_open.c: Update caller.
26977         * sysdeps/posix/shm_unlink.c: Likewise.
26978         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26979         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26980         (SEM_SHM_PREFIX): New macro.
26981         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26982         [$(have-thread-library) = no].
26983         * nptl/Makefile (libpthread-routines): Add shm-directory.
26984         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26985         * sysdeps/nptl/shm-directory.h: New file.
26986         * sysdeps/posix/shm-directory.c
26987         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26988         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26989         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26990         INTERNAL_SYSCALL.
26991         (__where_is_shmfs): Function removed.
26992         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26993         Variables removed.
26994         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26995         Use SHM_GET_NAME.
26996         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26998         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26999         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27000         unconditional for use inside libpthread.
27001         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27003 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27005         * nptl/pthread_getaffinity.c: New file.
27006         * nptl/pthread_setaffinity.c: New file.
27007         * nptl/pthread_getname.c: New file.
27008         * nptl/pthread_setname.c: New file.
27010         * nptl/pthread_create.c (START_THREAD_DEFN)
27011         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27013 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27014             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27016         * resolv/res_send.c (send_vc): Disable warning resplen may
27017         be used uninitialized.
27019 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27021         * nptl/tst-mutex6.c
27022         (ATTR_NULL): New define checks ATTR against NULL.
27023         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27024         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27026 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27028         [BZ #17581]
27029         * malloc/hooks.c
27030         (mem2mem_check): Revert my previous change.
27031         (malloc_check_get_size): Revert my previous change.
27032         (mem2chunk_check): Revert my previous change.
27034 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27036         * sysdeps/posix/shm-directory.c: New file.
27037         * sysdeps/posix/shm-directory.h: New file.
27038         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27039         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27040         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27041         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27042         Transmute EPERM to EACCES.
27043         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27044         from ...
27045         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27046         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27048 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27050         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27051         pointer and cast to uintptr_t.
27052         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27053         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27054         Add cast to avoid warning.
27055         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27057 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27059         * nptl/semaphore.h: Move to ...
27060         * sysdeps/pthread/semaphore.h: ... here.
27061         * Makefile (installed-headers): Change nptl/semaphore.h to
27062         sysdeps/pthread/semaphore.h.
27064 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27066         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27067         generated error format strings.
27069         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27070         -Wformat-extra-args warnings for scanf formats.
27071         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27072         test of zero-length format (duh).
27073         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27074         corner-case scanf format test.
27075         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27076         generated fprintf format string.
27077         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27078         corner-case sprintf format tests.
27079         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27080         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27081         -Wformat-extra-args warnings throughout.
27082         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27083         (CFLAGS-scanf4.c): Likewise.
27084         (CFLAGS-scanf7.c): Likewise.
27085         (CFLAGS-tst-sprintf.c): Likewise.
27086         (CFLAGS-tst-printf.c): Likewise.
27087         (CFLAGS-tst-printfsz.c): Likewise.
27089 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27091         * include/cpio.h: New file.
27092         * include/fmtmsg.h: Likewise.
27094         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27095         corresponding format argument to size_t.
27096         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27097         arguments.
27098         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27099         corresponding format argument to size_t.
27100         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27101         arguments.
27102         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27103         corresponding format argument to size_t.
27104         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27105         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27106         (CFLAGS-tst-mbswcs2.c): Likewise.
27107         (CFLAGS-tst-mbswcs3.c): Likewise.
27108         (CFLAGS-tst-mbswcs4.c): Likewise.
27109         (CFLAGS-tst-mbswcs5.c): Likewise.
27110         (CFLAGS-tst-trans.c): Likewise.
27112 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27114         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27115         rather than assuming they won't contain any '%'s.
27117 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27119         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27120         inhibit_loop_to_libcall to avoid recursive calls.
27121         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27122         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27124 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27126         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27127         prototype.
27129 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27131         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27132         integer value instead of boolean.
27134 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27136         * malloc/malloc.c: Fix powerof2 check.
27138 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27140         * locale/programs/locfile.h (maybe_swap_uint32):
27141         Remove inline and add unused attribute.
27143 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27145         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27146         Truncating assembler expression to a .long expression.
27148 2014-12-11  Andreas Schwab  <schwab@suse.de>
27150         * elf/rtld.c (struct map_args): Constify str member.
27151         (do_preload): Constify fname argument.
27153 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27155         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27156         constants definition.
27158 2014-12-11  Andreas Schwab  <schwab@suse.de>
27160         [BZ #16657]
27161         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27162         FORCE_ELISION instead of DO_ELISION.
27163         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27164         Remove.
27165         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27166         Likewise.
27168         * iconvdata/gconv-modules: Remove duplicate entry.
27170 2014-12-11  Will Newton  <will.newton@linaro.org>
27172         Merge gettext 0.19.3 into intl/.
27174         This involves a number of cosmetic changes to comments
27175         and ANSI function definitions and prototypes throughout
27176         all the files. The gettext copyright header is used but
27177         with the date ranges taken from the glibc copy.
27179         * NEWS: Add gettext merge to 2.21.
27180         * intl/bindtextdom.c: Switch to gettext copyright.
27181         Use ANSI definitions and prototypes.
27182         Use gl_* locking primitives rather than __libc_* ones.
27183         Use __builtin_expect rather than __glibc_likely/unlikely.
27184         * intl/dcgettext.c: Switch to gettext copyright.
27185         Use ANSI definitions and prototypes.
27186         * intl/dcigettext.c: Switch to gettext copyright.
27187         Use ANSI definitions and prototypes.
27188         (INTDIV0_RAISES_SIGFPE): New define.
27189         Use gl_* locking primitives rather than __libc_* ones.
27190         Include eval-plural.h instead of plural-eval.c.
27191         Use __builtin_expect rather than __glibc_likely/unlikely.
27192         * intl/dcngettext.c: Switch to gettext copyright.
27193         Use ANSI definitions and prototypes.
27194         * intl/dgettext.c: Likewise.
27195         * intl/dngettext.c: Likewise.
27196         * intl/plural-eval.c: Renamed to...
27197         * intl/eval-plural.h: ...this.
27198         * intl/explodename.c: Switch to gettext copyright.
27199         Use ANSI definitions and prototypes.
27200         (_nl_explode_name): Use strchr instead of __rawmemchr.
27201         * intl/finddomain.c: Switch to gettext copyright.
27202         Use ANSI definitions and prototypes.
27203         Use gl_* locking primitives rather than __libc_* ones.
27204         (_nl_find_domain): Use malloc rather than alloca for
27205         allocation of temporary locale name.
27206         * intl/gettext.c: Switch to gettext copyright.
27207         Use ANSI definitions and prototypes.
27208         * intl/gettextP.h: Switch to gettext copyright.
27209         Use ANSI definitions and prototypes.
27210         Use gl_* locking primitives rather than __libc_* ones.
27211         * intl/gmo.h: Switch to gettext copyright.
27212         (struct sysdep_string): Move struct segment_pair outside of
27213         struct definition.
27214         * intl/hash-string.c: Use ANSI definitions and prototypes.
27215         * intl/hash-string.h: Switch to gettext copyright.
27216         Use ANSI definitions and prototypes.
27217         * intl/l10nflist.c: Switch to gettext copyright.
27218         Use ANSI definitions and prototypes.
27219         (_nl_normalize_codeset): Avoid integer overflow.
27220         * intl/loadinfo.h: Switch to gettext copyright.
27221         Use ANSI definitions and prototypes.
27222         (LIBINTL_DLL_EXPORTED): New define.
27223         (PATH_SEPARATOR): New define.
27224         * intl/loadmsgcat.c: Switch to gettext copyright.
27225         * intl/localealias.c: Switch to gettext copyright.
27226         Use ANSI definitions and prototypes.
27227         (_nl_expand_alias): Use PATH_SEPARATOR.
27228         * intl/ngettext.c: Switch to gettext copyright.
27229         Use ANSI definitions and prototypes.
27230         * intl/plural-exp.c: Likewise.
27231         * intl/plural-exp.h: Switch to gettext copyright.
27232         Use ANSI definitions and prototypes.
27233         (struct expression): Move definition of enum operator outside
27234         of struct definition.
27235         * intl/plural.c: Regenerate.
27236         * intl/plural.y: Switch to gettext copyright.
27237         Use ANSI definitions and prototypes.
27238         Port to bison 3.0.
27239         * intl/textdomain.c: Switch to gettext copyright.
27240         Use ANSI definitions and prototypes.
27241         Use gl_* locking primitives rather than __libc_* ones.
27243 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27245         * debug/warning-nop.c: Add used atrribute.
27247 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27249         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27251         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27252         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27253         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27255 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27256             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27258         [BZ #17634]
27259         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27260         Undefine after defining function.  Define as weak alias of
27261         __wcschr.  Use libc_hidden_weak.
27262         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27263         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27264         (libc_hidden_def): Also define __GI___wcschr alias.
27265         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27266         __wcschr and define as weak alias of __wcschr.
27267         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27268         __wcschr.
27269         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27270         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27271         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27272         libc_hidden_weak.  Do not use libc_hidden_def.
27273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27274         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27275         __GI___wcschr alias.
27276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27277         [IS_IN (libc)] (wcschr): Define as macro expanding to
27278         __redirect_wcschr.
27279         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27280         [IS_IN (libc)] (__wcschr_power6): Likewise.
27281         [IS_IN (libc)] (__wcschr_power7): Likewise.
27282         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27283         instead of wcschr.
27284         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27285         __libc_wcschr.
27286         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27287         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27288         __wcschr and define as weak alias of __wcschr.  Use
27289         libc_hidden_builtin_def.
27290         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27291         as weak alias of __wcschr.  Use libc_hidden_weak.
27292         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27293         wcschr.
27294         * time/era.c (_nl_init_era_entries): Likewise.
27295         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27296         variable.
27297         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27298         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27300 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27302         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27303         format for long int variable.
27305 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27307         [BZ #10672]
27308         * manual/search.texi: (Array Sort Function): Remove claim how to make
27309         qsort stable.
27311 2014-12-10  Andreas Schwab  <schwab@suse.de>
27313         [BZ #12847]
27314         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27315         user-controlled locks.
27317 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27319         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27320         register.
27322 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27324         * configure.ac (--disable-werror): New configure option.
27325         (enable_werror): New AC_SUBST.
27326         * configure: Regenerated.
27327         * config.make.in (enable-werror): New variable.
27328         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27329         -Wno-error=undef.
27330         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27331         * manual/install.texi (Configuring and compiling): Document
27332         --disable-werror.
27333         * INSTALL: Regenerated.
27334         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27335         (CFLAGS-tst-chk2.c): Likewise.
27336         (CFLAGS-tst-chk3.c): Likewise.
27337         (CFLAGS-tst-chk4.cc): Likewise.
27338         (CFLAGS-tst-chk5.cc): Likewise.
27339         (CFLAGS-tst-chk6.cc): Likewise.
27340         (CFLAGS-tst-lfschk1.c): Likewise.
27341         (CFLAGS-tst-lfschk2.c): Likewise.
27342         (CFLAGS-tst-lfschk3.c): Likewise.
27343         (CFLAGS-tst-lfschk4.cc): Likewise.
27344         (CFLAGS-tst-lfschk5.cc): Likewise.
27345         (CFLAGS-tst-lfschk6.cc): Likewise.
27347         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27348         (main): Disable -Wdeprecated-declarations around calls to
27349         register_printf_function.
27351         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27352         (do_test): Disable -Wdiv-by-zero around some calls to
27353         fwrite_unlocked and fread_unlocked.
27355         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27356         (DIAG_POP_NEEDS_COMMENT): Likewise.
27357         (_DIAG_STR1): Likewise.
27358         (_DIAG_STR): Likewise.
27359         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27360         * stdio-common/bug21.c: Include <libc-internal.h>.
27361         (do_test): Disable -Wformat around call to sscanf.
27362         * stdio-common/scanf14.c: Include <libc-internal.h>.
27363         (main): Disable -Wformat around some calls to scanf functions.
27365 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27367         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27369 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27371         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27372         stack variable alignment.
27374 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27376         [BZ #17682]
27377         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27378         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27379         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27380         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27381         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27382         __getrlimit instead of getrlimit.
27383         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27384         __gettimeofday instead of gettimeofday.
27385         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27386         Likewise.
27387         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27388         Likewise.
27389         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27390         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27391         Remove variable.
27392         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27393         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27395 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27397         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27398         for wide-character tests.
27400 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27402         * io/openat64.c: #include <libc-internal.h>
27403         (__openat64): Prototypify.  Use ignore_value on MODE.
27404         * io/openat.c: Likewise.
27405         * misc/reboot.c: #include <libc-internal.h>
27406         (reboot): Prototypify.  Use ignore_value on HOWTO.
27407         * misc/ptrace.c: #include <libc-internal.h>
27408         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27410 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27412         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27413         XPG4, UNIX98 and XOPEN2K.
27414         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27415         Remove variable.
27416         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27418 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420         * libio/fileops.c: Use ISO C style for function definitions.
27421         * libio/iofopen.c: Likewise.
27422         * libio/wfileops.c: Likewise.
27424         [BZ #17653]
27425         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27426         offset on EOF.
27427         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27428         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27429         (fgets_func): Function pointer to fgets and fgetws.
27430         (do_ftell_test): Add test to verify ftell value after read
27431         EOF.
27432         (do_test): Set fgets_func.
27434         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27435         O_TRUNC flag for w and w+ modes.
27436         (do_rewind_test): Likewise.
27437         (do_ftell_test): Likewise.
27438         (do_write_test): Likewise.
27440         [BZ #17647]
27441         * libio/fileops.c (do_ftell): Seek only when there are
27442         unflushed writes.
27443         * libio/wfileops.c (do_ftell_wide): Likewise.
27444         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27445         test case.
27446         (do_one_test): Call it.
27448 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27450         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27451         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27452         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27453         Remove variable.
27454         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27455         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27456         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27458 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27460         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27461         Remove variable.
27462         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27464         [BZ #17668]
27465         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27466         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27467         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27468         __freeifaddrs.  Use libc_hidden_weak.
27469         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27470         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27471         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27472         __freeifaddrs.  Use libc_hidden_weak.
27473         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27474         __getifaddrs and define as weak alias of __getifaddrs.  Use
27475         libc_hidden_weak.
27476         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27477         __freeifaddrs.  Use libc_hidden_weak.
27478         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27479         Remove variable.
27480         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27481         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27483 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27485         [BZ #17601]
27486         * sysdeps/mips/start.S (__start): Use indirect jump to call
27487         __libc_start_main.
27489 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27491         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27493         * nptl/tst-mutex1.c: Include <stdbool.h>.
27494         [!ATTR] (ATTR_NULL): New macro.
27495         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27496         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27497         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27499         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27500         to char *.
27502         [BZ #17665]
27503         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27504         Change conditional to [__USE_MISC].
27506         [BZ #17664]
27507         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27508         fgets_unlocked.
27509         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27510         __fgets_unlocked.
27511         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27512         fgets_unlocked.
27513         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27514         Remove variable.
27515         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27516         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27517         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27518         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27519         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27520         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27521         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27522         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27523         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27525         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27527 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27530         Remove strpbrk objects.
27531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27532         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27533         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27534         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27535         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27536         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27538         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27539         Remove strcspn objects.
27540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27541         (__libc_ifunc_impl_list): Remove strcspn implementation.
27542         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27543         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27544         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27545         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27548         Remove strspn objetcs.
27549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27550         (__libc_ifunc_impl_list): Remove strspn implementation.
27551         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27552         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27553         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27554         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27556 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27558         [BZ #17581]
27559         * malloc/hooks.c
27560         (mem2mem_check): Add a terminator to the chain of checking blocks.
27561         (malloc_check_get_size): Use it here.
27562         (mem2chunk_check): Ditto.
27564 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27566         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27567         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27569 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27571         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27573         * nptl/nptl-init.c: Include libc-internal.h.
27574         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27576         * elf/ldconfig.c (search_dir): Expand comment.
27578 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27580         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27581         variable.
27582         (linknamespace-symlist-stdlibs-tests): Likewise.
27583         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27584         instead of $(objpfx)symlist-stdlibs.
27585         (linknamespace-libs-isoc): New variable.
27586         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27587         (linknamespace-libs-ISO): New variable.
27588         (linknamespace-libs-ISO99): Likewise.
27589         (linknamespace-libs-ISO11): Likewise.
27590         (linknamespace-libs-XPG3): Likewise.
27591         (linknamespace-libs-XPG4): Likewise.
27592         (linknamespace-libs-POSIX): Likewise.
27593         (linknamespace-libs-UNIX98): Likewise.
27594         (linknamespace-libs-XOPEN2K): Likewise.
27595         (linknamespace-libs-POSIX2008): Likewise.
27596         (linknamespace-libs-XOPEN2K8): Likewise.
27597         ($(objpfx)symlist-stdlibs): Replace by
27598         $(linknamespace-symlist-stdlibs-tests).  Use
27599         $(linknamespace-libs-$*) as set of libraries.
27600         ($(linknamespace-header-tests)): Update dependencies.  Use
27601         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27602         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27603         * conform/linknamespace.pl: Remove comment about considering
27604         definitions of symbols from irrelevant libraries.
27606 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27608         [BZ #13862]
27609         * elf/dl-tls.c: Include <atomic.h>.
27610         (oom): Remove #ifdef SHARED/#endif.
27611         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27612         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27613         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27614         big enough.
27615         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27616         * nptl/Makefile (tests): Add tst-stack4.
27617         (modules-names): Add tst-stack4mod.
27618         ($(objpfx)tst-stack4): New.
27619         (tst-stack4mod.sos): Likewise.
27620         ($(objpfx)tst-stack4.out): Likewise.
27621         ($(tst-stack4mod.sos)): Likewise.
27622         (clean): Likewise.
27623         * nptl/tst-stack4.c: New file.
27624         * nptl/tst-stack4mod.c: Likewise.
27626 2014-11-27  J. Brown  <jb999@gmx.de>
27628         * sysdeps/x86/bits/string.h: Add recent CPUs.
27630 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27632         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27633         sigblock.
27635         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27636         feof.
27638         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27639         variable.
27641 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27643         * nscd/connections.c: Include libc-internal.h because of macro
27644         usage ignore_value.
27646 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27648         * string/bits/string3.h (__warn_memset_zero_len): Don't
27649         declare for gcc newer than 5.0.
27650         (memset): Don't test for zero-length __LEN for gcc newer than
27651         5.0.
27653 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27655         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27656         size_t for %zu format.
27658         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27659         difference, not %ju.
27661 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27663         * include/libc-internal.h (ignore_value): New macro.
27664         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27665         with ignore_value.
27667         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27668         definition.
27670         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27671         pthread_cleanup_push to void *.
27673         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27674         Undefine.
27676         [BZ #16619]
27677         [BZ #16740]
27678         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27679         instead of 1L << 52.
27681         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27682         * libio/bug-rewind2.c (do_test): Likewise.
27684         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27685         * debug/test-strcpy_chk-ifunc.c: Likewise.
27686         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27687         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27688         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27689         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27690         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27691         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27692         * Rules [$(multi-arch) = no] (tests): Do not filter out
27693         $(tests-ifunc).
27694         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27695         * debug/Makefile (tests-ifunc): Remove variable.
27696         (tests): Do not add $(tests-ifunc).
27697         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27698         (tests): Do not add $(tests-ifunc).
27699         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27700         [TEST_IFUNC]: Remove conditionals.
27701         * string/test-string.h (TEST_IFUNC): Remove macro.
27702         [TEST_IFUNC]: Remove conditionals.
27704         * string/test-strchr.c [!WIDE] (L): New macro.
27705         [WIDE] (L): Likewise.
27706         (check1): Use CHAR instead of char.  Use L on string and character
27707         constants.
27709 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27711         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27712         tests.
27713         * sysdeps/powerpc/bits/atomic.h
27714         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27715         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27716         (atomic_exchange_and_add_acq): Likewise.
27717         (atomic_exchange_and_add_rel): Likewise.
27718         * sysdeps/powerpc/powerpc32/bits/atomic.h
27719         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27720         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27721         * sysdeps/powerpc/powerpc64/bits/atomic.h
27722         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27723         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27725 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27727         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27728         Change synchronization of __sched_fifo_min_prio and
27729         __sched_fifo_max_prio.
27730         * nptl/pthread_mutexattr_getprioceiling.c
27731         (pthread_mutexattr_getprioceiling): Likewise.
27732         * nptl/pthread_mutexattr_setprioceiling.c
27733         (pthread_mutexattr_setprioceiling): Likewise.
27734         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27735         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27736         Likewise.
27738 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27740         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27741         void.
27743 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27745         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27746         third argument const.
27748 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27750         fnmatch: work around GCC compiler warning bug with uninit var
27751         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27752         This works around a bug with x86-64 GCC 4.9.2 and earlier
27753         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27754         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27755         used uninitialized in this function [-Wmaybe-uninitialized]".
27757 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27759         * posix/bug-regex31.c (main): Return RES not 0.
27761 2014-11-25  Anton Blanchard <anton@samba.org>
27763         * sysdeps/powerpc/bits/atomic.h
27764         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27766 2014-11-24  Sterling Augustine  <saugustine@google.com>
27768         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27770 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27772         [BZ #17608]
27773         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27775 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27777         [BZ #17633]
27778         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27779         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27780         variable.
27781         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27782         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27784 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27786         * string/strncpy.c (strncpy): Improve performance by using memset.
27788 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27790         * string/strcpy.c (strcpy):
27791         Improve performance by using strlen and memcpy.
27793 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27795         * string/strcoll_l.c (get_next_seq): __always_inline.
27796         * string/strcoll_l.c (do_compare): __always_inline.
27798 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27800         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27801         defined.
27802         * include/mqueue.h: Likewise.
27803         * include/stdlib.h: Likewise.
27805         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27806         (get_null_defines): Adjust.
27807         * sunrpc/Makefile: Adjust comment.
27808         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27809         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27810         (CFLAGS-interp.c): Likewise.
27811         (CFLAGS-ldconfig.c): Likewise.
27812         (CPPFLAGS-.os): Likewise.
27813         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27814         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27815         * extra-modules.mk (extra-modules.mk): Likewise.
27816         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27817         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27818         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27819         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27820         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27821         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27822         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27823         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27824         * iconvdata/Makefile (CPPFLAGS): Likewise.
27825         (cpp-srcs-left): Add libof for all iconvdata routines.
27826         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27827         * include/assert.h: Likewise.
27828         * include/ctype.h: Likewise.
27829         * include/errno.h: Likewise.
27830         * include/libc-symbols.h: Likewise.
27831         * include/math.h: Likewise.
27832         * include/netdb.h: Likewise.
27833         * include/resolv.h: Likewise.
27834         * include/stdio.h: Likewise.
27835         * include/stdlib.h: Likewise.
27836         * include/string.h: Likewise.
27837         * include/sys/stat.h: Likewise.
27838         * include/wctype.h: Likewise.
27839         * intl/l10nflist.c: Likewise.
27840         * libidn/idn-stub.c: Likewise.
27841         * libio/libioP.h: Likewise.
27842         * nptl/libc_multiple_threads.c: Likewise.
27843         * nptl/pthreadP.h: Likewise.
27844         * posix/regex_internal.h: Likewise.
27845         * resolv/res_hconf.c: Likewise.
27846         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27847         * sysdeps/arm/memmove.S: Likewise.
27848         * sysdeps/arm/sysdep.h: Likewise.
27849         * sysdeps/generic/_itoa.h: Likewise.
27850         * sysdeps/generic/symbol-hacks.h: Likewise.
27851         * sysdeps/gnu/errlist.awk: Likewise.
27852         * sysdeps/gnu/errlist.c: Likewise.
27853         * sysdeps/i386/i586/memcpy.S: Likewise.
27854         * sysdeps/i386/i586/memset.S: Likewise.
27855         * sysdeps/i386/i686/memcpy.S: Likewise.
27856         * sysdeps/i386/i686/memmove.S: Likewise.
27857         * sysdeps/i386/i686/mempcpy.S: Likewise.
27858         * sysdeps/i386/i686/memset.S: Likewise.
27859         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27860         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27861         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27862         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27863         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27864         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27865         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27866         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27867         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27869         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27870         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27871         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27872         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27873         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27874         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27875         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27876         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27877         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27878         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27879         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27880         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27881         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27882         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27883         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27884         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27885         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27886         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27887         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27888         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27889         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27890         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27891         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27892         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27893         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27894         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27895         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27896         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27897         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27898         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27899         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27900         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27901         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27902         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27903         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27904         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27905         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27906         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27907         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27909         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27910         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27911         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27912         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27913         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27914         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27915         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27916         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27917         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27918         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27919         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27920         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27921         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27922         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27923         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27924         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27925         * sysdeps/posix/closedir.c: Likewise.
27926         * sysdeps/posix/opendir.c: Likewise.
27927         * sysdeps/posix/readdir.c: Likewise.
27928         * sysdeps/posix/rewinddir.c: Likewise.
27929         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27930         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27931         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27932         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27933         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27934         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27935         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27937         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27938         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27940         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27941         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27942         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27943         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27944         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27945         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27946         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27947         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27948         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27949         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27950         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27951         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27952         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27953         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27955         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27957         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27959         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27965         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27966         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27967         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27968         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27969         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27970         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27971         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27972         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27973         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27974         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27975         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27976         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27977         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27978         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27979         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27980         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27983         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27984         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27985         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27986         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27987         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27988         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27989         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27990         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27991         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27992         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27993         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27994         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27995         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27996         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27997         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27998         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27999         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28000         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28001         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28002         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28003         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28004         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28005         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28006         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28007         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28008         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28009         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28010         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28011         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28012         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28013         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28014         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28015         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28016         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28017         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28018         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28019         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28020         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28021         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28022         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28024         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28025         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28027         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28028         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28029         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28030         * sysdeps/unix/alpha/sysdep.S: Likewise.
28031         * sysdeps/unix/alpha/sysdep.h: Likewise.
28032         * sysdeps/unix/make-syscalls.sh: Likewise.
28033         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28034         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28035         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28036         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28037         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28038         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28039         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28040         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28041         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28042         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28043         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28044         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28045         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28046         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28047         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28048         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28049         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28050         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28051         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28052         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28053         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28054         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28055         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28056         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28057         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28058         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28059         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28062         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28063         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28065         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28066         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28067         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28069         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28070         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28071         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28072         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28073         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28074         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28075         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28076         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28077         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28079         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28080         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28082         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28083         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28084         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28085         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28086         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28088         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28089         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28091         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28092         * sysdeps/x86_64/memcpy.S: Likewise.
28093         * sysdeps/x86_64/memmove.c: Likewise.
28094         * sysdeps/x86_64/memset.S: Likewise.
28095         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28096         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28097         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28098         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28099         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28102         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28103         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28104         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28105         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28106         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28107         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28108         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28110         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28111         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28112         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28113         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28114         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28115         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28116         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28117         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28118         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28119         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28120         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28121         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28122         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28123         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28124         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28125         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28126         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28127         * sysdeps/x86_64/strcmp.S: Likewise.
28129         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28131         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28132         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28133         * elf/rtld-Rules: Likewise.
28134         * elf/setup-vdso.h: Likewise.
28135         * include/assert.h: Likewise.
28136         * include/bits/stdlib-float.h: Likewise.
28137         * include/errno.h: Likewise.
28138         * include/sys/stat.h: Likewise.
28139         * include/unistd.h: Likewise.
28140         * sysdeps/aarch64/setjmp.S: Likewise.
28141         * sysdeps/alpha/setjmp.S: Likewise.
28142         * sysdeps/arm/__longjmp.S: Likewise.
28143         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28144         * sysdeps/arm/setjmp.S: Likewise.
28145         * sysdeps/arm/sysdep.h: Likewise.
28146         * sysdeps/generic/_itoa.h: Likewise.
28147         * sysdeps/generic/dl-sysdep.h: Likewise.
28148         * sysdeps/generic/ldsodefs.h: Likewise.
28149         * sysdeps/i386/dl-tls.h: Likewise.
28150         * sysdeps/i386/setjmp.S: Likewise.
28151         * sysdeps/m68k/setjmp.c: Likewise.
28152         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28153         * sysdeps/mach/hurd/opendir.c: Likewise.
28154         * sysdeps/posix/getcwd.c: Likewise.
28155         * sysdeps/posix/opendir.c: Likewise.
28156         * sysdeps/posix/profil.c: Likewise.
28157         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28158         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28159         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28160         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28161         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28162         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28163         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28164         * sysdeps/s390/dl-tls.h: Likewise.
28165         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28166         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28167         * sysdeps/sh/sh3/setjmp.S: Likewise.
28168         * sysdeps/sh/sh4/setjmp.S: Likewise.
28169         * sysdeps/unix/alpha/sysdep.h: Likewise.
28170         * sysdeps/unix/arm/sysdep.S: Likewise.
28171         * sysdeps/unix/i386/sysdep.S: Likewise.
28172         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28173         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28174         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28176         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28177         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28178         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28179         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28180         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28181         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28182         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28183         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28184         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28187         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28188         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28190         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28191         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28192         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28195         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28196         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28197         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28199         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28200         * sysdeps/x86_64/setjmp.S: Likewise.
28202         * include/math.h: Use IS_IN instead of IS_IN_libm.
28203         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28204         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28206         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28208         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28209         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28210         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28211         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28212         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28213         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28214         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28215         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28216         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28217         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28218         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28219         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28220         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28221         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28222         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28223         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28224         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28225         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28226         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28227         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28228         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28229         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28230         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28231         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28232         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28233         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28234         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28235         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28237         Likewise.
28238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28239         Likewise.
28240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28241         Likewise.
28242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28243         Likewise.
28244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28245         Likewise.
28246         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28247         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28248         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28249         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28250         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28251         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28257         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28258         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28259         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28260         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28261         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28262         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28263         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28264         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28265         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28266         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28268         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28269         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28270         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28272         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28274         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28275         * nptl/pthreadP.h: Likewise.
28276         * nptl_db/structs.def: Likewise.
28277         * sysdeps/arm/sysdep.h: Likewise.
28278         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28279         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28280         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28281         * sysdeps/unix/alpha/sysdep.h: Likewise.
28282         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28283         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28284         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28285         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28286         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28287         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28288         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28289         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28290         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28291         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28292         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28293         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28294         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28295         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28298         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28299         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28300         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28303         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28304         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28305         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28306         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28307         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28309         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28310         * nptl/pthreadP.h: Likewise.
28311         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28312         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28313         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28314         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28315         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28316         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28317         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28318         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28319         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28320         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28321         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28322         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28324         Likewise.
28325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28326         Likewise.
28327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28329         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28332         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28333         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28334         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28336         * dlfcn/dladdr.c: Use IS_IN.
28337         * dlfcn/dladdr1.c: Likewise.
28338         * dlfcn/dlclose.c: Likewise.
28339         * dlfcn/dlerror.c: Likewise.
28340         * dlfcn/dlinfo.c: Likewise.
28341         * dlfcn/dlmopen.c: Likewise.
28342         * dlfcn/dlopen.c: Likewise.
28343         * dlfcn/dlsym.c: Likewise.
28344         * dlfcn/dlvsym.c: Likewise.
28346         * include/ifaddrs.h: Use IS_IN.
28347         * inet/check_pf.c: Likewise.
28348         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28349         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28351         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28352         IS_IN_ldconfig.
28353         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28354         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28356         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28357         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28358         IS_IN (libc).
28360         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28362         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28363         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28364         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28365         * include/libc-symbols.h (IS_IN_LIB): New macro.
28366         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28367         * include/netdb.h: Likewise.
28368         * include/stap-probe.h: Remove all uses of IN_LIB.
28370         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28371         instead of IN_MODULE.
28372         * include/libc-symbols.h (IN_MODULE): Define using
28373         MODULE_NAME.
28374         (PASTE_NAME, PASTE_NAME1): New macros.
28375         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28376         of IN_LIB.
28377         (STAP_PROBE_ASM): Likewise.
28379 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28381         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28382         __mach_init in dlopened libc.
28384 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28386         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28387         * sysdeps/arm/preconfigure: Regenerate.
28389 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28391         * nptl/pthread_create.c (__pthread_create_2_1): Set
28392         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28393         when copying values from IATTR into PD.
28395 2014-11-21  Will Newton  <will.newton@linaro.org>
28396             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28398         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28399         Refactor inline-asm.  Also add comment.
28401         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28402         ElfW macro instead of hardcoded Elf64 types.
28403         (la_aarch64_gnu_pltenter): Likewise.
28404         * sysdeps/aarch64/dl-machine.h
28405         (elf_machine_runtime_setup): Use ElfW(Addr).
28407         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28408         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28409         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28410         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28411         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28412         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28413         (R_AARCH64_TLS_DTPMOD): This.
28414         (R_AARCH64_TLS_DTPREL64): Rename to ...
28415         (R_AARCH64_TLS_DTPREL): This.
28416         (R_AARCH64_TLS_TPREL64): Rename to ...
28417         (R_AARCH64_TLS_TPREL): This.
28418         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28419         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28420         R_AARCH64_TLS_TPREL64.
28421         (elf_machine_rela): Likewise.
28423 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28425         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28426         by setting it to 0.  64b atomics are not supported currently.
28428 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28430         [BZ #16469]
28431         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28432         search domain names.
28434 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28436         [BZ #16469]
28437         * NEWS: Update.
28438         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28439         trailing dot.
28440         * posix/tst-getaddrinfo5.c: New.
28441         * posix/Makefile (tests): Add it.
28443 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28445         [BZ #14498]
28446         * NEWS: Fixed.
28447         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28448         after parsing line but before break_if_match.
28449         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28450         if there is a protocol mismatch.
28452 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28454         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28455         because the potential race is on the user-supplied stream.
28457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28459         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28460         string literal if not passed a buffer.
28461         * manual/job.texi (ctermid): Update reasoning, note deviation
28462         from posix, suggest mtasurace when not passed a buffer, for
28463         future non-preliminary safety notes.
28465 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28467         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28468         of not passing it a buffer.
28469         Reported by Peng Haitao.
28471 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28473         * manual/Makefile ($(objpfx)stamp-summary): Require
28474         check-safety.sh to pass.
28475         * manual/check-safety.sh: Wish for verification that every
28476         @deftypefn and @deftypefun is followed by a @safety remark.
28478 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28480         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28482         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28483         PTHREAD_CANCEL_ASYNCHRONOUS.
28484         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28485         send SIGCANCEL.
28487         * nptl/default-sched.h: New file.
28488         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28489         * nptl/pthread_create.c: Include it.
28490         (__pthread_create_2_1): Use collect_default_sched instead of making
28491         Linux syscalls here directly.
28493 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28495         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28496         __pthread_once): Use C11 atomics.
28498 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28500         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28502 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28504         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28505         atomic_thread_fence_acquire, atomic_thread_fence_release,
28506         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28507         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28508         atomic_compare_exchange_weak_relaxed,
28509         atomic_compare_exchange_weak_acquire,
28510         atomic_compare_exchange_weak_release,
28511         atomic_exchange_acquire, atomic_exchange_release,
28512         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28513         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28514         atomic_fetch_and_acquire,
28515         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28517 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28519         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28520         USE_ATOMIC_COMPILER_BUILTINS): Define.
28521         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28523         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28525         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28527         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28529         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28531         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28533         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28535         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28537         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28539         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28541         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28543         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28545         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28547         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28549         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28551         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28553         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28555         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28556         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28557         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28559         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28562 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28564         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28565         the sched_priority value here.  It was already checked when the user
28566         called pthread_attr_setschedparam.
28568         * nptl/tst-bad-schedattr.c: New file.
28569         * nptl/Makefile (tests): Add it.
28571 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28572             Florian Weimer  <fweimer@redhat.com>
28573             Joseph Myers  <joseph@codesourcery.com>
28574             Adam Conrad  <adconrad@0c3.net>
28575             Andreas Schwab  <schwab@suse.de>
28576             Brooks  <bmoses@google.com>
28578         [BZ #17625]
28579         * wordexp-test.c (__dso_handle): Add prototype.
28580         (__register_atfork): Likewise.
28581         (__app_register_atfork): New function.
28582         (registered_forks): New global.
28583         (register_fork): New function.
28584         (test_case): Add 3 new tests for WRDE_CMDSUB.
28585         (main): Call __app_register_atfork.
28586         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28587         fork count is non-zero fail the test.
28588         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28589         is set.
28590         (parse_dollars): Remove check for WRDE_NOCMD.
28591         (parse_dquote): Likewise.
28593 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28595         * Makeconfig (built-modules): List non-library modules to be
28596         built.
28597         (module-cppflags): Include libc-modules.h for
28598         everything except shlib-versions.v.i.
28599         (CPPFLAGS): Use it.
28600         (before-compile): Add libc-modules.h.
28601         ($(common-objpfx)libc-modules.h,
28602         $(common-objpfx)libc-modules.stmp): New targets.
28603         (common-generated): Add libc-modules.h and libc-modules.stmp.
28604         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28605         * include/libc-symbols.h: Don't include libc-modules.h.
28606         * include/libc-modules.h: Remove file.
28607         * scripts/gen-libc-modules.awk: New script to generate
28608         libc-modules.h.
28609         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28610         Depend on libc-modules.stmp.
28612         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28614         * Makeconfig (in-module): Get value of libof set for the
28615         translation unit.
28616         (CPPFLAGS): Use $(in-module).
28617         * Makerules: Don't suffix routine names for nonlib.
28618         * include/libc-modules.h: New file.
28619         * include/libc-symbols.h: Include libc-modules.h
28620         (IS_IN): New macro to replace IS_IN_* macros.
28621         * elf/Makefile: Set libof-* for each routine.
28622         * elf/rtld-Rules: Likewise.
28623         * extra-modules.mk: Likewise.
28624         * iconv/Makefile: Likewise.
28625         * iconvdata/Makefile: Likewise.
28626         * locale/Makefile: Likewise.
28627         * malloc/Makefile: Likewise.
28628         * nss/Makefile: Likewise.
28629         * sysdeps/gnu/Makefile: Likewise.
28630         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28631         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28632         * sysdeps/s390/s390-64/Makefile: Likewise.
28633         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28634         CPPFLAGS for nscd instead of nonlib.
28636 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28638         * nptl/createthread.c: New file.
28640         * nptl/createthread.c: Moved ...
28641         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28643         * nptl/createthread.c: Add proper top-line comment.
28644         (do_clone): Folded into ...
28645         (create_thread): ... here.  Take new arguments STOPPED_START and
28646         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28647         increment __nptl_threads, do event-reporting logic, do
28648         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28649         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28650         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28651         just send SIGCANCEL.
28652         * nptl/pthread_create.c: Forward-declare create_thread before
28653         including createthread.c.
28654         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28655         declaration, and new macro START_THREAD_SELF to replace argument.
28656         Remove return statement.
28657         (report_thread_creation): New function.
28658         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28659         synchronization logic, and __nptl_nthreads increment here, around
28660         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28661         PD->parent_cancelhandling here, before create_thread.  When
28662         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28663         __deallocate_stack, and ENOMEM translation here.
28665 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28667         [BZ #17616]
28668         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28669         (mptwo): Rename to __mptwo.
28670         (__inv): Use __mptwo instead of mptwo.
28671         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28672         (mptwo): Rename to __mptwo.
28673         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28674         of mpone and __mptwo instead of mptwo.
28675         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28676         instead of mpone.
28677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28678         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28679         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28680         of mpone and __mptwo instead of mptwo.
28681         (__mpranred): Use __mpone instead of mpone.
28682         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28683         variable.
28684         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28685         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28686         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28687         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28688         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28689         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28690         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28691         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28692         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28693         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28694         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28695         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28696         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28697         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28698         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28699         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28700         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28701         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28702         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28704 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28706         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28707         replace BSD Handler xref with BSD Signal Handling.
28709 2014-11-17  Richard Henderson  <rth@redhat.com>
28711         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28712         (_FP_PACK_RAW_2): Remove.
28713         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28714         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28715         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28716         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28717         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28718         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28719         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28720         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28721         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28722         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28723         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28724         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28725         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28726         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28727         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28728         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28730 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28732         * signal/signal.h [__USE_MISC]
28733         (struct sigvec): Remove type.
28734         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28735         (sigvec): Remove declaration.
28736         * sysdeps/posix/sigvec.c: Moved ...
28737         * signal/sigvec.c: ... here, replacing old file.
28738         (struct sigvec): New type, copied from old signal.h definition.
28739         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28740         (__sigvec): Convert definition to prototype.
28741         (sigvec): Replace weak_alias with compat_symbol.
28742         * signal/Versions (libc: GLIBC_2.21): New version set.
28743         * include/signal.h: Remove __sigvec declaration.
28744         * sysdeps/unix/bsd/sigvec.c: Remove file.
28745         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28746         * manual/signal.texi (BSD Handler): Remove subsection.
28747         Move siginterrupt up to ...
28748         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28749         (Blocking in BSD): Fold subsection into its parent.
28750         * NEWS: Mention sigvec removal.
28752 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28754         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28755         (DLA_FMS): Make definition conditional only on [__FMA4__].
28756         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28757         definition.
28759         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28760         Make definition conditional only on [PROF].
28761         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28762         definition.
28763         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28764         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28766         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28767         !__GNUC__].
28768         * include/signal.h (__sigpause): Move declaration above call to
28769         libc_hidden_proto.
28770         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28771         variable.
28772         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28773         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28775 2014-11-14  David S. Miller  <davem@davemloft.net>
28777         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28778         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28780 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28782         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28783         * configure: Regenerated.
28784         * manual/install.texi (Tools for Compilation): Document a
28785         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28786         compiler verified to work.
28787         * INSTALL: Regenerated.
28789         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28790         redeclare with asm name.
28791         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28792         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28793         including <string.h>.
28794         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28795         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28796         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28797         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28798         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28799         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28800         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28802 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28804         * stdlib/strtol.c (__strtol): Use prototype definition.
28806         [BZ #17594]
28807         * stdlib/strtol.c (SYM__): New macro.
28808         (SYM__1): Likewise.
28809         (__strtol): Likewise.
28810         (strtol): Rename to __strtol and define as weak alias of
28811         __strtol.  Use libc_hidden_weak.
28813 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28815         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28816         Use numbered labels in inline assembly.
28818 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28820         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28821         Add setjmp LIBC_PROBE.
28822         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28823         Likewise.
28824         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28825         Add longjmp, longjmp_target LIBC_PROBE.
28826         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28827         Likewise.
28829 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28831         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28832         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28833         to get rid of unused variable warning.
28835 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28837         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28838         Check for unwind_backtrace ==  NULL only in SHARED case.
28839         (__backchain_backtrace): Compile only in SHARED case.
28840         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28841         Likewise.
28842         (__backchain_backtrace): Declare as static.
28844 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28846         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28847         (__libc_multiple_threads_ptr): Variable moved ...
28848         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28850 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28852         * conform/GlibcConform.pm: New file.
28853         * conform/conformtest.pl: Use GlibcConform module.
28854         * conform/linknamespace.pl: New file.
28855         * conform/list-header-symbols.pl: Likewise.
28856         * conform/Makefile (linknamespace-symlists-base): New variable.
28857         (linknamespace-symlists-tests): Likewise.
28858         (linknamespace-header-base): Likewise.
28859         (linknamespace-header-tests): Likewise.
28860         (tests-special): Add new tests.
28861         ($(linknamespace-symlists-tests)): New rule.
28862         (linknamespace-libs): New variable.
28863         ($(objpfx)symlist-stdlibs): New rule.
28864         ($(linknamespace-header-tests)): Likewise.
28865         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28866         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28867         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28868         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28869         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28870         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28871         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28872         (test-xfail-ISO/math.h/linknamespace): Likewise.
28873         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28874         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28875         (test-xfail-ISO/time.h/linknamespace): Likewise.
28876         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28877         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28878         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28879         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28880         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28881         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28882         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28883         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28884         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28885         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28886         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28887         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28888         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28889         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28890         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28891         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28892         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28893         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28894         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28895         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28896         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28897         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28898         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28899         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28900         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28901         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28902         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28903         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28904         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28905         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28906         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28907         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28908         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28909         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28910         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28911         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28912         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28913         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28914         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28915         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28916         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28917         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28918         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28919         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28920         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28921         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28922         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28923         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28924         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28925         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28926         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28927         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28928         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28929         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28930         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28931         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28932         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28933         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28934         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28935         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28936         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28937         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28938         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28939         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28940         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28941         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28942         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28943         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28944         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28945         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28946         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28947         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28948         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28949         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28950         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28951         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28952         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28953         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28954         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28955         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28956         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28957         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28958         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28959         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28960         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28961         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28962         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28963         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28964         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28965         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28966         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28967         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28968         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28969         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28970         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28971         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28972         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28973         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28974         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28975         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28976         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28977         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28978         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28979         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28980         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28981         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28982         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28983         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28984         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28985         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28986         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28987         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28988         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28989         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28990         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28991         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28992         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28993         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28994         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28995         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28996         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28997         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28998         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28999         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29000         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29001         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29002         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29003         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29004         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29005         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29006         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29007         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29008         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29009         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29010         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29011         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29012         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29013         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29014         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29015         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29016         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29017         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29018         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29019         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29020         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29021         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29022         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29023         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29024         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29025         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29027         [BZ #17589]
29028         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29029         of fgets_unlocked.
29031         [BZ #17585]
29032         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29033         (memmem): Rename to __memmem and define as weak alias of
29034         __memmem.  Use libc_hidden_weak.
29035         (__memmem): Use libc_hidden_def.
29036         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29037         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29038         memmem.
29040         [BZ #17582]
29041         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29042         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29043         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29044         and define as weak alias of __fgets_unlocked.  Use
29045         libc_hidden_weak.
29046         (__fgets_unlocked): Use libc_hidden_def.
29047         * include/stdio.h (__fgets_unlocked): Declare.  Use
29048         libc_hidden_proto.
29049         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29050         __fgets_unlocked instead of fgets_unlocked.
29051         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29052         (GET_NPROCS_CONF_PARSER): Likewise.
29053         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29054         (GET_NPROCS_CONF_PARSER): Likewise.
29056         [BZ #17574]
29057         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29058         weak alias of __wmemset.  Use libc_hidden_weak.
29059         (__wmemset): Use libc_hidden_def.
29060         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29061         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29062         of wmemset.
29064         [BZ #17573]
29065         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29066         with asm name __mempcpy.
29067         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29069         [BZ #17572]
29070         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29071         and define as weak alias of __rawmemchr.
29072         (__rawmemchr): Do not define as strong alias of rawmemchr.
29074         [BZ #17571]
29075         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29076         alias of __qsort_r.
29077         (qsort): Call __qsort_r instead of qsort_r.
29078         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29079         (__qsort_r): Declare.  Call libc_hidden_proto.
29080         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29081         instead of qsort_r.
29082         * nscd/gai.c (__qsort_r): Define to qsort_r.
29083         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29084         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29085         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29087         [BZ #17570]
29088         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29089         define as weak alias of __malloc_info.
29091         [BZ #17584]
29092         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29093         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29094         (__rewinddir): Use libc_hidden_def.
29095         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29096         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29097         (__rewinddir): Use libc_hidden_def.
29098         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29099         weak alias of __rewinddir.  Don't use libc_hidden_def.
29100         (__rewinddir): Use libc_hidden_def.
29101         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29102         (__rewinddir): Use libc_hidden_proto.
29103         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29104         rewinddir.
29105         (__getcwd): Use __rewinddir instead of rewinddir.
29107         [BZ #17583]
29108         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29109         alias of __fileno.  Use libc_hidden_weak.
29110         (__fileno): Use libc_hidden_def.
29111         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29112         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29113         alias of __ftello.
29114         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29115         __ftello.
29116         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29117         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29118         libc_hidden_def.
29119         (fread_unlocked): Don't use libc_hidden_ver.
29120         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29121         and define as weak alias of __fread_unlocked.  Don't use
29122         libc_hidden_def.
29123         (__fread_unlocked): Use libc_hidden_def.
29124         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29125         (ftello): Don't use libc_hidden_proto.
29126         (__ftello): Declare.  Use libc_hidden_proto.
29127         (fread_unlocked): Don't use libc_hidden_proto.
29128         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29129         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29130         and __ftello instead of fileno, fread_unlocked and ftello.
29132 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29134         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29135         GOT12.
29136         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29137         Likewise.
29138         (_dl_start_user): Likewise.
29139         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29141 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29142             Siddhesh Poyarekar  <siddhesh@redhat.com>
29144         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29145         Move argv and envp down instead of moving argc up.
29146         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29148 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29150         [BZ #17506]
29151         * test-skeleton.c (main): Return successful if one of
29152         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29153         * string/tst-strcoll-overflow.c: Define expected status.
29155 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29157         [BZ #17475]
29158         * locale/iso-639.def: Define Bhili and Tulu language codes.
29160 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29162         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29164 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29166         [BZ #17555]
29167         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29169 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29171         * configure.ac: Updated check of minimal required version to
29172         2.22.
29173         * manual/install.texi (Tools for Compilation): Updated version
29174         number.
29175         * configure: Regenerated.
29176         * INSTALL: Likewise.
29178 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29180         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29181         __tls_get_addr.
29183 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29185         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29186         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29187         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29188         libc_hidden_weak.
29189         (waitpid): Define as alias of __waitpid.
29190         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29191         __waitpid.
29192         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29193         libc_hidden_weak.
29194         (waitpid): Define as alias of __waitpid.
29195         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29196         __libc_waitpid alias.
29197         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29198         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29199         Likewise.
29200         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29201         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29202         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29203         alias.
29204         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29205         __waitpid.
29206         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29207         libc_hidden_weak.
29208         (waitpid): Define as alias of __waitpid.
29210 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29212         * manual/llio.texi: Add comment that write safety has been
29213         fixed in Linux.
29215         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29216         (localplt-build-dso): Add elf/ld.so.
29217         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29218         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29219         and free for ld.so.
29220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29221         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29223         Likewise.
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29225         Likewise.
29226         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29227         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29228         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29229         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29230         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29231         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29232         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29233         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29234         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29235         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29236         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29238 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29240         [BZ #14132]
29241         * include/libc-symbols.h (INTUSE): Remove macro.
29242         (INTDEF): Likewise.
29243         (INTVARDEF): Likewise.
29244         (_INTVARDEF): Likewise.
29245         (INTDEF2): Likewise.
29246         (INTVARDEF2): Likewise.
29247         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29248         rtld_hidden_def instead of INTVARDEF.
29249         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29250         (_dl_starting_up_internal): Remove declaration.
29251         (_dl_starting_up): Use rtld_hidden_proto.
29252         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29253         declaration.
29254         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29255         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29256         _dl_starting_up.
29257         * elf/dl-writev.h (_dl_writev): Likewise.
29258         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29259         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29260         _dl_starting_up_internal.
29262 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29264         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29265         test-skeleton.c.
29267 2014-11-05  Will Newton  <will.newton@linaro.org>
29269         * benchtests/Makefile: (bench-malloc): Add malloc thread
29270         scalability benchmark.
29271         * benchtests/bench-malloc-threads.c: New file.
29273 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29275         * sysdeps/aarch64/strchrnul.S: New file.
29277 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29279         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29280         definition.
29281         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29282         Likwise.
29283         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29284         Likewise.
29285         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29286         Likewise.
29287         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29288         Likewise.
29289         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29290         Likewise.
29292 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29294         * catgets/test-gencat.c: Use test-skeleton.c.
29295         * catgets/tst-catgets.c: Likewise.
29296         * csu/tst-empty.c: Likewise.
29297         * elf/tst-audit2.c: Likewise.
29298         * elf/tst-global1.c: Likewise.
29299         * elf/tst-pathopt.c: Likewise.
29300         * elf/tst-piemod1.c: Likewise.
29301         * elf/tst-tls10.c: Likewise.
29302         * elf/tst-tls11.c: Likewise.
29303         * elf/tst-tls12.c: Likewise.
29304         * gnulib/tst-gcc.c: Likewise.
29305         * iconvdata/tst-e2big.c: Likewise.
29306         * iconvdata/tst-loading.c: Likewise.
29307         * iconv/tst-iconv1.c: Likewise.
29308         * iconv/tst-iconv2.c: Likewise.
29309         * inet/test-inet6_opt.c: Likewise.
29310         * inet/tst-gethnm.c: Likewise.
29311         * inet/tst-network.c: Likewise.
29312         * inet/tst-ntoa.c: Likewise.
29313         * intl/tst-codeset.c: Likewise.
29314         * intl/tst-gettext2.c: Likewise.
29315         * intl/tst-gettext3.c: Likewise.
29316         * intl/tst-ngettext.c: Likewise.
29317         * intl/tst-translit.c: Likewise.
29318         * io/test-stat.c: Likewise.
29319         * libio/test-fmemopen.c: Likewise.
29320         * libio/tst-freopen.c: Likewise.
29321         * libio/tst-sscanf.c: Likewise.
29322         * libio/tst-ungetwc1.c: Likewise.
29323         * libio/tst-ungetwc2.c: Likewise.
29324         * libio/tst-widetext.c: Likewise.
29325         * localedata/tst-ctype.c: Likewise.
29326         * localedata/tst-digits.c: Likewise.
29327         * localedata/tst-leaks.c: Likewise.
29328         * localedata/tst-mbswcs1.c: Likewise.
29329         * localedata/tst-mbswcs2.c: Likewise.
29330         * localedata/tst-mbswcs3.c: Likewise.
29331         * localedata/tst-mbswcs4.c: Likewise.
29332         * localedata/tst-mbswcs5.c: Likewise.
29333         * localedata/tst-setlocale.c: Likewise.
29334         * localedata/tst-trans.c: Likewise.
29335         * localedata/tst-wctype.c: Likewise.
29336         * localedata/tst-xlocale1.c: Likewise.
29337         * login/tst-grantpt.c: Likewise.
29338         * malloc/tst-calloc.c: Likewise.
29339         * malloc/tst-malloc.c: Likewise.
29340         * malloc/tst-mallocstate.c: Likewise.
29341         * malloc/tst-mcheck.c: Likewise.
29342         * malloc/tst-mtrace.c: Likewise.
29343         * malloc/tst-obstack.c: Likewise.
29344         * math/atest-exp2.c: Likewise.
29345         * math/atest-exp.c: Likewise.
29346         * math/atest-sincos.c: Likewise.
29347         * math/test-matherr.c: Likewise.
29348         * math/test-misc.c: Likewise.
29349         * math/test-powl.c: Likewise.
29350         * math/tst-definitions.c: Likewise.
29351         * misc/tst-dirname.c: Likewise.
29352         * misc/tst-efgcvt.c: Likewise.
29353         * misc/tst-fdset.c: Likewise.
29354         * misc/tst-hsearch.c: Likewise.
29355         * misc/tst-mntent2.c: Likewise.
29356         * nptl/tst-sem7.c: Likewise.
29357         * nptl/tst-sem8.c: Likewise.
29358         * nptl/tst-sem9.c: Likewise.
29359         * nss/test-netdb.c: Likewise.
29360         * posix/tst-fnmatch.c: Likewise.
29361         * posix/tst-getlogin.c: Likewise.
29362         * posix/tst-gnuglob.c: Likewise.
29363         * posix/tst-mmap.c: Likewise.
29364         * pwd/tst-getpw.c: Likewise.
29365         * resolv/tst-inet_ntop.c: Likewise.
29366         * rt/tst-timer.c: Likewise.
29367         * stdio-common/test-fseek.c: Likewise.
29368         * stdio-common/test-popen.c: Likewise.
29369         * stdio-common/test-vfprintf.c: Likewise.
29370         * stdio-common/tst-cookie.c: Likewise.
29371         * stdio-common/tst-fileno.c: Likewise.
29372         * stdio-common/tst-gets.c: Likewise.
29373         * stdio-common/tst-obprintf.c: Likewise.
29374         * stdio-common/tst-perror.c: Likewise.
29375         * stdio-common/tst-sprintf2.c: Likewise.
29376         * stdio-common/tst-sprintf3.c: Likewise.
29377         * stdio-common/tst-sprintf.c: Likewise.
29378         * stdio-common/tst-swprintf.c: Likewise.
29379         * stdio-common/tst-tmpnam.c: Likewise.
29380         * stdio-common/tst-unbputc.c: Likewise.
29381         * stdio-common/tst-wc-printf.c: Likewise.
29382         * stdlib/tst-environ.c: Likewise.
29383         * stdlib/tst-fmtmsg.c: Likewise.
29384         * stdlib/tst-limits.c: Likewise.
29385         * stdlib/tst-rand48-2.c: Likewise.
29386         * stdlib/tst-rand48.c: Likewise.
29387         * stdlib/tst-random2.c: Likewise.
29388         * stdlib/tst-random.c: Likewise.
29389         * stdlib/tst-strtol.c: Likewise.
29390         * stdlib/tst-strtoll.c: Likewise.
29391         * stdlib/tst-tls-atexit.c: Likewise.
29392         * stdlib/tst-xpg-basename.c: Likewise.
29393         * string/test-ffs.c: Likewise.
29394         * string/tst-bswap.c: Likewise.
29395         * string/tst-inlcall.c: Likewise.
29396         * string/tst-strtok.c: Likewise.
29397         * string/tst-strxfrm.c: Likewise.
29398         * sysdeps/x86_64/tst-audit10.c: Likewise.
29399         * sysdeps/x86_64/tst-audit3.c: Likewise.
29400         * sysdeps/x86_64/tst-audit4.c: Likewise.
29401         * sysdeps/x86_64/tst-audit5.c: Likewise.
29402         * time/tst-ftime_l.c: Likewise.
29403         * time/tst-getdate.c: Likewise.
29404         * time/tst-mktime3.c: Likewise.
29405         * time/tst-mktime.c: Likewise.
29406         * time/tst-posixtz.c: Likewise.
29407         * time/tst-strptime2.c: Likewise.
29408         * time/tst-strptime3.c: Likewise.
29409         * wcsmbs/tst-btowc.c: Likewise.
29410         * wcsmbs/tst-mbrtowc.c: Likewise.
29411         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29412         * wcsmbs/tst-wchar-h.c: Likewise.
29413         * wcsmbs/tst-wcpncpy.c: Likewise.
29414         * wcsmbs/tst-wcrtomb.c: Likewise.
29415         * wcsmbs/tst-wcsnlen.c: Likewise.
29416         * wcsmbs/tst-wcstof.c: Likewise.
29418 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29420         [BZ #14132]
29421         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29422         INTDEF.
29423         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29424         declaration.
29425         (_dl_mcount): Use rtld_hidden_proto.
29426         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29427         _dl_mcount.
29428         * elf/rtld.c (_rtld_global_ro): Likewise.
29430         [BZ #14132]
29431         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29432         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29433         of _dl_init_internal.
29434         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29435         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29436         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29437         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29438         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29439         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29440         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29441         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29442         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29443         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29444         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29445         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29446         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29447         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29448         * sysdeps/tile/dl-start.S (_start): Likewise.
29449         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29450         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29452         [BZ #14132]
29453         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29454         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29455         (rtld_progname): Make macro definition unconditional.
29456         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29457         INTDEF.
29458         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29459         (dl_main): Likewise.
29460         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29461         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29462         instead of _dl_argv_internal.
29463         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29464         __GI__dl_argv instead of INTUSE(_dl_argv).
29465         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29466         __GI__dl_argv instead of _dl_argv_internal.
29468         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29469         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29470         macro.
29471         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29472         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29473         New macro.
29474         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29475         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29476         macro.
29477         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29478         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29480 2014-11-04  Andreas Schwab  <schwab@suse.de>
29482         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29484 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29486         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29487         mtvsrd instruction in binary form.
29489 2014-11-03  Andreas Schwab  <schwab@suse.de>
29491         [BZ #17522]
29492         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29493         for less than MB_LEN_MAX use a local buffer of that size.
29494         * libio/tst-fputws.c: New file.
29495         * libio/Makefile (tests): Add tst-fputws.
29497 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29499         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29500         the size of the fpu_fr.fpu_dregs[] array.
29502 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29504         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29505         (__nanosleep): Do not define as alias.
29506         (nanosleep): Define as alias of __nanosleep.
29507         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29508         __libc_nanosleep name.
29510 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29512         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29513         install.texi in comment.
29515 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29517         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29518         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29519         ... add here and use lwsync or sync ...
29520         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29521         ... and add here using lwsync.
29523 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29525         * elf/dl-machine-reject-phdr.h: New file.
29526         * elf/dl-load.c: #include that.
29527         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29528         if that returned true.
29530 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29532         [BZ #17496]
29533         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29534         gen-as-const-headers chunk.  Add a big scare comment after the last
29535         safe place to touch before-compile.
29537 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29539         * manual/install.texi (Tools for Compilation): Update autoconf
29540         version requirements.
29541         * INSTALL: Regenerated.
29543         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29544         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29545         (__libc_pselect): Likewise.
29547         [BZ #14138]
29548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29553 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29555         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29556         correct barrier instruction.
29557         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29558         Likewise.
29559         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29560         Likewise.
29562 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29564         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29565         after defining inlines.  Instead, just use parens to defeat macro
29566         expansion of __isctype in its declaration.
29568 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29570         * include/sys/uio.h (__libc_readv): Remove declaration.
29571         (__libc_writev): Likewise.
29572         * misc/readv.c (__libc_readv): Rename to __readv.
29573         (__readv): Do not define as alias.
29574         (readv): Define as alias of __readv.
29575         * misc/writev.c (__libc_writev): Rename to __writev.
29576         (__writev): Do not define as alias.
29577         (writev): Define as alias of __writev.
29578         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29579         (__readv): Do not define as alias.
29580         (readv): Define unconditionally as alias of __readv.
29581         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29582         (__writev): Do not define as alias.
29583         (writev): Define unconditionally as alias of __writev.
29584         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29585         name.
29586         (writev): Do not define __libc_writev name.
29588 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29590         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29591         (convert_charseq): New function, broken out of ...
29592         (use_from_charmap): ... here.  Call it.
29593         (use_to_charmap): Use convert_charseq and free instead of duplicating
29594         its code with a variable-length stack struct.
29596 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29598         * include/fcntl.h (__libc_creat): Remove declaration.
29599         * io/creat.c (__libc_creat): Rename to creat.
29600         (creat): Do not define as alias.
29601         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29602         of creat instead of __libc_creat.
29603         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29604         to creat.
29605         (creat): Do not define as alias.
29606         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29607         __libc_creat.
29608         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29609         __libc_creat name.
29610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29611         Likewise.
29613 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29615         * manual/llio.texi: Add comments discussing why write() may be
29616         considered MT-unsafe on Linux.
29618 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29620         * dl-load.c (local_strdup): Remove.
29621         (expand_dynamic_string_token): Use __strdup.
29622         (decompose_rpath): Likewise.
29623         (_dl_map_object): Likewise.
29625 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29627         [BZ #14132]
29628         * sysdeps/generic/unwind-dw2-fde.c
29629         (__register_frame_info_bases_internal): Do not declare.
29630         (__register_frame_info_table_bases_internal): Likewise.
29631         (__deregister_frame_info_bases_internal): Likewise.
29632         (__register_frame_info_bases): Declare and use hidden_proto before
29633         definition.  Use hidden_def instead of INTDEF.
29634         (__register_frame_info_table_bases): Likewise.
29635         (__deregister_frame_info_bases): Likewise.
29636         (__register_frame_info): Do not use INTUSE.
29637         (__register_frame): Likewise.
29638         (__register_frame_info_table): Likewise.
29639         (__register_frame_table): Likewise.
29640         (__deregister_frame_info): Likewise.
29641         (__deregister_frame): Likewise.
29643 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29645         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29646         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29647         not undefine.
29648         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29649         Likewise.
29650         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29651         Likewise.
29653 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29655         [BZ #14138]
29656         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29657         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29658         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29659         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29660         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29661         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29662         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29663         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29664         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29665         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29666         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29667         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29668         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29669         syscall.
29670         (setfsuid): Likewise.
29671         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29672         (setfsuid): Likewise.
29673         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29674         (setfsuid): Likewise.
29675         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29676         Likewise.
29677         (setfsuid): Likewise.
29678         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29679         (setfsuid): Likewise.
29680         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29681         Likewise.
29682         (setfsuid): Likewise.
29684 2014-10-27  Andreas Schwab  <schwab@suse.de>
29686         [BZ #17501]
29687         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29688         check for Slow_SSE4_2 feature bit.
29689         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29690         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29691         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29692         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29694 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29696         * configure.ac: Validate compiler version with a empirical test of
29697         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29698         $CC -v output.
29699         * configure: Regenerated.
29701         * inet/htons.c (htons): Prototypify.
29702         * inet/htonl.c (htonl): Likewise.
29704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29706         * string/strncat.c (strncat): Improve performance by using strlen.
29708 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29710         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29712 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29714         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29715         Call libc_fetestexcept_aarch64.
29717 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29719         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29720         Call libc_feholdexcept_aarch64.
29722 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29724         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29725         Call get_rounding_mode.
29727 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29729         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29730         Simplify logic.
29732 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29734         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29735         Simplify logic.
29737 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29739         [BZ #14138]
29740         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29741         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29742         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29743         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29744         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29745         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29746         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29747         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29748         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29749         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29750         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29751         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29752         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29753         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29754         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29755         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29756         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29757         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29758         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29759         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29760         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29761         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29762         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29763         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29764         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29765         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29766         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29767         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29768         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29769         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29770         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29771         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29772         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29773         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29774         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29775         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29776         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29777         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29778         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29779         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29780         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29781         syscall.
29782         (geteuid): Likewise.
29783         (getgid): Likewise.
29784         (getuid): Likewise.
29785         (getresgid): Likewise.
29786         (getresuid): Likewise.
29787         (getgroups): Likewise.
29788         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29789         (geteuid): Likewise.
29790         (getgid): Likewise.
29791         (getuid): Likewise.
29792         (getresgid): Likewise.
29793         (getresuid): Likewise.
29794         (getgroups): Likewise.
29795         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29796         (geteuid): Likewise.
29797         (getgid): Likewise.
29798         (getuid): Likewise.
29799         (getresgid): Likewise.
29800         (getresuid): Likewise.
29801         (getgroups): Likewise.
29802         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29803         Likewise.
29804         (geteuid): Likewise.
29805         (getgid): Likewise.
29806         (getuid): Likewise.
29807         (getresgid): Likewise.
29808         (getresuid): Likewise.
29809         (getgroups): Likewise.
29810         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29811         (geteuid): Likewise.
29812         (getgid): Likewise.
29813         (getuid): Likewise.
29814         (getresgid): Likewise.
29815         (getresuid): Likewise.
29816         (getgroups): Likewise.
29817         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29818         Likewise.
29819         (geteuid): Likewise.
29820         (getgid): Likewise.
29821         (getuid): Likewise.
29822         (getgroups): Likewise.
29824         [BZ #14138]
29825         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29826         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29827         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29828         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29829         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29830         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29831         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29832         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29833         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29834         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29835         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29836         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29837         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29838         __chown.
29839         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29840         (lchown): Likewise.
29841         (fchown): Likewise.
29842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29843         Likewise.
29844         (lchown): Likewise.
29845         (fchown): Likewise.
29846         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29847         (lchown): Likewise.
29848         (fchown): Likewise.
29849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29850         Likewise.
29851         (lchown): Likewise.
29852         (fchown): Likewise.
29854 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29856         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29857         Simplify logic.
29859 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29861         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29862         Cleanup logic.
29864 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29866         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29867         Remove unused include.
29869 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29871         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29872         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29873         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29874         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29876 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29877             Helge Deller <deller@gmx.de>
29879         [BZ #17508]
29880         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29881         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29882         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29884 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29886         [BZ #14132]
29887         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29888         Remove macro definition.
29889         (__ashrdi3_v_glibc20): Likewise.
29890         (__lshrdi3_v_glibc20): Likewise.
29891         (__cmpdi2_v_glibc20): Likewise.
29892         (__ucmpdi2_v_glibc20): Likewise.
29893         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29894         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29895         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29896         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29897         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29898         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29900 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29902         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29903         old GNU extension [0] syntax.
29904         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29905         alloca rather than an array member with variable length.
29906         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29907         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29908         (parse_opt): ... here.  Likewise use alloca there.
29909         Validate the -i argument before checking for rootness.
29910         (send_shutdown): New function, broken out of ...
29911         (parse_opt): ... here.
29913 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29915         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29916         macro to get at the _rt_local_ro field.
29917         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29918         ([PIC] case) or _dl_hwcap ([!PIC] case).
29919         * sysdeps/arm/setjmp.S: Likewise.
29921         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29922         * sysdeps/arm/configure.ac: New check to define it.
29923         * sysdeps/arm/configure: Regenerated.
29924         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29925         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29926         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29927         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29928         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29929         Use move/movt pair instead of a load.
29930         (LDST_GLOBAL): Macro removed.
29931         (LDR_GLOBAL): New macro replaces it.
29932         (LDR_HIDDEN): New macro.
29933         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29934         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29936         * setjmp/tst-setjmp-static.c: New file.
29937         * setjmp/Makefile (tests): Add it.
29938         (tests-static): New variable.
29940 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29942         [BZ #17485]
29943         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29945 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29947         [BZ #14132]
29948         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29950 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29952         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29954 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29956         * io/fts.c (dirent_not_directory): New function.
29957         (fts_build): Call it.
29959 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29961         * nptl/version.c (__nptl_main): Use normal __write rather than
29962         INTERNAL_SYSCALL.
29963         (banner): Update copyright years.
29965         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29966         gettimeofday.
29967         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29968         * nptl/pthread_cond_timedwait.c: Likewise.
29969         * nptl/pthread_mutex_timedlock.c: Likewise.
29970         * nptl/sem_timedwait.c: Likewise.
29972         * sysdeps/nptl/bits/libc-lock.h
29973         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29974         (__libc_lock_init_recursive): Return void, not 0.
29975         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29976         (__libc_rwlock_init): Likewise.
29977         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29979 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29981         [BZ #15215]
29982         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29983         (__pthread_once_slow): ... here.
29984         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29985         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29987 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29989         [BZ #15215]
29990         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29991         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29992         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29993         * nptl/pthread_once.c (__pthread_once): Likewise.
29994         Update comments.
29996 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29998         [BZ #14138]
29999         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30000         name.
30001         (writev): Use __libc_writev as strong name.
30002         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30003         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30005 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30007         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30009         * sysdeps/i386/nptl/tls.h
30010         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30011         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30012         New macros.
30013         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30014         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30015         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30016         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30017         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30018         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30020         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30021         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30022         on [__NR_futex].
30023         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30024         broken out of ...
30025         (__pthread_mutex_init): ... here.  Call it.
30026         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30027         Conditionalize PI cases on [__NR_futex].
30028         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30029         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30030         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30032         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30033         conditional on [SIGSETXID].
30034         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30035         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30036         is defined.  Likewise for SIGSETXID.
30037         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30038         Conditionalize definitions on [SIGSETXID].
30039         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30040         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30041         unblocking on [SIGCANCEL].
30043         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30044         [__NR_set_robust_list].
30046 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30048         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30049         (do_compare): Likewise.
30051 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30053         [BZ #15884]
30054         * string/strcoll_l.c: Don't include stdio.h.
30055         (coll_seq): Remove members idxarr and rulearr.
30056         (get_next_seq_cached): Remove function.
30057         (get_next_seq): Likewise.
30058         (get_next_seq_nocache): Rename to get_next_seq.
30059         (do_compare): Remove function.
30060         (do_compare_nocache): Rename to do_compare.
30061         (STRCOLL): Remove weight and rules cache.
30063 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30065         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30066         * sysdeps/arm/sfp-machine.h: ... to here.
30067         * sysdeps/arm/Implies: Remove arm/soft-fp.
30069 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30071         * conform/data/sys/utsname.h-data (*_t): Allow.
30072         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30073         [POSIX] (WEXITED): Do not expect constant.
30074         [POSIX] (WSTOPPED): Likewise.
30075         [POSIX] (WNOHANG): Likewise.
30076         [POSIX] (WNOWAIT): Likewise.
30077         [POSIX] (siginfo_t): Do not expect type or elements.
30078         [POSIX] (pid_t): Do not expect type.
30079         [POSIX] (signal.h): Do not allow header.
30080         [POSIX] (sys/resource.h): Likewise.
30081         [POSIX] (si_*): Do not allow pattern.
30082         [POSIX] (W*): Likewise.
30083         [POSIX] (P_*): Likewise.
30084         [POSIX] (BUS_*): Likewise.
30085         [POSIX] (CLD_*): Likewise.
30086         [POSIX] (FPE_*): Likewise.
30087         [POSIX] (ILL_*): Likewise.
30088         [POSIX] (POLL_*): Likewise.
30089         [POSIX] (SEGV_*): Likewise.
30090         [POSIX] (SI_*): Likewise.
30091         [POSIX] (TRAP_*): Likewise.
30092         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30093         variable.
30095 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30097         [BZ #12926]
30098         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30099         infinite loop when __recvmsg returns 0.
30101 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30103         * CANCEL-FCT-WAIVE: Remove file.
30104         * CANCEL-FILE-WAIVE: Likewise.
30106         [BZ #14132]
30107         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30108         instead of INTVARDEF.
30109         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30110         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30111         rtld_hidden_data_def instead of INTVARDEF.
30112         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30113         * elf/dl-deps.c (expand_dst): Likewise.
30114         * elf/dl-load.c (_dl_dst_count): Likewise.
30115         (_dl_dst_substitute): Likewise.
30116         (decompose_rpath): Likewise.
30117         (_dl_init_paths): Likewise.
30118         (open_path): Likewise.
30119         (_dl_map_object): Likewise.
30120         * elf/rtld.c (dl_main): Likewise.
30121         (process_dl_audit): Likewise.
30122         (process_envvars): Likewise.
30123         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30124         Remove declaration.
30125         (__libc_enable_secure): Use rtld_hidden_proto.
30127 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30129         * elf/dl-load.c
30130         (add_path): New function broken out of _dl_rtld_di_serinfo.
30131         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30133 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30135         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30136         parentheses around macro arguments.
30137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30140         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30141         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30142         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30143         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30144         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30145         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30146         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30147         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30148         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30149         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30150         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30151         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30152         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30153         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30158         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30159         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30160         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30161         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30162         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30163         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30164         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30165         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30166         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30167         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30168         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30169         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30170         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30171         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30172         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30173         Likewise.
30174         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30175         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30176         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30177         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30179         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30180         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30181         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30182         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30183         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30184         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30185         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30186         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30189         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30190         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30193         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30194         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30195         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30197         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30198         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30199         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30200         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30201         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30202         (_FP_FRAC_SRS_1): Likewise.
30203         (_FP_FRAC_CLZ_1): Likewise.
30204         (_FP_MUL_MEAT_1_imm): Likewise.
30205         (_FP_MUL_MEAT_1_wide): Likewise.
30206         (_FP_MUL_MEAT_1_hard): Likewise.
30207         (_FP_SQRT_MEAT_1): Likewise.
30208         (_FP_FRAC_ASSEMBLE_1): Likewise.
30209         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30210         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30211         (__FP_CLZ_2): Likewise.
30212         (_FP_MUL_MEAT_2_wide): Likewise.
30213         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30214         (_FP_MUL_MEAT_2_gmp): Likewise.
30215         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30216         (_FP_SQRT_MEAT_2): Likewise.
30217         (_FP_FRAC_ASSEMBLE_2): Likewise.
30218         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30219         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30220         (_FP_FRAC_CLZ_4): Likewise.
30221         (_FP_MUL_MEAT_4_wide): Likewise.
30222         (_FP_MUL_MEAT_4_gmp): Likewise.
30223         (_FP_SQRT_MEAT_4): Likewise.
30224         (_FP_FRAC_ASSEMBLE_4): Likewise.
30225         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30226         * soft-fp/op-common.h (_FP_CMP): Likewise.
30227         (_FP_CMP_EQ): Likewise.
30228         (_FP_CMP_UNORD): Likewise.
30229         (_FP_TO_INT): Likewise.
30230         (_FP_FROM_INT): Likewise.
30231         [!__FP_CLZ] (__FP_CLZ): Likewise.
30232         (_FP_DIV_HELP_imm): Likewise.
30233         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30234         Likewise.
30235         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30240         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30241         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30243         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30244         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30245         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30246         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30247         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30248         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30249         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30250         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30251         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30253         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30258         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30259         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30261         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30262         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30263         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30264         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30265         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30266         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30267         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30268         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30269         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30270         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30271         (FP_UNPACK_RAW_SP): Likewise.
30272         (FP_PACK_RAW_S): Likewise.
30273         (FP_PACK_RAW_SP): Likewise.
30274         (FP_UNPACK_S): Likewise.
30275         (FP_UNPACK_SP): Likewise.
30276         (FP_UNPACK_SEMIRAW_S): Likewise.
30277         (FP_UNPACK_SEMIRAW_SP): Likewise.
30278         (FP_PACK_S): Likewise.
30279         (FP_PACK_SP): Likewise.
30280         (FP_PACK_SEMIRAW_S): Likewise.
30281         (FP_PACK_SEMIRAW_SP): Likewise.
30282         (_FP_SQRT_MEAT_S): Likewise.
30283         (FP_CMP_S): Likewise.
30284         (FP_CMP_EQ_S): Likewise.
30285         (FP_CMP_UNORD_S): Likewise.
30286         (FP_TO_INT_S): Likewise.
30287         (FP_FROM_INT_S): Likewise.
30289         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30291         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30292         (FP_EX_INVALID_IMZ): Likewise.
30293         (FP_EX_INVALID_IMZ_FMA): Likewise.
30294         (FP_EX_INVALID_ISI): Likewise.
30295         (FP_EX_INVALID_ZDZ): Likewise.
30296         (FP_EX_INVALID_IDI): Likewise.
30297         (FP_EX_INVALID_SQRT): Likewise.
30298         (FP_EX_INVALID_CVI): Likewise.
30299         (FP_EX_INVALID_VC): Likewise.
30300         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30301         "invalid" exceptions.
30302         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30303         (_FP_ADD_INTERNAL): Likewise.
30304         (_FP_MUL): Likewise.
30305         (_FP_FMA): Likewise.
30306         (_FP_DIV): Likewise.
30307         (_FP_CMP_CHECK_NAN): Likewise.
30308         (_FP_SQRT): Likewise.
30309         (_FP_TO_INT): Likewise.
30310         (FP_EXTEND): Likewise.
30312 2014-10-09  Allan McRae  <allan@archlinux.org>
30314         * po/fr.po: Update French translation from translation project.
30316 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30318         [BZ #14132]
30319         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30320         of INTDEF.
30321         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30322         (__cxa_atexit): Use libc_hidden_proto.
30323         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30325         [BZ #14132]
30326         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30327         declaration.
30328         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30329         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30330         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30331         [!_ISOMAC] (__iswctype_internal): Likewise.
30332         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30333         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30334         alias.
30335         (fcntl): Remove __fcntl_internal alias.
30336         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30337         __connect_internal alias.
30338         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30339         Likewise.
30341         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30342         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30343         FP_DENORM_ZERO.
30344         (_FP_CHECK_FLUSH_ZERO): New macro.
30345         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30346         (_FP_CMP): Likewise.
30347         (_FP_CMP_EQ): Likewise.
30348         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30349         FP_DENORM_ZERO.
30350         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30351         (FP_TRUNC): Likewise.
30353         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30354         treated as invalid conversion, not as normal exponent.
30356         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30357         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30358         (_FP_CMP_EQ): Likewise.
30359         (_FP_CMP_UNORD): Likewise.
30360         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30361         (FP_CMP_EQ_D): Likewise.
30362         (FP_CMP_UNORD_D): Likewise.
30363         * soft-fp/extended.h (FP_CMP_E): Likewise.
30364         (FP_CMP_EQ_E): Likewise.
30365         (FP_CMP_UNORD_E): Likewise.
30366         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30367         (FP_CMP_EQ_Q): Likewise.
30368         (FP_CMP_UNORD_Q): Likewise.
30369         * soft-fp/single.h (FP_CMP_S): Likewise.
30370         (FP_CMP_EQ_S): Likewise.
30371         (FP_CMP_UNORD_S): Likewise.
30372         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30373         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30374         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30375         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30376         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30377         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30378         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30379         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30380         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30381         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30382         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30383         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30384         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30385         to FP_CMP_Q.
30386         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30387         FP_CMP_Q.
30388         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30389         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30390         FP_CMP_EQ_Q.
30391         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30392         FP_CMP_Q.
30393         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30394         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30395         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30396         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30397         FP_CMP_EQ_Q.
30398         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30399         FP_CMP_Q.
30400         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30401         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30402         FP_CMP_EQ_Q.
30403         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30404         FP_CMP_Q.
30405         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30406         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30407         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30408         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30409         FP_CMP_EQ_Q.
30411         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30412         a subnormal result, set the underflow exception if trapping on
30413         underflow is enabled.
30414         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30415         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30416         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30417         redefine to 0.
30418         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30419         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30420         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30421         * soft-fp/extendxftf2.c (__extendxftf2): Use
30422         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30424         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30425         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30426         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30427         FP_HANDLE_EXCEPTIONS.
30428         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30429         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30430         FP_HANDLE_EXCEPTIONS.
30431         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30432         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30433         FP_HANDLE_EXCEPTIONS.
30434         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30435         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30436         FP_HANDLE_EXCEPTIONS.
30438 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30440         [BZ #14132]
30441         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30442         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30443         use INTUSE.
30444         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30445         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30446         Remove alias.
30447         (__adjtimex): Define using libc_hidden_ver.
30448         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30449         Remove declaration.
30450         (ntp_gettime): Call __adjtimex directly.
30451         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30452         Remove declaration.
30453         (ntp_gettimex): Call __adjtimex directly.
30454         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30455         __adjtimex_internal alias.
30457 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30459         [BZ #17460]
30460         * nscd/nscd.c (more_help): Rewrite list of tables collection
30461         using xstrdup and asprintf.
30463         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30465 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30466             Roland McGrath  <roland@hack.frob.com>
30468         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30469         (do_lookup_unique): ... local function 'enter' here; update callers.
30471 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30473         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30474         compat_symbol calls on [SHARED].
30475         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30476         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30477         Remove.
30478         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30479         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30480         (oldsetrlimit): Remove.
30481         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30483         (lchown): New syscall entry.
30484         (oldsetrlimit): Remove.
30485         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30487         (oldsetrlimit): Remove.
30488         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30490         [BZ #14138]
30491         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30492         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30493         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30494         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30495         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30496         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30497         (fchown): Likewise.
30498         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30499         (fchown): Likewise.
30500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30501         Likewise.
30503 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30505         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30506         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30507         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30508         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30509         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30510         Likewise.
30511         (__old_sem_post): Likewise.
30513 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30515         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30516         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30517         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30518         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30519         Use INLINE_VSYSCALL macro.
30520         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30521         __vdso_clock_gettime.
30522         * sysdeps/unix/sysv/linux/tile/init-first.c
30523         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30524         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30525         __vdso_clock_gettime.
30527         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30528         to set up frame more cleanly.
30530         * sysdeps/tile/memcmp.c: New file.
30532         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30534         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30535         * sysdeps/tile/tilegx/strcasestr.c: New file.
30536         * sysdeps/tile/tilegx/strnlen.c: New file.
30537         * sysdeps/tile/tilegx/strstr.c: New file.
30539         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30541 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30543         * nptl/tst-setuid3.c: Write errors to stdout.
30545 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30547         * elf/dl-deps.c
30548         (preload): New functions broken out of _dl_map_object_deps.
30549         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30551 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #14138]
30554         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30555         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30557 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30559         * sysdeps/mips/strcmp.S: New.
30561 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30563         [BZ #14138]
30564         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30565         (linkat): Likewise.
30566         (mkdirat): Likewise.
30567         (readlinkat): Likewise.
30568         (renameat): Likewise.
30569         (symlinkat): Likewise.
30570         (unlinkat): Likewise.
30571         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30572         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30573         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30574         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30575         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30576         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30577         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30579 2014-09-30  Will Newton  <will.newton@linaro.org>
30581         * math/math.h: Define long double math functions if
30582         _LIBC_TEST is defined.
30583         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30585         * localedata/Makefile: Move assignment to tests-special
30586         into an ifdef testing run-built-tests.
30587         * timezone/Makefile: Likewise.
30589 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30591         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30592         with $(BASH) not $(SHELL).
30594 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30595             Matthew LeGendre  <legendre1@llnl.gov>
30597         [BZ #17411]
30598         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30599         l_reloc_result.
30601 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30603         * stdio-common/printf_fp.c
30604         (hack_digit): New function, broken out of ...
30605         (__printf_fp): ... local function here.  Update call sites.
30606         hack_digit now takes an additional parameter that is a pointer
30607         to a struct of the referenced locals.  Those locals moved inside
30608         the struct and references updated.
30610 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30612         * aclocal.m4: Require autoconf 2.69.
30613         * configure: Regenerated.
30614         * sysdeps/aarch64/configure: Likewise.
30615         * sysdeps/alpha/configure: Likewise.
30616         * sysdeps/arm/armv7/configure: Likewise.
30617         * sysdeps/arm/configure: Likewise.
30618         * sysdeps/ia64/configure: Likewise.
30619         * sysdeps/mach/configure: Likewise.
30620         * sysdeps/mips/configure: Likewise.
30621         * sysdeps/s390/configure: Likewise.
30622         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30625         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30626         file.
30627         * sysdeps/ia64/configure.ac: Likewise.
30629 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30632         specify symbol version for ld.so.  Do not include entry for
30633         libpthread.
30634         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30635         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30636         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30638         [BZ #14171]
30639         * Makeconfig [$(build-shared) = yes]
30640         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30641         makefiles.
30642         [$(build-shared) = yes && $(soversions.mk-done) = t]
30643         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30644         [$(build-shared) = yes && $(soversions.mk-done) = t]
30645         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30646         to Makerules.
30647         [$(build-shared) = yes && $(soversions.mk-done) = t]
30648         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30649         here.
30650         [$(build-shared) = yes && $(soversions.mk-done) = t]
30651         (common-generated): Don't append gnu/lib-names.h and
30652         gnu/lib-names.stmp here.
30653         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30654         (lib-names-h-abi): New variable.
30655         [$(build-shared) = yes && $(soversions.mk-done) = t]
30656         (lib-names-stmp-abi): Likewise.
30657         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30658         abi-variants] (before-compile): Append
30659         $(common-objpfx)$(lib-names-h-abi).
30660         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30661         abi-variants] (common-generated): Append gnu/lib-names.h.
30662         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30663         abi-variants] (install-others-nosubdir): Depend on
30664         $(inst_includedir)/$(lib-names-h-abi).
30665         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30666         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30667         [$(build-shared) = yes && $(soversions.mk-done) = t]
30668         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30669         [$(build-shared) = yes && $(soversions.mk-done) = t]
30670         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30671         [$(build-shared) = yes && $(soversions.mk-done) = t]
30672         (common-generated): Append $(lib-names-h-abi) and
30673         $(lib-names-stmp-abi).
30674         * scripts/lib-names.awk: Do not handle multi being set.
30675         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30676         Remove variable.
30677         (abi-lp64_be-ld-soname): Likewise.
30678         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30679         Likewise.
30680         (abi-hard-ld-soname): Likewise.
30681         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30682         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30683         Remove variable.
30684         (abi-o32_hard-ld-soname): Likewise.
30685         (abi-o32_soft_2008-ld-soname): Likewise.
30686         (abi-o32_hard_2008-ld-soname): Likewise.
30687         (abi-n32_soft-ld-soname): Likewise.
30688         (abi-n32_hard-ld-soname): Likewise.
30689         (abi-n32_soft_2008-ld-soname): Likewise.
30690         (abi-n32_hard_2008-ld-soname): Likewise.
30691         (abi-n64_soft-ld-soname): Likewise.
30692         (abi-n64_hard-ld-soname): Likewise.
30693         (abi-n64_soft_2008-ld-soname): Likewise.
30694         (abi-n64_hard_2008-ld-soname): Likewise.
30695         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30696         Likewise.
30697         (abi-64-v2-ld-soname): Likewise.
30698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30699         ld.so entries.
30700         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30701         variable.
30702         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30703         entry.
30704         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30705         variable.
30706         (abi-64-ld-soname): Likewise.
30707         (abi-x32-ld-soname): Likewise.
30708         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30709         entry.
30710         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30712 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30714         [BZ #14138]
30715         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30716         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30717         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30718         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30719         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30720         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30721         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30722         syscall entry for GLIBC_2.2 symbol version.
30723         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30724         Likewise.
30725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30726         (setrlimit): Likewise.
30727         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30728         Likewise.
30730 2014-09-23  Will Newton  <will.newton@linaro.org>
30732         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30733         _LINUX_ARM_SYSDEP_H include guard too.
30734         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30735         define.
30737 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30739         * sysdeps/unix/sysv/linux/eventfd.c:
30740         Make first argument unsigned.
30741         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30742         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30744 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30746         [BZ #16852]
30747         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30748         * socket/sys/socket.h: Likewise.
30749         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30751 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30753         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30755 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30757         * time/tst-ftime.c: New test.
30758         * time/Makefile (tests): Add tst-ftime.
30760 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30762         * soft-fp/extended.h: Fix comment formatting.
30763         * soft-fp/op-1.h: Likewise.
30764         * soft-fp/op-2.h: Likewise.
30765         * soft-fp/op-4.h: Likewise.
30766         * soft-fp/op-8.h: Likewise.
30767         * soft-fp/op-common.h: Likewise.
30768         * soft-fp/soft-fp.h: Likewise.
30770         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30772 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30774         [BZ #6652]
30775         * Makeconfig (soversions-default-setname): Remove variable.
30776         ($(common-objpfx)soversions.i): Don't pass default_setname to
30777         soversions.awk.
30778         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30779         oldest_abi to abi-versions.awk.
30780         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30781         * config.make.in (oldest-abi): Remove variable.
30782         * configure.ac (--enable-oldest-abi): Remove configure option.
30783         * configure: Regenerated.
30784         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30785         text.
30786         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30787         * scripts/soversions.awk: Do not handle default_setname variable.
30788         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30789         variable.
30790         * sysdeps/mach/hurd/configure: Regenerated.
30791         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30792         variable.
30793         * sysdeps/unix/sysv/linux/configure: Regenerated.
30795 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30797         * elf/Makefile (CFLAGS-interp.c): Remove.
30798         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30799         path string.
30800         * elf/interp.c: Include generated runtime-linker.h
30802         * Makerules (lib%.so): Don't include $(+interp) in
30803         prerequisites.
30804         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30805         * dlfcn/eval.c: Remove file.
30807         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30808         macros.
30810         [BZ #17266]
30811         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30812         4.2 and newer.
30814         [BZ #17370]
30815         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30817 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30818             Jakub Jelinek  <jakub@redhat.com>
30820         [BZ #17266]
30821         * libio/stdio.h: Check definition of __fortify_function
30822         instead of __extern_always_inline to include bits/stdio2.h.
30823         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30824         check if __extern_always_inline is defined.
30825         [__USE_MISC || __USE_XOPEN]: Likewise.
30826         [__USE_ISOC99] Likewise.
30827         * misc/sys/cdefs.h (__fortify_function): Define only if
30828         __extern_always_inline is defined.
30829         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30830         __extern_always_inline and __extern_inline only for g++-4.3
30831         and newer or a compatible gcc.
30833 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30835         [BZ #17371]
30836         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30837         last change to handle zero prefix length.
30839 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30841         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30842         _SC_REGEX_VERSION.
30844         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30845         _POSIX_RAW_SOCKETS.
30847 2014-09-13  Allan McRae  <allan@archlinux.org>
30849         * po/ru.po: Update Russian translation from translation project.
30851 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30853         * locale/programs/locale.c (show_locale_vars): Inline local function
30854         into its sole call site.  Clean up some style nits.
30855         (print_item): New function, broken out of ...
30856         (show_info): ... local function here.  Clean up style nits.
30858         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30859         out of ...
30860         (set_class_defaults): ... local function set_default here.
30861         Define set_default as a macro locally to pass constant parameters.
30862         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30863         rather than a shared local.
30865         * stdlib/rpmatch.c (try): New function, broken out of ...
30866         (rpmatch): ... local function here.  Also, prototypify definition.
30868 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30870         * scripts/soversions.awk: Do not handle configuration names.
30871         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30872         vendor and os variables to soversions.awk.
30873         * configure.ac: Do not modify gnu-* host_os.
30874         * configure: Regenerated
30875         * shlib-versions: Remove first column with configuration names.
30876         * nptl/shlib-versions: Likewise.
30877         * nptl_db/shlib-versions: Likewise.
30878         * sysdeps/hppa/shlib-versions: Likewise.
30879         * sysdeps/m68k/shlib-versions: Likewise.
30880         * sysdeps/mach/hurd/shlib-versions: Likewise.
30881         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30882         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30883         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30884         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30885         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30886         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30887         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30888         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30890         Likewise.
30891         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30892         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30893         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30894         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30895         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30896         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30897         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30898         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30901         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30903         Regenerated.
30904         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30906         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30908         * shlib-versions: Remove OS-specific entries.  Moved to files in
30909         sysdeps.
30910         * sysdeps/mach/hurd/shlib-versions: New file.
30911         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30913         * nptl/shlib-versions: Remove architecture-specific entries.
30914         Moved to files in sysdeps.
30915         * shlib-versions: Likewise.
30916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30917         file.
30918         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30919         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30920         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30921         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30923         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30924         (UDP_NO_CHECK6_RX): Likewise.
30926 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30928         * sysdeps/posix/sysconf.c (__sysconf): Spell
30929         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30931 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30933         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30934         loading.
30935         * iconv/Versions (__gconv_transliterate): Export for use from
30936         gconv modules.
30937         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30938         (struct __gconv_trans_data, __gconv_trans_fct,
30939         __gconv_trans_context_fct, __gconv_trans_query_fct,
30940         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30941         definitions.
30942         (struct __gconv_step_data): Remove __trans member.
30943         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30944         longer hidden.  Remove unused trans_data argument.
30945         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30946         (__gconv_translit_find): Remove declaration.
30947         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30948         prototype.
30949         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30950         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30951         trans_data argument.  Add hidden definition.
30952         (__gconv_translit_find): Remove.
30953         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30954         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30955         * iconv/skeleton.c: Remove transliteration initialization.
30956         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30957         __gconv_step_data initialization.
30958         * libio/iofwide.c (__libio_translit_): Remove.
30959         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30960         * wcsmbs/btowc.c (__btowc): Likewise.
30961         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30962         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30963         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30964         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30965         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30966         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30967         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30968         * wcsmbs/wctob.c (wctob): Likewise.
30970 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30972         [BZ #16194]
30973         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30974         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30975         register usage.
30976         * sysdeps/x86/Makefile: Adjust.
30978 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30979             Roland McGrath  <roland@hack.frob.com>
30981         * locale/weight.h: Add include guard.
30982         (findidx): Make static rather than auto; take new parameters
30983         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30984         * locale/weightwc.h: Likewise.
30985         * posix/fnmatch_loop.c
30986         (FCT): Change type of EXTRA from int32_t to wint_t.
30987         Don't include either header inside the function.
30988         Call FINDIDX rather than findidx, and pass new arguments.
30989         #undef FINDIDX at the end of the file.
30990         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30991         FINDIDX before including fnmatch_loop.c for the non-wide version.
30992         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30993         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30994         for the wide version.
30995         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30996         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30997         Pass new arguments to findidx.
30998         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30999         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31000         Don't #include it inside the function.  Pass new arguments to findidx.
31001         * posix/regex_internal.h
31002         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31003         (re_string_elem_size_at): Don't #include it inside the function.
31004         Pass new arguments to findidx.
31005         * string/strcoll_l.c: #include WEIGHT_H at top level.
31006         (get_next_seq): Don't #include it inside the function.
31007         Pass new arguments to findidx.
31008         (get_next_seq_nocache): Likewise.
31009         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31010         (STRXFRM): Don't #include it inside the function.
31011         Pass new arguments to findidx.
31013 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31015         [BZ #17344]
31016         * malloc/malloc.c (unlink): Turn asserts into a call to
31017         malloc_printerr.
31019 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31021         [BZ #17370]
31022         * libio/wfileops (do_ftell_wide): Free OUT.
31024 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31026         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31028 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31030         [BZ #17363]
31031         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31032         group if the current group is empty.
31034 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31036         * benchtests/bench-memset.c (test_main): Add more test from size
31037         from 32 to 512 bytes.
31038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31039         Add POWER8 memset object.
31040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31041         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31042         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31043         implementation.
31044         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31045         Likewise.
31046         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31047         multiarch POWER8 memset optimization.
31048         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31049         POWER8 memset optimization.
31051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31052         Remove bzero multiarch objects.
31053         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31054         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31055         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31056         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31057         Remove define.
31058         [__bzero]: Redefine to specific name.
31059         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31060         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31061         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31062         define.
31063         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31064         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31066 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31068         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31069         warnings into errors.
31071         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31072         __cxa_thread_atexit_impl prototype.
31074 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31076         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31077         Fix capitalization of error message.
31079 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31081         * sysdeps/mips/preconfigure: Modify ABI tests.
31083 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31085         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31087 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31088             Carlos O'Donell  <carlos@systemhalted.org>
31090         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31091         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31092         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31093         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31094         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31095         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31096         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31097         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31098         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31099         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31100         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31101         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31102         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31103         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31104         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31105         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31106         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31107         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31109         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31110         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31111         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31112         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31113         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31114         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31115         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31116         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31117         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31118         Deconditionalize the code that was previously under [RESET_PID].
31119         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31120         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31121         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31122         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31123         include sysdep.h.
31125 2014-09-08  Allan McRae  <allan@archlinux.org>
31127         * version.h (RELEASE): Set to "development".
31128         (VERSION): Set to "2.20.90"
31130 2014-09-07  Allan McRae  <allan@archlinux.org
31132         * version.h (RELEASE): Set to "stable".
31133         (VERSION): Set to "2.20"
31134         * include/features.h (__GLIBC_MINOR__): Set to 20.
31136         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31137         Liebler.
31139         * po/ko.po: Update Korean translation from translation project.
31141 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31143         [BZ #17354]
31144         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31145         macro for handling signed relocations.
31147 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31149         [BZ #17325]
31150         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31151         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31152         assert.
31153         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31154         * iconvdata/ibm935.c (BODY): Likewise.
31155         * iconvdata/ibm937.c (BODY): Likewise.
31156         * iconvdata/ibm939.c (BODY): Likewise.
31157         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31158         assert.
31159         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31160         script.
31161         * iconvdata/run-iconv-test.sh: New test loop for checking for
31162         decoder crashers.
31164 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31167         libm_hidden_ver.
31169 2014-09-01  Allan McRae  <allan@archlinux.org>
31171         * po/eo.po: Update Esperanto translation from translation project.
31173         * po/ca.po: Update Catalan translation from translation project.
31175 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31177         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31178         __proc_dostop call.
31180 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31182         [BZ #17319]
31183         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31184         to call set_thread_area instead of hand written asm.
31185         (__NR_set_thread_area): Removed define.
31186         (TLS_FLAG_WRITABLE): Likewise.
31187         (__ASSUME_SET_THREAD_AREA): Remove check.
31188         (TLS_EBX_ARG): Remove define.
31189         (TLS_LOAD_EBX): Likewise.
31191 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31193         Simplify atomicity of socket creation in bind.
31195         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31196         looking up the name after linking the file.
31198 2014-08-27  Allan McRae  <allan@archlinux.org>
31200         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31202 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31204         [BZ #17187]
31205         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31206         trans_compare, open_translit, __gconv_translit_find):
31207         Remove module loading code.
31209 2014-08-26  Allan McRae  <allan@archlinux.org>
31211         * po/vi.po: Update Vietnamese translation from translation project.
31213         * po/uk.po: Update Ukrainian translation from translation project.
31215         * po/fr.po: Update French translation from translation project.
31217         * po/ru.po: Update Russian translation from translation project.
31219         * po/pl.po: Update Polish translation from translation project.
31221         * po/cs.po: Update Czech translation from translation project.
31223         * po/de.po: Update German translation from translation project.
31225         * po/bg.po: Update Bulgarian translation from translation project.
31227         * po/sv.po: Update Sweedish translation from translation project.
31229         * po/nl.po: Update Dutch translation from translation project.
31231         * po/es.po: Update Spanish translation from translation project.
31233 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31235         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31237         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31238         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31239         (CPPFLAGS-iconvconfig): Likewise.
31240         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31242         * include/libc-symbols.h: Remove unnecessary check for
31243         NOT_IN_libc.
31244         * nptl/pthreadP.h: Likewise.
31245         * sysdeps/aarch64/setjmp.S: Likewise.
31246         * sysdeps/alpha/setjmp.S: Likewise.
31247         * sysdeps/arm/sysdep.h: Likewise.
31248         * sysdeps/i386/setjmp.S: Likewise.
31249         * sysdeps/m68k/setjmp.c: Likewise.
31250         * sysdeps/posix/getcwd.c: Likewise.
31251         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31252         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31253         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31254         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31255         * sysdeps/sh/sh3/setjmp.S: Likewise.
31256         * sysdeps/sh/sh4/setjmp.S: Likewise.
31257         * sysdeps/unix/alpha/sysdep.h: Likewise.
31258         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31259         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31260         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31261         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31266         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31269         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31271         * sysdeps/x86_64/setjmp.S: Likewise.
31273 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31275         [BZ #17263]
31276         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31277         <stdint.h>.
31278         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31279         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31281 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31283         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31285         [BZ #17262]
31286         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31287         and __x86_64__ when disabling x87 inline functions.
31289 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31291         [BZ #17259]
31292         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31293         asm statement with __cpuid_count.
31295 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31297         * configure.ac: Change __ehdr_start code to dereference the struct.
31298         Run readelf on the output to look for relocations.
31299         * configure: Regenerated.
31301 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31303         [BZ #17261]
31304         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31305         value to 0.
31306         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31308 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31310         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31312 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31314         [BZ #16892]
31315         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31316         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31318 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31320         * malloc/malloc.c: Fix typo in comment.
31322 2014-08-09  Allan McRae  <allan@archlinux.org>
31324         * Regenerate libc.po.
31326 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31328         * intl/tst-gettext2.sh: Check every lang file for creation.
31330 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31332         * sysdeps/aarch64/fpu/math_private.h
31333         (libc_feholdsetround_noex_aarch64_ctx): New function.
31335 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31337         * sysdeps/arm/armv6/strcpy.S (strcpy):
31338         Fix performance issue in misaligned cases.
31340 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31342         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31343         Move definition from termios.h.
31344         (struct termio): Likewise.
31345         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31346         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31347         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31348         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31349         Likewise.
31350         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31351         Move definition to ioctl-types.h
31352         (struct termio): Likewise.
31353         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31354         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31355         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31356         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31357         Likewise.
31359 2014-08-05  Richard Henderson  <rth@redhat.com>
31361         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31362         exceptions.
31363         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31364         Add fraiseexcpt.
31365         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31366         Use __feraiseexcept.
31367         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31368         Protect libm symbols with IS_IN_libm.
31370         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31372 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31374         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31376 2014-08-04  Will Newton  <will.newton@linaro.org>
31378         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31379         file.
31381 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31383         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31384         variants for each function.
31386 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31388         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31389         appended ...
31390         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31391         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31392         appended ...
31393         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31394         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31395         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31396         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31397         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31398         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31399         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31400         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31401         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31402         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31403         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31405         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31406         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31407         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31409         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31411         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31417         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31421         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31425         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31429         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31430         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31431         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31432         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31433         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31434         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31435         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31437         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31439         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31441         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31443         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31444         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31445         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31446         Update #include.
31447         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31448         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31450 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31452         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31453         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31454         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31455         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31456         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31457         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31459 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31461         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31462         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31463         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31464         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31466 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31468         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31469         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31470         (__libc_vfork): Define function under this name.
31471         (__vfork): Define as an alias.
31472         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31473         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31475 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31477         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31478         that was previously under [RESET_PID].
31479         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31481 2014-08-04  Andreas Schwab  <schwab@suse.de>
31483         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31485 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31487         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31488         (main): Likewise.
31490 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31492         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31494 2014-08-01  Richard Henderon  <rth@redhat.com>
31496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31497         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31498         typo in exact zero test.
31499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31500         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31503 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31505         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31506         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31507         * sysdeps/arm/sysdep.h: ... here.
31508         [!__ASSEMBLER__]: Include <stdint.h>.
31510 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31512         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31513         (HAVE_WCTYPE_H): Likewise.
31514         (HAVE_ISWCTYPE): Likewise.
31515         (ENABLE_NLS): Likewise.
31516         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31517         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31519         * posix/regex_internal.c: Check if DEBUG is defined and is
31520         set.
31522         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31523         (HAVE_MBSRTOWCS): Likewise.
31524         * posix/fnmatch.c: Include string.h unconditionally.
31526 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31528         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31529         reversal.
31531 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31533         * sysdeps/generic/safe-fatal.h: New file.
31534         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31535         * nptl/forward.c: Include it.
31536         (__pthread_unwind): Use __safe_fatal as default action, rather
31537         than a bogus use of INTERNAL_SYSCALL that could never work.
31539         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31540         * configure.ac (libc_cv_builtin_trap): New test.
31541         * configure: Regenerated.
31542         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31543         (ABORT_INSTRUCTION): Define using __builtin_trap.
31545         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31546         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31547         * sysdeps/nptl/nptl-signals.h: New file.
31548         * nptl/pthreadP.h: Include <nptl-signals.h>.
31550 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31552         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31553         (ONE_DIRECTION): Define.
31554         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31555         (ONE_DIRECTION): Define.
31556         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31557         (ONE_DIRECTION): Define.
31559 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31561         * sysdeps/s390/Makefile: Delete file.
31562         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31563         * sysdeps/s390/__longjmp.c: Delete file.
31564         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31565         Remove fields __flags and __reserved.
31566         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31567         and add versioning.
31568         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31569         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31570         * sysdeps/s390/rtld-setjmp.S: Likewise.
31571         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31572         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31573         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31574         * sysdeps/s390/s390-32/setjmp.S: ... here.
31575         Add versioning.
31576         (__sigsetjmp): Remove setting __flags field.
31577         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31578         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31579         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31580         * sysdeps/s390/s390-64/setjmp.S: ... here.
31581         Add versioning.
31582         (__sigsetjmp): Remove setting __flags field.
31583         * sysdeps/s390/setjmp.S: Delete file.
31584         * sysdeps/s390/sigjmp.c: Likewise.
31585         * sysdeps/s390/v1-longjmp.c: Likewise.
31586         * sysdeps/s390/v1-setjmp.h: Likewise.
31587         * sysdeps/s390/v1-sigjmp.c: Likewise.
31588         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31589         Remove v1-longjmp_chk.
31590         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31591         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31592         Include debug/longjmp_chk.c and add versioning.
31593         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31594         Include nptl/pt-longjmp.c and add versioning.
31595         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31596         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31597         Include __longjmp.c.
31598         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31599         Move to ...
31600         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31601         (__getcontext): Remove setting __flags field.
31602         Add versioning.
31603         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31604         Don't restore upper high grps.
31605         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31606         Likewise.
31607         (__swapcontext): Remove setting uc_flags field.
31608         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31609         Delete file.
31610         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31611         Include __longjmp.c.
31612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31613         Move to ...
31614         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31615         (__getcontext): Remove setting __flags field.
31616         Add versioning.
31617         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31618         (__swapcontext): Remove setting uc_flags field.
31619         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31620         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31621         Remove fields uc_high_gprs and __reserved.
31622         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31623         New file with reverted content.
31624         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31625         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31626         Regenerated.
31627         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31628         Regenerated.
31630 2014-07-31  Andreas Schwab  <schwab@suse.de>
31632         * config.h.in (HAVE_IFUNC): Define to 0.
31633         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31634         definedness.
31636 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31639         memmove-avx-unaligned, memcpy-avx-unaligned and
31640         mempcpy-avx-unaligned.
31641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31642         Add tests for AVX memcpy functions.
31643         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31644         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31645         memcpy_chk.
31646         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31647         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31648         memmove_chk.
31649         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31650         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31651         mempcpy_chk.
31652         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31653         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31654         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31656 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31658         [BZ #17213]
31659         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31660         powerpc64le.
31662 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31664         [BZ #16839]
31665         * manual/llio.texi: Add section about open file description locks.
31666         * manual/examples/ofdlocks.c: Example of open file description
31667         lock usage.
31668         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31669         F_OFD_SETLK, and F_OFD_SETLKW.
31671 2014-07-23  Allan McRae  <allan@archlinux.org>
31673         * po/es.po: Update Spanish translation from translation project.
31675 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31677         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31679 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31681         [BZ #17078]
31682         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31683         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31684         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31686 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31688         [BZ #17088]
31689         * math/fesetenv.c (__fesetenv)
31690         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31691         * math/feupdateenv.c (__feupdateenv)
31692         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31694         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31695         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31696         (__ASSUME_SOCKETCALL): Do not define.
31698         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31699         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31700         (__ASSUME_SOCKETCALL): Do not define.
31701         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31702         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31703         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31704         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31705         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31706         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31707         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31708         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31710         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31711         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31712         (__ASSUME_SOCKETCALL): Do not define.
31713         (__ASSUME_IPC64): Define unconditionally.
31714         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31715         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31716         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31717         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31718         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31719         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31720         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31721         Likewise.
31723         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31724         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31725         (__ASSUME_SOCKETCALL): Do not define.
31726         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31727         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31728         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31729         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31730         (__ASSUME_REQUEUE_PI): Define unconditionally.
31731         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31732         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31733         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31734         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31735         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31736         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31738         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31739         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31740         (__ASSUME_SOCKETCALL): Do not define.
31741         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31742         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31743         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31744         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31745         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31746         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31748         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31749         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31750         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31751         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31752         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31753         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31755         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31756         (__ASSUME_GETCPU_SYSCALL): Likewise.
31758         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31759         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31760         cases for individual architectures.
31761         * sysdeps/gnu/configure: Regenerated.
31762         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31763         LIBC_SLIBDIR_RTLDDIR.
31764         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31765         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31766         LIBC_SLIBDIR_RTLDDIR.
31767         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31769         LIBC_SLIBDIR_RTLDDIR.
31770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31771         Regenerated.
31772         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31773         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31774         file.
31775         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31776         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31777         file.
31778         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31779         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31780         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31781         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31783         * sysdeps/aarch64/shlib-versions: Move to ...
31784         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31785         * sysdeps/alpha/shlib-versions: Move to ...
31786         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31787         * sysdeps/arm/shlib-versions: Move to ...
31788         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31789         * sysdeps/hppa/shlib-versions: Move all contents except for
31790         libgcc_s entry to ...
31791         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31792         entry from ...
31793         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31794         * sysdeps/ia64/shlib-versions: Move to ...
31795         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31796         entry from ...
31797         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31798         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31799         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31800         * sysdeps/microblaze/shlib-versions: Move to ...
31801         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31802         * sysdeps/mips/shlib-versions: Move to ...
31803         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31804         entry from ...
31805         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31806         * sysdeps/tile/shlib-versions: Move to ...
31807         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31808         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31809         from ...
31810         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31811         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31812         entry from ...
31813         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31815 2014-07-17  Will Newton  <will.newton@linaro.org>
31817         * sysdeps/arm/bits/atomic.h
31818         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31819         (__arch_compare_and_exchange_bool_16_int): Likewise.
31820         (__arch_compare_and_exchange_bool_64_int): Likewise.
31822         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31823         into an #else block.
31825 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31827         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31828         just Linux configurations.  Test empirically that the compiler sets
31829         __ARM_EABI__, rather than using the tuple to decide.
31830         * sysdeps/arm/preconfigure: Regenerated.
31831         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31832         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31833         contents appended ...
31834         * sysdeps/arm/configure.ac: ... here.
31835         * sysdeps/arm/configure: Regenerated.
31837 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31839         * nptl/pthread_kill.c: New file.
31840         * nptl/pthread_sigmask.c: New file.
31841         * nptl/pthread_sigqueue.c: New file.
31843         * sysdeps/nptl/lowlevellock.h: New file.
31844         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31845         * sysdeps/nptl/lowlevellock-futex.h: New file.
31847         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31848         Remove dead declarations.
31850 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31852         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31853         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31854         config-cflags-avx2.
31855         * sysdeps/x86_64/configure.ac: Likewise.
31856         * sysdeps/i386/configure: Regenerated.
31857         * sysdeps/x86_64/configure: Likewise.
31858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31859         memset-avx2 only if config-cflags-avx2 is yes.
31860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31861         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31862         defined.
31863         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31864         only if HAVE_AVX2_SUPPORT is defined.
31865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31867 2014-07-14  Alan Modra  <amodra@gmail.com>
31869         [BZ #17153]
31870         * elf/elf.h (DT_PPC64_NUM): Correct value.
31871         * NEWS: Add to fixed bug list.
31873 2014-07-13  Jim Meyering  <meyering@fb.com>
31875         [BZ 17150]
31876         regex: don't deref NULL upon heap allocation failure
31877         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31878         failure in one more place.
31879         To trigger the segfault, configure grep -with-included-regex,
31880         build it, and run these commands:
31881         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31883 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31885         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31887 2014-07-11  Richard Henderson  <rth@redhat.com>
31889         * sysdeps/aarch64/libm-test-ulps: Update.
31891 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31893         [BZ #17135]
31894         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31895         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31896         (__nptl_setxid): Initialize error member.  Call
31897         __nptl_setxid_error.
31898         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31899         * nptl/descr.h (struct xid_command): Add error member.
31900         * nptl/tst-setuid3.c: New file.
31901         * nptl/Makefile (tests): Add it.
31903 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31905         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31906         New define.
31907         (__lll_trylock): Use __lll_base_trylock.
31908         (__lll_cond_trylock): Likewise.
31910 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31912         * nptl/pthread_create.c (start_thread): Use atomic_or and
31913         lll_futex_wake directly rather than lll_robust_dead.
31914         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31915         (lll_robust_dead): Macro removed.
31916         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31917         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31918         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31919         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31920         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31921         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31922         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31923         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31924         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31925         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31926         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31927         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31928         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31929         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31930         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31932         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31933         Use atomic_compare_and_exchange_val_acq directly rather than
31934         lll_robust_trylock.
31935         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31936         (__lll_robust_trylock, lll_robust_trylock): Removed.
31937         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31938         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31939         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31940         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31941         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31942         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31943         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31944         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31945         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31946         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31947         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31948         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31949         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31950         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31952 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31954         * manual/locale.texi (Locale Names): New section documenting
31955         locale name syntax.  Adjust menu and node chaining accordingly.
31956         (Choosing Locale): Reference Locale Names, Locale Categories.
31957         Mention setting LC_ALL=C.  Reflect that name syntax is now
31958         documented.
31959         (Locale Categories): New section title.  Reference Locale Names.
31960         LC_ALL is an environment variable, but not a category.
31961         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31962         description, now in Locale Name.  Reference that section.  Locale
31963         name syntax is now documented.
31965 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31967         [BZ #17137]
31968         * locale/findlocale.c (name_present, valid_locale_name): New
31969         functions.
31970         (_nl_find_locale): Use the loc_name variable to store name
31971         candidates.  Call name_present and valid_locale_name to check and
31972         validate locale names.  Return an error if the locale is invalid.
31974 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31976         * locale/setlocale.c (setlocale): Use strdup for allocating
31977         composite name copy.
31979 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31981         Sync up with gnulib.
31982         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31983         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31984         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31985         and _GL_ARG_NONNULL.
31986         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31987         [!_LIBC]: Include code for Windows and Cygwin.
31988         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31989         Include prototype for int strerror_r.
31990         [!_LIBC] (is_open): New function.
31991         (flush_stdout): New function.
31992         (print_errno_message): Use it.
31993         (error): Likewise.
31994         (error_at_line): Likewise.
31995         (error_tail) Add function attribute macros.  Use
31996         __builtin_expect.
31998         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32000         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32002         * io/ftw.c: Include sys/param.h unconditionally.
32004         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32006         [BZ #17125]
32007         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32008         libc_freeres_ptr.
32009         (freecache): New function to free CACHE on exit.
32011         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32012         initialization.
32014 2014-07-09  David S. Miller  <davem@davemloft.net>
32016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32018         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32019         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32020         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32021         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32022         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32023         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32024         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32025         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32026         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32027         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32028         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32029         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32030         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32032 2014-07-09  Andreas Schwab  <schwab@suse.de>
32034         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32035         output.
32036         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32037         (do_test): Likewise.
32039         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32041 2014-07-09  Will Newton  <will.newton@linaro.org>
32043         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32044         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32045         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32046         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32047         * sysdeps/hppa/start.S (_start): Likewise.
32049 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32053         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32054         defined.
32056 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32058         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32059         after checking that it is non-NULL.
32061         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32063 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32065         * sysdeps/powerpc/memmove.c: Remove file.
32066         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32067         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32068         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32069         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32070         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32071         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32072         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32073         string memmove instead of removed powerpc one.
32075         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32076         [weak_alias]: Fix compiler warning due trailing data.
32077         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32078         [weak_alias]: Likewise.
32079         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32080         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32083         (__libc_ifunc_impl_list): Add memmove functions.
32085 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32087         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32088         Remove code.
32089         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32090         Likewise.
32091         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32092         Likewise.
32093         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32094         Likewise.
32095         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32096         Likewise.
32097         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32098         Likewise.
32099         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32100         Likewise.
32101         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32102         Likewise.
32103         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32104         Likewise.
32105         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32106         Likewise.
32107         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32108         Likewise.
32109         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32110         Likewise.
32111         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32112         Likewise.
32113         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32114         Likewise.
32115         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32116         Likewise.
32117         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32118         Likewise.
32119         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32120         Likewise.
32122 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32124         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32125         to avoid alignment traps in non-cacheable memory.
32126         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32129         multiarch objects.
32130         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32131         file: multiarch power7 memmove.
32132         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32133         multiarch default memmove.
32134         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32135         multiarch memove for powerpc32/power4.
32137         * string/bcopy.c: Use full path to include memmove.c.
32138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32139         multiarch objects.
32140         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32141         bcopy for powerpc64.
32142         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32143         bcopy for powerpc64.
32144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32145         and memmove implementations.
32146         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32147         optimized multiarch memmove for POWER7/powerpc64.
32148         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32149         default multiarch memmove for powerpc64.
32150         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32151         multiarch for powerpc64.
32152         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32153         for POWER7/powerpc64.
32154         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32155         memmove for POWER7/powerpc64.
32157         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32158         glibc default one.
32160         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32161         __ELF_NATIVE_CLASS equal to 64.
32163 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32165         * sysdeps/nptl/lowlevellock.h: File removed.
32167         * NEWS: NPTL is no longer an add-on!
32168         * nptl/internaltypes.h: Moved ...
32169         * sysdeps/nptl/internaltypes.h: ... here.
32170         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32171         * sysdeps/nptl/fork.c: Likewise.
32172         * sysdeps/nptl/gai_misc.h: Likewise.
32173         * sysdeps/nptl/librt-cancellation.c: Likewise.
32174         * sysdeps/nptl/jmp-unwind.c: Likewise.
32175         * sysdeps/nptl/setxid.h: Likewise.
32176         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32177         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32178         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32179         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32180         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32181         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32182         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32183         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32184         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32185         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32186         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32187         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32188         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32189         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32190         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32191         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32192         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32193         * nptl/Makeconfig: Moved ...
32194         * sysdeps/nptl/Makeconfig: ... here.
32195         * nptl/configure: File removed.
32196         * nptl/ANNOUNCE: File removed.
32197         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32198         * sysdeps/unix/sysv/linux/configure: Regenerated.
32200         * nptl/Makefile (routines): Add libc_pthread_init,
32201         libc_multiple_threads, register-atfork and unregister-atfork.
32202         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32203         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32204         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32205         pthread-pi-defines.sym, structsem.sym.
32206         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32207         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32208         [$(subdir) = nptl] (tests): Add tst-setgetname.
32209         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32210         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32211         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32212         [!LIBC_SIGACTION]: Remove aliases.
32213         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32214         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32215         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32216         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32217         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32218         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32219         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32220         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32221         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32222         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32223         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32224         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32225         __libc_allocate_rtsig_private.
32226         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32227         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32228         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32229         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32230         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32231         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32232         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32233         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32234         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32235         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32236         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32237         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32238         * nptl/internaltypes.h: ... here.
32239         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32240         * sysdeps/nptl/jmp-unwind.c: ... here.
32241         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32242         * nptl/libc-lowlevellock.c: ... here.
32243         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32244         * nptl/libc_multiple_threads.c: ... here.
32245         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32246         * nptl/libc_pthread_init.c: ... here.
32247         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32248         * nptl/lowlevelbarrier.sym: ... here.
32249         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32250         * nptl/lowlevelcond.sym: ... here.
32251         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32252         * nptl/lowlevellock.c: ... here.
32253         * nptl/lowlevellock.h: Moved ...
32254         * sysdeps/nptl/lowlevellock.h: ... here.
32255         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32256         * nptl/lowlevelrobustlock.c: ... here.
32257         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32258         * nptl/lowlevelrobustlock.sym: ... here.
32259         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32260         * nptl/lowlevelrwlock.sym: ... here.
32261         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32262         * nptl/pt-fork.c: ... here.
32263         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32264         * nptl/pthread-pi-defines.sym: ... here.
32265         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32266         * nptl/pthread_attr_getaffinity.c: ... here.
32267         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32268         * nptl/pthread_attr_setaffinity.c: ... here.
32269         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32270         * nptl/pthread_mutex_cond_lock.c: ... here.
32271         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32272         Update #include.
32273         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32274         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32275         * nptl/pthread_once.c: ... here, replacing old file.
32276         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32277         * nptl/pthread_yield.c: ... here.
32278         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32279         * nptl/register-atfork.c: ... here.
32280         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32281         * nptl/sem_post.c: ... here.
32282         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32283         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32284         * nptl/sem_timedwait.c: ... here.
32285         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32286         * nptl/sem_trywait.c: ... here.
32287         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32288         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32289         * nptl/sem_wait.c: ... here.
32290         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32291         * nptl/structsem.sym: ... here.
32292         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32293         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32294         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32295         * nptl/unregister-atfork.c: ... here.
32296         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32297         * nptl/unwindbuf.sym: ... here.
32298         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32299         * sysdeps/nptl/fork.c: ... here.
32300         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32301         * sysdeps/nptl/fork.h: ... here.
32302         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32303         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32304         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32305         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32306         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32307         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32308         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32309         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32310         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32311         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32312         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32313         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32314         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32315         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32316         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32318         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32319         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32320         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32321         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32322         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32324         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32325         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32326         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32327         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32328         * sysdeps/unix/sysv/linux/raise.c: ... here.
32329         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32330         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32331         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32332         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32333         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32334         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32335         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32336         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32337         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32338         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32339         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32340         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32341         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32342         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32343         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32345 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32347         * sysdeps/generic/memcopy.h: Add comment for
32348         MEMCPY_OK_FOR_FWD_MEMMOVE.
32350 2014-07-04  Will Newton  <will.newton@linaro.org>
32352         * string/memchr.c: Merge from gnulib.
32353         [_LIBC]: Remove conditionals.
32354         (__ptr_t): Remove define.
32355         (LONG_MAX_32_BITS): Likewise.
32356         (LONG_MAX): Likewise.
32357         (MEMCHR): Use ANSI prototype and optimize algorithm.
32359         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32361 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32363         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32364         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32366         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32367         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32368         in a bare environment with no <stdlib.h> installed.
32369         * sysdeps/nptl/configure: Regenerated.
32371         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32373         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32374         AC_EGREP_CPP for kernel header checks, so they only succeed if
32375         including <linux/version.h> actually works right.
32376         * sysdeps/unix/sysv/linux/configure: Regenerated.
32378         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32379         value so it's not diagnosed as unused.
32381         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32382         thing) with "ifeq ($(subdir),rt)".
32384 2014-07-03  Richard Henderson  <rth@redhat.com>
32386         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32387         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32388         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32390         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32391         (math_force_eval): New.
32393         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32394         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32396         * sysdeps/alpha/fpu/s_round.c: Remove file.
32397         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32399         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32400         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32401         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32402         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32403         (_dl_start, print_statistics): Likewise.
32404         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32405         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32407         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32408         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32409         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32410         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32411         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32412         (HP_SMALL_TIMING_AVAIL): Define.
32413         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32414         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32415         (HP_SMALL_TIMING_AVAIL): Define.
32416         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32417         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32419         * sysdeps/aarch64/hp-timing.h: New file.
32421         * sysdeps/generic/hp-timing.h: Remove dead comment.
32422         * sysdeps/generic/hp-timing-common.h: New file.
32423         * sysdeps/alpha/hp-timing.h: Include it.
32424         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32425         * sysdeps/i386/i686/hp-timing.h: Likewise.
32426         * sysdeps/ia64/hp-timing.h: Likewise.
32427         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32428         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32429         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32430         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32431         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32432         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32433         (hp_timing_t): New.
32435         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32436         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32437         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32438         * elf/rtld.c (_dl_start_final): Likewise.
32439         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32440         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32441         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32442         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32443         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32444         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32445         (HP_TIMING_DIFF_INIT): Remove.
32446         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32447         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32448         (HP_TIMING_DIFF_INIT): Remove.
32449         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32450         * sysdeps/i386/i686/hp-timing.c: Remove file.
32451         * sysdeps/x86_64/hp-timing.c: Remove file.
32452         * sysdeps/ia64/hp-timing.c: Remove file.
32453         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32454         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32455         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32456         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32458         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32459         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32460         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32461         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32462         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32463         (HP_TIMING_ACCUM): Remove.
32464         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32465         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32466         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32468         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32469         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32470         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32471         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32473         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32474         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32475         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32477         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32479 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32481         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32483 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32485         Sync up with gettext.
32486         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32487         [_MSC_VER]: Include malloc.h
32488         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32489         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32490         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32491         TEMP_FAILURE_RETRY.  Cast return of alloca.
32492         [!_LIBC] Call gl_rwlock_init.
32493         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32495 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32497         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32498         before checking its value.
32500 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32502         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32504         * debug/memcpy_chk.c: Don't include pagecopy.h.
32505         * debug/mempcpy_chk.c: Likewise.
32506         * string/memcpy.c: Likewise.
32507         * string/memmove.c: Likewise.
32508         * sysdeps/powerpc/memmove.c: Likewise.
32509         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32510         definition of PAGE_COPY_FWD_MAYBE here...
32511         * sysdeps/generic/pagecopy.h: ... from here.
32512         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32514 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32515             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32517         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32519         optimizations.
32520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32521         (__libc_ifunc_impl_list): Likewise.
32522         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32523         multiarch strcat for PPC64.
32524         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32525         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32527 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32529         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32531 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32533         * intl/loadmsgcat.c: Remove declaration of
32534         get_sysdep_segment_value.
32535         (get_sysdep_segment_value): Use ISO C style.
32536         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32537         semicolon.  Fix typo and formatting in comment.
32538         (_nl_unload_domain): Use ISO C style.
32540         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32542 2014-07-02  Will Newton  <will.newton@linaro.org>
32544         * malloc/obstack.c: Merge from gnulib master.
32545         [HAVE_CONFIG_H]: Remove conditional code.
32546         [!_LIBC]: Include config.h.
32547         [!ELIDE_CODE]: Don't include inttypes.h, include
32548         stdint.h unconditionally.
32549         (print_and_abort): Mark as _Noreturn.
32550         (_obstack_allocated_p): Mark as __attribute_pure__.
32551         (obstack_free): Rename to __obstack_free.
32552         [!__attribute__]: Remove conditional code.
32553         * malloc/obstack.h: Merge from gnulib master.
32554         [__cplusplus]: Move conditional down.
32555         [!__attribute_pure__]: Define __attribute_pure__ here
32556         if it is not already defined.
32557         (_obstack_memory_used): Mark as __attribute_pure__.
32558         [!__obstack_free]: Define as obstack_free.
32559         [__GNUC__]: Remove check for ancient NeXT gcc.
32561 2014-07-02  Will Newton  <will.newton@linaro.org>
32562             Paul Eggert  <eggert@cs.ucla.edu>
32564         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32566 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32568         * resolv/gethnamaddr.c: Add comment warning that the file is
32569         not maintained.
32571 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32573         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32574         entries.
32576         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32577         entry for aio_cancel and aio_cancel64.
32578         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32579         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32580         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32581         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32582         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32583         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32584         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32585         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32586         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32587         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32588         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32589         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32590         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32592 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32594         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32595         * nptl/pthread_mutex_lock.c: Likewise.
32596         * nptl/pthread_mutex_timedlock.c: Likewise.
32597         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32599 2014-07-01  Richard henderson  <rth@redhat.com>
32601         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32602         (__isnan, __isnanl): Remove.
32603         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32605         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32607 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32609         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32611 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32613         * resolv/nss_dns/dns-host.c (getanswer_r)
32614         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32616 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32619         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32620         undefine.
32621         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32622         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32624 2014-07-01  Roland McGrath <roland@hack.frob.com>
32626         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32627         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32629         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32630         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32632         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32633         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32634         ... here.
32635         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32636         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32638         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32639         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32640         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32641         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32643         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32644         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32645         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32648         Moved ...
32649         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32650         ... here.
32651         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32652         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32654         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32656         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32657         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32660         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32661         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32662         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32664         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32665         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32666         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32667         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32668         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32670         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32671         ... here.
32672         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32675         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32676         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32677         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32678         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32679         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32681 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32683         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32684         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32685         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32686         Add sysdep.
32688 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32692 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32694         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32695         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32697         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32699         * sysdeps/arm/libm-test-ulps: Regenerated.
32701 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32702             Roland McGrath <roland@hack.frob.com>
32704         * test-skeleton.c (signal_handler): Kill the whole process group
32705         before killing the child individually.
32706         (main): Report any failure on `setpgid'.
32708 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32710         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32711         from _TLS_H to _ARM_NPTL_TLS_H.
32712         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32713         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32715 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32717         [BZ #16539]
32718         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32719         (__expm1l): Return argument unchanged when small but not
32720         subnormal.
32722         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32723         include macro name.
32724         (_FP_UNPACK_RAW_1_P): Likewise.
32725         (_FP_PACK_RAW_1): Likewise.
32726         (_FP_PACK_RAW_1_P): Likewise.
32727         (_FP_MUL_MEAT_1_wide): Likewise.
32728         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32729         (_FP_MUL_MEAT_1_hard): Likewise.
32730         (_FP_DIV_MEAT_1_imm): Likewise.
32731         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32732         (_FP_DIV_MEAT_1_udiv): Likewise.
32733         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32734         (_FP_UNPACK_RAW_2): Likewise.
32735         (_FP_UNPACK_RAW_2_P): Likewise.
32736         (_FP_PACK_RAW_2): Likewise.
32737         (_FP_PACK_RAW_2_P): Likewise.
32738         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32739         (_FP_MUL_MEAT_2_wide): Likewise.
32740         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32741         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32742         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32743         (_FP_MUL_MEAT_2_gmp): Likewise.
32744         (_FP_DIV_MEAT_2_udiv): Likewise.
32745         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32746         (_FP_FRAC_SRL_4): Likewise.
32747         (_FP_FRAC_SRST_4): Likewise.
32748         (_FP_FRAC_SRS_4): Likewise.
32749         (_FP_UNPACK_RAW_4): Likewise.
32750         (_FP_UNPACK_RAW_4_P): Likewise.
32751         (_FP_PACK_RAW_4): Likewise.
32752         (_FP_PACK_RAW_4_P): Likewise.
32753         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32754         (_FP_MUL_MEAT_4_wide): Likewise.
32755         (_FP_MUL_MEAT_4_gmp): Likewise.
32756         (umul_ppppmnnn): Likewise.
32757         (_FP_DIV_MEAT_4_udiv): Likewise.
32758         (__FP_FRAC_ADD_4): Likewise.
32759         (__FP_FRAC_SUB_3): Likewise.
32760         (__FP_FRAC_SUB_4): Likewise.
32761         (__FP_FRAC_DEC_3): Likewise.
32762         (__FP_FRAC_DEC_4): Likewise.
32763         (__FP_FRAC_ADDI_4): Likewise.
32764         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32765         (_FP_FRAC_SRL_8): Likewise.
32766         (_FP_FRAC_SRS_8): Likewise.
32768         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32769         include macro name.
32770         (FP_UNPACK_RAW_EP): Likewise.
32771         (FP_PACK_RAW_E): Likewise.
32772         (FP_PACK_RAW_EP): Likewise.
32773         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32774         (_FP_ISSIGNAN): Likewise.
32775         (_FP_ADD_INTERNAL): Likewise.
32776         (_FP_FMA): Likewise.
32777         (_FP_CMP): Likewise.
32778         (_FP_SQRT): Likewise.
32779         (_FP_TO_INT): Likewise.
32780         (_FP_FROM_INT): Likewise.
32781         (FP_EXTEND): Likewise.
32782         (_FP_DIV_MEAT_N_loop): Likewise.
32784 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32786         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32787         throughout.
32789 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32791         [BZ #17097]
32792         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32793         result with correct sign in case of exponents that produce
32794         overflow except for X very close to 1.
32796 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32798         mktime: merge #if/#ifdef usage from glibc
32799         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32800         as that works with both Glibc's and Gnulib's style.
32801         See thread starting at Siddhesh Poyarekar's bug report at:
32802         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32804 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32806         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32807         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32808         * sysdeps/tile/tilegx/memmove.c: Remove file.
32810 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32812         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32813         abi-name definition.
32814         * scripts/soversions.awk: Do not handle or generate ABI lines.
32815         * shlib-versions: Remove ABI entries.
32816         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32817         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32819 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32822         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32823         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32824         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32826         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32828         Moved ...
32829         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32830         ... here.
32831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32832         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32840         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32842         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32844         Moved ...
32845         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32849         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32851         Moved ...
32852         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32854         Moved ...
32855         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32857         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32859         Moved ...
32860         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32862         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32864         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32866         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32868         Moved ...
32869         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32871         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32872         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32873         Moved ...
32874         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32876         Moved ...
32877         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32879         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32881         Moved ...
32882         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32883         ... here.
32884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32885         Identical file removed.
32886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32887         Moved ...
32888         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32890         Identical file removed.
32891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32892         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32894         Moved ...
32895         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32897         Identical file removed.
32898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32899         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32901         Identical file removed.
32902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32905         Identical file removed.
32906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32909         Identical file removed.
32910         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32911         Moved ...
32912         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32914         Identical file removed.
32915         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32916         Moved ...
32917         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32921         Identical file removed.
32922         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32923         Moved ...
32924         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32925         ... here.
32926         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32927         Identical file removed.
32928         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32929         Moved ...
32930         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32932         Identical file removed.
32933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32934         Moved ...
32935         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32937         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32939         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32940         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32941         Moved ...
32942         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32943         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32944         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32946         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32947         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32948         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32949         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32950         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32952 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32954         [BZ #17092]
32955         * nscd/nscd.c (monitor_child): Return exit status of child
32956         instead of return value from wait syscall.
32958 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32960         * configure.ac (libc_commonpagesize): Remove variable.
32961         (libc_relro_required): Likewise.
32962         (libc_cv_z_relro): Remove configure test.
32963         * configure: Regenerated.
32964         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32965         variable.
32966         (libc_relro_required): Likewise.
32967         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32968         (libc_relro_required): Likewise.
32969         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32970         (libc_relro_required): Likewise.
32971         * sysdeps/arm/preconfigure: Regenerated.
32972         * sysdeps/ia64/preconfigure: Remove file.
32973         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32974         variable.
32975         (libc_relro_required): Likewise.
32977         [BZ #16561]
32978         [BZ #16562]
32979         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32980         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32981         recompute overflowing results in original rounding mode.
32982         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32983         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32984         recompute overflowing results in original rounding mode.
32985         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32986         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32987         recompute overflowing results in original rounding mode.
32988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32989         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32990         recompute overflowing results in original rounding mode.
32991         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32992         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32993         recompute overflowing results in original rounding mode.
32994         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32995         (libc_feholdsetround_ctx): New macro.
32996         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32997         * sysdeps/i386/fpu/libm-test-ulps: Update.
32998         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33000 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33002         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33003         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33004         corresponding .cpsetup call.
33006 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33008         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33009         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33010         * sysdeps/arm/Makefile [$(subdir) = csu]
33011         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33012         (static-only-routines): Add aeabi_read_tp here.
33013         (shared-only-routines): Add libc-aeabi_read_tp here.
33014         (CFLAGS-libc-start.c): Add -fexceptions here.
33015         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33016         (sysdep_routines, static-only-routines, shared-only-routines):
33017         Don't add to these here.
33018         (CFLAGS-libc-start.c): Likewise.
33020         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33021         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33022         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33023         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33024         * sysdeps/arm/Makefile [$(subdir) = rt]
33025         (librt-sysdep_routines, librt-shared-only-routines):
33026         Append rt-aeabi_unwind_cpp_pr1 here.
33027         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33028         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33029         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33030         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33031         Append nptl-aeabi_unwind_cpp_pr1 here.
33032         (tests): Filter out tst-cleanupx4 here.
33033         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33034         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33035         Don't do those here.
33037 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33039         * scripts/list-sources.sh: Do not handle ports specially.
33041 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33043         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33044         * sysdeps/arm/feupdateenv.c: Likewise.
33046         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33048 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33050         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33051         trailing whitespace removed.
33052         * scripts/config.guess: Update to version 2014-03-23.
33053         * scripts/config.sub: Update to version 2014-05-01
33054         * scripts/install-sh: Update to version 2013-12-25.23.
33055         * scripts/move-if-change: Update from gnulib.
33057 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33059         * debug/memmove_chk.c: Remove pagecopy.h include.
33061 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33063         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33064         identical to gnulib mktime.
33066 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33068         * configure.ac: Do not test for machine being rs6000.  Do not test
33069         for powerpc*-*soft.
33070         * configure: Regenerated.
33072         [BZ #11505]
33073         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33074         test.
33075         * configure: Regenerated.
33076         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33077         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33078         Remove configure test.
33079         * sysdeps/arm/configure: Regenerated.
33080         * sysdeps/nptl/configure.ac: Do not check
33081         libc_cv_asm_cfi_directives.
33082         * sysdeps/nptl/configure: Regenerated.
33083         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33084         * sysdeps/x86_64/nptl/configure: Remove generated file.
33085         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33086         unconditional.
33087         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33089 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33092         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33093         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33094         it is defined.
33096         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33097         instead of whether it is defined.
33098         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33099         * sysdeps/hppa/dl-machine.h: Likewise.
33100         * sysdeps/ia64/dl-machine.h: Likewise.
33101         * sysdeps/m68k/dl-machine.h: Likewise.
33102         * sysdeps/microblaze/dl-machine.h: Likewise.
33103         * sysdeps/mips/dl-machine.: Likewise.
33104         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33105         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33106         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33107         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33108         * sysdeps/sh/dl-machine.h: Likewise.
33109         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33110         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33111         * sysdeps/tile/dl-machine.h: Likewise.
33112         * sysdeps/x86_64/dl-machine.h: Likewise.
33114         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33115         code.
33116         (verify_persistent_db): Likewise.
33118 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33121         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33123         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33125         Moved ...
33126         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33127         ... here.
33128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33129         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33131         Identical file removed.
33132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33133         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33135         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33137         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33139         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33141         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33143         Moved ...
33144         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33146         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33148         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33150         Moved ...
33151         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33153         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33155         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33157         Identical file removed.
33158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33159         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33161         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33163         Moved ...
33164         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33165         ... here.
33166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33167         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33169         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33171         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33175         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33177         Moved ...
33178         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33180         Moved ...
33181         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33183         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33185         Moved ...
33186         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33188         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33190         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33191         folded into ...
33192         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33193         * sysdeps/unix/sysv/linux/s390/Versions
33194         (libpthread: GLIBC_2.19): New version set.
33195         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33196         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33197         (librt: GLIBC_2.3.3): New version set.
33198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33199         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33200         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33201         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33202         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33203         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33204         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33205         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33206         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33207         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33208         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33209         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33210         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33211         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33212         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33213         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33214         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33216         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33218         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33219         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33220         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33221         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33222         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33223         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33224         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33225         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33226         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33227         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33228         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33229         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33232         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33234         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33236         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33238         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33240         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33242         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33244         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33245         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33246         (__libc_vfork): Define the function under this name.
33247         [!NOT_IN_libc] (__vfork): Make this an alias.
33248         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33250         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33251         (__libc_vfork): Define the function under this name.
33252         [!NOT_IN_libc] (__vfork): Make this an alias.
33253         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33254         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33255         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33257         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33258         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33260         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33261         code that was previously under [RESET_PID].
33262         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33263         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33266         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33267         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33268         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33269         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33270         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33271         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33272         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33273         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33274         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33275         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33276         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33277         Moved ...
33278         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33279         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33280         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33281         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33282         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33283         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33284         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33285         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33286         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33287         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33288         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33289         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33290         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33291         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33292         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33293         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33294         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33295         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33296         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33297         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33298         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33299         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33300         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33301         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33302         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33303         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33304         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33305         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33306         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33308 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33310         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33311         that was previously under [RESET_PID].
33312         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33314 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33316         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33317         not undefine and redefine.
33318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33319         [O_CLOEXEC]: Make code unconditional.
33320         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33321         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33322         <kernel-features.h>.
33323         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33324         conditional variable definition.
33325         (shm_open) [O_CLOEXEC]: Make code unconditional.
33326         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33327         code.
33329         * configure.ac (USE_REGPARMS): Don't define here.
33330         * configure: Regenerated.
33331         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33332         * sysdeps/i386/configure: Regenerated.
33334         * nptl/createthread.c: Don't include kernel-features.h.
33335         * nptl/pthread_cancel.c: Likewise.
33336         * nptl/pthread_condattr_setclock.c: Likewise.
33337         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33338         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33339         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33340         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33341         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33342         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33343         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33346         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33347         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33348         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33349         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33350         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33351         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33352         * nscd/gai.c: Likewise.
33353         * nss/nss_db/db-open.c: Likewise.
33354         * sysdeps/generic/ldsodefs.h: Likewise.
33355         * sysdeps/sh/nptl/tls.h: Likewise.
33356         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33357         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33358         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33359         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33360         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33361         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33362         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33363         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33364         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33365         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33366         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33367         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33368         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33369         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33370         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33371         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33372         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33373         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33374         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33375         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33376         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33377         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33378         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33379         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33380         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33381         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33382         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33383         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33384         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33385         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33386         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33387         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33388         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33389         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33390         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33391         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33392         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33393         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33394         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33395         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33396         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33397         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33398         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33399         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33400         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33401         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33402         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33403         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33404         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33405         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33406         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33407         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33408         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33409         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33410         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33411         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33412         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33413         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33436         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33437         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33438         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33439         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33440         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33441         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33442         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33443         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33444         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33445         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33446         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33447         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33448         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33449         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33450         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33451         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33452         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33453         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33454         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33455         * sysdeps/unix/sysv/linux/system.c: Likewise.
33456         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33457         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33458         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33459         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33460         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33461         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33462         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33464         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33465         * configure: Regenerated.
33466         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33468         * configure.ac (base_machine): Do not set specially for particular
33469         machines here.
33470         * configure: Regenerated.
33471         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33472         settings from configure.ac.
33473         * sysdeps/i386/preconfigure: New file.
33474         * sysdeps/s390/preconfigure: Likewise.
33475         * sysdeps/sh/preconfigure: Likewise.
33476         * sysdeps/sparc/preconfigure: Likewise.
33478 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33480         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33481         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33482         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33483         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33484         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33485         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33486         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33487         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33488         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33489         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33490         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33491         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33492         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33493         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33494         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33495         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33497         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33498         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33500         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33501         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33502         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33503         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33504         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33505         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33506         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33507         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33508         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33509         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33510         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33511         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33512         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33513         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33514         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33515         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33516         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33517         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33518         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33519         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33520         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33521         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33522         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33523         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33524         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33525         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33526         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33527         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33528         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33529         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33530         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33531         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33532         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33533         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33534         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33535         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33536         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33537         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33540         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33542         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33544         Moved ...
33545         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33546         ... here.
33547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33548         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33550         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33552         Moved ...
33553         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33555         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33557         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33559         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33561         Moved ...
33562         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33564         Moved ...
33565         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33567         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33569         Moved ...
33570         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33572         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33574         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33576         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33578         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33580         Moved ...
33581         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33582         ... here.
33583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33584         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33586         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33588         Moved ...
33589         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33591         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33593         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33595         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33597         Moved ...
33598         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33600         Moved ...
33601         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33603         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33605         Moved ...
33606         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33608         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33610         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33612 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33614         * timezone/checktab.awk: Update from tzcode 2014e.
33615         * timezone/private.h: Likewise.
33616         * timezone/tzfile.h: Likewise.
33617         * timezone/zdump.c: Likewise.
33618         * timezone/zic.c: Likewise.
33620         * sysdeps/unix/sysv/linux/kernel-features.h
33621         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33622         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33623         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33624         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33625         Remove conditional code.
33627 2014-06-25  Will Newton  <will.newton@linaro.org>
33629         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33630         (_dl_arm_cap_flags): Add HWCAP2 values.
33631         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33632         (_DL_HWCAP_COUNT): Increase to 37.
33633         (_DL_HWCAP_LAST): New define.
33634         (_DL_HWCAP2_LAST): New define.
33635         (_dl_procinfo): Add support for printing
33636         AT_HWCAP2 entries.
33637         (_dl_string_hwcap): Use _dl_hwcap_string.
33639 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33643 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33645         * README: Do not mention ports directory.
33647         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33648         Remove macro.
33649         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33650         <kernel-features.h>.
33651         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33652         conditional variable definition.
33653         (__futimes): Update comment.
33654         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33655         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33657         [BZ #16560]
33658         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33659         arguments close to 0.
33660         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33661         Likewise.
33662         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33663         Likewise.
33664         * math/auto-libm-test-in: Add more tests of exp10.
33665         * math/auto-libm-test-out: Regenerated.
33666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33668         * sysdeps/unix/sysv/linux/kernel-features.h
33669         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33670         * sysdeps/unix/sysv/linux/readv.c: Do not include
33671         <kernel-features.h>.
33672         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33673         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33674         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33675         unconditional.
33676         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33677         conditional code.
33678         * sysdeps/unix/sysv/linux/writev.c: Do not include
33679         <kernel-features.h>.
33680         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33681         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33682         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33683         unconditional.
33684         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33685         conditional code.
33687 2014-06-25  Will Newton  <will.newton@linaro.org>
33689         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33690         comment changes throughout the file.  Remove checks
33691         for HAVE_*_H definitions that are not required.
33692         (__gen_tempname): Call abort if an unknown kind value is
33693         passed.
33695 2014-06-25  Andreas Schwab  <schwab@suse.de>
33697         [BZ #17086]
33698         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33699         scalbln, scalblnf, scalblnl in libc.
33701 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33703         [BZ #17086]
33704         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33705         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33706         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33708 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33710         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33711         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33712         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33713         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33714         Update #include.
33715         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33716         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33717         Update #include.
33718         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33719         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33720         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33721         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33722         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33723         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33724         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33725         * sysdeps/x86/bits/semaphore.h: ... here.
33726         * sysdeps/x86/nptl/elide.h: Moved ...
33727         * sysdeps/x86/elide.h: ... here.
33728         * sysdeps/x86_64/nptl/Implies: File removed.
33729         * sysdeps/i386/nptl/Implies: File removed.
33731 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33733         [BZ #16539]
33734         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33735         return the argument for normal arguments with exponent below -64.
33736         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33737         Likewise.
33738         * math/auto-libm-test-in: Add another test of expm1.
33739         * math/auto-libm-test-out: Regenerated.
33741         [BZ #16287]
33742         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33743         calling __erfcl for arguments at least 16.
33744         * math/auto-libm-test-in: Add more tests of erf.
33745         * math/auto-libm-test-out: Regenerated.
33747         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33748         individual architectures.
33749         * sysdeps/unix/sysv/linux/configure: Regenerated.
33750         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33751         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33752         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33753         (ldd_rewrite_script): Define variable.
33754         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33756         file.
33757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33758         generated file.
33759         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33760         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33761         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33762         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33763         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33764         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33765         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33766         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33768 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33770         [BZ #17084]
33771         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33772         Rename member __data.d to __data.__elision_data.
33774 2014-06-24  Wilco  <wdijkstr@arm.com>
33776         * NEWS: Add 16918 to fixed bug list.
33778 2014-06-24  Wilco  <wdijkstr@arm.com>
33780         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33782 2014-06-24  Wilco  <wdijkstr@arm.com>
33784         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33785         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33786         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33787         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33788         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33789         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33790         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33791         Use _FPU_MASK_RM.
33793 2014-06-24  Wilco  <wdijkstr@arm.com>
33795         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33797 2014-06-24  Wilco  <wdijkstr@arm.com>
33799         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33800         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33801         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33802         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33804 2014-06-24  Wilco  <wdijkstr@arm.com>
33806         [BZ #16918]
33807         * sysdeps/arm/feupdateenv.c (feupdateenv):
33808         Rewrite to reduce FPSCR accesses and fix return value.
33810 2014-06-24  Wilco  <wdijkstr@arm.com>
33812         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33813         Optimize to avoid unnecessary FPSCR writes.
33814         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33815         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33816         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33817         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33819 2014-06-24  Wilco  <wdijkstr@arm.com>
33821         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33822         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33823         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33824         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33825         Call libc_fetestexcept_vfp.
33826         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33827         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33828         __SOFTFP__ ifdef so that they can be built for softfp.
33830 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33832         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33833         argument type signed char.
33835         * Makerules (check-abi): Dump diff of symlist if the test
33836         fails.
33838 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33840         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33841         using abort.
33843         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33844         Remove unused variable ST.
33846 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33848         [BZ #16354]
33849         [BZ #17061]
33850         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33851         small arguments before calling __expm1.
33852         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33853         small arguments before calling __expm1f.
33854         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33855         small arguments before calling __expm1l.
33856         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33857         Likewise.
33858         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33859         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33860         spurious underflow for some cosh tests.
33861         * math/auto-libm-test-out: Regenerated.
33862         * sysdeps/i386/fpu/libm-test-ulps: Update.
33864         [BZ #17050]
33865         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33866         (__ieee754_y1): Set errno if return value overflows.
33867         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33868         (__ieee754_y1f): Set errno if return value overflows.
33869         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33870         (__ieee754_y1l): Set errno if return value overflows.
33871         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33872         (__ieee754_y1l): Set errno if return value overflows.
33873         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33874         * math/auto-libm-test-out: Regenerated.
33876         * math/gen-auto-libm-tests.c: Document use of
33877         ignore-zero-inf-sign.
33878         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33879         (input_flags): Add ignore-zero-inf-sign.
33880         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33881         * math/gen-libm-test.pl (generate_testfile): Handle
33882         ignore-zero-inf-sign.
33883         * math/auto-libm-test-in: Mark some cpow tests with
33884         ignore-zero-inf-sign and some with xfail-rounding.
33885         * math/auto-libm-test-out: Regenerated.
33886         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33887         * sysdeps/i386/fpu/libm-test-ulps: Update.
33888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33890         [BZ #16315]
33891         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33892         overflowing or underflowing operations take place with sign of
33893         result.
33894         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33895         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33896         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33897         (__ieee754_pow): Recompute overflowing and underflowing results in
33898         original rounding mode.
33899         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33900         (__powl_helper): Allow negative argument X and scale negated value
33901         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33902         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33903         overflowing or underflowing operations take place with sign of
33904         result.
33905         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33906         Include <math.h>.
33907         * math/auto-libm-test-in: Add more tests of pow.
33908         * math/auto-libm-test-out: Regenerated.
33909         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33910         (pow_tonearest_test_data): Remove.
33911         (pow_test_tonearest): Likewise.
33912         (pow_towardzero_test_data): Likewise.
33913         (pow_test_towardzero): Likewise.
33914         (pow_downward_test_data): Likewise.
33915         (pow_test_downward): Likewise.
33916         (pow_upward_test_data): Likewise.
33917         (pow_test_upward): Likewise.
33918         (main): Don't call removed functions.
33919         * sysdeps/i386/fpu/libm-test-ulps: Update.
33920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33922 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33928         Moved ...
33929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33931         Moved ...
33932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33934         Moved ...
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33937         File removed.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33939         File removed.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33941         File removed.
33942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33943         File removed.
33944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33945         File removed.
33946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33947         File removed.
33948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33949         File removed.
33950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33951         File removed.
33952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33953         File removed.
33954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33955         File removed.
33956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33957         File removed.
33958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33959         File removed.
33960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33961         Moved ...
33962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33964         Moved ...
33965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33966         ... here.
33967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33968         Moved ...
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33971         Moved ...
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33974         Moved ...
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33977         Moved ...
33978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33980         Moved ...
33981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33983         Moved ...
33984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33986         Moved ...
33987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33990         ... here.
33991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33992         Moved ...
33993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33995         Moved ...
33996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33997         ... here.
33998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33999         Moved ...
34000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34001         ... here.
34002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34003         Moved ...
34004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34005         ... here.
34006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34007         Moved ...
34008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34010         Moved ...
34011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34015         Moved ...
34016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34017         ... here.
34018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34019         Moved ...
34020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34021         ... here.
34022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34023         Moved ...
34024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34026         Moved ...
34027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34029         Moved ...
34030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34032         Moved ...
34033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34035         Moved ...
34036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34037         ... here.
34038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34039         Moved ...
34040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34042         Moved ...
34043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34045         Moved ...
34046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34048         Moved ...
34049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34053         Moved ...
34054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34056         Moved ...
34057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34059         Moved ...
34060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34061         ... here.
34062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34063         Moved ...
34064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34065         ... here.
34066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34067         Moved ...
34068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34069         ... here.
34070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34071         Moved ...
34072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34074         Moved ...
34075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34077         Moved ...
34078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34080         Moved ...
34081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34082         ... here.
34083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34084         Moved ...
34085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34086         ... here.
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34088         Moved ...
34089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34090         ... here.
34091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34092         Moved ...
34093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34095         Moved ...
34096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34098 2014-06-23  Will Newton  <will.newton@linaro.org>
34099             Wilco  <wdijkstr@arm.com>
34101         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34102         implementation.  Include get-rounding-mode.h.
34103         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34104         [!libc_feholdsetround_noex_ctx]: Define
34105         libc_feholdsetround_noex_ctx.
34106         [!libc_feholdsetround_noexf_ctx]: Define
34107         libc_feholdsetround_noexf_ctx.
34108         [!libc_feholdsetround_noexl_ctx]: Define
34109         libc_feholdsetround_noexl_ctx.
34110         (libc_feholdsetround_ctx): New function.
34111         (libc_feresetround_ctx): New function.
34112         (libc_feholdsetround_noex_ctx): New function.
34113         (libc_feresetround_noex_ctx): New function.
34115 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34117         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34118         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34119         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34120         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34121         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34122         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34124         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34125         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34126         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34127         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34128         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34129         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34131         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34133         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34135         Moved ...
34136         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34137         ... here.
34138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34139         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34140         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34141         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34143         Moved ...
34144         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34145         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34146         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34147         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34148         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34150         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34151         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34152         Moved ...
34153         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34155         Moved ...
34156         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34158         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34160         Moved ...
34161         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34163         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34164         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34165         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34166         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34167         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34169         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34171         Moved ...
34172         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34173         ... here.
34174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34175         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34177         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34179         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34181         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34183         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34185         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34187         Moved ...
34188         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34189         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34190         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34191         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34192         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34193         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34194         Moved ...
34195         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34197         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34198         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34199         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34201         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34202         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34203         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34204         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34205         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34206         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34207         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34208         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34210         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34211         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34212         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34213         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34214         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34215         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34216         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34217         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34218         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34219         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34220         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34221         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34222         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34223         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34224         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34225         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34226         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34227         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34228         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34230 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34233         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34234         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34235         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34236         (IPV6_PMTUDISC_INTERFACE): Likewise.
34237         (IPV6_PMTUDISC_OMIT): Likewise.
34239 2014-06-23  Andreas Schwab  <schwab@suse.de>
34241         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34242         Remove unused errout label.
34244 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34246         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34247         macro: hardware supports Vector Crypto instructions.
34249 2014-06-23  Will Newton  <will.newton@linaro.org>
34251         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34252         rather than __builtin_expect.
34254         * elf/dl-lookup.c (undefined_msg): Remove variable.
34255         (_dl_lookup_symbol_x): Replace undefined_msg with string
34256         literal.
34258         * elf/dl-lookup.c (do_lookup_unique): New function.
34259         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34260         to a separate function.
34262 2014-06-23  Andreas Schwab  <schwab@suse.de>
34264         [BZ #17079]
34265         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34266         before reading the next line.
34268 2014-06-23  Will Newton  <will.newton@linaro.org>
34270         * test-skeleton.c (signal_handler): Use printf and %m
34271         rather than perror.  Use printf rather than fprintf to
34272         stderr.  Use puts rather than fputs to stderr.
34273         (main): Likewise.
34275 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34277         * nscd/nscd.c (thread_info_t): Remove typedef.
34278         (thread_info): Remove variable.
34280 2014-06-21  Allan McRae  <allan@archlinux.org>
34282         * NEWS: Mention CVE-2014-4043.
34284 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34286         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34287         * nptl/smp.h: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34291         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34292         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34293         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34294         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34296         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34297         * nptl/stack-aliasing.h: New file.
34298         * sysdeps/i386/i686/stack-aliasing.h: New file.
34299         * sysdeps/i386/i686/nptl/Makefile: File removed.
34300         * sysdeps/x86_64/stack-aliasing.h: New file.
34301         * sysdeps/x86_64/nptl/Makefile
34302         (CFLAGS-pthread_create.c): Variable removed.
34304         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34305         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34306         old file.
34307         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34308         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34309         old file.
34311 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34313         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34314         (__ASSUME_SIGFRAME_V2): Remove macro.
34315         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34316         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34317         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34318         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34319         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34320         Declare as function.  Remove conditional macro definitions.
34321         (__default_rt_sa_restorer): Likewise.
34322         (__default_sa_restorer_v1): Remove declaration.
34323         (__default_sa_restorer_v2): Likewise.
34324         (__default_rt_sa_restorer_v1): Likewise.
34325         (__default_rt_sa_restorer_v2): Likewise.
34326         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34327         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34328         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34330 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34332         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34333         (libpthread-routines): Add sysdep.
34334         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34335         * sysdeps/unix/sysv/linux/sparc/Versions
34336         (libpthread: GLIBC_2.3.3): New version set.
34337         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34338         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34339         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34340         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34341         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34342         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34343         Moved ...
34344         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34345         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34346         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34347         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34348         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34349         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34350         * sysdeps/sparc/nptl/sem_init.c: ... here.
34351         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34352         * sysdeps/sparc/nptl/sem_post.c: ... here.
34353         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34354         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34355         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34356         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34357         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34358         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34359         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34360         (libpthread-routines): Add cpu_relax.
34361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34362         File removed.
34363         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34364         (librt: GLIBC_2.3.3): New version set.
34365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34366         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34367         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34368         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34371         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34373         Moved ...
34374         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34376         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34378         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34380         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34382         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34384         Moved ...
34385         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34386         Update #include.
34387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34388         Moved ...
34389         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34390         Update #include.
34391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34392         Moved ...
34393         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34394         Update #include.
34395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34396         Moved ...
34397         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34398         Update #include.
34399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34400         Moved ...
34401         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34402         Update #include.
34403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34404         Moved ...
34405         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34406         Update #include.
34407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34408         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34410         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34414         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34416         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34418         Moved ...
34419         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34421         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34423         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34425 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34427         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34428         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34429         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34430         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34431         * nscd/nscd.c: Likewise.
34432         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34433         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34434         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34435         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34437         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34438         <kernel-features.h>.
34439         (init_mq_netlink): Remove conditional have_sock_cloexec
34440         definitions.  Remove code conditional on have_sock_cloexec < 0.
34441         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34442         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34443         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34444         <kernel-features.h>.
34445         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34446         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34448 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34451         Add tests for memset_chk and memset.
34453         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34454         with AVX2_Usable.
34456 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34458         [BZ #16046]
34459         * elf/tst-dl-iter-static.c: New file.
34460         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34462         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34463         error.
34465 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34467         * sysdeps/unix/sysv/linux/kernel-features.h
34468         (__ASSUME_F_GETOWN_EX): Remove macro.
34469         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34470         <kernel-features.h>.
34471         (miss_F_GETOWN_EX): Remove variable or macro.
34472         (do_fcntl): Do not check miss_F_GETOWN_EX.
34473         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34475         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34476         Remove macro.
34477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34478         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34479         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34481         * sysdeps/unix/sysv/linux/kernel-features.h
34482         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34483         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34484         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34485         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34487 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34489         [BZ #17075]
34490         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34491         Fix calculation of the symbol's value.
34492         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34493         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34494         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34495         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34496         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34497         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34498         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34499         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34500         (modules-names): Add `tst-armtlsdescmod',
34501         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34502         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34503         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34504         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34505         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34506         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34507         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34508         ($(objpfx)tst-armtlsdescloc): New dependency.
34509         ($(objpfx)tst-armtlsdescextnow): Likewise.
34510         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34511         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34512         TLS scheme support.
34513         * sysdeps/arm/configure: Regenerate.
34515 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34517         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34518         (__atfct_seterrno_2): Likewise.
34519         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34520         <kernel-features.h>.
34521         (__ASSUME_ATFCTS): Do not undefine and redefine.
34522         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34523         (__have_atfcts): Remove conditional definition.
34524         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34525         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34526         unreachable if [__ASSUME_ATFCTS].
34527         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34528         not undefine and redefine.
34529         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34530         <kernel-features.h>.
34531         (faccessat) [__NR_faccessat]: Make code unconditional.
34532         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34533         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34534         <kernel-features.h>.
34535         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34536         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34537         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34538         <kernel-features.h>.
34539         (fchownat) [__NR_fchownat]: Make code unconditional.
34540         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34541         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34542         <kernel-features.h>.
34543         (futimesat) [__NR_futimesat]: Make code unconditional.
34544         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34545         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34546         <kernel-features.h>.
34547         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34548         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34549         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34550         <kernel-features.h>.
34551         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34552         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34553         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34554         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34555         <kernel-features.h>.
34556         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34557         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34558         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34559         <kernel-features.h>.
34560         (linkat) [__NR_linkat]: Make code unconditional.
34561         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34562         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34563         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34564         <kernel-features.h>.
34565         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34566         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34567         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34568         <kernel-features.h>.
34569         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34570         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34571         * sysdeps/unix/sysv/linux/openat.c: Do not include
34572         <kernel-features.h>.
34573         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34574         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34575         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34576         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34577         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34578         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34579         <kernel-features.h>.
34580         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34581         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34582         result of INLINE_SYSCALL directly, not via int variable.
34583         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34584         <kernel-features.h>.
34585         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34586         (renameat) [__NR_renameat]: Make code unconditional.
34587         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34588         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34589         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34590         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34591         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34592         (__ASSUME_ATFCTS): Do not undefine and redefine.
34593         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34594         <kernel-features.h>.
34595         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34596         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34597         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34598         <kernel-features.h>.
34599         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34600         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34601         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34602         (__ASSUME_ATFCTS): Do not undefine and redefine.
34603         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34604         <kernel-features.h>.
34605         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34606         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34607         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34608         <kernel-features.h>.
34609         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34610         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34612 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34614         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34616 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34618         [BZ #17069]
34619         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34620         constructed tree before returning error.
34621         * posix/bug-regexp36.c: Expand test case.
34623 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34625         [BZ #6803]
34626         * math/libm-test.inc (scalbln_test_date):
34627         Add errno expectations.
34628         * math/w_scalblnf.c: New File.
34629         Add wrapper which checks for setting errno to ERANGE.
34630         Add weak_alias for corresponding scalbln function.
34631         * math/w_scalbln.c: Likewise.
34632         * math/w_scalblnl.c: Likewise.
34633         * math/Makefile (libm-calls): Add w_scalbln.
34634         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34635         Remove weak_alias for corresponding scalbln function.
34636         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34637         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34638         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34639         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34640         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34641         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34642         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34643         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34644         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34645         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34646         Remove long_double_symbol for scalblnl function in libm, libc.
34647         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34648         Add wrapper which checks for setting errno to ERANGE.
34649         Add long_double_symbol for scalblnl function in libm, libc.
34650         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34651         Remove long_double_symbol for scalblnl in libm.
34652         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34653         Add wrapper which checks for setting errno to ERANGE.
34654         Add long_double_symbol for scalblnl function in libm.
34655         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34656         Do not use wrapper because of own implementation.
34658 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34660         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34661         3 bytes for __pad1 for x32.
34662         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34664 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34665             H.J. Lu  <hongjiu.lu@intel.com>
34667         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34668         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34669         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34670         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34671         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34673 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34675         [BZ #17069]
34676         * posix/regcomp.c (parse_expression): Deallocate partially
34677         constructed tree before returning error.
34678         * posix/Makefile.c (tests): Add bug-regex36.
34679         (generated): Add bug-regex36.mtrace.
34680         (tests-special): Add $(objpfx)bug-regex36-mem.out
34681         (bug-regex36-ENV): New variable.
34682         ($(objpfx)bug-regex36-mem.out): New rule.
34683         * posix/bug-regex36.c: New file.
34685 2014-06-19  Will Newton  <will.newton@linaro.org>
34687         * malloc/malloc.c (systrim): If extra is zero then return
34688         early.
34690 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34692         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34694 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34696         * sysdeps/aarch64/strchr.S: New file.
34698 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34700         [BZ #17022]
34701         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34702         from arguments -2 or below.
34703         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34704         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34706 2014-06-18  Andreas Schwab  <schwab@suse.de>
34708         [BZ #17062]
34709         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34710         of a bracket expr not to run off the end of the string.
34711         * posix/Makefile (tests): Add tst-fnmatch3.
34712         * posix/tst-fnmatch3.c: New file.
34714 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34716         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34717         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34718         [$(cross-compiling) = no]: Likewise.
34719         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34720         [$(cross-compiling) = no]: Likewise.
34722 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34724         [BZ #17031]
34725         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34726         double, adjusted for any remainder from the high double.
34727         * math/libm-test.inc (nearbyint): Add tests.
34728         (rint): Likewise.
34730 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34732         * nptl/sysdeps/powerpc/Makefile: Moved ...
34733         * sysdeps/powerpc/nptl/Makefile: ... here.
34734         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34735         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34736         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34737         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34738         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34739         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34740         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34741         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34742         * nptl/sysdeps/powerpc/tls.h: Moved ...
34743         * sysdeps/powerpc/nptl/tls.h: ... here.
34745 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34747         [BZ #16681]
34748         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34749         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34750         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34751         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34752         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34753         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34754         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34755         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34756         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34758 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34760         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34762 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34764         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34765         defined operator.
34767         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34768         $TIMEOUTFACTOR.
34770 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34772         [BZ #17058]
34773         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34774         non-executed part of the test.
34776 2014-06-16  Andreas Schwab  <schwab@suse.de>
34778         * string/bits/string2.h (strdup, strndup): Update feature guard.
34780 2014-06-14  David S. Miller  <davem@davemloft.net>
34782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34784 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34786         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34787         that was previously under [RESET_PID].
34788         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34790         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34791         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34792         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34793         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34794         (__libc_vfork): New strong alias.
34795         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34797 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34799         * sysdeps/generic/elide.h: New file.
34801 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34803         * Makefile (installed-headers): Adjust path of pthread.h header.
34805 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34807         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34808         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34809         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34810         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34812         * nptl/sysdeps/s390/Makefile: Moved ...
34813         * sysdeps/s390/nptl/Makefile: ... here.
34814         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34815         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34816         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34817         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34818         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34819         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34820         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34821         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34822         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34823         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34824         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34825         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34826         * nptl/sysdeps/s390/tls.h: Moved ...
34827         * sysdeps/s390/nptl/tls.h: ... here.
34829         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34830         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34832 2014-06-13  David S. Miller  <davem@davemloft.net>
34834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34837         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34841         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34842         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34843         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34844         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34845         Remove RESET_PID cpp guards.
34846         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34847         Remove RESET_PID cpp guards.
34848         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34850 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34852         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34853         __sp to uintptr_t.
34855 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34857         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34858         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34859         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34860         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34861         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34862         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34863         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34864         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34865         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34866         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34868         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34869         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34870         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34871         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34873         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34874         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34875         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34876         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34878         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34879         (pthread_rwlock_rdlock): Add elision.
34880         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34881         (pthread_rwlock_wrlock): Add elision.
34882         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34883         (pthread_rwlock_trywrlock): Add elision.
34884         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34885         (pthread_rwlock_tryrdlock): Add elision.
34886         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34887         (pthread_rwlock_tryrdlock): Add elision unlock.
34888         * nptl/sysdeps/pthread/pthread.h:
34889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34890         (PTHREAD_RWLOCK_INITIALIZER,
34891         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34892         Handle new elision field.
34893         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34894         * sysdeps/arm/nptl/bits/pthreadtypes.h
34895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34896         * sysdeps/sh/nptl/bits/pthreadtypes.h
34897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34898         * sysdeps/tile/nptl/bits/pthreadtypes.h
34899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34900         * sysdeps/a/nptl/bits/pthreadtypes.h
34901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34906         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34908         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34910         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34912         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34914         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34916         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34918         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34919         (elision_init): Set try_xbegin to zero when no RTM.
34920         * sysdeps/x86/nptl/bits/pthreadtypes.h
34921         (pthread_rwlock_t): Change __pad1 to __rwelision.
34922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34924 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34926         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34927         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34928         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34929         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34931 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34933         [BZ #16996]
34934         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34935         that the cached result has been set before returning it.
34937 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34939         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34940         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34941         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34942         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34943         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34944         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34946         * nptl/sysdeps/sparc/Makefile: Moved ...
34947         * sysdeps/sparc/nptl/Makefile: ... here.
34948         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34949         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34950         * nptl/sysdeps/sparc/tls.h: Moved ...
34951         * sysdeps/sparc/nptl/tls.h: ... here.
34952         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34953         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34954         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34955         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34956         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34957         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34958         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34959         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34960         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34961         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34962         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34963         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34964         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34965         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34966         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34967         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34968         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34969         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34970         Update #include.
34971         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34972         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34973         Update #include.
34974         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34975         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34976         Update #include.
34977         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34978         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34979         Update #include.
34981         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34983         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34984         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34986         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34987         (struct list_links): Type removed.
34988         (struct thread_node, struct timer_node): Replace struct list_links
34989         with struct list_head.
34990         (list_unlink_ip): Likewise.
34991         * sysdeps/pthread/timer_routines.c
34992         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34993         (list_append, list_insbefore): Likewise.
34994         (list_init): Function removed.
34995         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34996         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34997         * sysdeps/pthread/Makefile: ... here, new file.
34999         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35000         * sysdeps/nptl/Implies: ... here.
35001         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35002         * nptl/sysdeps/pthread/list.h: Moved ...
35003         * include/list.h: ... here.
35004         * nptl/sysdeps/pthread/createthread.c: Moved ...
35005         * nptl/createthread.c: ... here.
35006         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35007         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35008         * nptl/pt-longjmp.c: ... here.
35009         * nptl/sysdeps/pthread/Makefile: Moved ...
35010         * sysdeps/nptl/Makefile: ... here.
35011         * nptl/sysdeps/pthread/Subdirs: Moved ...
35012         * sysdeps/nptl/Subdirs: ... here.
35013         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35014         * sysdeps/nptl/aio_misc.h: ... here.
35015         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35016         * sysdeps/nptl/bits/libc-lock.h: ... here.
35017         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35018         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35019         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35020         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35021         * nptl/sysdeps/pthread/configure: Moved ...
35022         * sysdeps/nptl/configure: ... here.
35023         * nptl/sysdeps/pthread/configure.ac: Moved ...
35024         * sysdeps/nptl/configure.ac: ... here.
35025         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35026         * sysdeps/nptl/gai_misc.h: ... here.
35027         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35028         * sysdeps/nptl/librt-cancellation.c: ... here.
35029         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35030         * sysdeps/nptl/malloc-machine.h: ... here.
35031         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35032         * sysdeps/nptl/pthread-functions.h: ... here.
35033         * nptl/sysdeps/pthread/pthread.h: Moved ...
35034         * sysdeps/nptl/pthread.h: ... here.
35035         * nptl/sysdeps/pthread/setxid.h: Moved ...
35036         * sysdeps/nptl/setxid.h: ... here.
35037         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35038         * sysdeps/nptl/sigfillset.c: ... here.
35039         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35040         * sysdeps/nptl/tcb-offsets.h: ... here.
35041         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35042         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35043         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35044         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35045         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35046         * sysdeps/pthread/allocalim.h: ... here.
35047         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35048         * sysdeps/pthread/bits/sigthread.h: ... here.
35049         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35050         * sysdeps/pthread/flockfile.c: ... here.
35051         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35052         * sysdeps/pthread/ftrylockfile.c: ... here.
35053         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35054         * sysdeps/pthread/funlockfile.c: ... here.
35055         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35056         * sysdeps/pthread/posix-timer.h: ... here.
35057         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35058         * sysdeps/pthread/timer_create.c: ... here.
35059         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35060         * sysdeps/pthread/timer_delete.c: ... here.
35061         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35062         * sysdeps/pthread/timer_getoverr.c: ... here.
35063         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35064         * sysdeps/pthread/timer_gettime.c: ... here.
35065         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35066         * sysdeps/pthread/timer_routines.c: ... here.
35067         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35068         * sysdeps/pthread/timer_settime.c: ... here.
35069         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35070         * sysdeps/pthread/tst-timer.c: ... here.
35071         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35072         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35074         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35075         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35077         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35078         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35079         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35080         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35081         Update #include target.
35082         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35083         * sysdeps/i386/i686/nptl/Makefile: ... here.
35084         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35085         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35086         Update #include target.
35087         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35088         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35089         * nptl/sysdeps/i386/Makefile: Moved ...
35090         * sysdeps/i386/nptl/Makefile: ... here.
35091         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35092         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35093         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35094         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35095         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35096         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35097         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35098         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35099         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35100         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35101         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35102         * nptl/sysdeps/i386/tls.h: Moved ...
35103         * sysdeps/i386/nptl/tls.h: ... here.
35105         * sysdeps/sh/Makefile [$(subdir) = csu]
35106         (gen-as-const-headers): Add tcb-offsets.sym.
35107         * nptl/sysdeps/sh/Makefile: File removed.
35108         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35109         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35110         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35111         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35112         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35113         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35114         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35115         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35116         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35117         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35118         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35119         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35120         * nptl/sysdeps/sh/tls.h: Moved ...
35121         * sysdeps/sh/nptl/tls.h: ... here.
35122         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35123         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35124         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35125         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35126         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35127         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35128         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35129         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35130         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35131         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35132         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35133         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35135         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35137         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35138         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35139         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35140         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35141         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35142         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35143         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35145         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35147         Moved ...
35148         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35149         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35150         Moved ...
35151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35155         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35156         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35157         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35158         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35159         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35160         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35161         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35162         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35163         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35164         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35165         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35166         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35167         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35168         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35169         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35171 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35173         * posix/spawn_faction_addopen.c: Include string.h.
35175 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35177         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35178         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35179         * nptl/sysdeps/x86_64/Makefile: Moved ...
35180         * sysdeps/x86_64/nptl/Makefile: ... here.
35181         * nptl/sysdeps/x86_64/configure: Moved ...
35182         * sysdeps/x86_64/nptl/configure: ... here.
35183         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35184         * sysdeps/x86_64/nptl/configure.ac: ... here.
35185         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35186         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35187         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35188         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35189         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35190         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35191         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35192         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35193         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35194         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35195         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35196         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35197         * nptl/sysdeps/x86_64/tls.h: Moved ...
35198         * sysdeps/x86_64/nptl/tls.h: ... here.
35199         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35200         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35201         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35202         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35204         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35206 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35210 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35212         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35213         type.
35214         [POSIX] (off_t): Likewise.
35215         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35216         [POSIX] (S_ISBLK): Require macro.
35217         [POSIX] (S_ISCHR): Likewise.
35218         [POSIX] (S_ISDIR): Likewise.
35219         [POSIX] (S_ISFIFO): Likewise.
35220         [POSIX] (S_ISREG): Likewise.
35221         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35222         optional-macro.
35223         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35224         type.
35225         [POSIX] (time_t): Likewise.
35226         [POSIX] (timer_t): Likewise.
35228 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35230         [BZ #17048]
35231         * posix/spawn_int.h (struct __spawn_action): Make the path string
35232         non-const to support deallocation.
35233         * posix/spawn_faction_addopen.c
35234         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35235         * posix/spawn_faction_destroy.c
35236         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35237         path in all spawn_do_open actions.
35238         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35239         posix_spawn_file_actions_addopen.
35241 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35243         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35244         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35245         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35246         conditional code always true.
35247         (__libc_vfork): New alias.
35249 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35251         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35252         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35254         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35256         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35257         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35259         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35260         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35262         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35263         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35265 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35267         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35268         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35269         multiarch strcmp for PPC64.
35270         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35271         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35273         multiarch optimizations.
35274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35275         (__libc_ifunc_impl_list): Likewise.
35277 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35279         * benchtests/scripts/validate_benchout.py: New script.
35280         * benchtests/Makefile (bench-func): Call it.
35281         * benchtests/scripts/benchout.schema.json: New file.
35283 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35285         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35286         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35287         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35288         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35289         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35290         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35291         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35292         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35293         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35294         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35295         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35296         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35297         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35298         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35299         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35300         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35302         Moved ...
35303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35304         ... here.
35305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35306         Moved ...
35307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35309         Moved ...
35310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35311         ... here.
35312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35313         Moved ...
35314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35315         ... here.
35316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35317         Moved ...
35318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35320         Moved ...
35321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35322         ... here.
35323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35324         Moved ...
35325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35326         ... here.
35327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35328         Moved ...
35329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35331         Moved ...
35332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35333         ... here.
35334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35335         Moved ...
35336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35337         ... here.
35338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35339         Moved ...
35340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35341         ... here.
35342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35343         Moved ...
35344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35346         Moved ...
35347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35348         ... here.
35349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35350         Moved ...
35351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35352         ... here.
35353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35354         Moved ...
35355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35356         ... here.
35357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35358         Moved ...
35359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35361         Moved ...
35362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35363         ... here.
35364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35365         Moved ...
35366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35367         ... here.
35368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35369         Moved ...
35370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35372         Moved ...
35373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35374         ... here.
35375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35376         Moved ...
35377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35379         Moved ...
35380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35382         Moved ...
35383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35384         ... here.
35385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35386         Moved ...
35387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35388         ... here.
35389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35390         Moved ...
35391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35392         ... here.
35393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35394         Moved ...
35395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35397         Moved ...
35398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35399         ... here.
35400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35401         Moved ...
35402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35403         ... here.
35404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35405         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35407         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35409         Moved ...
35410         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35411         ... here.
35412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35413         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35415         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35417         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35419         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35421         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35423         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35425         Moved ...
35426         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35427         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35428         Moved ...
35429         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35431         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35433         Moved ...
35434         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35435         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35436         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35437         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35438         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35439         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35440         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35442 2014-06-10  Wilco  <wdijkstr@arm.com>
35444         * math/test-fenv-return.c: New file.
35445         * math/Makefile: Add new test test-fenv-return.
35447 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35449         [BZ #17042]
35450         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35451         when x - 1 is zero.
35452         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35453         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35454         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35455         0.0L for an argument of 1.0L.
35456         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35457         Likewise.
35458         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35459         value when x - 1 is zero.
35460         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35461         * sysdeps/i386/fpu/libm-test-ulps: Update.
35462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35464 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35466         [BZ #15119]
35467         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35469 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35471         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35472         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35474 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35476         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35477         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35479         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35480         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35482         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35483         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35485         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35486         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35488         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35489         if not already defined.
35490         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35491         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35492         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35493         (TLS_INIT_TP): Use it.
35494         (TLS_DEFINE_INIT_TP): New macro.
35495         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35497 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35499         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35500         constant.
35501         [POSIX] (IXANY): Likewise.
35502         [POSIX] (OLCUC): Likewise.
35503         [POSIX || POSIX2008] (CBAUD): Do not allow.
35504         [POSIX || POSIX2008] (DEFECHO): Likewise.
35505         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35506         [POSIX || POSIX2008] (ECHOKE): Likewise.
35507         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35508         [POSIX || POSIX2008] (EXTA): Likewise.
35509         [POSIX || POSIX2008] (EXTB): Likewise.
35510         [POSIX || POSIX2008] (FLUSHO): Likewise.
35511         [POSIX || POSIX2008] (LOBLK): Likewise.
35512         [POSIX || POSIX2008] (PENDIN): Likewise.
35513         [POSIX || POSIX2008] (SWTCH): Likewise.
35514         [POSIX || POSIX2008] (VDISCARD): Likewise.
35515         [POSIX || POSIX2008] (VDSUSP): Likewise.
35516         [POSIX || POSIX2008] (VLNEXT): Likewise.
35517         [POSIX || POSIX2008] (VREPRINT): Likewise.
35518         [POSIX || POSIX2008] (VSTATUS): Likewise.
35519         [POSIX || POSIX2008] (VWERASE): Likewise.
35520         (B*): Change to B[0123456789]*.
35521         * conform/data/time.h-data [POSIX || UNIX98]
35522         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35523         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35524         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35525         [POSIX] (tm_*): Do not allow.
35527 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35529         * Makefile (install): Don't set LANGUAGE.
35530         * Makefile.in (install): Likewise.
35531         * assert/Makefile (test-assert-ENV): Remove variable.
35532         (test-assert-perr-ENV): Likewise.
35533         * elf/Makefile (neededtest4-ENV): Likewise.
35534         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35535         [$(cross-compiling) = no]: Don't set LANGUAGE.
35536         * io/ftwtest-sh (LANG): Remove variable.
35537         * libio/Makefile (tst-widetext-ENV): Likewise.
35538         * manual/install.texi (Running make install): Don't refer to
35539         environment settings for make install.
35540         * INSTALL: Regenerated.
35541         * nptl/tst-tls6.sh: Don't set LANG.
35542         * posix/globtest.sh (LANG): Remove variable.
35543         * string/Makefile (tester-ENV): Likewise.
35544         (inl-tester-ENV): Likewise.
35545         (noinl-tester-ENV): Likewise.
35546         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35547         [$(cross-compiling) = no]: Don't set LANGUAGE.
35548         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35549         without explicit environment settings.
35551 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35553         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35554         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35555         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35556         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35558 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35560         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35561         other files in the crypt directory.
35562         * crypt/crypt.c: Remove duplicate includes.
35563         * crypt/crypt-entry.c: Likewise.
35564         * crypt/crypt_util.c: Likewise.
35566 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35568         * Makeconfig (run-program-env): New variable.
35569         (run-program-prefix-before-env): Likewise.
35570         (run-program-prefix-after-env): Likewise.
35571         (run-program-prefix): Define in terms of new variables.
35572         (built-program-cmd-before-env): New variable.
35573         (built-program-cmd-after-env): Likewise.
35574         (built-program-cmd): Define in terms of new variables.
35575         (test-program-prefix-before-env): New variable.
35576         (test-program-prefix-after-env): Likewise.
35577         (test-program-prefix): Define in terms of new variables.
35578         (test-program-cmd-before-env): New variable.
35579         (test-program-cmd-after-env): Likewise.
35580         (test-program-cmd): Define in terms of new variables.
35581         * Rules (make-test-out): Use $(run-program-env).
35582         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35583         (help): Do not mention environment variables.  Mention
35584         --timeoutfactor option.
35585         (timeoutfactor): New variable.
35586         (blacklist_exports): Remove function.
35587         (exports): Remove variable.
35588         (command): Do not include ${exports}.
35589         * manual/install.texi (Configuring and compiling): Do not mention
35590         test wrappers preserving environment variables.  Mention that last
35591         assignment to a variable must take precedence.
35592         * INSTALL: Regenerated.
35593         * benchtests/Makefile (run-bench): Use $(run-program-env).
35594         * catgets/Makefile ($(objpfx)test1.cat): Use
35595         $(built-program-cmd-before-env), $(run-program-env) and
35596         $(built-program-cmd-after-env).
35597         ($(objpfx)test2.cat): Do not specify environment variables
35598         explicitly.
35599         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35600         $(run-program-env) and $(built-program-cmd-after-env).
35601         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35602         $(run-program-env) and $(test-program-cmd-after-env).
35603         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35604         explicitly.
35605         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35606         run_program_env and test_program_cmd_after_env arguments.
35607         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35608         * elf/tst-pathopt.sh: Use run_program_env argument.
35609         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35610         $(test-wrapper-env) and $(run-program-env).
35611         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35612         run_program_env arguments.
35613         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35614         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35615         $(test-program-prefix-before-env), $(run-program-env) and
35616         $(test-program-prefix-after-env).
35617         ($(objpfx)tst-gettext2.out): Likewise.
35618         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35619         run_program_env and test_program_prefix_after_env arguments.
35620         * intl/tst-gettext2.sh: Likewise.
35621         * intl/tst-gettext4.sh: Do not set environment variables
35622         explicitly.
35623         * intl/tst-gettext6.sh: Likewise.
35624         * intl/tst-translit.sh: Likewise.
35625         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35626         $(test-program-prefix-before-env), $(run-program-env) and
35627         $(test-program-prefix-after-env).
35628         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35629         run_program_env and test_program_prefix_after_env arguments.
35630         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35631         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35632         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35633         explicitly with each use of ${test_wrapper_env}.
35634         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35635         $(test-program-prefix-before-env), $(run-program-env) and
35636         $(test-program-prefix-after-env).
35637         * posix/tst-getconf.sh: Do not set environment variables
35638         explicitly.
35639         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35640         run_program_env and test_program_prefix_after_env arguments.
35641         * stdio-common/tst-printf.sh: Do not set environment variables
35642         explicitly.
35643         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35644         $(test-program-prefix-before-env), $(run-program-env) and
35645         $(test-program-prefix-after-env).
35646         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35647         run_program_env and test_program_prefix_after_env arguments.
35648         Split $test calls into $test_pre and $test.
35649         * timezone/Makefile (build-testdata): Use
35650         $(built-program-cmd-before-env), $(run-program-env) and
35651         $(built-program-cmd-after-env).
35653 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35655         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35656         strlen for non SHARED builds.
35658 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35660         * nptl/allocatestack.c (check_list): Inlined function...
35661         (__reclaim_stacks): ... here.
35663 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35665         [BZ #15698]
35666         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35667         memory overrun.
35669 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35671         * Rules (make-test-out): Include
35672         LOCPATH=$(common-objpfx)localedata in default environment.
35673         * debug/Makefile (tst-chk1-ENV): Remove variable.
35674         (tst-chk2-ENV): Likewise.
35675         (tst-chk3-ENV): Likewise.
35676         (tst-chk4-ENV): Likewise.
35677         (tst-chk5-ENV): Likewise.
35678         (tst-chk6-ENV): Likewise.
35679         (tst-lfschk1-ENV): Likewise.
35680         (tst-lfschk2-ENV): Likewise.
35681         (tst-lfschk3-ENV): Likewise.
35682         (tst-lfschk4-ENV): Likewise.
35683         (tst-lfschk5-ENV): Likewise.
35684         (tst-lfschk6-ENV): Likewise.
35685         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35686         (tst-iconv7-ENV): Likewise.
35687         * intl/Makefile (LOCPATH-ENV): Likewise.
35688         (tst-codeset-ENV): Likewise.
35689         (tst-gettext3-ENV): Likewise.
35690         (tst-gettext5-ENV): Likewise.
35691         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35692         (tst-fopenloc-ENV): Likewise.
35693         (tst-fgetws-ENV): Remove variable.
35694         (tst-ungetwc1-ENV): Likewise.
35695         (tst-ungetwc2-ENV): Likewise.
35696         (bug-ungetwc2-ENV): Likewise.
35697         (tst-swscanf-ENV): Likewise.
35698         (bug-ftell-ENV): Likewise.
35699         (tst-fgetwc-ENV): Likewise.
35700         (tst-fseek-ENV): Likewise.
35701         (tst-ftell-partial-wide-ENV): Likewise.
35702         (tst-ftell-active-handler-ENV): Likewise.
35703         (tst-ftell-append-ENV): Likewise.
35704         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35705         (tst-regexloc-ENV): Likewise.
35706         (bug-regex1-ENV): Likewise.
35707         (tst-regex-ENV): Likewise.
35708         (tst-regex2-ENV): Likewise.
35709         (bug-regex5-ENV): Likewise.
35710         (bug-regex6-ENV): Likewise.
35711         (bug-regex17-ENV): Likewise.
35712         (bug-regex18-ENV): Likewise.
35713         (bug-regex19-ENV): Likewise.
35714         (bug-regex20-ENV): Likewise.
35715         (bug-regex22-ENV): Likewise.
35716         (bug-regex23-ENV): Likewise.
35717         (bug-regex25-ENV): Likewise.
35718         (bug-regex26-ENV): Likewise.
35719         (bug-regex30-ENV): Likewise.
35720         (bug-regex32-ENV): Likewise.
35721         (bug-regex33-ENV): Likewise.
35722         (bug-regex34-ENV): Likewise.
35723         (bug-regex35-ENV): Likewise.
35724         (tst-rxspencer-ENV): Likewise.
35725         (tst-rxspencer-no-utf8-ENV): Likewise.
35726         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35727         (tst-sscanf-ENV): Likewise.
35728         (tst-swprintf-ENV): Likewise.
35729         (tst-swscanf-ENV): Likewise.
35730         (test-vfprintf-ENV): Likewise.
35731         (scanf13-ENV): Likewise.
35732         (bug14-ENV): Likewise.
35733         (tst-grouping-ENV): Likewise.
35734         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35735         (tst-strtod3-ENV): Likewise.
35736         (tst-strtod4-ENV): Likewise.
35737         (tst-strtod5-ENV): Likewise.
35738         (testmb2-ENV): Likewise./
35739         * string/Makefile (tst-strxfrm-ENV): Likewise.
35740         (tst-strxfrm2-ENV): Likewise.
35741         (bug-strcoll1-ENV): Likewise.
35742         (test-strcasecmp-ENV): Likewise.
35743         (test-strncasecmp-ENV): Likewise.
35744         * time/Makefile (tst-strptime-ENV): Likewise.
35745         (tst-ftime_l-ENV): Likewise.
35746         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35747         (tst-mbrtowc-ENV): Likewise.
35748         (tst-wcrtomb-ENV): Likewise.
35749         (tst-mbrtowc2-ENV): Likewise.
35750         (tst-c16c32-1-ENV): Likewise.
35751         (tst-mbsnrtowcs-ENV): Likewise.
35753 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35755         * manual/resource.texi (How to get information about the memory
35756         subsystem?): Fix typo.
35757         Reported by Peon de la Parra Ivan <peon@keba.com>
35759 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35761         [BZ #16882]
35762         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35763         (pthread_spin_lock): Branch out of spin loop to proper location.
35764         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35765         (pthread_spin_lock): Likewise.
35767         * nptl/tst-spin4.c: New test.
35768         * nptl/Makefile (tests): Add tst-spin4.
35770 2014-06-03  Andreas Schwab  <schwab@suse.de>
35772         [BZ #15946]
35773         * resolv/res_send.c (send_dg): Reload file descriptor after
35774         calling reopen.
35776 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35778         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35780 2014-06-03  Richard Henderson  <rth@redhat.com>
35782         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35783         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35784         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35785         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35786         in the SAVE_PID block.
35787         (__libc_vfork): New alias.
35788         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35790         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35791         child in registers, not on the stack.  Remove RESET_PID conditionals.
35792         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35794 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35796         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35798 2014-06-03  Wilco  <wdijkstr@arm.com>
35800         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35801         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35802         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35803         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35804         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35805         Likewise.
35807 2014-06-03  Wilco  <wdijkstr@arm.com>
35809         * sysdeps/aarch64/fpu/math_private.h
35810         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35811         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35812         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35813         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35814         Fix declarations.
35816 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35818         * crypt/crypt-private.h: Include ufc-crypt.h.
35819         (__b64_from_24bit): Declare extern.
35820         * crypt/crypt_util.c(__b64_from_24bit): New function.
35821         (b64t): New static const variable.
35822         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35823         (b64t): Remove variable.
35824         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35825         * crypt/sha256-crypt.c: Include crypt-private.h.
35826         (b64t): Remove variable.
35827         (__sha256_crypt_r): Remove b64_from_24bit and replace
35828         with __b64_from_24bit.
35829         * crypt/sha512-crypt.c: Likewise.
35831 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35833         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35834         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35835         Label the code __libc_vfork rather than __vfork.
35836         [!NOT_IN_libc] (vfork): Define as weak alias.
35837         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35838         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35839         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35841 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35843         * malloc/malloc.c (malloc_info): Fix format specifier for
35844         n_mmaps.
35846 2014-06-02  Wilco  <wdijkstr@arm.com>
35848         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35849         FPCR write.
35851 2014-06-02  Wilco  <wdijkstr@arm.com>
35853         [BZ #17009]
35854         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35855         Rewrite to reduce FPCR/FPSR accesses.
35857 2014-06-01  David S. Miller  <davem@davemloft.net>
35859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35861 2014-05-31  David S. Miller  <davem@davemloft.net>
35863         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35864         to occur in round to nearest mode when |x| >= 2.0
35866 2014-05-30  Richard Henderson  <rth@twiddle.net>
35868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35869         (PSEUDO_RET_NOERRNO): Remove.
35870         (ret): Don't redefine.
35871         (ret_NOERRNO): Define in terms of ret.
35872         (ret_ERRVAL): Likewise.
35874         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35875         use of PSEUDO_RET; perform the error check directly.
35877 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35879         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35880         with __int128_t.
35882 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35884         * malloc/malloc (malloc_info): Fix formatting.
35886 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35887             Roland McGrath  <roland@hack.frob.com>
35889         * malloc/malloc (malloc_info): Also print mmapped statistics.
35891 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35893         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35894         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35896 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35898         * malloc/malloc.c (malloc_info): Inline mi_arena.
35900 2014-05-29  Richard Henderson  <rth@twiddle.net>
35902         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35903         Remove comma before expanding ASM_ARGS_##nr.
35904         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35905         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35906         of ASM_ARGS_##nr.
35907         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35908         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35909         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35910         (ASM_ARGS_1): Add leading comma.
35912         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35913         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35914         to __errno_location.
35915         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35916         Remove the expected plt for __errno_location.
35918         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35919         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35920         call to __read_tp.
35922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35923         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35924         it and break it down.
35925         (DOCARGS_0, DOCARGS_1): Do nothing.
35926         (DOCARGS_2): Update to store into the new stack frame.
35927         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35928         (UNDOCARGS_1): Update to restore from the new stack frame.
35929         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35930         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35932         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35933         (SINGLE_THREAD_P): New parameter for result regno.
35934         (PSEUDO): Update to match; use cbz instead of beq.
35936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35937         Use ENTRY to define the _nocancel entry point.  Share the syscall
35938         and syscall error check paths with the cancel path.
35939         (PSEUDO_END): New.
35941         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35942         whitespace; tabs before and after asm mnemonics.
35944 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35946         [BZ #15132]
35947         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35948         Call fstat64 or stat64 internally, depending on arguments passed.
35949         Replace stat buffer argument with file descriptor argument.
35950         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35951         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35952         Pass fd to __internal_statvfs instead of calling fstat64.
35953         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35954         Pass fd to __internal_statvfs64 instead of calling fstat64.
35955         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35956         Pass -1 to __internal_statvfs instead of calling stat64.
35957         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35958         Pass -1 to __internal_statvfs64 instead of calling stat64.
35960 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35962         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35963         that was previously under [RESET_PID].
35964         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35966         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35967         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35969 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35971         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35973         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35974         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35976 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35978         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35980 2014-05-27  Andreas Schwab  <schwab@suse.de>
35982         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35983         TLS_INIT_TP macro.
35984         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35985         * elf/rtld.c (init_tls, dl_main): Likewise.
35986         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35987         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35988         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35989         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35990         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35991         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35992         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35993         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35994         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35995         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35996         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35997         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35998         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35999         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36000         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36001         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36002         * sysdeps/generic/tls.h: Update description.
36004 2014-05-27  Will Newton  <will.newton@linaro.org>
36006         [BZ #16990]
36007         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36008         and restore r2 rather than just restoring.
36010 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36012         [BZ #16724]
36013         * libio/tst-ftell-append.c: New test case.
36014         * libio/Makefile (tests): Add test case.
36015         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36016         append mode.
36017         * libio/wfileops.c (do_ftell_wide): Likewise.
36019 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36023         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36024         ...
36025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36027         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36028         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36029         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36030         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36031         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36034         Moved ...
36035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36037         Moved ...
36038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36039         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36040         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36041         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36042         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36043         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36044         ...
36045         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36046         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36047         Moved ...
36048         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36049         here.
36050         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36051         ...
36052         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36053         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36054         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36057         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36058         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36059         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36062         merge into ...
36063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36065         ...
36066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36068         ...
36069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36071         Moved ...
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36073         here.
36074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36075         Moved ...
36076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36078         Moved ...
36079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36082         conditional [RESET_PID].
36083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36085         removed.
36086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36087         removed.
36089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36090         <tcb-offsets.h>.
36091         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36092         (__libc_vfork): New strong alias.
36093         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36094         removed.
36095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36096         Removed.
36098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36099         <tcb-offsets.h>.
36100         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36101         (__libc_vfork): New strong alias.
36102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36103         removed.
36104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36105         removed.
36107 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36109         * malloc/malloc.c (mi_arena): New function.
36110         (malloc_info): Remove nested function mi_arena. Call non-nosted
36111         function mi_arena.
36113 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36115         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36116         by insrwi.
36117         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36118         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36119         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36120         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36121         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36122         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36123         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36125 2014-05-26  Andreas Schwab  <schwab@suse.de>
36127         [BZ #16984]
36128         * locale/programs/repertoire.c (repertoire_read): Add slash
36129         between I18NPATH element and file name.
36130         * locale/programs/locfile.c (locfile_read): Likewise.
36132 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36134         * nptl/pthread_mutexattr_settype.c
36135         (__pthread_mutexattr_settype):
36136         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36138 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36140         * nptl/tst-mutex5 (do_test):
36141         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36143 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36145         * benchtests/README: Document 'init' directive.
36146         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36147         BENCH_INIT.
36148         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36149         (parse_file): Recognize 'init' directive.
36151 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36153         [BZ #16796]
36154         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36155         alignment of struct pthread.
36157 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36159         [BZ #16878]
36160         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36161         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36162         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36163         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36165 2014-05-25  Richard Henderson  <rth@twiddle.net>
36167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36168         (SINGLE_THREAD_P_PIC): Remove.
36169         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36170         (SINGLE_THREAD_P_PIC): Remove.
36172         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36173         branch to syscall error ...
36174         (PSEUDO): ... here.
36175         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36176         from __local_syscall_error to .Lsyscall_error.
36177         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36178         (SYSCALL_ERROR): Update label name.
36180         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36181         Do not use DOARGS/UNDOARGS.
36182         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36183         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36184         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36185         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36186         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36188         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36189         block comment.
36191         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36192         define if !NOT_IN_libc.
36193         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36194         define with non-default symbol versions.
36196 2014-05-23  Richard Henderson  <rth@twiddle.net>
36198         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36199         (vfork, __vfork): Define via compat_symbol.
36201         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36202         [!HAVE_IFUNC] (vfork_compat): Remove.
36203         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36205 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36207         [BZ #16978]
36208         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36209         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36210         variable.
36212 2014-05-23  Richard Henderson  <rth@twiddle.net>
36214         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36215         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36216         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36217         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36219         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36220         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36221         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36222         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36223         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36224         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36225         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36226         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36227         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36228         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36229         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36230         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36231         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36232         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36233         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36234         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36235         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36236         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36237         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36238         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36239         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36240         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36241         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36242         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36243         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36244         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36245         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36246         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36247         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36248         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36249         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36250         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36251         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36252         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36253         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36254         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36255         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36256         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36257         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36258         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36259         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36260         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36261         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36262         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36263         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36264         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36265         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36266         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36267         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36268         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36269         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36270         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36271         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36272         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36273         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36274         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36276         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36277         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36278         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36279         before exiting on error.
36280         (__libc_vfork): New strong alias.
36281         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36282         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36284         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36285         that was previously under [RESET_PID].
36286         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36288         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36290 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36292         [BZ #16977]
36293         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36294         value when x - 1 is zero.
36295         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36296         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36297         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36298         0.0L for an argument of 1.0L.
36299         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36300         Likewise.
36301         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36302         value when x - 1 is zero.
36303         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36304         * sysdeps/i386/fpu/libm-test-ulps: Update.
36305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36307 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36309         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36310         alphasort and versionsort.
36312 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36314         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36315         macro.
36316         [copysignf]: Likewise.
36318 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36320         * crypt/md5-crypt.c: Fix formatting.
36322 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36324         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36325         (b64_from_24bit): New function.
36327 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36329         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36330         libc_hidden_builtin_def to ifunc.
36331         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36332         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36334 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36336         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36337         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36339 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36341         * nscd/Depend (linuxthreads): Remove.
36342         (nptl): Add.
36343         * resolv/Depend (linuxthreads): Remove.
36344         * rt/Depend (linuxthreads): Remove.
36346         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36347         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36348         $(common-objpfx)elf/.
36349         (link-libc-before-gnulib): Likewise.
36350         (elfobjdir): Remove variable.
36351         * Makefile (install): Use $(elf-objpfx) instead of
36352         $(common-objpfx)elf/.
36353         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36354         $(elfobjdir)/.
36355         (link-libc-deps): Likewise.
36356         ($(common-objpfx)libc.so): Likewise.
36357         ($(common-objpfx)linkobj/libc.so): Likewise.
36358         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36359         instead of $(common-objpfx)elf/.
36360         (symbolic-link-list): Likewise.
36361         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36362         [$(cross-compiling) = no]: Likewise.
36363         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36364         $(elfobjdir)/.
36365         (static-gnulib-arch): Likewise.
36366         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36367         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36368         $(common-objpfx)elf/.
36370 2014-05-21  Richard Henderson  <rth@redhat.com>
36372         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36373         (SINGLE_THREAD_P): Use the correct width load.  Fold
36374         into the ldr offset.
36376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36377         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36379 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36381         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36382         (libgcc_s_resume): Use __attribute_used__.
36383         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36384         Likewise.
36386 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36388         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36389         optimization when used with float constants.
36391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36393 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36395         [BZ #16915]
36396         * locale/nl_langinfo_l.c: Make direct reference to every
36397         _nl_current_CATEGORY symbol.
36398         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36399         (tests-static): Add tst-langinfo-static.
36400         (tests-special): Add tst-langinfo-static.out.
36401         ($(objpfx)tst-langinfo.out): Redirect output.
36402         ($(objpfx)tst-langinfo-static.out): New.
36403         * localedata/tst-langinfo.sh: Send output to stdout.
36404         * localedata/tst-langinfo-static.c: New file.
36406         [BZ #16965]
36407         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36408         when the shift amount is modulo the limb size.
36410 2014-05-20  Richard Henderson  <rth@redhat.com>
36412         [BZ #16967]
36413         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36414         Change type of sa_flags from unsigned int to int.
36416         [BZ #16966]
36417         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36419         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36421 2014-05-20  Will Newton  <will.newton@linaro.org>
36423         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36424         Test the return value of the system call in the nocancel case.
36426 2014-05-20  Will Newton  <will.newton@linaro.org>
36427             Yvan Roux  <yvan.roux@linaro.org>
36429         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36430         #include of asm/ptrace.h.
36431         (PTRACE_GET_THREAD_AREA): Remove #undef.
36432         (PTRACE_GETHBPREGS): Likewise.
36433         (PTRACE_SETHBPREGS): Likewise.
36434         (struct user_regs_struct): New structure.
36435         (struct user_fpsimd_struct): New structure.
36436         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36437         #include of asm/ptrace.h and second #include of sys/user.h.
36438         (PTRACE_GET_THREAD_AREA): Remove #undef.
36439         (PTRACE_GETHBPREGS): Likewise.
36440         (PTRACE_SETHBPREGS): Likewise.
36441         (ELF_NGREG): Use new struct user_regs_struct.
36442         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36444 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36446         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36447         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36449 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36451         [BZ #16958]
36452         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36453         membar to avoid block loads/stores to overlap previous stores.
36455 2014-05-17  Richard Henderson  <rth@redhat.com>
36457         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36458         Create the __##syscall_name##_nocancel entry point.
36459         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36460         Remove; let the sysdep-cancel.h code create it.
36462 2014-05-17  David S. Miller  <davem@davemloft.net>
36464         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36465         Protect with __USE_GNU.
36466         (TIOCSET_TEMPT): Likewise.
36467         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36468         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36469         these are already provided in bits/ioctl-types.h
36471 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36473         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36474         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36476         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36477         Use wait4 regardless of [__NR_waitpid].
36479 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36481         PR libgcc/60166
36482         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36483         (_FP_NANSIGN_Q): Set the quiet bit.
36485 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36487         * benchtests/Makefile
36488         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36489         not $(common-objpfx)math/libm.so.
36490         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36491         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36492         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36493         $(common-objpfx)dlfcn/libdl.so.
36494         ($(objpfx)tst-audit8): Depend on $(libm), not
36495         $(common-objpfx)math/libm.so.
36496         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36497         not $(common-objpfx)dlfcn/libdl.so.
36498         * math/Makefile
36499         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36500         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36501         [$(build-shared) = yes].
36502         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36503         $(common-objpfx)nptl/libpthread.so.
36504         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36505         $(common-objpfx)math/libm.so$(libm.so-version) or
36506         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36507         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36508         $(common-objpfx)dlfcn/libdl.so.
36509         * setjmp/Makefile (link-libm): Remove variable.
36510         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36511         * stdio-common/Makefile (link-libm): Remove variable.
36512         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36513         * stdlib/Makefile (link-libm): Remove variable.
36514         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36515         ($(objpfx)tst-strtod-round): Likewise.
36516         ($(objpfx)tst-tininess): Likewise.
36517         ($(objpfx)tst-strtod-underflow): Likewise.
36518         ($(objpfx)tst-strtod6): Likewise.
36519         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36520         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36521         $(common-objpfx)dlfcn/libdl.so.
36523 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36525         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36526         BSD terminal modes definitions.
36528 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36530         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36531         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36533         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36534         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36535         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36536         Don't do #include_next.
36537         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36538         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36539         Don't do #include_next.
36540         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36541         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36542         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36543         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36545 2014-05-16  Allan McRae  <allan@archlinux.org>
36547         * po/sv.po: Update Swedish translation from translation project.
36549         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36550         in sed expression.
36552 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36554         [BZ #16917]
36555         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36556         errno if the TIOCGPTN ioctl fails with an error different than
36557         EINVAL.
36558         * login/tst-ptsname.c: New file.
36559         * login/Makefile (tests): Add tst-ptsname.
36561         [BZ #16943]
36562         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36563         and prlimit64.
36565 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36567         [BZ #16849]
36568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36569         herrno to return EAI_AGAIN.
36571 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36573         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36574         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36575         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36576         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36577         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36578         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36579         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36580         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36581         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36582         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36583         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36584         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36585         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36586         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36587         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36588         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36589         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36590         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36591         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36592         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36593         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36594         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36595         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36596         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36597         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36598         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36599         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36600         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36601         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36602         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36604         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36606         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36608         Moved ...
36609         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36611         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36613         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36615         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36617         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36619         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36621         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36623         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36625         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36627         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36629         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36631         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36633         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36635         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36637         Moved ...
36638         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36640         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36642         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36644         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36646         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36648         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36650         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36652         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36654         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36656         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36658         Moved ...
36659         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36661         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36663         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36664         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36665         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36666         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36667         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36668         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36669         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36670         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36671         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36672         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36673         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36674         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36675         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36676         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36677         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36678         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36679         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36680         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36681         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36682         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36683         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36684         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36685         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36686         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36687         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36688         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36689         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36690         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36691         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36692         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36693         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36695         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36696         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36698         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36699         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36700         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36701         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36702         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36703         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36704         Moved ...
36705         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36706         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36707         Moved ...
36708         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36709         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36710         Moved ...
36711         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36712         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36713         Moved ...
36714         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36715         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36716         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36717         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36718         Moved ...
36719         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36720         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36721         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36722         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36723         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36724         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36725         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36727         Moved ...
36728         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36729         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36730         Moved ...
36731         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36732         ... here.
36733         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36734         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36735         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36736         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36737         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36738         Moved ...
36739         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36740         ... here.
36741         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36742         Moved ...
36743         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36744         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36745         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36746         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36747         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36748         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36749         Moved ...
36750         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36751         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36752         Moved ...
36753         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36754         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36755         Moved ...
36756         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36757         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36758         Moved ...
36759         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36760         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36761         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36762         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36763         Moved ...
36764         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36765         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36766         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36767         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36768         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36769         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36770         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36772         Moved ...
36773         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36774         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36775         Moved ...
36776         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36777         ... here.
36778         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36779         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36780         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36781         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36782         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36783         Moved ...
36784         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36785         ... here.
36786         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36787         Moved ...
36788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36789         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36790         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36791         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36792         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36793         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36794         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36795         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36796         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36798         Moved ...
36799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36801         Moved ...
36802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36803         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36804         Moved ...
36805         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36806         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36807         Moved ...
36808         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36809         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36810         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36811         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36812         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36813         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36814         Moved ...
36815         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36816         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36817         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36819         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36820         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36821         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36822         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36823         Moved ...
36824         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36826         Moved ...
36827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36828         ... here.
36829         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36830         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36831         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36832         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36833         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36834         Moved ...
36835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36836         ... here.
36837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36838         Moved ...
36839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36840         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36841         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36842         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36843         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36844         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36845         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36846         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36847         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36848         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36849         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36851         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36852         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36854         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36855         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36857         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36858         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36859         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36860         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36861         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36862         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36863         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36864         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36865         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36866         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36868         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36869         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36870         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36871         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36873         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36875         Moved ...
36876         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36878         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36880         Moved ...
36881         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36882         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36883         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36885         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36889         Moved ...
36890         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36892         Moved ...
36893         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36895         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36897         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36899         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36900         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36901         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36902         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36903         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36904         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36905         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36906         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36907         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36908         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36909         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36911         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36912         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36913         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36914         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36915         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36917         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36918         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36919         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36920         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36921         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36922         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36923         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36924         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36925         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36926         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36931         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36932         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36933         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36934         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36935         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36936         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36937         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36938         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36939         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36940         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36941         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36942         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36943         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36944         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36946         Update #include.
36947         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36948         Likewise.
36949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36950         Likewise.
36951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36952         Likewise.
36953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36954         Likewise.
36955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36956         Likewise.
36957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36958         Likewise.
36959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36960         Likewise.
36961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36962         Likewise.
36963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36964         Likewise.
36965         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36967         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36970         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36971         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36972         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36973         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36974         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36976         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36978         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36979         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36981         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36982         that was previously under [RESET_PID].
36983         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36984         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36985         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36987         * sysdeps/i386/nptl/Implies: New file.
36988         * sysdeps/x86_64/nptl/Implies: New file.
36989         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36990         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36991         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36992         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36994         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36995         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36996         (__libc_vfork): New strong alias.
36997         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36998         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37000         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37001         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37002         (__libc_vfork): New strong alias.
37003         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37004         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37006         * sysdeps/unix/sysv/linux/arm/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         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37010         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37011         * nptl/pt-vfork.c: New file.
37012         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37013         (libpthread: GLIBC_2.20): New version set (empty).
37015 2014-05-14  Will Newton  <will.newton@linaro.org>
37017         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37018         rather than #if.
37020 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37022         [BZ #16564]
37023         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37024         arguments with exponent 65 or above.
37025         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37026         arguments 0x1p113L or above.
37027         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37028         to arguments 0x1p107L or above.
37029         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37030         positive arguments with exponent 65 or above.
37031         * math/auto-libm-test-in: Add more tests of log1p.
37032         * math/auto-libm-test-out: Regenerated.
37034         [BZ #16928]
37035         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37036         non-finite arguments is +0.
37037         * math/s_cacosf.c (__cacosf): Likewise.
37038         * math/s_cacosl.c (__cacosl): Likewise.
37039         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37040         * sysdeps/i386/fpu/libm-test-ulps: Update.
37041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37043         [BZ #16927]
37044         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37045         value.
37046         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37047         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37048         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37049         for explicit high bit of mantissa when testing for argument equal
37050         to 1.
37051         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37052         * sysdeps/i386/fpu/libm-test-ulps: Update.
37053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055         [BZ #16516]
37056         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37057         (__erf): Scale by 16 instead of 8 in potentially underflowing
37058         case.  Ensure exception if result actually underflows.
37059         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37060         (__erff): Scale by 16 instead of 8 in potentially underflowing
37061         case.  Ensure exception if result actually underflows.
37062         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37063         (efx8): Remove variable.
37064         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37065         case.  Ensure exception if result actually underflows.
37066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37067         (efx8): Remove variable.
37068         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37069         case.  Ensure exception if result actually underflows.
37070         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37071         (efx8): Remove variable.
37072         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37073         case.  Ensure exception if result actually underflows.
37074         * math/auto-libm-test-in: Add more tests of erf.
37075         * math/auto-libm-test-out: Regenerated.
37077 2014-05-14  Andreas Schwab  <schwab@suse.de>
37079         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37080         Remove code conditionalized on USE___THREAD.
37082         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37083         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37084         not definedness.
37086 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37088         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37089         Define unconditionally.
37090         (__ASSUME_O_CLOEXEC): Likewise.
37091         (__ASSUME_SOCK_CLOEXEC): Likewise.
37092         (__ASSUME_IN_NONBLOCK): Likewise.
37093         (__ASSUME_PIPE2): Likewise.
37094         (__ASSUME_EVENTFD2): Likewise.
37095         (__ASSUME_SIGNALFD4): Likewise.
37096         (__ASSUME_DUP3): Likewise.
37097         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37098         (__ASSUME_DUP3): Do not define.
37099         (__ASSUME_EVENTFD2): Likewise.
37100         (__ASSUME_IN_NONBLOCK): Likewise.
37101         (__ASSUME_O_CLOEXEC): Likewise.
37102         (__ASSUME_PIPE2): Likewise.
37103         (__ASSUME_SIGNALFD4): Likewise.
37104         (__ASSUME_SOCK_CLOEXEC): Likewise.
37105         (__ASSUME_UTIMES): Undefine.
37106         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37107         (__ASSUME_UTIMES): Do not define.
37108         (__ASSUME_O_CLOEXEC): Likewise.
37109         (__ASSUME_SOCK_CLOEXEC): Likewise.
37110         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37111         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37112         0x020621].
37113         (__ASSUME_PIPE2): Likewise.
37114         (__ASSUME_EVENTFD2): Likewise.
37115         (__ASSUME_SIGNALFD4): Likewise.
37116         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37117         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37118         Do not define.
37119         (__ASSUME_EVENTFD2): Likewise.
37120         (__ASSUME_SIGNALFD4): Likewise.
37121         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37122         (__ASSUME_32BITUIDS): Likewise.
37123         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37124         (__ASSUME_IPC64): Likewise.
37125         (__ASSUME_ST_INO_64_BIT): Likewise.
37126         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37127         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37128         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37129         (__ASSUME_UTIMES): Do not define.
37130         (__ASSUME_PSELECT): Likewise.
37131         (__ASSUME_PPOLL): Likewise.
37132         (__ASSUME_O_CLOEXEC): Likewise.
37133         (__ASSUME_SOCK_CLOEXEC): Likewise.
37134         (__ASSUME_IN_NONBLOCK): Likewise.
37135         (__ASSUME_PIPE2): Likewise.
37136         (__ASSUME_EVENTFD2): Likewise.
37137         (__ASSUME_SIGNALFD4): Likewise.
37138         (__ASSUME_DUP3): Likewise.
37139         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37140         (__ASSUME_UTIMES): Likewise.
37141         (__ASSUME_O_CLOEXEC): Likewise.
37142         (__ASSUME_SOCK_CLOEXEC): Likewise.
37143         (__ASSUME_IN_NONBLOCK): Likewise.
37144         (__ASSUME_PIPE2): Likewise.
37145         (__ASSUME_EVENTFD2): Likewise.
37146         (__ASSUME_SIGNALFD4): Likewise.
37147         (__ASSUME_DUP3): Likewise.
37148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37149         (__ASSUME_UTIMES): Likewise.
37150         (__ASSUME_O_CLOEXEC): Likewise.
37151         (__ASSUME_SOCK_CLOEXEC): Likewise.
37152         (__ASSUME_IN_NONBLOCK): Likewise.
37153         (__ASSUME_PIPE2): Likewise.
37154         (__ASSUME_EVENTFD2): Likewise.
37155         (__ASSUME_SIGNALFD4): Likewise.
37156         (__ASSUME_DUP3): Likewise.
37157         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37158         Likewise.
37159         (__ASSUME_UTIMES): Likewise.
37160         (__ASSUME_EVENTFD2): Likewise.
37161         (__ASSUME_SIGNALFD4): Likewise.
37162         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37163         (__ASSUME_O_CLOEXEC): Likewise.
37164         (__ASSUME_SOCK_CLOEXEC): Likewise.
37165         (__ASSUME_IN_NONBLOCK): Likewise.
37166         (__ASSUME_PIPE2): Likewise.
37167         (__ASSUME_EVENTFD2): Likewise.
37168         (__ASSUME_SIGNALFD4): Likewise.
37169         (__ASSUME_DUP3): Likewise.
37170         (__ASSUME_UTIMES): Undefine.
37172         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37173         feclearexcept.  Remove symbol versioning code.
37174         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37175         symbol versioning code.
37176         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37177         symbol versioning code.
37178         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37179         feupdateenv.  Remove symbol versioning code.
37180         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37181         fegetexceptflag.  Remove symbol versioning code.
37182         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37183         fesetexceptflag.  Remove symbol versioning code.
37184         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37185         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37186         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37187         (__posix_fadvise64_l32): Remove prototype.
37188         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37189         code.
37191 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37193         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37194         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37195         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37196         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37198 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37200         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37201         current working directory
37203 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37205         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37206         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37207         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37208         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37209         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37210         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37211         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37212         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37213         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37214         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37215         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37216         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37217         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37218         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37219         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37220         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37221         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37222         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37223         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37224         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37225         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37226         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37227         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37228         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37229         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37230         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37231         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37232         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37233         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37234         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37235         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37236         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37237         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37238         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37239         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37240         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37241         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37242         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37243         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37244         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37245         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37246         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37248         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37249         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37251         * sysdeps/unix/sysv/linux/arm/Makefile
37252         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37253         Add rt-aeabi_unwind_cpp_pr1.
37254         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37255         Add nptl-aeabi_unwind_cpp_pr1.
37256         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37257         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37258         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37259         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37260         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37261         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37263         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37264         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37265         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37266         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37268         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37269         Deconditionalize the code that was previously under [RESET_PID].
37270         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37272         * sysdeps/generic/exit-thread.h: New file.
37273         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37274         * include/unistd.h (__exit_thread): Remove declaration.
37275         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37276         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37277         * csu/libc-start.c: Include <exit-thread.h>.
37278         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37279         * nptl/pthread_create.c: Include <exit-thread.h>.
37280         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37281         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37282         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37283         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37284         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37285         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37286         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37287         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37288         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37289         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37290         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37291         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37292         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37293         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37294         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37295         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37296         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37298 2014-05-13  Andreas Schwab  <schwab@suse.de>
37300         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37302 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37304         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37305         (__ASSUME_UTIMES): Do not condition on kernel version.
37306         (__ASSUME_PSELECT): Define unconditionally.
37307         (__ASSUME_PPOLL): Likewise.
37308         (__ASSUME_ATFCTS): Likewise.
37309         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37310         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37311         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37312         (__ASSUME_UTIMENSAT): Define unconditionally.
37313         (__ASSUME_PRIVATE_FUTEX): Likewise.
37314         (__ASSUME_FALLOCATE): Likewise.
37315         (__ASSUME_O_CLOEXEC): Likewise.
37316         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37317         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37318         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37319         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37320         (__ASSUME_IN_NONBLOCK): Likewise.
37321         (__ASSUME_PIPE2): Likewise.
37322         (__ASSUME_EVENTFD2): Likewise.
37323         (__ASSUME_SIGNALFD4): Likewise.
37324         (__ASSUME_DUP3): Likewise.
37325         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37326         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37327         (__ASSUME_AT_RANDOM): Likewise.
37328         (__ASSUME_PREADV): Likewise.
37329         (__ASSUME_PWRITEV): Likewise.
37330         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37331         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37332         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37333         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37334         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37335         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37336         (__ASSUME_O_CLOEXEC): Define unconditionally.
37337         (__ASSUME_PSELECT): Do not undefine conditionally.
37338         (__ASSUME_PPOLL): Likewise.
37339         (__ASSUME_ATFCTS): Likewise.
37340         (__ASSUME_SET_ROBUST_LIST): Likewise.
37341         (__ASSUME_UTIMENSAT): Likewise.
37342         (__ASSUME_FDATASYNC): Define unconditionally.
37343         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37344         (__ASSUME_SIGFRAME_V2): Likewise.
37345         )__ASSUME_EVENTFD2): Likewise.
37346         (__ASSUME_SIGNALFD4): Likewise.
37347         (__ASSUME_PSELECT): Do not undefine conditionally.
37348         (__ASSUME_PPOLL): Likewise.
37349         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37350         (__ASSUME_PSELECT): Define unconditionally.
37351         (__ASSUME_PPOLL): Likewise.
37352         (__ASSUME_O_CLOEXEC): Likewise.
37353         (__ASSUME_SOCK_CLOEXEC): Likewise.
37354         (__ASSUME_IN_NONBLOCK): Likewise.
37355         (__ASSUME_PIPE2): Likewise.
37356         (__ASSUME_EVENTFD2): Likewise.
37357         (__ASSUME_SIGNALFD4): Likewise.
37358         (__ASSUME_DUP3): Likewise.
37359         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37360         (__ASSUME_O_CLOEXEC): Likewise.
37361         (__ASSUME_SOCK_CLOEXEC): Likewise.
37362         (__ASSUME_IN_NONBLOCK): Likewise.
37363         (__ASSUME_PIPE2): Likewise.
37364         (__ASSUME_EVENTFD2): Likewise.
37365         (__ASSUME_SIGNALFD4): Likewise.
37366         (__ASSUME_DUP3): Likewise.
37367         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37368         (__ASSUME_EVENTFD2): Likewise.
37369         (__ASSUME_SIGNALFD4): Likewise.
37370         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37372 2014-05-12  Andreas Schwab  <schwab@suse.de>
37374         [BZ #16932]
37375         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37376         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37377         than maximum RPC packet size.
37378         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37379         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37380         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37381         (_nss_nis_getservbyport_r): Likewise.
37383 2014-05-12  Will Newton  <will.newton@linaro.org>
37385         * malloc/Makefile (tests): Add tst-mallopt.
37386         * malloc/tst-mallopt.c: New file.
37388 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37390         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37391         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37393 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37395         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37396         (tst-tlsmod6.so): Likewise.
37398 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37400         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37402 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37404         [BZ #16064]
37405         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37406         and <dl-procinfo.h>.
37407         (__fegetenv): Save SSE state in envp->__eip if supported.
37408         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37409         envp->__eip if supported.
37410         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37411         and <dl-procinfo.h>.
37412         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37413         __data_offset and __data_selector in environment to 0.  Set SSE
37414         state if supported.
37415         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37416         test-fenv-sse.
37417         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37418         -mfpmath=sse.
37419         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37421 2014-05-09  Will Newton  <will.newton@linaro.org>
37423         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37424         and libc_relro_required for ARM.
37425         * sysdeps/arm/preconfigure: Regenerate.
37427 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37428             Stefan Liebler  <stli@linux.vnet.ibm.com>
37430         * config.make.in (enable-lock-elision): New Makefile variable.
37431         * configure.ac: Likewise.
37432         * configure: Regenerate.
37433         * sysdeps/s390/configure.ac:
37434         Add check for gcc transactions support.
37435         * sysdeps/s390/configure: Regenerate.
37436         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37437         Build elision files if enabled.
37438         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37439         Add lock elision support for s390.
37440         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37441         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37442         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37443         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37444         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37445         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37446         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37447         Likewise.
37448         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37449         Likewise.
37450         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37451         Likewise.
37452         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37453         Likewise.
37454         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37455         (__lll_timedlock_elision, __lll_lock_elision)
37456         (__lll_unlock_elision, __lll_trylock_elision)
37457         (lll_timedlock_elision, lll_lock_elision)
37458         (lll_unlock_elision, lll_trylock_elision): Add.
37459         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37460         (pthread_mutex_t): Add lock elision support for s390.
37462 2014-05-14  Wilco  <wdijkstr@arm.com>
37464         * sysdeps/arm/fclrexcpt.c: Cleanup.
37465         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37466         * sysdeps/arm/feenablxcpt.c: Cleanup.
37467         * sysdeps/arm/fegetenv.c: Cleanup.
37468         * sysdeps/arm/fegetexcept.c: Cleanup.
37469         * sysdeps/arm/fegetround.c: Cleanup.
37470         * sysdeps/arm/feholdexcpt.c: Cleanup.
37471         * sysdeps/arm/fesetenv.c: Cleanup.
37472         * sysdeps/arm/fesetround.c: Cleanup.
37473         * sysdeps/arm/feupdateenv.c: Cleanup.
37474         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37475         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37476         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37477         * sysdeps/arm/ftestexcept.c: Cleanup.
37478         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37479         * sysdeps/arm/setfpucw.c: Cleanup.
37481 2014-05-09  Will Newton  <will.newton@linaro.org>
37483         * sysdeps/arm/armv7/strcmp.S: New file.
37484         * NEWS: Mention addition of ARMv7 optimized strcmp.
37486 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37488         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37489         look for %.ac rather than %.in.
37491         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37492         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37493         * sysdeps/mach/hurd/configure: Regenerated.
37494         * sysdeps/unix/sysv/linux/configure: Regenerated.
37496         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37498 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37500         [BZ# 16922]
37501         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37502         (LONG_SUB): Ditto.
37503         (PTR_SUB): Ditto.
37505 2014-05-07  Andreas Schwab  <schwab@suse.de>
37507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37508         when skipping over non-matching result from nscd.
37510 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37512         [BZ #16876]
37513         * nptl/sockperf.c (client): Check socket return value.
37515         [BZ #16877]
37516         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37517         nscd security class.
37519 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37521         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37522         * sysdeps/arm/unwind.h: ... here.
37524 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37526         [BZ# 16916]
37527         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37528         Define.
37530 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37532         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37533         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37534         multiarch strncpy for PPC64.
37535         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37536         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37538         multiarch optimizations.
37539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37540         (__libc_ifunc_impl_list): Likewise.
37541         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37542         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37543         multiarch stpncpy for PPC64.
37544         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37545         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37547 2014-05-06  Andreas Schwab  <schwab@suse.de>
37549         [BZ #16912]
37550         * gmon/mcount.c (_MCOUNT_DECL): Use
37551         atomic_compare_and_exchange_bool_acq instead of
37552         catomic_compare_and_exchange_bool_acq.
37554 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37556         * elf/Makefile (others, install-bin): Remove pldd.
37557         (pldd-modules): Variable removed.
37558         ($(objpfx)pldd): Target removed.
37559         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37560         (others, install-bin): Append pldd here.
37561         ($(objpfx)pldd): New target.
37563         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37564         to 0, so the first #if test emitted later doesn't see it undefined.
37565         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37566         * sysdeps/gnu/errlist.c: Regenerated.
37568 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37570         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37571         [libc_hidden_builtin_def]: Define to empty value.
37572         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37573         [libc_hidden_builtin_def]: Likewise.
37574         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37575         [libc_hidden_builtin_def]: Likewise.
37576         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37577         [libc_hidden_builtin_def]: Likewise.
37578         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37579         __redirect_memcpy and define ifunc as default hidden symbol.
37580         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37581         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37583 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37585         * locale/iso-4217.def: Reintroduce XDR currency.
37587 2014-05-04  Allan McRae  <allan@archlinux.org>
37589         * po/eo.po: Update Esperanto translation from translation project.
37591 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37593         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37594         and FEATURE_INDEX_MAX to 1.
37595         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37597 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37599         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37600         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37601         * iconvdata/big5.c (ONE_DIRECTION): Define.
37602         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37603         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37604         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37605         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37606         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37607         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37608         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37609         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37610         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37611         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37612         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37613         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37614         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37615         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37616         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37617         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37618         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37619         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37620         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37621         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37622         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37623         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37624         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37625         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37626         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37627         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37628         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37629         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37630         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37631         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37632         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37633         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37634         * iconvdata/johab.c (ONE_DIRECTION): Define.
37635         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37636         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37637         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37638         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37639         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37640         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37641         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37642         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37643         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37644         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37646 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37648         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37649         (_IO_JUMPS_OFFSET): Define to 0.
37651         * nptl/sysdeps/pthread/bits/libc-lock.h
37652         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37653         (__libc_lock_define_initialized_recursive): Always define using
37654         initializer.  Modern compilers treat uninitialized (implicit zero) and
37655         explicit zero initializers the same (i.e. put the datum in bss).
37657 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37659         * nscd/nscd-client.h: Include <string.h>.
37661 2014-05-01  David S. Miller  <davem@davemloft.net>
37663         [BZ #16885]
37664         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37665         multiple zero bytes exist at the end of a string.
37666         Reported by Aurelien Jarno <aurelien@aurel32.net>
37668         * string/test-strcmp.c (check): Add explicit test for situations where
37669         there are multiple zero bytes after the first.
37671 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37673         [BZ #16890]
37674         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37675         when compiling wprintf.
37676         * stdio-common/tstdiomisc.c (t3): New function.
37677         (main): Call it.
37679 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37681         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37682         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37683         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37684         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37686 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37688         * stdlib/longlong.h: Updated from GCC.
37690 2014-05-01  Will Newton  <will.newton@linaro.org>
37691             Bernard Ogden  <bernie.ogden@linaro.org>
37693         * NEWS: Update fixed bug list.
37695         [BZ #15119]
37696         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37698 2014-04-30  David S. Miller  <davem@davemloft.net>
37700         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37701         (libc_feholdexcept_setround_sparc_ctx): New function.
37702         (libc_fesetenv_sparc_ctx): Likewise.
37703         (libc_feupdateenv_sparc_ctx): Likewise.
37704         (libc_feholdsetround_sparc_ctx): Likewise.
37705         (libc_feholdexcept_setround_ctx): Define.
37706         (libc_feholdexcept_setroundf_ctx): Likewise.
37707         (libc_feholdexcept_setroundl_ctx): Likewise.
37708         (libc_fesetenv_ctx): Likewise.
37709         (libc_fesetenvf_ctx): Likewise.
37710         (libc_fesetenvl_ctx): Likewise.
37711         (libc_feupdateenv_ctx): Likewise.
37712         (libc_feupdateenvf_ctx): Likewise.
37713         (libc_feupdateenvl_ctx): Likewise.
37714         (libc_feresetround_ctx): Likewise.
37715         (libc_feresetroundf_ctx): Likewise.
37716         (libc_feresetroundl_ctx): Likewise.
37717         (libc_feholdsetround_ctx): Likewise.
37718         (libc_feholdsetroundf_ctx): Likewise.
37719         (libc_feholdsetroundl_ctx): Likewise.
37721         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37722         with __USE_GNU instead of XOPEN cpp guards.
37724         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37725         0.
37727         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37728         with XOPEN cpp guards.
37730 2014-04-30  Julian Brown  <julian@codesourcery.com>
37732         [BZ #16888]
37733         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37734         handling.
37736 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37738         [BZ #9894]
37739         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37740         Change to 2.6.32.
37741         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37742         * sysdeps/unix/sysv/linux/configure: Regenerated.
37743         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37744         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37745         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37746         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37747         * README: Update reference to required Linux kernel version.
37748         * manual/install.texi (Linux): Update reference to required Linux
37749         kernel headers version.
37750         * INSTALL: Regenerated.
37752         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37753         header inclusion.
37754         [POSIX] (limits.h): Likewise.
37755         [POSIX] (math.h): Likewise.
37756         [POSIX] (sys/wait.h): Likewise.
37757         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37758         function.
37759         [POSIX] (stddef.h): Do not allow header inclusion.
37761 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37763         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37765 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37767         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37768         Return immediately after lll_futex_wake.
37770 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37772         [BZ #16791]
37773         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37774         structure.
37775         (datahead_init_pos): Call datahead_init_common early.
37776         (datahead_init_neg): Likewise.
37778         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37779         datahead_init_neg): New functions.
37780         * nscd/aicache.c (addhstaiX): Use them.
37781         * nscd/grpcache.c (cache_addgr): Likewise.
37782         * nscd/hstcache.c (cache_addhst): Likewise.
37783         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37784         * nscd/netgroupcache.c (do_notfound): Likewise.
37785         (addgetnetgrentX): Likewise.
37786         (addinnetgrX): Likewise.
37787         * nscd/pwdcache.c (cache_addpw): Likewise.
37788         * nscd/servicescache.c (cache_addserv): Likewise.
37790 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37791             Atsushi Onoe  <atsushi@onoe.org>
37793         [BZ #14308]
37794         [BZ #12994]
37795         [BZ #13651]
37796         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37797         one response is valid.
37798         * resolv/res_send.c (send_dg): Check for validity of other
37799         response if the current response is a referral.
37801 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37803         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37805 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37807         [BZ #16823]
37808         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37809         Always divide by positive zero when computing -Inf result.
37810         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37811         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37813 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37815         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37816         FPSCR if value do not change.
37817         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37818         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37819         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37820         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37821         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37822         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37823         function.
37825 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37827         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37828         * sysdeps/unix/sysv/linux/hppa: Move directory from
37829         ports/systeps/unix/sysv/linux/hppa.
37830         * README: Update listing for hppa-*-linux-gnu.
37832 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37834         [BZ #16754]
37835         * manual/stdio.texi (Hook functions): Fix types of stream hook
37836         functions.
37837         [BZ #16854]
37838         * socket/sys/socket.h: Fix typo in comment.
37840 2014-04-28  Wilco  <wdijkstr@arm.com>
37842         * sysdeps/arm/fenv_private.h: New file.
37843         * sysdeps/arm/math_private.h: New file.
37844         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37846 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37848         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37849         with __int128_t.
37850         (La_x86_64_retval): Likewise.
37852 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37854         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37855         fpsr if value didn't change.
37856         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37857         to fpcr if value didn't change.
37858         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37859         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37860         fpsr or fpcr if value didn't change.
37861         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37862         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37863         fpcr if value didn't change.
37864         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37865         to fpsr if value didn't change.
37867 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37869         * nptl/tst-sem3.c: Use test-skeleton.c
37870         (main): Rename to do_test.  Use return instead of
37871         exit.
37872         * nptl/tst-sem4.c: Use test-skeleton.c
37873         (main): Rename to do_test.
37875 2014-04-22  David S. Miller  <davem@davemloft.net>
37877         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37878         (struct sigaction): New struct member __glibc_reserved0, change
37879         type of sa_flags to int.
37881 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37883         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37884         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37886 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37888         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37889         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37891 2014-04-22  Will Newton  <will.newton@linaro.org>
37892             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37894         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37895         (__longjmp): Add longjmp and longjmp_target SystemTap
37896         probes.
37897         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37898         (__sigsetjmp): Add setjmp SystemTap probe.
37900 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37902         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37903         match manual order.
37905 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37907         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37909         * sysdeps/powerpc/fpu/fenv_private.h
37910         (libc_feholdexcept_setroundl_ctx): Define to
37911         libc_feholdexcept_setround_ppc_ctx.
37912         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37913         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37914         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37915         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37917 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37919         * sysdeps/aarch64/math-tests.h: New file.
37921 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37923         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37924         New.
37925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37926         Check and set bit_AVX2_Usable.
37927         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37928         macro.
37929         (bit_AVX2): Likewise.
37930         (index_AVX2_Usable): Likewise.
37931         (CPUID_AVX2): Likewise.
37932         (HAS_AVX2): Likewise.
37934 2014-04-17  Will Newton  <will.newton@linaro.org>
37936         * manual/setjmp.texi (System V contexts): Add note that
37937         calling setcontext on a context created by a call to a
37938         signal handler is undefined.  Update text to note that
37939         setcontext from a signal handler is possible but not
37940         recommended.
37942         [BZ #16629]
37943         * stdlib/tst-setcontext.c: Include signal.h.
37944         (main): Check that the signal stack before and
37945         after swapcontext is the same.
37947         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37948         Re-implement to restore registers in user code and avoid
37949         rt_sigreturn system call.
37951 2014-04-17  Wilco  <wdijkstr@arm.com>
37953         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37954         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37955         * math/test-fenv.c: Skip exception trap tests on targets which only
37956         support non-stop mode.
37958 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37959             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37961         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37962         (libc_feholdsetround_aarch64_ctx)
37963         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37964         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37965         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37966         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37967         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37968         (libc_feresetround_noexl_ctx): Define.
37970 2014-04-16  Richard Henderson  <rth@redhat.com>
37972         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37974         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37975         unwind tables.
37977         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37978         const from the non-libc, non-ldso copy.
37980         * sysdeps/alpha/libm-test-ulps: Regenerate.
37982 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37983             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37985         * sysdeps/aarch64/fpu/math_private.h: New file.
37987 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37989         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37991 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37993         [BZ #16275]
37994         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37995         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37996         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37997         Intel MPX bound registers before _dl_profile_fixup.
37998         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37999         registers after _dl_profile_fixup.  Save and restore bound
38000         registers bnd0/bnd1 when calling _dl_call_pltexit.
38001         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38002         (LR_BND_OFFSET): Likewise.
38003         (LRV_BND0_OFFSET): Likewise.
38004         (LRV_BND1_OFFSET): Likewise.
38006 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38008         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38009         to...
38010         * sysdeps/mach/hurd/i386/tls.h: ... here.
38011         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38012         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38013         fields.
38015 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38017         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38019 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38021         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38023 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38025         [BZ #14770]
38026         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38027         * sysdeps/s390/configure: Regenerate.
38029         [BZ #16824]
38030         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38031         Set round-to-nearest internally to reduce error accumulation.
38033 2014-04-16  Alan Modra  <amodra@gmail.com>
38035         [BZ #16740]
38036         [BZ #16619]
38037         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38038         * math/libm-test.inc (frexp_test_data): Add tests.
38039         * NEWS: Update fixed bug list.
38041 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38043         * benchtests/Makefile: Depend on libraries in build directory.
38044         (bench-math): Separate out math tests.
38045         (bench-pthread): Separate out pthread tests.
38046         (bench): Include math and pthread tests.
38048 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38050         [BZ #16831]
38051         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38052         _dl_debug_initialize.
38054         * configure.ac: Remove SELinux header check.
38055         * configure: Regenerate.
38056         * nscd/selinux.c (perms): Array of const char* to permission names.
38057         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38058         default policy. Call string_to_security_class and string_to_av_perm to
38059         translate strings. Enforce default policy and call avs_has_perm with
38060         results of translated strings.
38062 2014-04-13  David S. Miller  <davem@davemloft.net>
38064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38066 2014-04-12  Allan McRae  <allan@archlinux.org>
38068         [BZ #16838]
38069         * manual/string.texi (Collation Functions): Fix qsort argument
38070         order in example.
38071         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38073 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38075         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38076         Make the test a no-op if there are no exceptions defined.
38078 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38080         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38081         enable-hardcoded-path-in-tests
38083 2014-04-11  Will Newton  <will.newton@linaro.org>
38085         * benchtests/Makefile (extra-objs): Add json-lib.o.
38086         (bench-func): Tidy up JSON output.
38087         * benchtests/bench-skeleton.c: Include json-lib.h.
38088         (main): Use JSON library functions to do output of
38089         benchmark results.
38090         * benchtests/bench-timing-type.c (main): Output the
38091         timing type simply, leaving formatting to the user.
38092         * benchtests/json-lib.c: New file.
38093         * benchtests/json-lib.h: Likewise.
38095 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38097         [BZ #15215]
38098         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38099         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38100         memory barriers.  Add comments.
38101         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38102         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38103         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38104         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38105         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38106         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38108 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38110         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38111         * sysdeps/s390/s390-64/configure.ac: ... this ...
38112         * sysdeps/s390/configure.ac: ... to here.
38113         * sysdeps/s390/s390-32/configure: Delete file.
38114         * sysdeps/s390/s390-64/configure: Delete file.
38115         * sysdeps/s390/configure: Regenerate.
38117 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38119         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38121 2014-04-11  Will Newton  <will.newton@linaro.org>
38123         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38124         to zero if it is not defined elsewhere.  (mtrim): Test
38125         the value of MALLOC_DEBUG with #if rather than #ifdef.
38127 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38129         * benchtests/pthread_once-inputs: New file.
38130         * benchtests/pthread_once-source.c: New file.
38131         * benchtests/README: Update documentation.
38133 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38134             H.J. Lu  <hongjiu.lu@intel.com>
38136         [BZ #16275]
38137         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38138         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38139         * sysdeps/x86_64/configure: Regenerated.
38140         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38141         macro.
38142         (REGISTER_SAVE_RAX): Likewise.
38143         (REGISTER_SAVE_RCX): Likewise.
38144         (REGISTER_SAVE_RDX): Likewise.
38145         (REGISTER_SAVE_RSI): Likewise.
38146         (REGISTER_SAVE_RDI): Likewise.
38147         (REGISTER_SAVE_R8): Likewise.
38148         (REGISTER_SAVE_R9): Likewise.
38149         (REGISTER_SAVE_BND0): Likewise.
38150         (REGISTER_SAVE_BND1): Likewise.
38151         (REGISTER_SAVE_BND2): Likewise.
38152         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38153         bound registers when calling _dl_fixup.
38155 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38157         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38158         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38159         of its definition.
38160         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38161         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38162         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38163         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38164         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38165         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38166         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38168 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38170         [BZ #15514]
38171         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38172         pathconf(_PC_NAME_MAX).
38174 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38176         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38177         Remove macro usage.
38178         (__PTHREAD_SPINS): Move definition to ...
38179         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38180         (__PTHREAD_SPINS): ... here.
38181         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38182         (__PTHREAD_SPIN): Likewise.
38183         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38184         (__PTHREAD_SPIN): Likewise.
38185         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38186         (__PTHREAD_SPIN): Likewise.
38187         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38188         (__PTHREAD_SPIN): Likewise.
38189         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38190         (__PTHREAD_SPIN): Likewise.
38191         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38192         (__PTHREAD_SPIN): Likewise.
38193         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38194         (__PTHREAD_SPIN): Likewise.
38195         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38196         (__PTHREAD_SPIN): Likewise.
38197         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38198         (__PTHREAD_SPIN): Likewise.
38199         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38200         (__PTHREAD_SPIN): Likewise.
38201         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38202         (__PTHREAD_SPIN): Likewise.
38203         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38204         (__PTHREAD_SPIN): Likewise.
38206         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38207         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38208         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38209         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38210         imply folder.
38211         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38212         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38213         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38214         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38215         correct imply path.
38216         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38217         strlen symbol for non multi-arch builds.
38218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38219         missing hidden_def and weak_alias.
38221 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38223         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38225 2014-04-07  Will Newton  <will.newton@linaro.org>
38227         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38228         and contents.  [!_LIBC] Remove #ifndef and contents.
38229         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38230         * string/memccpy.c (__memccpy): Use ANSI prototype.
38231         * string/memfrob.c (memfrob): Likewise.
38232         * string/strcoll.c (STRCOLL): Likewise.
38233         * string/strlen.c (strlen): Likewise.
38234         * string/strtok.c (STRTOK): Likewise.
38235         * string/strcat.c: Remove unused #include of memcopy.h.
38236         (strcat): Use ANSI prototype.
38237         * string/strchr.c: Remove unused #include of memcopy.h.
38238         (strchr): Use ANSI prototype.
38239         * string/strcmp.c: Remove unused #include of memcopy.h.
38240         (strcmp): Use ANSI prototype.
38241         * string/strcpy.c: Remove unused #include of memcopy.h.
38242         (strcpy): Use ANSI prototype.
38244 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38246         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38247         * config.make.in (config-extra-cppflags): Set it from
38248         libc_extra_cppflags.
38249         * configure.ac (libc_extra_cflags): Make it accumulate over
38250         configure fragments.
38251         (libc_extra_cppflags): New flag.
38252         * configure. Regenerate.
38253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38254         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38255         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38258         [BZ #16815]
38259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38260         result for FE_DOWNWARD rounding mode.
38261         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38262         Likewise.
38263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38265 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38267         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38268         in function argument name.
38270 2014-04-03  David Svoboda  <svoboda@cert.org>
38272         [BZ #5666]
38273         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38274         explicitly.
38276 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38278         * elf/dl-unmap-segments.h: New file.
38279         * sysdeps/generic/ldsodefs.h
38280         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38281         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38282         * elf/dl-fptr.c: Likewise.
38283         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38284         * sysdeps/aarch64/tlsdesc.c: Likewise.
38285         * sysdeps/arm/tlsdesc.c: Likewise.
38286         * sysdeps/i386/tlsdesc.c: Likewise.
38287         * sysdeps/tile/dl-runtime.c: Likewise.
38288         * sysdeps/x86_64/tlsdesc.c: Likewise.
38289         * elf/dl-load.h: New file.
38290         * elf/dl-load.c: Include it.
38291         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38292         Macros moved to dl-load.h.
38293         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38294         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38295         Use _dl_unmap_segments in place of __munmap.
38296         Break out segment-mapping loop into ...
38297         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38299 2014-04-03  Will Newton  <will.newton@linaro.org>
38301         * elf/dl-lookup.c (do_lookup_x): Remove comment
38302         referring to nested function and move variable
38303         declarations down to before first use.
38305 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38307         [BZ #16799]
38308         [BZ #16800]
38309         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38310         with 0 numerator.
38311         * math/s_catanf.c (__catanf): Likewise.
38312         * math/s_catanh.c (__catanh): Likewise.
38313         * math/s_catanhf.c (__catanhf): Likewise.
38314         * math/s_catanhl.c (__catanhl): Likewise.
38315         * math/s_catanl.c (__catanl): Likewise.
38316         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38317         by positive zero when computing -Inf result.
38318         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38319         (catanh_test): Likewise.
38320         * sysdeps/i386/fpu/libm-test-ulps: Update.
38321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38323         [BZ #16789]
38324         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38325         instead of using underflowing value in computing result.
38326         * math/s_clog10.c (__clog10): Likewise.
38327         * math/s_clog10f.c (__clog10f): Likewise.
38328         * math/s_clog10l.c (__clog10l): Likewise.
38329         * math/s_clogf.c (__clogf): Likewise.
38330         * math/s_clogl.c (__clogl): Likewise.
38331         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38332         (clog10_test): Likewise.
38333         * sysdeps/i386/fpu/libm-test-ulps: Update.
38334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38336 2014-04-02  Alan Modra  <amodra@gmail.com>
38338         [BZ #16739]
38339         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38340         output when value is near a power of two.  Use int64_t for lx and
38341         remove casts.  Use decimal rather than hex exponent constants.
38342         Don't use long double multiplication when double will suffice.
38343         * math/libm-test.inc (nextafter_test_data): Add tests.
38344         * NEWS: Add 16739 and 16786 to bug list.
38346         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38348         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38350 2014-04-01  Will Newton  <will.newton@linaro.org>
38352         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38353         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38355 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38357         [BZ #13347]
38358         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38359         * nptl/tst-setuid2.c: New file.
38360         * nptl/Makefile (xtests): Add tst-setuid2.
38362 2014-04-01  Alan Modra  <amodra@gmail.com>
38364         [BZ #16786]
38365         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38367 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38369         [BZ #6803]
38370         [BZ #6804]
38371         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38372         set errno as appropriate.
38373         * math/w_scalbf.c (__scalbf): Likewise.
38374         * math/w_scalbl.c (__scalbl): Likewise.
38375         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38376         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38377         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38378         Add more NaN tests.
38380         [BZ #16349]
38381         * math/w_atan2.c: Include <errno.h>.
38382         (__atan2): Set errno for result underflowing to zero.
38383         * math/w_atan2f.c: Include <errno.h>.
38384         (__atan2f): Set errno for result underflowing to zero.
38385         * math/w_atan2l.c: Include <errno.h>.
38386         (__atan2l): Set errno for result underflowing to zero.
38387         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38388         tests.
38389         * math/auto-libm-test-out: Regenerated.
38391 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38393         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38394         Encode instruction correctly in little endian.
38395         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38396         Likewise.
38397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38398         Likewise.
38399         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38400         Likewise.
38401         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38402         Likewise.
38404 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38406         [BZ #9894]
38407         * sysdeps/unix/sysv/linux/kernel-features.h
38408         [__sparc__ && !__arch64__ && !__sparc_v9__]
38409         (__ASSUME_SET_ROBUST_LIST): Do not define.
38410         [__sparc__ && !__arch64__ && !__sparc_v9__]
38411         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38412         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38413         Likewise.
38414         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38415         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38416         (__ASSUME_REQUEUE_PI): Likewise.
38417         (__ASSUME_SET_ROBUST_LIST): Likewise.
38418         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38419         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38420         Undefine.
38421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38422         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38423         Likewise.
38424         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38425         Likewise.
38426         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38427         Likewise.
38428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38429         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38430         Undefine.
38431         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38432         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38433         Likewise.
38435         [BZ #16648]
38436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38437         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38438         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38440 2014-03-31  Will Newton  <will.newton@linaro.org>
38442         * benchtests/Makefile (bench): Add ffs and ffsll to list
38443         of tests.
38444         * benchtests/ffs-inputs: New file.
38445         * benchtests/ffsll-inputs: Likewise.
38447 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38449         [BZ #16770]
38450         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38451         too large before casting to int.
38452         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38453         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38454         * math/libm-test.inc (scalb_test_data): Add more tests.
38456 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38458         * benchtests/Makefile (DETAILED_OPT): New make option.
38459         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38460         set.
38461         * benchtests/bench-skeleton.c: Include stdbool.h.
38462         (main): Store and print timings per input.
38463         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38464         member to each argument value.
38465         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38466         (_print_arg_data): Initialize per-input timing to 0.
38468         * benchtests/Makefile (timing-type): New binary.
38469         (bench-clean): Also remove bench-timing-type.
38470         (bench): New target for timing-type.
38471         (bench-func): Print output in JSON format.
38472         * benchtests/bench-skeleton.c (main): Print output in JSON
38473         format.
38474         * benchtests/bench-timing-type.c: New file.
38475         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38476         (TIMING_PRINT_STATS): Remove.
38477         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38478         name separately.
38480         * benchtests/bench-modf.c: Remove.
38481         * benchtests/modf-inputs: New inputs file.
38483 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38485         [BZ #16362]
38486         * math/s_clog10.c (M_PI_LOG10E): New macro.
38487         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38488         imaginary parts are 0.
38489         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38490         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38491         imaginary parts are 0.
38492         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38493         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38494         imaginary parts are 0.
38495         * math/libm-test.inc (clog10_test_data): Update expected results
38496         for when real and imaginary parts are 0.
38498 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38500         * elf/dl-load.c: Finish conversion of __builtin_expect into
38501         __glibc_{un}likely.
38503 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38505         [BZ #16348]
38506         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38507         1+x for argument with exponent below -67.
38508         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38509         Likewise.
38510         * math/auto-libm-test-in: Add more tests of exp.
38511         * math/auto-libm-test-out: Regenerated.
38513 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38515         [BZ #16759]
38516         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38517         (nscd_getnetgrent): Use it.
38519         [BZ #16760]
38520         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38521         of stpcpy.
38523 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38525         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38526         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38527         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38528         (lll_robust_unlock): Remove out of line section. Use cfi
38529         intrinsics.
38530         (LLL_STUB_UNWIND_INFO*): Remove.
38531         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38532         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38533         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38534         (lll_robust_unlock): Remove out of line section. Use cfi
38535         intrinsics.
38536         (LLL_STUB_UNWIND_INFO*): Remove.
38538 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38540         [BZ #16758]
38541         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38542         blank values.
38544 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38546         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38548 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38550         [BZ #16198]
38551         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38552         fnstenv.
38553         * math/test-fenv-preserve.c: New file.
38554         * math/Makefile (tests): Add test-fenv-preserve.
38556 2014-03-26  Will Newton <will.newton@linaro.org>
38558         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38560 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38562         * scripts/versionlist.awk: Partition the version sets and emit all
38563         GLIBC_* (sorted) before all others (sorted).
38565 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38567         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38568         GLIBC_2.2.5 version.
38570 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38572         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38573         calls.
38575         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38576         previous change.
38578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38580 2014-03-25  Andreas Schwab  <schwab@suse.de>
38582         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38583         label to be used after in6ailist is initialized.
38585 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38587         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38588         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38590 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38592         [BZ #16357]
38593         [BZ #16599]
38594         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38595         min_plus_half.
38596         (fp_formats): Update initializers.
38597         (init_fp_formats): Initialize new field.
38598         (output_for_one_input_case): Allow underflow for results up to
38599         min_plus_half.
38600         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38601         * math/auto-libm-test-in: Don't mark some underflows from asin and
38602         atanh as spurious.
38603         * math/auto-libm-test-out: Regenerated.
38604         * sysdeps/i386/fpu/libm-test-ulps: Update.
38605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38607 2014-03-25  Andreas Schwab  <schwab@suse.de>
38609         * libio/Makefile (tst-ftell-partial-wide-ENV)
38610         (tst-ftell-active-handler-ENV): Define.
38612 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38614         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38616 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38618         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38620 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38622         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38623         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38624         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38626 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38628         [BZ #16634]
38629         * elf/dl-load.c (open_verify): Add mode parameter.
38630         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38631         (open_path): Change from boolean 'secure' to complete flag 'mode'
38632         (_dl_map_object): Adjust.
38633         * elf/Makefile (tests): Add tst-dlopen-aout.
38634         * elf/tst-dlopen-aout.c: New test.
38636 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38638         [BZ #16714]
38639         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38640         (struct stat): Rename member pad0 to __glibc_reserved0.
38642         [BZ #16712]
38643         * sysdeps/s390/s390-32/bits/wordsize.h
38644         (__WORDSIZE32_SIZE_ULONG): New define.
38645         * sysdeps/s390/s390-64/bits/wordsize.h
38646         (__WORDSIZE32_SIZE_ULONG): Likewise.
38647         * sysdeps/generic/stdint.h (SIZE_MAX):
38648         Define as UL if __WORDSIZE32_SIZE_ULONG.
38650         [BZ #16713]
38651         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38652         (__glibc_reserved0): New variable.
38653         (sa_flags): Change type to int.
38655         * posix/Makefile (before-compile): Use += before-compile instead
38656         of a :=.
38658         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38659         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38661 2014-03-20  Andreas Schwab  <schwab@suse.de>
38663         [BZ #16743]
38664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38665         non-matching result from nscd.
38667 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38669         * scripts/bench.py: Moved to ...
38670         * benchtests/scripts/bench.py: ... here.
38671         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38673 2014-03-24  Andreas Schwab  <schwab@suse.de>
38675         [BZ #16002]
38676         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38677         alloca_account and account alloca use for struct in6ailist.
38679 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38681         [BZ #16284]
38682         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38683         rounding mode to recompute results that overflow to infinity or
38684         underflow to zero.
38685         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38686         bug 16284.
38687         * math/auto-libm-test-out: Regenerated.
38688         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38689         (ccosh_test): Likewise.
38690         (csin_test_data): Use plus_oflow.
38691         (csin_test): Use ALL_RM_TEST.
38692         (csinh_test_data): Use plus_oflow.
38693         (csinh_test): Use ALL_RM_TEST.
38694         * sysdeps/i386/fpu/libm-test-ulps: Update.
38695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38697 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38699         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38700         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38701         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38703         [BZ #16731]
38704         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38705         when x - 1 is zero.
38706         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38707         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38708         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38709         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38710         argument is 1.
38711         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38712         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38713         zero.
38714         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38715         * sysdeps/i386/fpu/libm-test-ulps: Update.
38716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38718 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38720         * scripts/bench.pl: Remove file.
38721         * scripts/bench.py: New benchmark script.
38722         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38723         * benchtests/README: Mention python dependency.
38724         * scripts/pylintrc: New file.
38725         * scripts/pylint: New file.
38727         * bits/mathdef.h: Use #ifdef instead of #if.
38728         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38729         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38730         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38731         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38732         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38733         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38735 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38736             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38738         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38740         and strpbrk-ppc64 objects.
38741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38742         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38743         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38744         multiarch strpbrk for POWER7.
38745         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38746         multiarch strpbrk for PPC64.
38747         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38748         ifunc selector.
38749         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38750         strpbrk for POWER7.
38752 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38754         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38755         (atan_test): Likewise.
38756         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38757         (atanh_test): Use ALL_RM_TEST.
38758         (atan2_test_data): Likewise.
38759         (cabs_test): Likewise.
38760         (cacosh_test): Likewise.
38761         (carg_test): Likewise.
38762         (casin_test): Likewise.
38763         (casinh_test): Likewise.
38764         (cbrt_test): Likewise.
38765         (csqrt_test): Likewise.
38766         (erf_test): Likewise.
38767         (erfc_test): Likewise.
38768         (pow10_test): Likewise.
38769         (exp2_test): Likewise.
38770         (hypot_test): Likewise.
38771         (j0_test): Likewise.
38772         (j1_test): Likewise.
38773         (lgamma_test): Likewise.
38774         (gamma_test): Likewise.
38775         (sincos_test): Likewise.
38776         (tanh_test): Likewise.
38777         (y0_test): Likewise.
38778         (y1_test): Likewise.
38779         * sysdeps/i386/fpu/libm-test-ulps: Update.
38780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38782 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38784         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38786         and strcspn-ppc64 objects.
38787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38788         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38789         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38790         multiarch strcspn for POWER7.
38791         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38792         multiarch strcspn for PPC64.
38793         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38794         ifunc selector.
38795         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38796         strcspn for POWER7.
38798 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38800         * math/gen-libm-test.pl (generate_testfile): Expect only function
38801         name as argument to AUTO_TESTS_* and pass results for all rounding
38802         modes to parse_args.
38803         (parse_auto_input): Separate inputs of automatic tests from
38804         outputs before storing in %auto_tests.
38805         * math/libm-test.inc (acos_test_data): Update call to
38806         AUTO_TESTS_f_f.
38807         (acos_test): Use ALL_RM_TEST.
38808         (acos_tonearest_test_data): Remove.
38809         (acos_test_tonearest): Likewise.
38810         (acos_towardzero_test_data): Likewise.
38811         (acos_test_towardzero): Likewise.
38812         (acos_downward_test_data): Likewise.
38813         (acos_test_downward): Likewise.
38814         (acos_upward_test_data): Likewise.
38815         (acos_test_upward): Likewise.
38816         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38817         (asin_test_data): Likewise.
38818         (asin_test): Use ALL_RM_TEST.
38819         (asin_tonearest_test_data): Remove.
38820         (asin_test_tonearest): Likewise.
38821         (asin_towardzero_test_data): Likewise.
38822         (asin_test_towardzero): Likewise.
38823         (asin_downward_test_data): Likewise.
38824         (asin_test_downward): Likewise.
38825         (asin_upward_test_data): Likewise.
38826         (asin_test_upward): Likewise.
38827         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38828         (atan_test_data): Likewise.
38829         (atanh_test_data): Likewise.
38830         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38831         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38832         (carg_test_data): Likewise.
38833         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38834         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38835         (ccosh_test_data): Likewise.
38836         (cexp_test_data): Likewise.
38837         (clog_test_data): Likewise.
38838         (clog10_test_data): Likewise.
38839         (cos_test_data): Update call to AUTO_TESTS_f_f.
38840         (cos_test): Use ALL_RM_TEST.
38841         (cos_tonearest_test_data): Remove.
38842         (cos_test_tonearest): Likewise.
38843         (cos_towardzero_test_data): Likewise.
38844         (cos_test_towardzero): Likewise.
38845         (cos_downward_test_data): Likewise.
38846         (cos_test_downward): Likewise.
38847         (cos_upward_test_data): Likewise.
38848         (cos_test_upward): Likewise.
38849         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38850         (cosh_test): Use ALL_RM_TEST.
38851         (cosh_tonearest_test_data): Remove.
38852         (cosh_test_tonearest): Likewise.
38853         (cosh_towardzero_test_data): Likewise.
38854         (cosh_test_towardzero): Likewise.
38855         (cosh_downward_test_data): Likewise.
38856         (cosh_test_downward): Likewise.
38857         (cosh_upward_test_data): Likewise.
38858         (cosh_test_upward): Likewise.
38859         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38860         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38861         (ctan_test_data): Likewise.
38862         (ctan_test): Use ALL_RM_TEST.
38863         (ctan_tonearest_test_data): Remove.
38864         (ctan_test_tonearest): Likewise.
38865         (ctan_towardzero_test_data): Likewise.
38866         (ctan_test_towardzero): Likewise.
38867         (ctan_downward_test_data): Likewise.
38868         (ctan_test_downward): Likewise.
38869         (ctan_upward_test_data): Likewise.
38870         (ctan_test_upward): Likewise.
38871         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38872         (ctanh_test): Use ALL_RM_TEST.
38873         (ctanh_tonearest_test_data): Remove.
38874         (ctanh_test_tonearest): Likewise.
38875         (ctanh_towardzero_test_data): Likewise.
38876         (ctanh_test_towardzero): Likewise.
38877         (ctanh_downward_test_data): Likewise.
38878         (ctanh_test_downward): Likewise.
38879         (ctanh_upward_test_data): Likewise.
38880         (ctanh_test_upward): Likewise.
38881         (erf_test_data): Update call to AUTO_TESTS_f_f.
38882         (erfc_test_data): Likewise.
38883         (exp_test_data): Likewise.
38884         (exp_test): Use ALL_RM_TEST.
38885         (exp_tonearest_test_data): Remove.
38886         (exp_test_tonearest): Likewise.
38887         (exp_towardzero_test_data): Likewise.
38888         (exp_test_towardzero): Likewise.
38889         (exp_downward_test_data): Likewise.
38890         (exp_test_downward): Likewise.
38891         (exp_upward_test_data): Likewise.
38892         (exp_test_upward): Likewise.
38893         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38894         (exp10_test): Use ALL_RM_TEST.
38895         (exp10_tonearest_test_data): Remove.
38896         (exp10_test_tonearest): Likewise.
38897         (exp10_towardzero_test_data): Likewise.
38898         (exp10_test_towardzero): Likewise.
38899         (exp10_downward_test_data): Likewise.
38900         (exp10_test_downward): Likewise.
38901         (exp10_upward_test_data): Likewise.
38902         (exp10_test_upward): Likewise.
38903         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38904         (expm1_test_data): Likewise.
38905         (expm1_test): Use ALL_RM_TEST.
38906         (expm1_tonearest_test_data): Remove.
38907         (expm1_test_tonearest): Likewise.
38908         (expm1_towardzero_test_data): Likewise.
38909         (expm1_test_towardzero): Likewise.
38910         (expm1_downward_test_data): Likewise.
38911         (expm1_test_downward): Likewise.
38912         (expm1_upward_test_data): Likewise.
38913         (expm1_test_upward): Likewise.
38914         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38915         (fma_test): Use ALL_RM_TEST.
38916         (fma_towardzero_test_data): Remove.
38917         (fma_test_towardzero): Likewise.
38918         (fma_downward_test_data): Likewise.
38919         (fma_test_downward): Likewise.
38920         (fma_upward_test_data): Likewise.
38921         (fma_test_upward): Likewise.
38922         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38923         (j0_test_data): Update call to AUTO_TESTS_f_f.
38924         (j1_test_data): Likewise.
38925         (jn_test_data): Update call to AUTO_TESTS_if_f.
38926         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38927         (log_test_data): Update call to AUTO_TESTS_f_f.
38928         (log10_test_data): Likewise.
38929         (log1p_test_data): Likewise.
38930         (log2_test_data): Likewise.
38931         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38932         (pow_tonearest_test_data): Likewise.
38933         (sin_test_data): Update call to AUTO_TESTS_f_f.
38934         (sin_test): Use ALL_RM_TEST.
38935         (sin_tonearest_test_data): Remove.
38936         (sin_test_tonearest): Likewise.
38937         (sin_towardzero_test_data): Likewise.
38938         (sin_test_towardzero): Likewise.
38939         (sin_downward_test_data): Likewise.
38940         (sin_test_downward): Likewise.
38941         (sin_upward_test_data): Likewise.
38942         (sin_test_upward): Likewise.
38943         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38944         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38945         (sinh_test): Use ALL_RM_TEST.
38946         (sinh_tonearest_test_data): Remove.
38947         (sinh_test_tonearest): Likewise.
38948         (sinh_towardzero_test_data): Likewise.
38949         (sinh_test_towardzero): Likewise.
38950         (sinh_downward_test_data): Likewise.
38951         (sinh_test_downward): Likewise.
38952         (sinh_upward_test_data): Likewise.
38953         (sinh_test_upward): Likewise.
38954         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38955         (sqrt_test): Use ALL_RM_TEST.
38956         (sqrt_tonearest_test_data): Remove.
38957         (sqrt_test_tonearest): Likewise.
38958         (sqrt_towardzero_test_data): Likewise.
38959         (sqrt_test_towardzero): Likewise.
38960         (sqrt_downward_test_data): Likewise.
38961         (sqrt_test_downward): Likewise.
38962         (sqrt_upward_test_data): Likewise.
38963         (sqrt_test_upward): Likewise.
38964         (tan_test_data): Update call to AUTO_TESTS_f_f.
38965         (tan_test): Use ALL_RM_TEST.
38966         (tan_tonearest_test_data): Remove.
38967         (tan_test_tonearest): Likewise.
38968         (tan_towardzero_test_data): Likewise.
38969         (tan_test_towardzero): Likewise.
38970         (tan_downward_test_data): Likewise.
38971         (tan_test_downward): Likewise.
38972         (tan_upward_test_data): Likewise.
38973         (tan_test_upward): Likewise.
38974         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38975         (tgamma_test_data): Likewise.
38976         (y0_test_data): Likewise.
38977         (y1_test_data): Likewise.
38978         (yn_test_data): Update call to AUTO_TESTS_if_f.
38979         (main): Do not call removed functions.
38981 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38983         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38984         (ldexp_test_data): Remove.
38985         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38986         scalbn_test_data.
38987         (scalb_test): Use ALL_RM_TEST.
38989 2014-03-19  Andreas Schwab  <schwab@suse.de>
38991         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38993 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38995         [BZ #16649]
38996         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38997         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38998         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38999         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39000         (__ASSUME_PREADV): Undefine.
39001         (__ASSUME_PWRITEV): Likewise.
39003 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39005         * bits/mman-linux.h: Add comment about non-Linux use.
39006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39007         bits/mman-linux.h resting place.
39009         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39010         * bits/mman-linux.h: ... here.
39012 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39014         * conform/conformtest.pl: Add standard definition when calling C
39015         preprocessor on data files.
39016         (checknamespace): Remove unused variable.
39018 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39020         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39021         minus_oflow, plus_uflow and minus_uflow in expected results.
39022         * math/libm-test.inc (scalbn_test_data): Add more tests of
39023         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39024         minus_uflow.
39025         (scalbn_test): Use ALL_RM_TEST.
39026         (scalbln_test_data): Add more tests of negative arguments.  Use
39027         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39028         (scalbln_test): Use ALL_RM_TEST.
39030 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39032         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39034 2014-03-18  Will Newton  <will.newton@linaro.org>
39036         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39037         inaccurate comment.
39039 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39041         * Makerules [!subdir] (check-abi): Exit with error status if a
39042         test failed.
39044 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39046         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39047         for rint.  Include results for all rounding modes.
39048         (nearbyint_test): Use ALL_RM_TEST.
39049         (rint_test_data): Include all tests used for nearbyint.
39051 2014-03-17  Will Newton  <will.newton@linaro.org>
39053         * nptl/sysdeps/pthread/pthread.h: Revert previous
39054         change.
39056         * sysdeps/generic/ldsodefs.h: Revert previous
39057         change.
39059         * libio/genops.c: Revert previous change.
39060         * libio/libioP.h: Likewise.
39061         * stdio-common/vfprintf.c: Likewise.
39063         * sysdeps/generic/math_private.h: Revert previous
39064         change.
39066         * sysdeps/generic/math_private.h: Check whether
39067         HAVE_RM_CTX is defined with #ifdef rather
39068         than #if.
39070         * argp/argp-fmtstream.h: Check whether
39071         __STRICT_ANSI__ is defined with #ifdef rather
39072         than #if.
39073         * argp/argp.h: Likewise.
39075         * libio/genops.c: Check whether
39076         _IO_JUMPS_OFFSET is defined with #ifdef rather
39077         than #if.
39078         * libio/libioP.h: Likewise.
39079         * stdio-common/vfprintf.c: Likewise.
39081         * sysdeps/generic/ldsodefs.h: Check whether
39082         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39083         than #if.
39085         * nptl/sysdeps/pthread/pthread.h: Check
39086         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39087         its value.
39089 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39091         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39092         setting O_APPEND.
39093         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39094         test case.
39096         [BZ #16680]
39097         * libio/fileops.c (_IO_file_open): Seek to end of file but
39098         don't cache the offset.
39099         (get_file_offset): Remove function.
39100         (do_ftell): Use cached offset when available.
39101         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39102         don't cache the offset.
39103         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39104         case.
39105         (do_one_test): Call it.
39106         (do_ftell_test): Fix up expected old offset for a+ mode.
39107         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39108         available.
39110         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39111         up test status with function return status.
39112         (do_write_test): Likewise.
39113         (do_append_test): Likewise.
39115         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39116         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39117         Remove.
39119 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39121         * math/gen-libm-test.pl (parse_args): Handle results specified for
39122         each rounding mode separately.
39123         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39124         tests and results from lrint_tonearest_test_data,
39125         lrint_towardzero_test_data, lrint_downward_test_data and
39126         lrint_upward_test_data.
39127         (lrint_test): Use ALL_RM_TEST.
39128         (lrint_tonearest_test_data): Remove.
39129         (lrint_test_tonearest): Likewise.
39130         (lrint_towardzero_test_data): Likewise.
39131         (lrint_test_towardzero): Likewise.
39132         (lrint_downward_test_data): Likewise.
39133         (lrint_test_downward): Likewise.
39134         (lrint_upward_test_data): Likewise.
39135         (lrint_test_upward): Likewise.
39136         (llrint_test_data): Merge in per-rounding-mode tests and results
39137         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39138         llrint_downward_test_data and llrint_upward_test_data.
39139         (llrint_test): Use ALL_RM_TEST.
39140         (llrint_tonearest_test_data): Remove.
39141         (llrint_test_tonearest): Likewise.
39142         (llrint_towardzero_test_data): Likewise.
39143         (llrint_test_towardzero): Likewise.
39144         (llrint_downward_test_data): Likewise.
39145         (llrint_test_downward): Likewise.
39146         (llrint_upward_test_data): Likewise.
39147         (llrint_test_upward): Likewise.
39148         (rint_test_data): Merge in per-rounding-mode tests and results
39149         from rint_tonearest_test_data, rint_towardzero_test_data,
39150         rint_downward_test_data and rint_upward_test_data.  Add
39151         per-rounding-mode results for tests not in those arrays.
39152         (rint_test): Use ALL_RM_TEST.
39153         (rint_tonearest_test_data): Remove.
39154         (rint_test_tonearest): Likewise.
39155         (rint_towardzero_test_data): Likewise.
39156         (rint_test_towardzero): Likewise.
39157         (rint_downward_test_data): Likewise.
39158         (rint_test_downward): Likewise.
39159         (rint_upward_test_data): Likewise.
39160         (rint_test_upward): Likewise.
39161         (main): Don't call removed functions.
39163 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39165         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39166         "Compiled on ..." crapola.  It is anti-useful.
39168 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39170         * scripts/evaluate-test.sh: Handle fourth argument to determine
39171         whether test run should stop on failure.
39172         * Makeconfig (stop-on-test-failure): New variable.
39173         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39174         $(stop-on-test-failure).
39175         * Makefile (tests): Give a summary of results from testing and
39176         exit with failure status if they include an ERROR or FAIL.
39177         (xtests): Likewise.
39178         * manual/install.texi (Configuring and compiling): Mention
39179         stop-on-test-failure=y.
39180         * INSTALL: Regenerated.
39182 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39184         * scripts/versionlist.awk: New file.
39185         * Makerules [$(build-shared) = yes]
39186         (postclean-generated): Add Versions.def, not Versions.def.v and
39187         Versions.def.v.i.
39188         ($(common-objpfx)Versions.def.v.i): Target removed.
39189         ($(common-objpfx)Versions.def): New target.
39190         ($(common-objpfx)Versions.all): Depend on that rather that
39191         $(common-objpfx)Versions.def.v.
39192         * Versions.def: File removed.
39194         * Makeconfig (+gccwarn): Add -Wundef.
39195         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39196         a dl-sysdep.h breaking its contract.
39197         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39198         * include/stackinfo.h: New file.
39199         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39200         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39201         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39202         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39203         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39204         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39205         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39206         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39207         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39208         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39209         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39210         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39211         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39212         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39213         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39215 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39217         [BZ #16707]
39218         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39219         implementation.
39220         * math/libm-test.inc (round_test_data): Add more tests.
39222         [BZ #16706]
39223         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39224         implementation.
39225         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39227         [BZ #16701]
39228         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39229         implementation.
39230         * math/libm-test.inc (ceil_test_data): Add more tests.
39232         * math/libm-test.inc (trunc_test_data): Add more tests related to
39233         BZ#16414.
39235 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39237         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39238         with #if rather than #ifdef.
39239         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39241 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39243         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39244         first.  Disable AVX-512 GCC support if assembler doesn't support
39245         it.
39246         * sysdeps/x86_64/configure: Regenerated.
39248 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39250         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39251         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39252         (__old_pthread_attr_setstack): Likewise.
39253         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39254         [!_STACK_GROWS_DOWN]: Likewise.
39256 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39258         * config.make.in (have-bash2): Delete.
39259         * configure.ac (libc_cv_have_bash2): Delete.
39260         * configure: Regenerate.
39261         * elf/Makefile (common-ldd-rewrite): Rename to ...
39262         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39263         (sh-ldd-rewrite): Delete.
39264         (bash-ldd-rewrite): Delete.
39265         (have-bash2): Delete checks.
39266         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39267         ldd-rewrite.
39269         * config.make.in (have-ksh): Delete.
39270         (KSH): Delete.
39271         * configure.ac (libc_cv_have_ksh): Delete.
39272         * configure: Regenerate.
39274         * elf/Makefile: Delete $(have-ksh) check.
39275         ($(objpfx)sotruss): Change KSH to BASH.
39276         * elf/sotruss.ksh: Rename to ...
39277         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39278         function style to match POSIX.  Drop ksh vim mode setting.
39280         * manual/time.texi (Specifying the Time Zone with TZ): Change
39281         Tuesday to Thursday.
39283         * debug/tst-longjmp_chk2.c: Update header comment.
39284         (stackoverflow_handler): Add comment.  Call assert on pass value.
39286 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39288         [BZ #16194]
39289         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39290         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39291         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39292         (La_x86_64_vector): Add zmm.
39293         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39294         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39295         ($(objpfx)tst-audit10): New target.
39296         ($(objpfx)tst-audit10.out): Likewise.
39297         (tst-audit10-ENV): New.
39298         (AVX512-CFLAGS): Likewise.
39299         (CFLAGS-tst-audit10.c): Likewise.
39300         (CFLAGS-tst-auditmod10a.c): Likewise.
39301         (CFLAGS-tst-auditmod10b.c): Likewise.
39302         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39303         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39304         * sysdeps/x86_64/configure: Regenerated.
39305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39306         AVX-512 zmm register support.
39307         (_dl_x86_64_save_sse): Likewise.
39308         (_dl_x86_64_restore_sse): Likewise.
39309         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39310         size vector registers.
39311         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39312         (ZMM_SIZE): Likewise.
39313         * sysdeps/x86_64/tst-audit10.c: New file.
39314         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39315         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39317 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39319         * configure.ac (HAVE_EHDR_START): New check.
39320         * configure: Regenerated.
39321         * config.h.in (HAVE_EHDR_START): New #undef.
39322         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39323         assuming the lowest-addressed segment maps the start of the file.
39325 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39327         * INSTALL: Regenerated.
39329 2014-03-13  Will Newton  <will.newton@linaro.org>
39331         * manual/setjmp.texi (System V contexts): Improve
39332         clarity and grammar of documentation.
39334 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39336         [BZ #16381]
39337         * elf/Makefile (tests): Add tst-pie2.
39338         (tests-pie): Add tst-pie2.
39339         * elf/tst-pie2.c: New file.
39340         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39341         for ET_EXEC.
39342         * elf/rtld.c (map_doit): Load executable as lt_executable.
39343         (dl_main): Likewise.
39345 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39347         [BZ #16642]
39348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39349         (__ASSUME_PSELECT): Undefine.
39351 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39353         [BZ #16689]
39354         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39355         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39356         static build.
39357         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39358         selector for static builds.
39360 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39362         [BZ #16695]
39363         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39364         key in the buffer.
39366 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39368         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39369         IFUNC selector for static builds.
39371 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39373         * sysdeps/mips/math_private.h [__mips_hard_float]
39374         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39375         libc_feresetround_mips_ctx.
39376         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39377         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39378         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39380         [BZ #16677]
39381         * math/s_nextafter.c (__nextafter): Do not return value from
39382         overflowing computation.
39383         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39384         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39385         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39386         Likewise.
39387         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39388         Likewise.
39389         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39390         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39392 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39394         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39395         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39396         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39397         the new mov targetting sp.
39399 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39401         [BZ #16683]
39402         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39403         Define it for static builds as well.
39404         (NO_BZERO_IMPL): Likewise.
39406 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39408         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39409         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39410         multiarch strspn for PPC64.
39411         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39412         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39414         (__libc_ifunc_impl_list): Likewise.
39415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39416         multiarch optimizations
39417         * string/strspn.c (strspn): Using macro to redefine symbol name.
39419 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39420             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39422         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39423         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39424         multiarch strncat for PPC64.
39425         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39426         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39428         (__libc_ifunc_impl_list): Likewise.
39429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39430         multiarch optimizations
39432 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39434         [BZ #16639]
39435         * nscd/nscd.service: Make service type forking.
39437 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39439         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39440         sign in non default rounding modes.
39441         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39443 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39445         * math/libm-test.inc (ALL_RM_TEST): New macro.
39446         (ceil_test): Use ALL_RM_TEST.
39447         (cimag_test): Likewise.
39448         (conj_test): Likewise.
39449         (copysign_test): Likewise.
39450         (cproj_test): Likewise.
39451         (creal_test): Likewise.
39452         (fabs_test): Likewise.
39453         (floor_test): Likewise.
39454         (fmax_test): Likewise.
39455         (fmin_test): Likewise.
39456         (fmod_test): Likewise.
39457         (fpclassify_test): Likewise.
39458         (frexp_test): Likewise.
39459         (ilogb_test): Likewise.
39460         (isfinite_test): Likewise.
39461         (finite_test): Likewise.
39462         (isgreater_test): Likewise.
39463         (isgreaterequal_test): Likewise.
39464         (isinf_test): Likewise.
39465         (isless_test): Likewise.
39466         (islessequal_test): Likewise.
39467         (islessgreater_test): Likewise.
39468         (isnan_test): Likewise.
39469         (isnormal_test): Likewise.
39470         (issignaling_test): Likewise.
39471         (isunordered_test): Likewise.
39472         (logb_test): Likewise.
39473         (logb_downward_test_data): Remove.
39474         (logb_test_downward): Likewise.
39475         (lround_test): Use ALL_RM_TEST.
39476         (llround_test): Likewise.
39477         (modf_test): Likewise.
39478         (nexttoward_test): Likewise.
39479         (remainder_test): Likewise.
39480         (drem_test): Likewise.
39481         (remainder_tonearest_test_data): Likewise.
39482         (remainder_test_tonearest): Likewise.
39483         (drem_test_tonearest): Likewise.
39484         (remainder_towardzero_test_data): Likewise.
39485         (remainder_test_towardzero): Likewise.
39486         (drem_test_towardzero): Likewise.
39487         (remainder_downward_test_data): Likewise.
39488         (remainder_test_downward): Likewise.
39489         (drem_test_downward): Likewise.
39490         (remainder_upward_test_data): Likewise.
39491         (remainder_test_upward): Likewise.
39492         (drem_test_upward): Likewise.
39493         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39494         (round_test): Use ALL_RM_TEST.
39495         (signbit_test): Likewise.
39496         (trunc_test): Likewise.
39497         (significand_test): Likewise.
39498         (main): Don't call removed functions.
39500 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39502         [BZ #16674]
39503         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39504         || __USE_XOPEN2K8].
39505         (ILL_ILLOPN): Likewise.
39506         (ILL_ILLADR): Likewise.
39507         (ILL_ILLTRP): Likewise.
39508         (ILL_PRVOPC): Likewise.
39509         (ILL_PRVREG): Likewise.
39510         (ILL_COPROC): Likewise.
39511         (ILL_BADSTK): Likewise.
39512         (FPE_INTDIV): Likewise.
39513         (FPE_INTOVF): Likewise.
39514         (FPE_FLTDIV): Likewise.
39515         (FPE_FLTOVF): Likewise.
39516         (FPE_FLTUND): Likewise.
39517         (FPE_FLTRES): Likewise.
39518         (FPE_FLTINV): Likewise.
39519         (FPE_FLTSUB): Likewise.
39520         (SEGV_MAPERR): Likewise.
39521         (SEGV_ACCERR): Likewise.
39522         (BUS_ADRALN): Likewise.
39523         (BUS_ADRERR): Likewise.
39524         (BUS_OBJERR): Likewise.
39525         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39526         (TRAP_TRACE): Likewise.
39527         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39528         __USE_XOPEN2K8].
39529         (CLD_KILLED): Likewise.
39530         (CLD_DUMPED): Likewise.
39531         (CLD_TRAPPED): Likewise.
39532         (CLD_STOPPED): Likewise.
39533         (CLD_CONTINUED): Likewise.
39534         (POLL_IN): Likewise.
39535         (POLL_OUT): Likewise.
39536         (POLL_MSG): Likewise.
39537         (POLL_ERR): Likewise.
39538         (POLL_PRI): Likewise.
39539         (POLL_HUP): Likewise.
39540         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39541         Likewise.
39542         (ILL_ILLOPN): Likewise.
39543         (ILL_ILLADR): Likewise.
39544         (ILL_ILLTRP): Likewise.
39545         (ILL_PRVOPC): Likewise.
39546         (ILL_PRVREG): Likewise.
39547         (ILL_COPROC): Likewise.
39548         (ILL_BADSTK): Likewise.
39549         (FPE_INTDIV): Likewise.
39550         (FPE_INTOVF): Likewise.
39551         (FPE_FLTDIV): Likewise.
39552         (FPE_FLTOVF): Likewise.
39553         (FPE_FLTUND): Likewise.
39554         (FPE_FLTRES): Likewise.
39555         (FPE_FLTINV): Likewise.
39556         (FPE_FLTSUB): Likewise.
39557         (SEGV_MAPERR): Likewise.
39558         (SEGV_ACCERR): Likewise.
39559         (BUS_ADRALN): Likewise.
39560         (BUS_ADRERR): Likewise.
39561         (BUS_OBJERR): Likewise.
39562         (BUS_MCEERR_AR): Likewise.
39563         (BUS_MCEERR_AO): Likewise.
39564         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39565         (TRAP_TRACE): Likewise.
39566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39567         __USE_XOPEN2K8].
39568         (CLD_KILLED): Likewise.
39569         (CLD_DUMPED): Likewise.
39570         (CLD_TRAPPED): Likewise.
39571         (CLD_STOPPED): Likewise.
39572         (CLD_CONTINUED): Likewise.
39573         (POLL_IN): Likewise.
39574         (POLL_OUT): Likewise.
39575         (POLL_MSG): Likewise.
39576         (POLL_ERR): Likewise.
39577         (POLL_PRI): Likewise.
39578         (POLL_HUP): Likewise.
39579         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39580         (ILL_ILLOPN): Likewise.
39581         (ILL_ILLADR): Likewise.
39582         (ILL_ILLTRP): Likewise.
39583         (ILL_PRVOPC): Likewise.
39584         (ILL_PRVREG): Likewise.
39585         (ILL_COPROC): Likewise.
39586         (ILL_BADSTK): Likewise.
39587         (FPE_INTDIV): Likewise.
39588         (FPE_INTOVF): Likewise.
39589         (FPE_FLTDIV): Likewise.
39590         (FPE_FLTOVF): Likewise.
39591         (FPE_FLTUND): Likewise.
39592         (FPE_FLTRES): Likewise.
39593         (FPE_FLTINV): Likewise.
39594         (FPE_FLTSUB): Likewise.
39595         (SEGV_MAPERR): Likewise.
39596         (SEGV_ACCERR): Likewise.
39597         (BUS_ADRALN): Likewise.
39598         (BUS_ADRERR): Likewise.
39599         (BUS_OBJERR): Likewise.
39600         (BUS_MCEERR_AR): Likewise.
39601         (BUS_MCEERR_AO): Likewise.
39602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39603         (TRAP_TRACE): Likewise.
39604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39605         __USE_XOPEN2K8].
39606         (CLD_KILLED): Likewise.
39607         (CLD_DUMPED): Likewise.
39608         (CLD_TRAPPED): Likewise.
39609         (CLD_STOPPED): Likewise.
39610         (CLD_CONTINUED): Likewise.
39611         (POLL_IN): Likewise.
39612         (POLL_OUT): Likewise.
39613         (POLL_MSG): Likewise.
39614         (POLL_ERR): Likewise.
39615         (POLL_PRI): Likewise.
39616         (POLL_HUP): Likewise.
39617         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39618         Likewise.
39619         (ILL_ILLOPN): Likewise.
39620         (ILL_ILLADR): Likewise.
39621         (ILL_ILLTRP): Likewise.
39622         (ILL_PRVOPC): Likewise.
39623         (ILL_PRVREG): Likewise.
39624         (ILL_COPROC): Likewise.
39625         (ILL_BADSTK): Likewise.
39626         (ILL_BADIADDR): Likewise.
39627         (ILL_BREAK): Likewise.
39628         (FPE_INTDIV): Likewise.
39629         (FPE_INTOVF): Likewise.
39630         (FPE_FLTDIV): Likewise.
39631         (FPE_FLTOVF): Likewise.
39632         (FPE_FLTUND): Likewise.
39633         (FPE_FLTRES): Likewise.
39634         (FPE_FLTINV): Likewise.
39635         (FPE_FLTSUB): Likewise.
39636         (FPE_DECOVF): Likewise.
39637         (FPE_DECDIV): Likewise.
39638         (FPE_DECERR): Likewise.
39639         (FPE_INVASC): Likewise.
39640         (FPE_INVDEC): Likewise.
39641         (SEGV_MAPERR): Likewise.
39642         (SEGV_ACCERR): Likewise.
39643         (SEGV_PSTKOVF): Likewise.
39644         (BUS_ADRALN): Likewise.
39645         (BUS_ADRERR): Likewise.
39646         (BUS_OBJERR): Likewise.
39647         (BUS_MCEERR_AR): Likewise.
39648         (BUS_MCEERR_AO): Likewise.
39649         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39650         (TRAP_TRACE): Likewise.
39651         (TRAP_BRANCH): Likewise.
39652         (TRAP_HWBKPT): Likewise.
39653         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39654         __USE_XOPEN2K8].
39655         (CLD_KILLED): Likewise.
39656         (CLD_DUMPED): Likewise.
39657         (CLD_TRAPPED): Likewise.
39658         (CLD_STOPPED): Likewise.
39659         (CLD_CONTINUED): Likewise.
39660         (POLL_IN): Likewise.
39661         (POLL_OUT): Likewise.
39662         (POLL_MSG): Likewise.
39663         (POLL_ERR): Likewise.
39664         (POLL_PRI): Likewise.
39665         (POLL_HUP): Likewise.
39666         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39667         (ILL_ILLOPN): Likewise.
39668         (ILL_ILLADR): Likewise.
39669         (ILL_ILLTRP): Likewise.
39670         (ILL_PRVOPC): Likewise.
39671         (ILL_PRVREG): Likewise.
39672         (ILL_COPROC): Likewise.
39673         (ILL_BADSTK): Likewise.
39674         (FPE_INTDIV): Likewise.
39675         (FPE_INTOVF): Likewise.
39676         (FPE_FLTDIV): Likewise.
39677         (FPE_FLTOVF): Likewise.
39678         (FPE_FLTUND): Likewise.
39679         (FPE_FLTRES): Likewise.
39680         (FPE_FLTINV): Likewise.
39681         (FPE_FLTSUB): Likewise.
39682         (SEGV_MAPERR): Likewise.
39683         (SEGV_ACCERR): Likewise.
39684         (BUS_ADRALN): Likewise.
39685         (BUS_ADRERR): Likewise.
39686         (BUS_OBJERR): Likewise.
39687         (BUS_MCEERR_AR): Likewise.
39688         (BUS_MCEERR_AO): Likewise.
39689         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39690         (TRAP_TRACE): Likewise.
39691         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39692         __USE_XOPEN2K8].
39693         (CLD_KILLED): Likewise.
39694         (CLD_DUMPED): Likewise.
39695         (CLD_TRAPPED): Likewise.
39696         (CLD_STOPPED): Likewise.
39697         (CLD_CONTINUED): Likewise.
39698         (POLL_IN): Likewise.
39699         (POLL_OUT): Likewise.
39700         (POLL_MSG): Likewise.
39701         (POLL_ERR): Likewise.
39702         (POLL_PRI): Likewise.
39703         (POLL_HUP): Likewise.
39704         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39705         (ILL_ILLOPN): Likewise.
39706         (ILL_ILLADR): Likewise.
39707         (ILL_ILLTRP): Likewise.
39708         (ILL_PRVOPC): Likewise.
39709         (ILL_PRVREG): Likewise.
39710         (ILL_COPROC): Likewise.
39711         (ILL_BADSTK): Likewise.
39712         (FPE_INTDIV): Likewise.
39713         (FPE_INTOVF): Likewise.
39714         (FPE_FLTDIV): Likewise.
39715         (FPE_FLTOVF): Likewise.
39716         (FPE_FLTUND): Likewise.
39717         (FPE_FLTRES): Likewise.
39718         (FPE_FLTINV): Likewise.
39719         (FPE_FLTSUB): Likewise.
39720         (SEGV_MAPERR): Likewise.
39721         (SEGV_ACCERR): Likewise.
39722         (BUS_ADRALN): Likewise.
39723         (BUS_ADRERR): Likewise.
39724         (BUS_OBJERR): Likewise.
39725         (BUS_MCEERR_AR): Likewise.
39726         (BUS_MCEERR_AO): Likewise.
39727         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39728         (TRAP_TRACE): Likewise.
39729         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39730         __USE_XOPEN2K8].
39731         (CLD_KILLED): Likewise.
39732         (CLD_DUMPED): Likewise.
39733         (CLD_TRAPPED): Likewise.
39734         (CLD_STOPPED): Likewise.
39735         (CLD_CONTINUED): Likewise.
39736         (POLL_IN): Likewise.
39737         (POLL_OUT): Likewise.
39738         (POLL_MSG): Likewise.
39739         (POLL_ERR): Likewise.
39740         (POLL_PRI): Likewise.
39741         (POLL_HUP): Likewise.
39742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39743         (ILL_ILLOPN): Likewise.
39744         (ILL_ILLADR): Likewise.
39745         (ILL_ILLTRP): Likewise.
39746         (ILL_PRVOPC): Likewise.
39747         (ILL_PRVREG): Likewise.
39748         (ILL_COPROC): Likewise.
39749         (ILL_BADSTK): Likewise.
39750         (FPE_INTDIV): Likewise.
39751         (FPE_INTOVF): Likewise.
39752         (FPE_FLTDIV): Likewise.
39753         (FPE_FLTOVF): Likewise.
39754         (FPE_FLTUND): Likewise.
39755         (FPE_FLTRES): Likewise.
39756         (FPE_FLTINV): Likewise.
39757         (FPE_FLTSUB): Likewise.
39758         (SEGV_MAPERR): Likewise.
39759         (SEGV_ACCERR): Likewise.
39760         (BUS_ADRALN): Likewise.
39761         (BUS_ADRERR): Likewise.
39762         (BUS_OBJERR): Likewise.
39763         (BUS_MCEERR_AR): Likewise.
39764         (BUS_MCEERR_AO): Likewise.
39765         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39766         (TRAP_TRACE): Likewise.
39767         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39768         __USE_XOPEN2K8].
39769         (CLD_KILLED): Likewise.
39770         (CLD_DUMPED): Likewise.
39771         (CLD_TRAPPED): Likewise.
39772         (CLD_STOPPED): Likewise.
39773         (CLD_CONTINUED): Likewise.
39774         (POLL_IN): Likewise.
39775         (POLL_OUT): Likewise.
39776         (POLL_MSG): Likewise.
39777         (POLL_ERR): Likewise.
39778         (POLL_PRI): Likewise.
39779         (POLL_HUP): Likewise.
39780         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39781         (ILL_ILLOPN): Likewise.
39782         (ILL_ILLADR): Likewise.
39783         (ILL_ILLTRP): Likewise.
39784         (ILL_PRVOPC): Likewise.
39785         (ILL_PRVREG): Likewise.
39786         (ILL_COPROC): Likewise.
39787         (ILL_BADSTK): Likewise.
39788         (ILL_DBLFLT): Likewise.
39789         (ILL_HARDWALL): Likewise.
39790         (FPE_INTDIV): Likewise.
39791         (FPE_INTOVF): Likewise.
39792         (FPE_FLTDIV): Likewise.
39793         (FPE_FLTOVF): Likewise.
39794         (FPE_FLTUND): Likewise.
39795         (FPE_FLTRES): Likewise.
39796         (FPE_FLTINV): Likewise.
39797         (FPE_FLTSUB): Likewise.
39798         (SEGV_MAPERR): Likewise.
39799         (SEGV_ACCERR): Likewise.
39800         (BUS_ADRALN): Likewise.
39801         (BUS_ADRERR): Likewise.
39802         (BUS_OBJERR): Likewise.
39803         (BUS_MCEERR_AR): Likewise.
39804         (BUS_MCEERR_AO): Likewise.
39805         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39806         (TRAP_TRACE): Likewise.
39807         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39808         __USE_XOPEN2K8].
39809         (CLD_KILLED): Likewise.
39810         (CLD_DUMPED): Likewise.
39811         (CLD_TRAPPED): Likewise.
39812         (CLD_STOPPED): Likewise.
39813         (CLD_CONTINUED): Likewise.
39814         (POLL_IN): Likewise.
39815         (POLL_OUT): Likewise.
39816         (POLL_MSG): Likewise.
39817         (POLL_ERR): Likewise.
39818         (POLL_PRI): Likewise.
39819         (POLL_HUP): Likewise.
39820         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39821         (ILL_ILLOPN): Likewise.
39822         (ILL_ILLADR): Likewise.
39823         (ILL_ILLTRP): Likewise.
39824         (ILL_PRVOPC): Likewise.
39825         (ILL_PRVREG): Likewise.
39826         (ILL_COPROC): Likewise.
39827         (ILL_BADSTK): Likewise.
39828         (FPE_INTDIV): Likewise.
39829         (FPE_INTOVF): Likewise.
39830         (FPE_FLTDIV): Likewise.
39831         (FPE_FLTOVF): Likewise.
39832         (FPE_FLTUND): Likewise.
39833         (FPE_FLTRES): Likewise.
39834         (FPE_FLTINV): Likewise.
39835         (FPE_FLTSUB): Likewise.
39836         (SEGV_MAPERR): Likewise.
39837         (SEGV_ACCERR): Likewise.
39838         (BUS_ADRALN): Likewise.
39839         (BUS_ADRERR): Likewise.
39840         (BUS_OBJERR): Likewise.
39841         (BUS_MCEERR_AR): Likewise.
39842         (BUS_MCEERR_AO): Likewise.
39843         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39844         (TRAP_TRACE): Likewise.
39845         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39846         __USE_XOPEN2K8].
39847         (CLD_KILLED): Likewise.
39848         (CLD_DUMPED): Likewise.
39849         (CLD_TRAPPED): Likewise.
39850         (CLD_STOPPED): Likewise.
39851         (CLD_CONTINUED): Likewise.
39852         (POLL_IN): Likewise.
39853         (POLL_OUT): Likewise.
39854         (POLL_MSG): Likewise.
39855         (POLL_ERR): Likewise.
39856         (POLL_PRI): Likewise.
39857         (POLL_HUP): Likewise.
39858         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39859         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39861         [BZ #16670]
39862         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39863         before #include of <time.h>.
39864         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39865         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39866         (test-xfail-UNIX98/sched.h/conform): Likewise.
39868 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39870         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39871         error absence of trapping exception support.
39872         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39874 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39876         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39877         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39878         * timezone/Makefile (testdata): Move definition above include of
39879         Rules.
39880         (test-zones): New variable.
39881         (tests-special): Add zone files.
39882         (build-testdata): Use $(evaluate-test).
39884         * elf/Makefile (tests-special): Rename tests to end with .out.
39885         ($(objpfx)noload-mem): Likewise.
39886         ($(objpfx)tst-leaks1-mem): Likewise.
39887         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39888         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39889         $(objpfx)test-iconvconfig.out.
39890         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39891         set -e inside subshell and redirect output to file.
39892         * iconvdata/Makefile (generated): Rename tests to end with .out.
39893         Correct type.
39894         (tests-special): Rename tests to end with .out.
39895         ($(objpfx)mtrace-tst-loading): Likewise.
39896         * intl/Makefile (generated): Likewise.
39897         (tests-special): Likewise.
39898         ($(objpfx)mtrace-tst-gettext): Likewise.
39899         * misc/Makefile (generated): Likewise.
39900         (tests-special): Likewise.
39901         ($(objpfx)tst-error1-mem): Likewise.
39902         * nptl/Makefile (tests-special): Likewise.
39903         ($(objpfx)tst-stack3-mem): Likewise.
39904         (generated): Likewise.
39905         * posix/Makefile (generated): Likewise.
39906         (tests-special): Likewise.
39907         (xtests-special): Likewise.
39908         ($(objpfx)tst-fnmatch-mem): Likewise.
39909         ($(objpfx)bug-regex2-mem): Likewise.
39910         ($(objpfx)bug-regex14-mem): Likewise.
39911         ($(objpfx)bug-regex21-mem): Likewise.
39912         ($(objpfx)bug-regex31-mem): Likewise.
39913         ($(objpfx)tst-vfork3-mem): Likewise.
39914         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39915         ($(objpfx)tst-pcre-mem): Likewise.
39916         ($(objpfx)tst-boost-mem): Likewise.
39917         ($(objpfx)bug-ga2-mem): Likewise.
39918         ($(objpfx)bug-glob2-mem): Likewise.
39919         * resolv/Makefile (generate): Likewise.
39920         (tests-special): Likewise.
39921         (xtests-special): Likewise.
39922         (generated): Likewise.
39923         ($(objpfx)mtrace-tst-leaks): Likewise.
39924         ($(objpfx)mtrace-tst-leaks2): Likewise.
39926         * scripts/merge-test-results.sh: New file.
39927         * Makefile (tests-special-notdir): New variable.
39928         (tests): Run merge-test-results.sh.
39929         (xtests): Likewise.
39930         * Rules (tests-special-notdir): New variable.
39931         (xtests-special-notdir): Likewise.
39932         (tests): Run merge-test-results.sh
39933         (xtests): Likewise.
39935         * Makeconfig (test-xfail-name): New variable.
39936         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39937         compute variable name for expected failures.
39938         * conform/Makefile (conformtest-headers-data): New variable.
39939         (conformtest-standards): Likewise.
39940         (conformtest-headers-ISO): Likewise.
39941         (conformtest-headers-ISO99): Likewise.
39942         (conformtest-headers-ISO11): Likewise.
39943         (conformtest-headers-POSIX): Likewise.
39944         (conformtest-headers-XPG3): Likewise.
39945         (conformtest-headers-XPG4): Likewise.
39946         (conformtest-headers-UNIX98): Likewise.
39947         (conformtest-headers-XOPEN2K): Likewise.
39948         (conformtest-headers-POSIX2008): Likewise.
39949         (conformtest-headers-XOPEN2K8): Likewise.
39950         (conformtest-header-list-base): Likewise.
39951         (conformtest-header-list-tests): Likewise.
39952         (conformtest-header-base): Likewise.
39953         (conformtest-header-tests): Likewise.
39954         (tests-special): Add $(conformtest-header-list-tests).  If
39955         [$(fast-check) && !$(cross-compiling)], add
39956         $(conformtest-header-tests) instead of
39957         $(objpfx)run-conformtest.out.
39958         (generated): Add $(conformtest-header-list-base).  If
39959         [$(fast-check) && !$(cross-compiling)], add
39960         $(conformtest-header-base).  Remove previous setting.
39961         ($(conformtest-header-list-tests)): New target.
39962         (test-xfail-run-conformtest): Remove variable.
39963         ($(objpfx)run-conformtest.out): Remove target.
39964         (test-xfail-ISO11/complex.h/conform): New variable.
39965         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39966         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39967         (test-xfail-XPG3/varargs.h/conform): Likewise.
39968         (test-xfail-XPG4/varargs.h/conform): Likewise.
39969         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39970         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39971         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39972         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39973         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39974         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39975         (test-xfail-XPG3/ftw.h/conform): Likewise.
39976         (test-xfail-XPG3/grp.h/conform): Likewise.
39977         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39978         (test-xfail-XPG3/limits.h/conform): Likewise.
39979         (test-xfail-XPG3/pwd.h/conform): Likewise.
39980         (test-xfail-XPG3/search.h/conform): Likewise.
39981         (test-xfail-XPG3/signal.h/conform): Likewise.
39982         (test-xfail-XPG3/stdio.h/conform): Likewise.
39983         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39984         (test-xfail-XPG3/string.h/conform): Likewise.
39985         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39986         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39987         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39988         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39989         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39990         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39991         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39992         (test-xfail-XPG3/termios.h/conform): Likewise.
39993         (test-xfail-XPG3/time.h/conform): Likewise.
39994         (test-xfail-XPG3/unistd.h/conform): Likewise.
39995         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39996         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39997         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39998         (test-xfail-XPG4/netdb.h/conform): Likewise.
39999         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40000         (test-xfail-XPG4/signal.h/conform): Likewise.
40001         (test-xfail-XPG4/stdio.h/conform): Likewise.
40002         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40003         (test-xfail-XPG4/stropts.h/conform): Likewise.
40004         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40005         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40006         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40007         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40008         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40009         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40010         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40011         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40012         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40013         (test-xfail-XPG4/termios.h/conform): Likewise.
40014         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40015         (test-xfail-XPG4/unistd.h/conform): Likewise.
40016         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40017         (test-xfail-POSIX/sched.h/conform): Likewise.
40018         (test-xfail-POSIX/signal.h/conform): Likewise.
40019         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40020         (test-xfail-POSIX/tar.h/conform): Likewise.
40021         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40022         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40023         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40024         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40025         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40026         (test-xfail-UNIX98/sched.h/conform): Likewise.
40027         (test-xfail-UNIX98/signal.h/conform): Likewise.
40028         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40029         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40030         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40031         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40032         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40033         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40034         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40035         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40036         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40037         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40038         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40039         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40040         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40041         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40042         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40043         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40044         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40045         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40046         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40047         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40048         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40049         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40050         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40051         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40052         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40053         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40054         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40055         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40056         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40057         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40058         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40059         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40060         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40061         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40062         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40063         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40064         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40065         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40066         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40067         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40068         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40069         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40070         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40071         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40072         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40073         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40074         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40075         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40076         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40077         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40078         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40079         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40080         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40081         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40082         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40083         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40084         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40085         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40086         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40087         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40088         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40089         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40090         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40091         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40092         (conformtest-cc-flags): Likewise.
40093         ($(conformtest-header-tests): New target.
40094         * conform/check-header-lists.sh: New file.
40095         * conform/run-conformtest.sh: Remove.
40097         * conform/conformtest.pl: Allow ' and \ in values given for
40098         constants.
40099         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40100         inclusion.
40101         [POSIX] (sys/types.h): Likewise.
40102         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40103         inclusion.
40104         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40105         inclusion.
40106         * conform/data/signal.h-data (SIGIO): Remove expectation.
40107         [XPG3] (SIGBUS): Do not expect.
40108         [POSIX || XPG3] (SIGPOLL): Likewise.
40109         [POSIX || XPG3] (SIGPROF): Likewise.
40110         [POSIX || XPG3] (SIGSYS): Likewise.
40111         [XPG3] (SIGTRAP): Likewise.
40112         [POSIX || XPG3] (SIGURG): Likewise.
40113         [POSIX || XPG3] (SIGVTALRM): Likewise.
40114         [POSIX || XPG3] (SIGXCPU): Likewise.
40115         [POSIX || XPG3] (SIGXFSZ): Likewise.
40116         [POSIX] (SA_SIGINFO): Expect.
40117         [XPG3] (siginfo_t): Do not expect type or contents.
40118         [POSIX] (si_pid): Do not expect element.
40119         [POSIX] (si_uid): Likewise.
40120         [POSIX] (si_addr): Likewise.
40121         [POSIX] (si_status): Likewise.
40122         [POSIX] (si_band): Likewise.
40123         [XPG4] (si_value): Likewise.
40124         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40125         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40126         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40127         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40128         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40129         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40130         [POSIX || XPG3] (ILL_COPROC): Likewise.
40131         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40132         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40133         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40134         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40135         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40136         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40137         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40138         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40139         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40140         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40141         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40142         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40143         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40144         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40145         [POSIX || XPG3] (CLD_EXITED): Likewise.
40146         [POSIX || XPG3] (CLD_KILLED): Likewise.
40147         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40148         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40149         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40150         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40151         [POSIX || XPG3] (POLL_IN): Likewise.
40152         [POSIX || XPG3] (POLL_OUT): Likewise.
40153         [POSIX || XPG3] (POLL_MSG): Likewise.
40154         [POSIX || XPG3] (POLL_ERR): Likewise.
40155         [POSIX || XPG3] (POLL_PRI): Likewise.
40156         [POSIX || XPG3] (POLL_HUP): Likewise.
40157         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40158         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40159         (SIG*): Do not allow.
40160         [XPG3] (si_*): Likewise.
40161         [XPG3] (SI_*): Likewise.
40162         [XPG3 || XPG4] (sigev_*): Likewise.
40163         [XPG3 || XPG4] (SIGEV_*): Likewise.
40164         [XPG3 || XPG4] (sival_*): Likewise.
40165         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40166         [POSIX || XPG3] (BUS_*): Likewise.
40167         [POSIX || XPG3] (CLD_*): Likewise.
40168         [POSIX || XPG3] (FPE_*): Likewise.
40169         [POSIX || XPG3] (ILL_*): Likewise.
40170         [POSIX || XPG3] (POLL_*): Likewise.
40171         [POSIX || XPG3] (SEGV_*): Likewise.
40172         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40173         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40174         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40175         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40176         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40177         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40178         Specify type and value.
40179         (TVERSLEN): Likewise.
40180         (REGTYPE): Likewise.
40181         (AREGTYPE): Likewise.
40182         (LNKTYPE): Likewise.
40183         (SYMTYPE): Likewise.
40184         (CHRTYPE): Likewise.
40185         (BLKTYPE): Likewise.
40186         (DIRTYPE): Likewise.
40187         (FIFOTYPE): Likewise.
40188         (CONTTYPE): Likewise.
40189         (TSUID): Likewise.
40190         (TSGID): Likewise.
40191         (TSVTX): Likewise.
40192         (TUREAD): Likewise.
40193         (TUWRITE): Likewise.
40194         (TUEXEC): Likewise.
40195         (TGREAD): Likewise.
40196         (TGWRITE): Likewise.
40197         (TGEXEC): Likewise.
40198         (TOREAD): Likewise.
40199         (TOWRITE): Likewise.
40200         (TOEXEC): Likewise.
40201         [POSIX] (TSVTX): Expect constant.
40203 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40205         * Makefile (tests): Change dependencies to ....
40206         (tests-special): ... additions to this variable.
40207         (tests): Depend on $(tests-special).
40208         * Makerules (check-abi-list): New variable.
40209         (check-abi): Depend on $(check-abi-list).
40210         [$(subdir) = elf] (tests-special): Add
40211         $(objpfx)check-abi-libc.out.
40212         [$(build-shared) = yes && subdir] (tests-special): Add
40213         $(check-abi-list).
40214         [$(build-shared) = yes && subdir] (tests): Do not depend on
40215         check-abi.
40216         * Rules (tests): Depend on $(tests-special).
40217         (xtests): Depend on $(xtests-special).
40218         * catgets/Makefile (tests): Change dependencies to ....
40219         (tests-special): ... additions to this variable.
40220         * conform/Makefile (tests): Change dependencies to ....
40221         (tests-special): ... additions to this variable.
40222         * elf/Makefile (tests): Change dependencies to ....
40223         (tests-special): ... additions to this variable.
40224         * grp/Makefile (tests): Change dependencies to ....
40225         (tests-special): ... additions to this variable.
40226         * iconv/Makefile (xtests): Change dependencies to ....
40227         (xtests-special): ... additions to this variable.
40228         * iconvdata/Makefile (tests): Change dependencies to ....
40229         (tests-special): ... additions to this variable.
40230         * intl/Makefile (tests): Change dependencies to ....
40231         (tests-special): ... additions to this variable.  Also add
40232         $(objpfx)tst-gettext.out.
40233         * io/Makefile (tests): Change dependencies to ....
40234         (tests-special): ... additions to this variable.
40235         * libio/Makefile (tests): Change dependencies to ....
40236         (tests-special): ... additions to this variable.
40237         * malloc/Makefile (tests): Change dependencies to ....
40238         (tests-special): ... additions to this variable.
40239         * misc/Makefile (tests): Change dependencies to ....
40240         (tests-special): ... additions to this variable.
40241         * nptl/Makefile (tests): Change dependencies to ....
40242         (tests-special): ... additions to this variable.
40243         * nptl_db/Makefile (tests): Change dependencies to ....
40244         (tests-special): ... additions to this variable.
40245         * posix/Makefile (tests): Change dependencies to ....
40246         (tests-special): ... additions to this variable.
40247         (xtests): Change dependencies to ....
40248         (xtests-special): ... additions to this variable.
40249         * resolv/Makefile (tests): Change dependencies to ....
40250         (tests-special): ... additions to this variable.
40251         (xtests): Change dependencies to ....
40252         (xtests-special): ... additions to this variable.
40253         * stdio-common/Makefile (tests): Change dependencies to ....
40254         (tests-special): ... additions to this variable.
40255         (do-tst-unbputc): Remove target.
40256         (do-tst-printf): Likewise.
40257         * stdlib/Makefile (tests): Change dependencies to ....
40258         (tests-special): ... additions to this variable.
40259         * string/Makefile (tests): Change dependencies to ....
40260         (tests-special): ... additions to this variable.
40261         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40262         (tests-special): ... additions to this variable.
40264         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40265         whole file.
40266         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40267         whole file.
40268         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40269         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40271         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40272         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40273         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40274         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40275         * conform/data/libgen.h-data [XPG3]: Likewise.
40276         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40277         * conform/data/ndbm.h-data [XPG3]: Likewise.
40278         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40279         * conform/data/netdb.h-data [XPG3]: Likewise.
40280         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40281         * conform/data/poll.h-data [XPG3]: Likewise.
40282         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40283         * conform/data/strings.h-data [XPG3]: Likewise.
40284         * conform/data/stropts.h-data [XPG3]: Likewise.
40285         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40286         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40287         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40288         Likewise.
40289         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40290         * conform/data/sys/time.h-data [XPG3]: Likewise.
40291         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40292         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40293         * conform/data/sys/un.h-data [XPG3]: Likewise.
40294         * conform/data/syslog.h-data [XPG3]: Likewise.
40295         * conform/data/ucontext.h-data [XPG3]: Likewise.
40296         * conform/data/utmpx.h-data [XPG3]: Likewise.
40297         * conform/data/varargs.h-data [UNIX98]: Enable file.
40299         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40301         * math/libm-test.inc (struct test_f_f_data): Move expected results
40302         into structure for each rounding mode.
40303         (struct test_ff_f_data): Likewise.
40304         (struct test_ff_f_data_nexttoward): Likewise.
40305         (struct test_fi_f_data): Likewise.
40306         (struct test_fl_f_data): Likewise.
40307         (struct test_if_f_data): Likewise.
40308         (struct test_fff_f_data): Likewise.
40309         (struct test_c_f_data): Likewise.
40310         (struct test_f_f1_data): Likewise.
40311         (struct test_fF_f1_data): Likewise.
40312         (struct test_ffI_f1_data): Likewise.
40313         (struct test_c_c_data): Likewise.
40314         (struct test_cc_c_data): Likewise.
40315         (struct test_f_i_data): Likewise.
40316         (struct test_ff_i_data): Likewise.
40317         (struct test_f_l_data): Likewise.
40318         (struct test_f_L_data): Likewise.
40319         (struct test_fFF_11_data): Likewise.
40320         (RM_): New macro.
40321         (RM_FE_DOWNWARD): Likewise.
40322         (RM_FE_TONEAREST): Likewise.
40323         (RM_FE_TOWARDZERO): Likewise.
40324         (RM_FE_UPWARD): Likewise.
40325         (RUN_TEST_LOOP_f_f): Update references to expected results.
40326         (RUN_TEST_LOOP_2_f): Likewise.
40327         (RUN_TEST_LOOP_fff_f): Likewise.
40328         (RUN_TEST_LOOP_c_f): Likewise.
40329         (RUN_TEST_LOOP_f_f1): Likewise.
40330         (RUN_TEST_LOOP_fF_f1): Likewise.
40331         (RUN_TEST_LOOP_fI_f1): Likewise.
40332         (RUN_TEST_LOOP_ffI_f1): Likewise.
40333         (RUN_TEST_LOOP_c_c): Likewise.
40334         (RUN_TEST_LOOP_cc_c): Likewise.
40335         (RUN_TEST_LOOP_f_i): Likewise.
40336         (RUN_TEST_LOOP_f_i_tg): Likewise.
40337         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40338         (RUN_TEST_LOOP_f_b): Likewise.
40339         (RUN_TEST_LOOP_f_b_tg): Likewise.
40340         (RUN_TEST_LOOP_f_l): Likewise.
40341         (RUN_TEST_LOOP_f_L): Likewise.
40342         (RUN_TEST_LOOP_fFF_11): Likewise.
40343         * math/gen-libm-test.pl (parse_args): Output four copies of
40344         expected results for each test.
40346         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40347         (__ASSUME_UTIMES): Remove.
40348         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40349         (__ASSUME_UTIMES): Likewise.
40351         * math/gen-auto-libm-tests.c: Update comment on output format.
40352         (output_for_one_input_case): Generate before-rounding and
40353         after-rounding information as conditions on output flags not
40354         floating-point format.
40355         * math/auto-libm-test-out: Regenerated.
40356         * math/gen-libm-test.pl (cond_value): New function.
40357         (or_cond_value): Use cond_value.
40358         (generate_testfile): Handle conditional exceptions.
40360 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40362         * math/libm-test.inc (max_valid_error): New variable.
40363         (init_max_error): Take new argument specifying whether function
40364         results are exactly determined.  Set max_valid_error and bound
40365         other variables for errors based on this argument.
40366         (set_max_error): Do not record results above max_valid_error.
40367         (check_float_internal): Only accept errors of up to 0.5ulps if
40368         also at most max_valid_error.
40369         (START): Take new argument EXACT and pass it to init_max_error.
40370         (acos_test): Update call to START.
40371         (acos_test_tonearest): Likewise.
40372         (acos_test_towardzero): Likewise.
40373         (acos_test_downward): Likewise.
40374         (acos_test_upward): Likewise.
40375         (acosh_test): Likewise.
40376         (asin_test): Likewise.
40377         (asin_test_tonearest): Likewise.
40378         (asin_test_towardzero): Likewise.
40379         (asin_test_downward): Likewise.
40380         (asin_test_upward): Likewise.
40381         (asinh_test): Likewise.
40382         (atan_test): Likewise.
40383         (atanh_test): Likewise.
40384         (atan2_test): Likewise.
40385         (cabs_test): Likewise.
40386         (cacos_test): Likewise.
40387         (cacosh_test): Likewise.
40388         (carg_test): Likewise.
40389         (casin_test): Likewise.
40390         (casinh_test): Likewise.
40391         (catan_test): Likewise.
40392         (catanh_test): Likewise.
40393         (cbrt_test): Likewise.
40394         (ccos_test): Likewise.
40395         (ccosh_test): Likewise.
40396         (ceil_test): Likewise.
40397         (cexp_test): Likewise.
40398         (cimag_test): Likewise.
40399         (clog_test): Likewise.
40400         (clog10_test): Likewise.
40401         (conj_test): Likewise.
40402         (copysign_test): Likewise.
40403         (cos_test): Likewise.
40404         (cos_test_tonearest): Likewise.
40405         (cos_test_towardzero): Likewise.
40406         (cos_test_downward): Likewise.
40407         (cos_test_upward): Likewise.
40408         (cosh_test): Likewise.
40409         (cosh_test_tonearest): Likewise.
40410         (cosh_test_towardzero): Likewise.
40411         (cosh_test_downward): Likewise.
40412         (cosh_test_upward): Likewise.
40413         (cpow_test): Likewise.
40414         (cproj_test): Likewise.
40415         (creal_test): Likewise.
40416         (csin_test): Likewise.
40417         (csinh_test): Likewise.
40418         (csqrt_test): Likewise.
40419         (ctan_test): Likewise.
40420         (ctan_test_tonearest): Likewise.
40421         (ctan_test_towardzero): Likewise.
40422         (ctan_test_downward): Likewise.
40423         (ctan_test_upward): Likewise.
40424         (ctanh_test): Likewise.
40425         (ctanh_test_tonearest): Likewise.
40426         (ctanh_test_towardzero): Likewise.
40427         (ctanh_test_downward): Likewise.
40428         (ctanh_test_upward): Likewise.
40429         (erf_test): Likewise.
40430         (erfc_test): Likewise.
40431         (exp_test): Likewise.
40432         (exp_test_tonearest): Likewise.
40433         (exp_test_towardzero): Likewise.
40434         (exp_test_downward): Likewise.
40435         (exp_test_upward): Likewise.
40436         (exp10_test): Likewise.
40437         (exp10_test_tonearest): Likewise.
40438         (exp10_test_towardzero): Likewise.
40439         (exp10_test_downward): Likewise.
40440         (exp10_test_upward): Likewise.
40441         (pow10_test): Likewise.
40442         (exp2_test): Likewise.
40443         (expm1_test): Likewise.
40444         (expm1_test_tonearest): Likewise.
40445         (expm1_test_towardzero): Likewise.
40446         (expm1_test_downward): Likewise.
40447         (expm1_test_upward): Likewise.
40448         (fabs_test): Likewise.
40449         (fdim_test): Likewise.
40450         (floor_test): Likewise.
40451         (fma_test): Likewise.
40452         (fma_test_towardzero): Likewise.
40453         (fma_test_downward): Likewise.
40454         (fma_test_upward): Likewise.
40455         (fmax_test): Likewise.
40456         (fmin_test): Likewise.
40457         (fmod_test): Likewise.
40458         (fpclassify_test): Likewise.
40459         (frexp_test): Likewise.
40460         (hypot_test): Likewise.
40461         (ilogb_test): Likewise.
40462         (isfinite_test): Likewise.
40463         (finite_test): Likewise.
40464         (isgreater_test): Likewise.
40465         (isgreaterequal_test): Likewise.
40466         (isinf_test): Likewise.
40467         (isless_test): Likewise.
40468         (islessequal_test): Likewise.
40469         (islessgreater_test): Likewise.
40470         (isnan_test): Likewise.
40471         (isnormal_test): Likewise.
40472         (issignaling_test): Likewise.
40473         (isunordered_test): Likewise.
40474         (j0_test): Likewise.
40475         (j1_test): Likewise.
40476         (jn_test): Likewise.
40477         (ldexp_test): Likewise.
40478         (lgamma_test): Likewise.
40479         (gamma_test): Likewise.
40480         (lrint_test): Likewise.
40481         (lrint_test_tonearest): Likewise.
40482         (lrint_test_towardzero): Likewise.
40483         (lrint_test_downward): Likewise.
40484         (lrint_test_upward): Likewise.
40485         (llrint_test): Likewise.
40486         (llrint_test_tonearest): Likewise.
40487         (llrint_test_towardzero): Likewise.
40488         (llrint_test_downward): Likewise.
40489         (llrint_test_upward): Likewise.
40490         (log_test): Likewise.
40491         (log10_test): Likewise.
40492         (log1p_test): Likewise.
40493         (log2_test): Likewise.
40494         (logb_test): Likewise.
40495         (logb_test_downward): Likewise.
40496         (lround_test): Likewise.
40497         (llround_test): Likewise.
40498         (modf_test): Likewise.
40499         (nearbyint_test): Likewise.
40500         (nextafter_test): Likewise.
40501         (nexttoward_test): Likewise.
40502         (pow_test): Likewise.
40503         (pow_test_tonearest): Likewise.
40504         (pow_test_towardzero): Likewise.
40505         (pow_test_downward): Likewise.
40506         (pow_test_upward): Likewise.
40507         (remainder_test): Likewise.
40508         (drem_test): Likewise.
40509         (remainder_test_tonearest): Likewise.
40510         (drem_test_tonearest): Likewise.
40511         (remainder_test_towardzero): Likewise.
40512         (drem_test_towardzero): Likewise.
40513         (remainder_test_downward): Likewise.
40514         (drem_test_downward): Likewise.
40515         (remainder_test_upward): Likewise.
40516         (drem_test_upward): Likewise.
40517         (remquo_test): Likewise.
40518         (rint_test): Likewise.
40519         (rint_test_tonearest): Likewise.
40520         (rint_test_towardzero): Likewise.
40521         (rint_test_downward): Likewise.
40522         (rint_test_upward): Likewise.
40523         (round_test): Likewise.
40524         (scalb_test): Likewise.
40525         (scalbn_test): Likewise.
40526         (scalbln_test): Likewise.
40527         (signbit_test): Likewise.
40528         (sin_test): Likewise.
40529         (sin_test_tonearest): Likewise.
40530         (sin_test_towardzero): Likewise.
40531         (sin_test_downward): Likewise.
40532         (sin_test_upward): Likewise.
40533         (sincos_test): Likewise.
40534         (sinh_test): Likewise.
40535         (sinh_test_tonearest): Likewise.
40536         (sinh_test_towardzero): Likewise.
40537         (sinh_test_downward): Likewise.
40538         (sinh_test_upward): Likewise.
40539         (sqrt_test): Likewise.
40540         (sqrt_test_tonearest): Likewise.
40541         (sqrt_test_towardzero): Likewise.
40542         (sqrt_test_downward): Likewise.
40543         (sqrt_test_upward): Likewise.
40544         (tan_test): Likewise.
40545         (tan_test_tonearest): Likewise.
40546         (tan_test_towardzero): Likewise.
40547         (tan_test_downward): Likewise.
40548         (tan_test_upward): Likewise.
40549         (tanh_test): Likewise.
40550         (tgamma_test): Likewise.
40551         (trunc_test): Likewise.
40552         (y0_test): Likewise.
40553         (y1_test): Likewise.
40554         (yn_test): Likewise.
40555         (significand_test): Likewise.
40557         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40558         individual tests in comment.
40559         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40560         (prev_max_error): New variable.
40561         (prev_real_max_error): Likewise.
40562         (prev_imag_max_error): Likewise.
40563         (compare_ulp_data): Don't refer to test names in comment.
40564         (find_test_ulps): Remove function.
40565         (find_function_ulps): Likewise.
40566         (find_complex_function_ulps): Likewise.
40567         (init_max_error): Take function name as argument.  Look up ulps
40568         for that function.
40569         (print_ulps): Remove function.
40570         (print_max_error): Use prev_max_error instead of calling
40571         find_function_ulps.
40572         (print_complex_max_error): Use prev_real_max_error and
40573         prev_imag_max_error instead of calling find_complex_function_ulps.
40574         (check_float_internal): Take max_ulp parameter instead of calling
40575         find_test_ulps.  Don't call print_ulps.
40576         (check_float): Update call to check_float_internal.
40577         (check_complex): Update calls to check_float_internal.
40578         (START): Pass argument to init_max_error.
40579         * math/gen-libm-test.pl (%results): Don't include "kind"
40580         information.
40581         (parse_ulps): Don't handle ulps of individual tests.
40582         (print_ulps_file): Likewise.
40583         (output_ulps): Likewise.
40584         * math/README.libm-test: Update.
40585         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40586         individual tests.
40587         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40588         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40589         * sysdeps/arm/libm-test-ulps: Likewise.
40590         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40591         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40592         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40593         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40594         * sysdeps/microblaze/libm-test-ulps: Likewise.
40595         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40596         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40597         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40598         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40599         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40600         * sysdeps/sh/libm-test-ulps: Likewise.
40601         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40602         * sysdeps/tile/libm-test-ulps: Likewise.
40603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40605 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40607         * math/libm-test.inc (print_complex_max_error): Check separately
40608         whether real and imaginary errors are within allowed range and
40609         pass 0 to print_complex_function_ulps instead of value within
40610         allowed range.
40612 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40614         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40615         formatting.
40616         (get_handles_fopen): Likewise.
40617         (do_write_test): Likewise.
40619         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40621         * libio/fileops.c (do_ftell): Use cached offset when
40622         available.
40623         * libio/iofwide.c (do_ftell_wide): Likewise.
40624         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40625         _IO_file_attach.
40626         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40628         [BZ #16532]
40629         * libio/libioP.h (get_file_offset): New function.
40630         * libio/fileops.c (get_file_offset): Likewise.
40631         (do_ftell): Likewise.
40632         (_IO_new_file_seekoff): Split out ftell logic.
40633         * libio/wfileops.c (do_ftell_wide): Likewise.
40634         (_IO_wfile_seekoff): Split out ftell logic.
40635         * libio/tst-ftell-active-handler.c: New test case.
40636         * libio/Makefile (tests): Add it.
40638 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40640         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40641         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40643 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40645         [BZ #16639]
40646         * nscd/connections.c (nscd_init): Call do_exit.
40647         (start_threads): Call do_exit and notify_parent.
40648         (begin_drop_privileges): Call do_exit.
40649         (finish_drop_privileges): Likewise.
40650         * nscd/selinux.c (preserve_capabilities): Likewise.
40651         (install_real_capabilities): Likewise.
40652         (nscd_selinux_enabled): Likewise.
40653         (avc_create_thread): Likewise.
40654         (avc_alloc_lock): Likewise.
40655         (nscd_avc_init): Likewise.
40656         * nscd/nscd.c (parent_fd): New static variable.
40657         (main): Create a pipe between parent and child processes.
40658         Skip closing parent_fd.
40659         (monitor_child): New function.
40660         (do_exit): Likewise.
40661         (notify_parent): Likewise.
40662         * nscd/nscd.h (notify_parent): Likewise.
40663         (do_exit): Likewise.
40665 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40667         * malloc/malloc.c (__libc_calloc): Revert last change.
40669 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40673 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40675         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40677         implementation.
40678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40679         (__libc_ifunc_impl_list): Likewise.
40680         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40681         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40682         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40683         * string/strrchr.c: Define STRRCHR.
40685 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40687         * benchtest/bench-strtok.c (simple_strtok): Delete.
40688         (strtok_string): Use as benchmark.
40689         * string/strtok (STRTOK): New macro.
40691 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40693         * manual/threads.texi: Add header and standard comments to all
40694         functions.
40696         * elf/dl-lookup.c (check_match): New function.
40697         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40698         (do_lookup_x): Remove nested function check_match. Use non-nested
40699         function check_match.
40701 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40703         * csu/Makefile (generated, before-compile): Use += rather than =.
40704         * catgets/Makefile (generated, generated-dirs): Likewise.
40705         * debug/Makefile (generated): Likewise.
40706         * dlfcn/Makefile (generated): Likewise.
40707         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40708         * iconvdata/Makefile (before-compile, generated): Likewise.
40709         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40710         * libio/Makefile (generated): Likewise.
40711         * malloc/Makefile (generated): Likewise.
40712         * manual/Makefile (generated, generated-dirs): Likewise.
40713         * misc/Makefile (generated): Likewise.
40714         * posix/Makefile (generated): Likewise.
40715         * resolv/Makefile (generated): Likewise.
40716         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40717         * timezone/Makefile (generated, generated-dirs): Likewise.
40719         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40721 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40724         power8 implementation.
40725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40726         file: POWER8 llround ifunc implementation.
40727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40728         (__lllround): Add POWER8 implementation.
40729         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40730         POWER8 llround implementation.
40732         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40733         power8 implementation.
40734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40735         file: POWER8 llrint ifunc implementation.
40736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40737         Add POWER8 implementation.
40738         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40739         POWER8 llrint implementation.
40741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40742         power8 implementation.
40743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40744         file: POWER8 finite ifunc implementation.
40745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40746         Add POWER8 implementation.
40747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40748         Likewise.
40749         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40750         POWER8 finite implementation.
40751         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40754         power8 implementation.
40755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40756         file: POWER8 isinf ifunc implementation.
40757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40758         POWER8 implementation.
40759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40760         Likewise.
40761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40762         isinf implementation.
40763         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40765         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40766         (INIT_ARCH): Add hwcap2 initialization.
40767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40768         power8 implementation.
40769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40770         file: POWER8 isnan ifunc implementation.
40771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40772         POWER8 implementation.
40773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40774         Likewise.
40775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40776         isnan implementation.
40777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40779 2014-02-27  Joey Ye  <joey.ye@arm.com>
40781         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40782         (_FP_NANFRAC_Q): Set to zero.
40784 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40786         [BZ #16623]
40787         * math/auto-libm-test-in: New test inputs.
40788         * math/auto-libm-test-out: Regenerate.
40789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40790         and DA.
40791         (__cos): Likewise.
40792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40794 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40796         * scripts/evaluate-test.sh: Take new argument indicating whether
40797         failure is expected.
40798         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40799         indicating whether failure is expected.
40800         * conform/Makefile (test-xfail-run-conformtest): New variable.
40801         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40802         level.
40803         * posix/Makefile (test-xfail-annexc): New variable.
40804         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40806 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40808         * argp/Makefile: Include Makeconfig immediately after defining
40809         subdir.
40810         * assert/Makefile: Likewise.
40811         * benchtests/Makefile: Likewise.
40812         * catgets/Makefile: Likewise.
40813         * conform/Makefile: Likewise.
40814         * crypt/Makefile: Likewise.
40815         * csu/Makefile: Likewise.
40816         (all): Remove target.
40817         * ctype/Makefile: Include Makeconfig immediately after defining
40818         subdir.
40819         * debug/Makefile: Likewise.
40820         * dirent/Makefile: Likewise.
40821         * dlfcn/Makefile: Likewise.
40822         * gmon/Makefile: Likewise.
40823         * gnulib/Makefile: Likewise.
40824         * grp/Makefile: Likewise.
40825         * gshadow/Makefile: Likewise.
40826         * hesiod/Makefile: Likewise.
40827         * hurd/Makefile: Likewise.
40828         (all): Remove target.
40829         * iconvdata/Makefile: Include Makeconfig immediately after
40830         defining subdir.
40831         * inet/Makefile: Likewise.
40832         * intl/Makefile: Likewise.
40833         * io/Makefile: Likewise.
40834         * libio/Makefile: Likewise.
40835         (all): Remove target.
40836         * locale/Makefile: Include Makeconfig immediately after defining
40837         subdir.
40838         * login/Makefile: Likewise.
40839         * mach/Makefile: Likewise.
40840         (all): Remove target.
40841         * malloc/Makefile: Include Makeconfig immediately after defining
40842         subdir.
40843         (all): Remove target.
40844         * manual/Makefile: Include Makeconfig immediately after defining
40845         subdir.
40846         * math/Makefile: Likewise.
40847         * misc/Makefile: Likewise.
40848         * nis/Makefile: Likewise.
40849         * nss/Makefile: Likewise.
40850         * po/Makefile: Likewise.
40851         (all): Remove target.
40852         * posix/Makefile: Include Makeconfig immediately after defining
40853         subdir.
40854         * pwd/Makefile: Likewise.
40855         * resolv/Makefile: Likewise.
40856         * resource/Makefile: Likewise.
40857         * rt/Makefile: Likewise.
40858         * setjmp/Makefile: Likewise.
40859         * shadow/Makefile: Likewise.
40860         * signal/Makefile: Likewise.
40861         * socket/Makefile: Likewise.
40862         * soft-fp/Makefile: Likewise.
40863         * stdio-common/Makefile: Likewise.
40864         * stdlib/Makefile: Likewise.
40865         * streams/Makefile: Likewise.
40866         * string/Makefile: Likewise.
40867         * sunrpc/Makefile: Likewise.
40868         (all): Remove target.
40869         * sysvipc/Makefile: Include Makeconfig immediately after defining
40870         subdir.
40871         * termios/Makefile: Likewise.
40872         * time/Makefile: Likewise.
40873         * timezone/Makefile: Likewise.
40874         (all): Remove target.
40875         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40876         subdir.
40877         * wctype/Makefile: Likewise.
40879 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40881         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40882         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40883         (libc_feholdexcept_setround_mips): Ditto.
40884         (libc_feholdsetround): New.
40885         (libc_feholdsetroundf): New.
40886         (libc_feholdsetroundl): New.
40887         (libc_feupdateenv_test_mips): New.
40888         (libc_feupdateenv_test): New.
40889         (libc_feupdateenv_testf): New.
40890         (libc_feupdateenv_testl): New.
40891         (libc_feresetround): New.
40892         (libc_feresetroundf): New.
40893         (libc_feresetroundl): New.
40894         (libc_fetestexcept_mips): New.
40895         (libc_fetestexcept): New.
40896         (libc_fetestexceptf): New.
40897         (libc_fetestexceptl): New.
40898         (HAVE_RM_CTX): New.
40899         (libc_feholdexcept_setround_mips_ctx): New.
40900         (libc_feholdexcept_setround_ctx): New.
40901         (libc_feholdexcept_setroundf_ctx): New.
40902         (libc_feholdexcept_setroundl_ctx): New.
40903         (libc_fesetenv_mips_ctx): New.
40904         (libc_fesetenv_ctx): New.
40905         (libc_fesetenv_ctxf): New.
40906         (libc_fesetenv_ctxl): New.
40907         (libc_feupdateenv_mips_ctx): New.
40908         (libc_feupdateenv_ctx): New.
40909         (libc_feupdateenvf_ctx): New.
40910         (libc_feupdateenvl_ctx): New.
40911         (libc_feholdsetround_mips_ctx): New.
40912         (libc_feholdsetround_ctx): New.
40913         (libc_feholdsetroundf_ctx): New.
40914         (libc_feholdsetroundl_ctx): New.
40915         (libc_feresetround_mips_ctx): New.
40916         (libc_feresetround_ctx): New.
40917         (libc_feresetroundf_ctx): New.
40918         (libc_feresetroundl_ctx): New.
40920 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40922         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40924         * manual/ipc.texi: New file.
40925         * manual/Makefile (chapters): Add ipc.
40926         * manual/job.texi: Add "Inter-Process Communication" to next.
40927         * manual/process.texi: Add "Inter-Process Communication" to prev.
40929 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40933 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40935         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40937         * manual/arith.texi: Fix spaces after sentences.
40938         * manual/charset.texi: Likewise.
40939         * manual/errno.texi: Likewise.
40940         * manual/install.texi: Likewise.
40941         * manual/llio.texi: Likewise.
40942         * manual/locale.texi: Likewise.
40943         * manual/maint.texi: Likewise.
40944         * manual/math.texi: Likewise.
40945         * manual/memory.texi: Likewise.
40946         * manual/message.texi: Likewise.
40947         * manual/probes.texi: Likewise.
40948         * manual/resource.texi: Likewise.
40949         * manual/signal.texi: Likewise.
40950         * manual/socket.texi: Likewise.
40951         * manual/stdio.texi: Likewise.
40952         * manual/string.texi: Likewise.
40953         * manual/time.texi: Likewise.
40954         * manual/users.texi: Likewise.
40956 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40958         [BZ #16632]
40959         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40960         _DEFAULT_SOURCE is defined.
40962 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40963             Carlos O'Donell  <carlos@redhat.com>
40965         [BZ #16613]
40966         * elf/dl-tls.c (_dl_count_modids): New function.
40967         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40968         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40969         audit library and increment generation counter.
40970         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40971         * elf/tst-audit9.c: New file.
40972         * elf/tst-auditmod9a.c: New file.
40973         * elf/tst-auditmod9b.c: New file.
40974         * elf/Makefile: Add rules to build and run tst-audit9.
40976 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40978         [BZ #15347]
40979         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40981 2014-02-25  Will Newton  <will.newton@linaro.org>
40983         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40984         (__longjmp): Restore sp and lr before restoring callee
40985         saved registers.  Add longjmp and longjmp_target
40986         SystemTap probe point.
40987         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40988         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40989         Define to zero to match jmpbuf layout.
40990         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40991         (__sigsetjmp): Save sp and lr before saving callee
40992         saved registers.  Add setjmp SystemTap probe point.
40994 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40996         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40998 2014-02-24  Andreas Schwab  <schwab@suse.de>
41000         [BZ #15804]
41001         * elf/pldd.c (wait_for_ptrace_stop): New function.
41002         (main): Call it after attaching.
41004 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41006         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41007         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41008         Versions files is now verboten.
41009         * hurd/Versions (libc: GLIBC_2.0):
41010         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41011         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41012         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41013         * mach/Versions: Likewise.
41015         * csu/Versions: Remove unused %include.
41016         * resolv/Versions: Likewise.
41018 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41020         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41021         ($(objpfx)check-local-headers.out): Likewise.
41022         ($(objpfx)begin-end-check.out): Likewise.
41023         * Makerules (check-abi-%.out): Likewise.
41024         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41025         ($(objpfx)test2.cat): Likewise.
41026         ($(objpfx)de/libc.cat): Likewise.
41027         ($(objpfx)test-gencat.out): Likewise.
41028         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41029         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41030         ($(objpfx)noload-mem): Likewise.
41031         ($(objpfx)tst-pathopt.out): Likewise.
41032         ($(objpfx)tst-rtld-load-self.out): Likewise.
41033         ($(objpfx)tst-array1-cmp.out): Likewise.
41034         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41035         ($(objpfx)tst-array2-cmp.out): Likewise.
41036         ($(objpfx)tst-array3-cmp.out): Likewise.
41037         ($(objpfx)tst-array4-cmp.out): Likewise.
41038         ($(objpfx)tst-array5-cmp.out): Likewise.
41039         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41040         ($(objpfx)check-textrel.out): Likewise.
41041         ($(objpfx)check-execstack.out): Likewise.
41042         ($(objpfx)check-localplt.out): Likewise.
41043         ($(objpfx)order2-cmp.out): Likewise.
41044         ($(objpfx)tst-leaks1-mem): Likewise.
41045         ($(objpfx)tst-leaks1-static-mem): Likewise.
41046         ($(objpfx)tst-initorder-cmp.out): Likewise.
41047         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41048         ($(objpfx)tst-unused-dep.out): Likewise.
41049         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41050         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41051         * iconv/Makefile (test-iconvconfig): Likewise.
41052         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41053         ($(objpfx)iconv-test.out): Likewise.
41054         ($(objpfx)tst-tables.out): Likewise.
41055         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41056         ($(objpfx)tst-gettext.out): Likewise.
41057         ($(objpfx)tst-translit.out): Likewise.
41058         ($(objpfx)tst-gettext2.out): Likewise.
41059         ($(objpfx)tst-gettext4.out): Likewise.
41060         ($(objpfx)tst-gettext6.out): Likewise.
41061         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41062         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41063         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41064         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41065         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41066         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41067         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41068         ($(objpfx)wordexp-tst.out): Likewise.
41069         ($(objpfx)annexc.out): Likewise.
41070         ($(objpfx)tst-fnmatch-mem): Likewise.
41071         ($(objpfx)bug-regex2-mem): Likewise.
41072         ($(objpfx)bug-regex14-mem): Likewise.
41073         ($(objpfx)bug-regex21-mem): Likewise.
41074         ($(objpfx)bug-regex31-mem): Likewise.
41075         ($(objpfx)tst-vfork3-mem): Likewise.
41076         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41077         ($(objpfx)tst-pcre-mem): Likewise.
41078         ($(objpfx)tst-boost-mem): Likewise.
41079         ($(objpfx)tst-getconf.out): Likewise.
41080         ($(objpfx)bug-ga2-mem): Likewise.
41081         ($(objpfx)bug-glob2-mem): Likewise.
41082         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41083         ($(objpfx)mtrace-tst-leaks2): Likewise.
41084         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41085         ($(objpfx)tst-printf.out): Likewise.
41086         ($(objpfx)tst-setvbuf1.out): Likewise.
41087         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41088         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41089         ($(objpfx)tst-fmtmsg.out): Likewise.
41090         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41091         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41093         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41094         * bits/sigaction.h [__USE_MISC]: Likewise.
41095         * bits/waitstatus.h: Update #endif comments.
41096         * ctype/ctype.h: Likewise.
41097         * dirent/dirent.h: Likewise.
41098         [__USE_MISC]: Remove redundant conditionals.
41099         * grp/grp.h: Update #endif comments.
41100         [__USE_GNU]: Remove redundant conditionals.
41101         [__USE_MISC]: Likewise.
41102         * inet/netinet/in.h [__USE_GNU]: Likewise.
41103         * io/sys/stat.h [__USE_MISC]: Likewise.
41104         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41105         * libio/bits/stdio.h: Update #endif comments.
41106         [__USE_MISC]: Remove redundant conditionals.
41107         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41108         * libio/stdio.h: Update #endif comments.
41109         [__USE_MISC]: Remove redundant conditionals.
41110         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41111         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41112         * math/math.h: Update #else and #endif comments.
41113         [__USE_MISC]: Remove redundant conditionals.
41114         * misc/sys/uio.h: Update #endif comments.
41115         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41116         * posix/glob.h [__USE_MISC]: Likewise.
41117         * posix/sys/types.h: Update #endif comments.
41118         [__USE_MISC]: Remove redundant conditionals.
41119         * posix/sys/wait.h: Update #endif comments.
41120         [__USE_MISC]: Remove redundant conditionals.
41121         * posix/unistd.h: Update #endif comments.
41122         [__USE_MISC]: Remove redundant conditionals.
41123         * pwd/pwd.h [__USE_GNU]: Likewise.
41124         [__USE_MISC]: Likewise.
41125         * resolv/netdb.h [__USE_GNU]: Likewise.
41126         * signal/signal.h: Update #endif comments.
41127         [__USE_MISC]: Remove redundant conditionals.
41128         * stdlib/stdlib.h: Update #else and #endif comments.
41129         [__USE_MISC]: Remove redundant conditionals.
41130         [__USE_GNU]: Likewise.
41131         * string/bits/string2.h [__USE_MISC]: Likewise.
41132         * string/string.h: Update #endif comments.
41133         [__USE_MISC]: Remove redundant conditionals.
41134         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41135         Likewise.
41136         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41137         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41138         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41139         Likewise.
41140         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41141         Likewise.
41142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41143         comments.
41144         [__USE_MISC]: Remove redundant conditionals.
41145         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41146         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41147         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41148         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41149         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41150         Likewise.
41151         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41152         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41153         Likewise.
41154         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41155         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41156         Likewise.
41157         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41158         Likewise.
41159         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41160         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41161         Likewise.
41162         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41163         Likewise.
41164         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41165         * sysdeps/x86/bits/string.h: Update #endif comments.
41166         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41167         conditionals.
41168         * time/sys/time.h: Update #endif comments.
41169         * time/time.h: Likewise.
41170         [__USE_MISC]: Remove redundant conditionals.
41172 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41174         [BZ #16600]
41175         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41177 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41179         * Versions.def (librt): Add GLIBC_2.17.
41181 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41183         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41184         synonym for _SYS_AUXV_H to allow direct inclusion.
41185         * sysdeps/sparc/bits/hwcap.h: Likewise.
41186         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41187         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41188         * sysdeps/sparc/sysdep.h: Likewise.
41190 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41192         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41194 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41196         * benchtests/bench-strrchr.c: Print length instead of position.
41198 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41200         [BZ #16611]
41201         * sysdeps/unix/sysv/linux/kernel-features.h
41202         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41203         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41204         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41205         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41206         Likewise.
41207         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41208         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41209         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41210         (__ASSUME_SENDMMSG): Define instead of using previous
41211         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41212         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41213         (__ASSUME_SENDMMSG_SYSCALL): Define.
41214         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41215         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41216         Likewise.
41217         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41218         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41219         Likewise.
41220         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41221         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41222         Likewise.
41223         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41224         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41225         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41226         [__ASSUME_SENDMMSG]: Change conditionals to
41227         [__ASSUME_SENDMMSG_SOCKETCALL].
41228         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41229         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41230         Define.
41231         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41232         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41233         Likewise.
41234         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41235         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41236         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41237         [!__ASSUME_SENDMMSG]: Change conditional to
41238         [!__ASSUME_SENDMMSG_SOCKETCALL].
41239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41240         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41241         Define.
41243         [BZ #16610]
41244         * sysdeps/unix/sysv/linux/kernel-features.h
41245         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41246         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41247         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41248         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41249         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41250         [__i386__ || __sparc__]
41251         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41252         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41253         (__ASSUME_RECVMMSG): Define instead of using previous
41254         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41255         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41256         (__ASSUME_RECVMMSG_SYSCALL): Define.
41257         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41258         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41259         Likewise.
41260         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41262         Likewise.
41263         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41264         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41265         Likewise.
41266         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41267         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41268         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41269         [__ASSUME_RECVMMSG]: Change condition to
41270         [__ASSUME_RECVMMSG_SOCKETCALL].
41271         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41273         Define.
41274         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41275         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41277         Likewise.
41278         * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
41284         (__ASSUME_RECVMMSG_SYSCALL): Define.
41286         [BZ #16609]
41287         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41288         __powerpc__ || __s390__ || __sh__ || __sparc__]
41289         (__ASSUME_SOCKETCALL): Define.
41290         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41291         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41292         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41293         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41294         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41295         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41296         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41297         (__ASSUME_ACCEPT4): Define instead of using previous
41298         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41299         __powerpc__ || __sparc__ || __s390__)] condition.
41300         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41301         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41302         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41303         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41304         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41305         [!__ASSUME_ACCEPT4]: Change condition to
41306         [!__ASSUME_ACCEPT4_SOCKETCALL].
41307         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41308         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41309         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41311         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41312         __ASSUME_ACCEPT4_SYSCALL.
41313         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41314         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41315         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41316         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41317         __ASSUME_ACCEPT4_SYSCALL.
41318         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41319         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41320         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41321         [__ASSUME_ACCEPT4]: Change condition to
41322         [__ASSUME_ACCEPT4_SOCKETCALL].
41323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41324         (__ASSUME_SOCKETCALL): Define.
41325         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41327         (__ASSUME_SOCKETCALL): Define.
41328         (__ASSUME_ACCEPT4): Remove.
41329         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41330         Define.
41331         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41332         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41333         Likewise.
41334         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41335         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41337         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41338         macro.
41339         (HWCAP_ARM_LPAE): Likewise.
41340         (HWCAP_ARM_EVTSTRM): Likewise.
41341         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41342         Add vpfd32, lpae and evtstrm.
41343         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41344         Increase to 22.
41346 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41348         * math/auto-libm-test-in: Add tests of clog10.
41349         * math/auto-libm-test-out: Regenerated.
41350         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41351         * sysdeps/i386/fpu/libm-test-ulps: Update.
41352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41354 2014-02-18  Andreas Schwab  <schwab@suse.de>
41356         [BZ #16574]
41357         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41358         Store non-zero if the second buffer was newly allocated.
41359         (send_dg): Likewise.
41360         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41361         to send_vc and send_dg.
41362         (res_nsend): Pass NULL for ansp2_malloced.
41363         * resolv/res_query.c (__libc_res_nquery): Add parameter
41364         answerp2_malloced and pass it down to __libc_res_nsend.
41365         (res_nquery): Pass additional NULL to __libc_res_nquery.
41366         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41367         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41368         second answer buffer if answerp2_malloced was set.
41369         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41370         (__libc_res_nquerydomain): Add parameter
41371         answerp2_malloced and pass it down to __libc_res_nquery.
41372         (res_nquerydomain): Pass additional NULL to
41373         __libc_res_nquerydomain.
41374         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41375         additional NULL to __libc_res_nsend and __libc_res_nquery.
41376         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41377         additional NULL to __libc_res_nsearch.
41378         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41379         parameter of __libc_res_nsearch to check for separately allocated
41380         second buffer.
41381         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41382         __libc_res_nquery.
41383         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41384         additional NULL to __libc_res_nquery.
41385         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41386         __libc_res_nsearch.
41387         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41388         * include/resolv.h: Update prototypes of __libc_res_nquery,
41389         __libc_res_nsearch, __libc_res_nsend.
41391 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41393         * math/auto-libm-test-in: Add tests of fma.
41394         * math/auto-libm-test-out: Regenerated.
41395         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41396         (fma_towardzero_test_data): Likewise.
41397         (fma_downward_test_data): Likewise.
41398         (fma_upward_test_data): Likewise.
41399         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41400         mpc_mode.
41401         (rounding_modes): Add values for new field.
41402         (func_calc_method): Add value mpfr_fff_f.
41403         (func_calc_desc): Add mpfr_fff_f union field.
41404         (test_function): Add field exact_args.
41405         (FUNC): Add macro argument EXACT_ARGS.
41406         (FUNC_mpfr_f_f): Update call to FUNC.
41407         (FUNC_mpfr_f_f): Likewise.
41408         (FUNC_mpfr_ff_f): Likewise.
41409         (FUNC_mpfr_if_f): Likewise.
41410         (FUNC_mpc_c_f): Likewise.
41411         (FUNC_mpc_c_c): Likewise.
41412         (test_functions): Add fma.  Update calls to FUNC.
41413         (handle_input_arg): Add argument exact_args.
41414         (add_test): Update call to handle_input_arg.
41415         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41416         (output_for_one_input_case): Update call to calc_generic_results.
41417         Recalculate exact zero results in each rounding mode.
41419         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41420         non-negative before setting low bit.
41421         * math/auto-libm-test-in: Mark one asin test possibly having
41422         spurious underflow.
41423         * math/auto-libm-test-out: Regenerated.
41424         * sysdeps/i386/fpu/libm-test-ulps: Update.
41425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41427 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41429         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41430         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41431         ports/sysdeps/unix/sysv/linux/microblaze.
41432         * README: Add missing listing for microblaze*-*-linux-gnu.
41434 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41436         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41437         duplicate code
41439 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41441         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41442         * sysdeps/unix/sysv/linux/ia64: Move directory from
41443         ports/sysdeps/unix/sysv/linux/ia64.
41444         * README: Update listing for ia64-*-linux-gnu.
41446 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41447             Joseph Myers  <joseph@codesourcery.com>
41449         * Makeconfig (test-name): New variable.
41450         (evaluate-test): Likewise.
41451         * Makerules (do-test-clean): Remove .test-result files.
41452         (common-mostlyclean): Likewise.
41453         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41454         * scripts/evaluate-test.sh: New file.
41456 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41458         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41459         separate $(objpfx)tst-fopenloc-cmp.out and
41460         $(objpfx)tst-fopenloc-mem.out targets.
41461         (tests): Update dependencies.
41462         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41463         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41464         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41465         (tst-rxspencer-no-utf8-ARGS): New variable.
41466         (tst-rxspencer-no-utf8-ENV): Likewise.
41467         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41468         instead of $(objpfx)tst-rxspencer-mem.
41469         ($(objpfx)tst-rxspencer-mem): Change target to
41470         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41471         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41472         * posix/tst-rxspencer-no-utf8.c: New file.
41474         * elf/Makefile ($(objpfx)order.out): Remove rule.
41475         [$(run-built-tests) = yes] (tests): Depend on
41476         $(objpfx)order-cmp.out.
41477         ($(objpfx)order-cmp.out): New rule.
41478         [$(run-built-tests) = yes] (tests): Depend on
41479         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41480         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41481         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41482         $(objpfx)tst-array5-static-cmp.out.
41483         ($(objpfx)tst-array1.out): Remove rule.
41484         ($(objpfx)tst-array1-cmp.out): New rule.
41485         ($(objpfx)tst-array1-static.out): Remove rule.
41486         ($(objpfx)tst-array1-static-cmp.out): New rule.
41487         ($(objpfx)tst-array2.out): Remove rule.
41488         ($(objpfx)tst-array2-cmp.out): New rule.
41489         ($(objpfx)tst-array3.out): Remove rule.
41490         ($(objpfx)tst-array3-cmp.out): New rule.
41491         ($(objpfx)tst-array4.out): Remove rule.
41492         ($(objpfx)tst-array4-cmp.out): New rule.
41493         ($(objpfx)tst-array5.out): Remove rule.
41494         ($(objpfx)tst-array5-cmp.out): New rule.
41495         ($(objpfx)tst-array5-static.out): Remove rule.
41496         ($(objpfx)tst-array5-static-cmp.out): New rule.
41497         [$(run-built-tests) = yes] (tests): Depend on
41498         $(objpfx)order2-cmp.out.
41499         ($(objpfx)order2.out): Remove rule.
41500         ($(objpfx)order2-cmp.out): New rule.
41501         ($(objpfx)tst-initorder.out): Remove rule.
41502         [$(run-built-tests) = yes] (tests): Depend on
41503         $(objpfx)tst-initorder-cmp.out.
41504         ($(objpfx)tst-initorder-cmp.out): New rule.
41505         ($(objpfx)tst-initorder2.out): Remove rule.
41506         [$(run-built-tests) = yes] (tests): Depend on
41507         $(objpfx)tst-initorder2-cmp.out.
41508         ($(objpfx)tst-initorder2-cmp.out): New rule.
41509         [$(run-built-tests) = yes] (tests): Depend on
41510         $(objpfx)tst-unused-dep-cmp.out.
41511         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41512         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41513         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41514         on $(objpfx)tst-setvbuf1-cmp.out.
41515         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41516         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41517         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41518         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41519         ($(objpfx)tst-svc.out): Remove rule.
41520         ($(objpfx)tst-svc-cmp.out): New rule.
41522 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41524         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41525         * ctype/ctype.h [__USE_MISC]: Likewise.
41526         * dirent/dirent.h [__USE_MISC]: Likewise.
41527         * grp/grp.h [__USE_MISC]: Likewise.
41528         * io/fcntl.h [__USE_MISC]: Likewise.
41529         * io/sys/stat.h [__USE_MISC]: Likewise.
41530         * libio/stdio.h [__USE_MISC]: Likewise.
41531         * posix/unistd.h [__USE_MISC]: Likewise.
41532         * pwd/pwd.h [__USE_MISC]: Likewise.
41533         * stdlib.h [__USE_MISC]: Likewise.
41534         * string/bits/string2.h [__USE_MISC]: Likewise.
41535         * string/string.h [__USE_MISC]: Likewise.
41536         * time/time.h [__USE_MISC]: Likewise.
41538 2014-02-13  Andreas Schwab  <schwab@suse.de>
41540         [BZ #16574]
41541         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41542         second answer buffer if it was separately allocated.
41544 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41546         * sysdeps/mips/math-tests.h: Include <features.h>.
41547         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41548         (ROUNDING_TESTS_long_double): Do not define.
41549         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41550         (EXCEPTION_TESTS_long_double): Likewise.
41551         * sysdeps/mips/mips64/libm-test-ulps: Update.
41553         * include/features.h (__USE_BSD): Remove macro definitions.
41554         (__USE_SVID): Likewise.
41555         (_BSD_SOURCE): Likewise.
41556         (_SVID_SOURCE): Likewise.
41557         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41558         from definition of _DEFAULT_SOURCE.
41559         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41560         [_DEFAULT_SOURCE].
41561         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41562         * bits/mman.h [__USE_BSD]: Likewise.
41563         * bits/termios.h [__USE_BSD]: Likewise.
41564         * bits/waitstatus.h [__USE_BSD]: Likewise.
41565         * ctype/ctype.h [__USE_SVID]: Likewise.
41566         * dirent/dirent.h [__USE_BSD]: Likewise.
41567         * grp/grp.h [__USE_SVID]: Likewise.
41568         [__USE_BSD]: Likewise.
41569         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41570         * io/fcntl.h [__USE_BSD]: Likewise.
41571         * io/ftw.h [__USE_BSD]: Likewise.
41572         * io/sys/stat.h [__USE_BSD]: Likewise.
41573         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41574         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41575         * libio/stdio.h [__USE_SVID]: Likewise.
41576         [__USE_BSD]: Likewise.
41577         * math/math.h [__USE_SVID]: Likewise.
41578         [__USE_BSD]: Likewise.
41579         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41580         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41581         * misc/search.h [__USE_SVID]: Likewise.
41582         * misc/sys/mman.h [__USE_BSD]: Likewise.
41583         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41584         * misc/sys/uio.h [__USE_BSD]: Likewise.
41585         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41586         * posix/glob.h [__USE_BSD]: Likewise.
41587         * posix/regex.h [__USE_BSD]: Likewise.
41588         * posix/sys/types.h [__USE_BSD]: Likewise.
41589         [__USE_SVID]: Likewise.
41590         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41591         * posix/sys/wait.h [__USE_BSD]: Likewise.
41592         [__USE_SVID]: Likewise.
41593         * posix/unistd.h [__USE_BSD]: Likewise.
41594         [__USE_SVID]: Likewise.
41595         * pwd/pwd.h [__USE_SVID]: Likewise.
41596         * resolv/netdb.h [__USE_BSD]: Likewise.
41597         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41598         * signal/signal.h [__USE_BSD]: Likewise.
41599         [__USE_SVID]: Likewise.
41600         * socket/sys/socket.h [__USE_BSD]: Likewise.
41601         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41602         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41603         [__USE_SVID]: Likewise.
41604         * string/bits/string2.h [__USE_BSD]: Likewise.
41605         [__USE_SVID]: Likewise.
41606         * string/bits/string3.h [__USE_BSD]: Likewise.
41607         * string/endian.h [__USE_BSD]: Likewise.
41608         * string/string.h [__USE_SVID]: Likewise.
41609         [__USE_BSD]: Likewise.
41610         * string/strings.h [__USE_BSD]: Likewise.
41611         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41612         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41613         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41614         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41615         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41616         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41617         Likewise.
41618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41619         Likewise.
41620         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41621         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41622         Likewise.
41623         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41624         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41625         Likewise.
41626         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41627         Likewise.
41628         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41629         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41630         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41631         Likewise.
41632         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41633         Likewise.
41634         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41635         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41636         * termios/termios.h [__USE_BSD]: Likewise.
41637         * time/sys/time.h [__USE_BSD]: Likewise.
41638         * time/time.h [__USE_BSD]: Likewise.
41639         [__USE_SVID]: Likewise.
41641         * Makefile (subdir_targets): Remove subdir_lint.out.
41643         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41644         (do-tst-printf): Likewise.
41645         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41646         $(objpfx)tst-printf.out.
41648         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41650         * Makerules (check-abi-%): Change target to
41651         $(objpfx)check-abi-%.out.
41652         (check-abi target): Update dependencies.
41653         (check-abi-pattern variable): Redirect output of diff to $@.
41654         (check-abi variable): Likewise.
41655         * elf/Makefile (check-abi): Update dependencies.
41657         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41658         unused.
41659         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41660         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41661         subnormal range.
41662         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41663         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41664         value has largest subnormal exponent.
41665         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41666         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41667         * sysdeps/aarch64/soft-fp/sfp-machine.h
41668         (_FP_TININESS_AFTER_ROUNDING): New macro.
41669         * sysdeps/alpha/soft-fp/sfp-machine.h
41670         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41671         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41672         Likewise.
41673         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41674         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41675         * sysdeps/mips/soft-fp/sfp-machine.h
41676         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41677         * sysdeps/powerpc/soft-fp/sfp-machine.h
41678         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41679         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41680         Likewise.
41681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41684         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41685         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41686         Likewise.
41688 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41690         [BZ #16545]
41691         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41692         model 1.
41694 2014-02-12  Richard Henderson  <rth@redhat.com>
41696         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41697         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41698         * sysdeps/unix/sysv/linux/alpha: Move directory from
41699         ports/sysdeps/unix/sysv/linux/alpha.
41700         * README: Update listing for alpha-*-linux-gnu.
41702 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41704         * include/features.h: Update comment documenting feature test
41705         macros.
41706         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41707         _DEFAULT_SOURCE.
41708         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41709         (_SVID_SOURCE): Likewise.
41710         (_DEFAULT_SOURCE): Update description of default features.
41711         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41712         with _GNU_SOURCE.
41713         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41714         (S_ISVTX): Likewise.
41715         * manual/math.texi (Mathematical Constants): Likewise.
41716         * manual/signal.texi (Interrupted Primitives): Likewise.
41717         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41718         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41719         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41720         Don't refer to _SVID_SOURCE in warning text.
41722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41724         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41725         already defined.
41726         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41727         * sysdeps/mips/dl-lookup.c: Remove.
41728         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41730 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41732         [BZ #16447]
41733         * math/auto-libm-test-in: Add testcase for expl.
41734         * math/auto-libm-test-out: Regenerate.
41735         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41736         calculation of unsafe.
41737         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41739 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41741         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41742         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41743         ports/sysdeps/unix/sysv/linux/aarch64.
41744         * README: Update listing for aarch64*-*-linux-gnu.
41746 2014-02-11  Will Newton  <will.newton@linaro.org>
41748         * manual/probes.texi (Mathematical Function Probes): Use
41749         "triggered" instead of "hit".
41751         * manual/probes.texi (Internal Probes): Add documentation
41752         of setjmp, longjmp and longjmp_target probes.
41754         * include/stap-probe.h: Add comment about probe argument
41755         format.
41757         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41758         definition.  (tr_where, tr_freehook, tr_mallochook,
41759         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41761 2014-02-11  David S. Miller  <davem@davemloft.net>
41763         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41764         processing int_tests.
41766 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41768         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41769         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41770         * sysdeps/unix/sysv/linux/mips: Move directory from
41771         ports/sysdeps/unix/sysv/linux/mips.
41772         * README: Update listing for mips-*-linux-gnu and
41773         mips64-*-linux-gnu.
41775 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41777         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41778         * sysdeps/unix/sysv/linux/m68k: Move directory from
41779         ports/sysdeps/unix/sysv/linux/m68k.
41780         * README: Update listing for m68k-*-linux-gnu.
41782 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41784         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41785         * sysdeps/unix/sysv/linux/generic: Move directory from
41786         ports/sysdeps/unix/sysv/linux/generic.
41787         * sysdeps/unix/sysv/linux/tile: Move directory from
41788         ports/sysdeps/unix/sysv/linux/tile.
41789         * README: Update listing for tile*-*-linux-gnu.
41791 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41793         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41794         __builtin_expect.
41795         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41796         * catgets/open_catalog.c (__open_catalog): Likewise.
41797         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41798         * debug/confstr_chk.c: Likewise.
41799         * debug/fread_chk.c (__fread_chk): Likewise.
41800         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41801         * debug/getgroups_chk.c: Likewise.
41802         * debug/mbsnrtowcs_chk.c: Likewise.
41803         * debug/mbsrtowcs_chk.c: Likewise.
41804         * debug/mbstowcs_chk.c: Likewise.
41805         * debug/memcpy_chk.c: Likewise.
41806         * debug/memmove_chk.c: Likewise.
41807         * debug/mempcpy_chk.c: Likewise.
41808         * debug/memset_chk.c: Likewise.
41809         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41810         * debug/strcat_chk.c (__strcat_chk): Likewise.
41811         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41812         * debug/strncat_chk.c (__strncat_chk): Likewise.
41813         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41814         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41815         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41816         * debug/wcpncpy_chk.c: Likewise.
41817         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41818         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41819         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41820         * debug/wcsncpy_chk.c: Likewise.
41821         * debug/wcsnrtombs_chk.c: Likewise.
41822         * debug/wcsrtombs_chk.c: Likewise.
41823         * debug/wcstombs_chk.c: Likewise.
41824         * debug/wmemcpy_chk.c: Likewise.
41825         * debug/wmemmove_chk.c: Likewise.
41826         * debug/wmempcpy_chk.c: Likewise.
41827         * debug/wmemset_chk.c: Likewise.
41828         * dirent/scandirat.c (SCANDIRAT): Likewise.
41829         * dlfcn/dladdr1.c (dladdr1): Likewise.
41830         * dlfcn/dladdr.c (dladdr): Likewise.
41831         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41832         * dlfcn/dlerror.c (__dlerror): Likewise.
41833         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41834         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41835         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41836         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41837         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41838         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41839         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41840         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41841         Likewise.
41842         * elf/dl-conflict.c: Likewise.
41843         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41844         * elf/dl-dst.h: Likewise.
41845         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41846         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41847         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41848         * elf/dl-init.c (call_init, _dl_init): Likewise.
41849         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41850         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41851         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41852         Likewise.
41853         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41854         Likewise.
41855         * elf/dl-minimal.c (__libc_memalign): Likewise.
41856         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41857         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41858         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41859         * elf/dl-sym.c (do_sym): Likewise.
41860         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41861         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41862         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41863         * elf/dl-writev.h (_dl_writev): Likewise.
41864         * elf/ldconfig.c (search_dir): Likewise.
41865         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41866         (dl_main): Likewise.
41867         * elf/setup-vdso.h (setup_vdso): Likewise.
41868         * grp/compat-initgroups.c (compat_call): Likewise.
41869         * grp/fgetgrent.c (fgetgrent): Likewise.
41870         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41871         * grp/putgrent.c (putgrent): Likewise.
41872         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41873         Likewise.
41874         * hurd/hurdinit.c: Likewise.
41875         * iconvdata/8bit-gap.c (struct): Likewise.
41876         * iconvdata/ansi_x3.110.c : Likewise.
41877         * iconvdata/big5.c : Likewise.
41878         * iconvdata/big5hkscs.c : Likewise.
41879         * iconvdata/cp1255.c: Likewise.
41880         * iconvdata/cp1258.c : Likewise.
41881         * iconvdata/cp932.c : Likewise.
41882         * iconvdata/euc-cn.c: Likewise.
41883         * iconvdata/euc-jisx0213.c : Likewise.
41884         * iconvdata/euc-jp.c: Likewise.
41885         * iconvdata/euc-jp-ms.c : Likewise.
41886         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41887         * iconvdata/gb18030.c : Likewise.
41888         * iconvdata/gbbig5.c (const): Likewise.
41889         * iconvdata/gbgbk.c: Likewise.
41890         * iconvdata/gbk.c : Likewise.
41891         * iconvdata/ibm1364.c : Likewise.
41892         * iconvdata/ibm930.c : Likewise.
41893         * iconvdata/ibm932.c: Likewise.
41894         * iconvdata/ibm933.c : Likewise.
41895         * iconvdata/ibm935.c : Likewise.
41896         * iconvdata/ibm937.c : Likewise.
41897         * iconvdata/ibm939.c : Likewise.
41898         * iconvdata/ibm943.c: Likewise.
41899         * iconvdata/iso_11548-1.c: Likewise.
41900         * iconvdata/iso-2022-cn.c : Likewise.
41901         * iconvdata/iso-2022-cn-ext.c : Likewise.
41902         * iconvdata/iso-2022-jp-3.c: Likewise.
41903         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41904         * iconvdata/iso-2022-kr.c : Likewise.
41905         * iconvdata/iso646.c (gconv_end): Likewise.
41906         * iconvdata/iso_6937-2.c : Likewise.
41907         * iconvdata/iso_6937.c : Likewise.
41908         * iconvdata/iso8859-1.c: Likewise.
41909         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41910         * iconvdata/shift_jisx0213.c : Likewise.
41911         * iconvdata/sjis.c : Likewise.
41912         * iconvdata/t.61.c : Likewise.
41913         * iconvdata/tcvn5712-1.c : Likewise.
41914         * iconvdata/tscii.c: Likewise.
41915         * iconvdata/uhc.c : Likewise.
41916         * iconvdata/unicode.c (gconv_end): Likewise.
41917         * iconvdata/utf-16.c (gconv_end): Likewise.
41918         * iconvdata/utf-32.c (gconv_end): Likewise.
41919         * iconvdata/utf-7.c (base64): Likewise.
41920         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41921         * iconv/gconv_close.c (__gconv_close): Likewise.
41922         * iconv/gconv_open.c (__gconv_open): Likewise.
41923         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41924         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41925         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41926         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41927         (ucs4le_internal_loop_single): Likewise.
41928         * iconv/iconv.c (iconv): Likewise.
41929         * iconv/iconv_close.c: Likewise.
41930         * iconv/loop.c (SINGLE): Likewise.
41931         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41932         * include/atomic.h: Likewise.
41933         * inet/inet6_option.c (option_alloc): Likewise.
41934         * intl/bindtextdom.c (set_binding_values): Likewise.
41935         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41936         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41937         * intl/localealias.c (read_alias_file): Likewise.
41938         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41939         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41940         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41941         * libio/fmemopen.c (fmemopen): Likewise.
41942         * libio/iofgets.c (_IO_fgets): Likewise.
41943         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41944         * libio/iofgetws.c (fgetws): Likewise.
41945         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41946         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41947         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41948         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41949         * locale/findlocale.c (_nl_find_locale): Likewise.
41950         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41951         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41952         Likewise.
41953         * locale/setlocale.c (setlocale): Likewise.
41954         * login/programs/pt_chown.c (main): Likewise.
41955         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41956         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41957         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41958         (mmap, mmap64, mremap, munmap): Likewise.
41959         * math/e_exp2l.c: Likewise.
41960         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41961         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41962         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41963         * math/s_catan.c (__catan): Likewise.
41964         * math/s_catanf.c (__catanf): Likewise.
41965         * math/s_catanh.c (__catanh): Likewise.
41966         * math/s_catanhf.c (__catanhf): Likewise.
41967         * math/s_catanhl.c (__catanhl): Likewise.
41968         * math/s_catanl.c (__catanl): Likewise.
41969         * math/s_ccosh.c (__ccosh): Likewise.
41970         * math/s_ccoshf.c (__ccoshf): Likewise.
41971         * math/s_ccoshl.c (__ccoshl): Likewise.
41972         * math/s_cexp.c (__cexp): Likewise.
41973         * math/s_cexpf.c (__cexpf): Likewise.
41974         * math/s_cexpl.c (__cexpl): Likewise.
41975         * math/s_clog10.c (__clog10): Likewise.
41976         * math/s_clog10f.c (__clog10f): Likewise.
41977         * math/s_clog10l.c (__clog10l): Likewise.
41978         * math/s_clog.c (__clog): Likewise.
41979         * math/s_clogf.c (__clogf): Likewise.
41980         * math/s_clogl.c (__clogl): Likewise.
41981         * math/s_csin.c (__csin): Likewise.
41982         * math/s_csinf.c (__csinf): Likewise.
41983         * math/s_csinh.c (__csinh): Likewise.
41984         * math/s_csinhf.c (__csinhf): Likewise.
41985         * math/s_csinhl.c (__csinhl): Likewise.
41986         * math/s_csinl.c (__csinl): Likewise.
41987         * math/s_csqrt.c (__csqrt): Likewise.
41988         * math/s_csqrtf.c (__csqrtf): Likewise.
41989         * math/s_csqrtl.c (__csqrtl): Likewise.
41990         * math/s_ctan.c (__ctan): Likewise.
41991         * math/s_ctanf.c (__ctanf): Likewise.
41992         * math/s_ctanh.c (__ctanh): Likewise.
41993         * math/s_ctanhf.c (__ctanhf): Likewise.
41994         * math/s_ctanhl.c (__ctanhl): Likewise.
41995         * math/s_ctanl.c (__ctanl): Likewise.
41996         * math/w_pow.c: Likewise.
41997         * math/w_powf.c: Likewise.
41998         * math/w_powl.c: Likewise.
41999         * math/w_scalb.c (sysv_scalb): Likewise.
42000         * math/w_scalbf.c (sysv_scalbf): Likewise.
42001         * math/w_scalbl.c (sysv_scalbl): Likewise.
42002         * misc/error.c (error_tail): Likewise.
42003         * misc/pselect.c (__pselect): Likewise.
42004         * nis/nis_callback.c (__nis_create_callback): Likewise.
42005         * nis/nis_call.c (__nisfind_server): Likewise.
42006         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42007         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42008         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42009         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42010         * nis/nis_lookup.c (nis_lookup): Likewise.
42011         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42012         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42013         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42014         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42015         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42016         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42017         * nis/nss_compat/compat-initgroups.c (add_group)
42018         (internal_getgrent_r): Likewise.
42019         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42020         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42021         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42022         (internal_getspnam_r): Likewise.
42023         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42024         (_nss_nis_getaliasbyname_r): Likewise.
42025         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42026         (_nss_nis_getntohost_r): Likewise.
42027         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42028         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42029         (_nss_nis_getgrgid_r): Likewise.
42030         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42031         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42032         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42033         (_nss_nis_gethostbyname4_r): Likewise.
42034         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42035         (initgroups_netid): Likewise.
42036         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42037         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42038         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42039         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42040         (_nss_nis_getprotobynumber_r): Likewise.
42041         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42042         (_nss_nis_getsecretkey): Likewise.
42043         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42044         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42045         (_nss_nis_getpwuid_r): Likewise.
42046         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42047         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42048         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42049         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42050         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42051         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42052         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42053         Likewise.
42054         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42055         (_nss_nisplus_getntohost_r): Likewise.
42056         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42057         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42058         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42059         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42060         Likewise.
42061         * nis/nss_nisplus/nisplus-initgroups.c
42062         (_nss_nisplus_initgroups_dyn): Likewise.
42063         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42064         (_nss_nisplus_getnetbyaddr_r): Likewise.
42065         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42066         (_nss_nisplus_getprotobynumber_r): Likewise.
42067         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42068         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42069         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42070         Likewise.
42071         * nis/nss_nisplus/nisplus-service.c
42072         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42073         (_nss_nisplus_getservbyport_r): Likewise.
42074         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42075         (_nss_nisplus_getspnam_r): Likewise.
42076         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42077         Likewise.
42078         * nscd/aicache.c (addhstaiX): Likewise.
42079         * nscd/cache.c (cache_search, prune_cache): Likewise.
42080         * nscd/connections.c (register_traced_file, send_ro_fd)
42081         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42082         (main_loop_epoll): Likewise.
42083         * nscd/grpcache.c (addgrbyX): Likewise.
42084         * nscd/hstcache.c (addhstbyX): Likewise.
42085         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42086         * nscd/mem.c (gc, mempool_alloc): Likewise.
42087         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42088         (addinnetgrX): Likewise.
42089         * nscd/nscd-client.h (__nscd_acquire_maplock)
42090         (__nscd_drop_map_ref): Likewise.
42091         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42092         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42093         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42094         Likewise.
42095         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42096         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42097         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42098         (__nscd_get_map_ref): Likewise.
42099         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42100         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42101         Likewise.
42102         * nscd/pwdcache.c (addpwbyX): Likewise.
42103         * nscd/selinux.c (preserve_capabilities): Likewise.
42104         * nscd/servicescache.c (addservbyX): Likewise.
42105         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42106         * posix/fnmatch.c (fnmatch): Likewise.
42107         * posix/getopt.c (_getopt_internal_r): Likewise.
42108         * posix/glob.c (glob, glob_in_dir): Likewise.
42109         * posix/wordexp.c (exec_comm_child): Likewise.
42110         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42111         (getanswer_r, gaih_getanswer_slice): Likewise.
42112         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42113         * resolv/res_init.c: Likewise.
42114         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42115         * resolv/res_query.c (__libc_res_nquery): Likewise.
42116         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42117         Likewise.
42118         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42119         * stdio-common/perror.c (perror): Likewise.
42120         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42121         * stdio-common/tmpnam.c (tmpnam): Likewise.
42122         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42123         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42124         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42125         Likewise.
42126         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42127         * stdlib/putenv.c (putenv): Likewise.
42128         * stdlib/setenv.c (__add_to_environ): Likewise.
42129         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42130         * stdlib/strtol_l.c (INTERNAL): Likewise.
42131         * string/memmem.c (memmem): Likewise.
42132         * string/strerror.c (strerror): Likewise.
42133         * string/strnlen.c (__strnlen): Likewise.
42134         * string/test-memmem.c (simple_memmem): Likewise.
42135         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42136         * sunrpc/pm_getport.c (__get_socket): Likewise.
42137         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42138         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42139         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42140         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42141         Likewise.
42142         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42143         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42144         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42145         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42146         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42147         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42148         Likewise.
42149         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42150         Likewise.
42151         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42152         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42153         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42154         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42155         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42157         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42158         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42159         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42160         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42161         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42162         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42163         Likewise.
42164         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42165         Likewise.
42166         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42167         Likewise.
42168         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42169         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42170         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42171         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42172         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42173         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42174         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42175         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42176         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42177         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42178         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42179         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42180         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42181         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42183         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42184         Likewise.
42185         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42186         Likewise.
42187         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42188         Likewise.
42189         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42190         Likewise.
42191         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42193         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42194         Likewise.
42195         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42196         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42197         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42198         * sysdeps/posix/sleep.c: Likewise.
42199         * sysdeps/posix/tempname.c: Likewise.
42200         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42201         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42202         Likewise.
42203         * sysdeps/powerpc/powerpc32/dl-machine.h
42204         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42205         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42206         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42207         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42208         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42209         Likewise.
42210         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42211         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42212         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42213         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42214         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42215         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42216         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42217         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42218         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42219         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42220         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42221         (elf_machine_lazy_rel): Likewise.
42222         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42224         (elf_machine_lazy_rel): Likewise.
42225         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42226         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42227         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42228         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42229         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42230         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42231         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42232         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42233         Likewise.
42234         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42235         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42236         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42237         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42238         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42239         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42240         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42241         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42242         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42243         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42244         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42245         Likewise.
42246         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42247         (__posix_fallocate64_l64): Likewise.
42248         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42249         (posix_fallocate): Likewise.
42250         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42251         Likewise.
42252         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42253         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42254         (getifaddrs_internal): Likewise.
42255         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42256         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42257         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42258         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42259         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42260         (__posix_fallocate64_l64): Likewise.
42261         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42262         Likewise.
42263         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42264         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42265         (__get_clockfreq): Likewise.
42266         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42267         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42268         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42269         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42271         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42272         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42273         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42274         Likewise.
42275         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42276         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42277         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42278         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42279         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42280         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42281         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42282         Likewise.
42283         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42284         (posix_fallocate): Likewise.
42285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42286         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42287         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42288         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42289         (elf_machine_rela, elf_machine_rela_relative)
42290         (elf_machine_lazy_rel): Likewise.
42291         * time/asctime.c (asctime_internal): Likewise.
42292         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42293         * time/tzset.c (__tzset_parse_tz): Likewise.
42294         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42295         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42296         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42297         * wcsmbs/wcsmbsload.h: Likewise.
42299         [BZ #15894]
42300         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42302         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42303         (arena_get2): Remove THREAD_STATS conditionals.
42304         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42305         (__malloc_stats, int): Likewise.
42307 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42309         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42310         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42312         * manual/setjmp.texi: Fix typos/grammar errors.
42314         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42315         Only return early when n is <= 0.  Delete unused return statement.
42317         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42318         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42319         * debug/tst-longjmp_chk3.c: New file.
42321         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42322         (test_main): Replace code with set_fortify_handler call.
42323         * debug/test-strcpy_chk.c: Likewise.
42324         * debug/tst-chk1.c: Likewise.
42325         * debug/tst-longjmp_chk.c: Likewise.
42326         * test-skeleton.c: Include fcntl.h & paths.h
42327         (set_fortify_handler): Define.
42329         * debug/tst-longjmp_chk.c: Add header comment and include
42330         ../test-skeleton.c.
42331         (do_test): Mark static.
42332         (TEST_FUNCTION): Define.
42334         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42335         (IP_PMTUDISC_INTERFACE): Likewise.
42336         (IP_MULTICAST_IF): Likewise.
42337         (IP_MULTICAST_TTL): Likewise.
42338         (IP_MULTICAST_LOOP): Likewise.
42339         (IP_ADD_MEMBERSHIP): Likewise.
42340         (IP_DROP_MEMBERSHIP): Likewise.
42341         (IP_UNBLOCK_SOURCE): Likewise.
42342         (IP_BLOCK_SOURCE): Likewise.
42343         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42344         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42345         (IP_MSFILTER): Likewise.
42346         (MCAST_JOIN_GROUP): Likewise.
42347         (MCAST_BLOCK_SOURCE): Likewise.
42348         (MCAST_UNBLOCK_SOURCE): Likewise.
42349         (MCAST_LEAVE_GROUP): Likewise.
42350         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42351         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42352         (MCAST_MSFILTER): Likewise.
42353         (IP_MULTICAST_ALL): Likewise.
42354         (IP_UNICAST_IF): Likewise.
42356         * timezone/Makefile: Delete $(have-ksh) check.
42357         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42358         * timezone/tzselect.ksh: Add +x mode bits.
42360         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42361         (ANON_INODE_FS_MAGIC): Likewise.
42362         (BDEVFS_MAGIC): Likewise.
42363         (BINFMTFS_MAGIC): Likewise.
42364         (BTRFS_TEST_MAGIC): Likewise.
42365         (CRAMFS_MAGIC_WEND): Likewise.
42366         (DEBUGFS_MAGIC): Likewise.
42367         (ECRYPTFS_SUPER_MAGIC): Likewise.
42368         (EXT3_SUPER_MAGIC): Likewise.
42369         (EXT4_SUPER_MAGIC): Likewise.
42370         (FUTEXFS_SUPER_MAGIC): Likewise.
42371         (HOSTFS_SUPER_MAGIC): Likewise.
42372         (HUGETLBFS_MAGIC): Likewise.
42373         (MINIX3_SUPER_MAGIC): Likewise.
42374         (MTD_INODE_FS_MAGIC): Likewise.
42375         (NILFS_SUPER_MAGIC): Likewise.
42376         (OPENPROM_SUPER_MAGIC): Likewise.
42377         (PIPEFS_MAGIC): Likewise.
42378         (PSTOREFS_MAGIC): Likewise.
42379         (QNX6_SUPER_MAGIC): Likewise.
42380         (RAMFS_MAGIC): Likewise.
42381         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42382         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42383         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42384         (SECURITYFS_MAGIC): Likewise.
42385         (SELINUX_MAGIC): Likewise.
42386         (SMACK_MAGIC): Likewise.
42387         (SOCKFS_MAGIC): Likewise.
42388         (SQUASHFS_MAGIC): Likewise.
42389         (STACK_END_MAGIC): Likewise.
42390         (TMPFS_MAGIC): Likewise.
42391         (USBDEVICE_SUPER_MAGIC): Likewise.
42392         (V9FS_MAGIC): Likewise.
42393         (XENFS_SUPER_MAGIC): Likewise.
42394         (CRAMFS_MAGIC): Fix typo in comment.
42395         (EXT2_SUPER_MAGIC): Update comment.
42396         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42398 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42400         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42401         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42402         * sysdeps/unix/sysv/linux/arm: Move directory from
42403         ports/sysdeps/unix/sysv/linux/arm.
42404         * README: Update listing for arm-*-linux-gnueabi.
42406         * README: Remove mention of am33.
42408 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42410         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42411         than the comma operator, to avoid "rhs of comma has no effect"
42412         compiler warnings.
42413         (__sigfillset, __sigandset, __sigorset): Likewise.
42414         * include/signal.h (__sigemptyset): Likewise.
42415         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42417 2014-02-07  Allan McRae  <allan@archlinux.org>
42419         * version.h (RELEASE): Set to "development".
42420         (VERSION): Set to "2.19.90"
42421         * NEWS: Add 2.20 section.
42423 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42425         [BZ #16529]
42426         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42428 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42430         * manual/contrib.texi: Update entry for Carlos O'Donell,
42431         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42433 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42435         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42437         * sysdeps/unix/sysv/linux/kernel-features.h
42438         [__LINUX_KERNEL_VERSION >= 0x020621]
42439         (__ASSUME_PROC_PID_TASK_COMM): Define.
42441 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42443         [BZ #16398]
42444         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42445         conversion when destination buffer does not have enough space.
42446         * libio/tst-ftell-partial-wide.c: New test case.
42447         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42449         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42450         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42451         Leonard and Allan McRae.
42453 2014-02-04  David S. Miller  <davem@davemloft.net>
42455         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42456         32-bit.
42458 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42461         New file
42462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42463         New file
42464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42465         New file.
42466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42467         New file.
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42469         New file.
42470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42471         New file.
42472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42473         New file.
42474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42475         New file.
42476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42477         New file.
42478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42479         New file.
42480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42481         New file.
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42483         New file.
42484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42485         New file.
42487 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42489         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42490         * shlib-versions: Likewise.
42492 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42493             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42495         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42496         (abilist-pattern): New variable, set to %-le.abilist.
42498         * Makerules (abilist-pattern): New variable.
42499         (vpath): Use $(abilist-pattern) in place of %.abilist.
42500         (check-abi-% pattern rule): Likewise.
42501         (check-abi, update-abi): Likewise.
42503 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42507 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42509         * manual/startup.texi: Add next, previous, and top entries for
42510         the `Program Arguments' and `Environment Variables' nodes.
42512 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42514         * manual/macros.texi: Add comments before MTASC-safety macros.
42516         * manual/users.texi: Document MTASC-safety properties.
42518         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42519         (pthread_getspecific, pthread_setspecific): Format with
42520         @deftypefun, and add @safety note.
42521         * manual/signal.texi: Move comments that analyze the above
42522         functions to their home place.
42524 2014-02-03  Allan McRae  <allan@archlinux.org>
42526         * po/sl.po: Update Slovenian translation from translation project.
42528 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42530         * manual/time.texi (timegm): Add missing blank after @c.
42531         Reported by Joseph Myers <joseph@codesourcery.com>.
42533 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42535         * manual/check-safety.sh: New.
42536         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42538         * manual/terminal.texi: Document MTASC-safety properties.
42540         * manual/filesys.texi: Document MTASC-safety properties.
42542         * manual/errno.texi: Document MTASC-safety properties.
42544         * manual/intro.texi: Document safety identifiers and
42545         conditionals.
42547         * manual/string.texi (wcstok): Fix prototype.
42548         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42550         * manual/time.texi: Document MTASC-safety properties.
42552         * manual/string.texi: Document MTASC-safety properties.
42554         * manual/threads.texi: Document MTASC-safety properties.
42556         * manual/stdio.texi: Document MTASC-safety properties.
42558         * manual/syslog.texi: Document MTASC-safety properties.
42560         * manual/sysinfo.texi: Document MTASC-safety properties.
42562         * manual/startup.texi: Document MTASC-safety properties.
42564         * manual/socket.texi: Document MTASC-safety properties.
42566         * manual/signal.texi: Document MTASC-safety properties.
42568 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42570         * manual/setjmp.texi: Document MTASC-safety properties.
42572         * manual/search.texi: Document MTASC-safety properties.
42574         * manual/resource.texi: Document MTASC-safety properties.
42576         * manual/process.texi: Document MTASC-safety properties.
42578         * manual/platform.texi: Document MTASC-safety properties.
42580         * manual/pipe.texi: Document MTASC-safety properties.
42582         * manual/pattern.texi: Document MTASC-safety properties.
42584         * manual/message.texi: Document MTASC-safety properties.
42586         [BZ #12751]
42587         * manual/memory.texi: Document MTASC-safety properties.
42589         * manual/math.texi: Document MTASC-safety properties.
42591         * manual/locale.texi: Document MTASC-safety properties.
42593         * manual/llio.texi: Document MTASC-safety properties.
42595         * manual/libdl.texi: New.
42597         * manual/lang.texi: Document MTASC-safety properties.
42599         * manual/job.texi: Document MTASC-safety properties.
42601         * manual/getopt.texi: Document MTASC-safety properties.
42603         * manual/ctype.texi: Document MTASC-safety properties.
42605 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42607         [BZ #16046]
42608         * csu/libc-tls.c (static_map): Remove variable.
42609         (__libc_setup_tls): Use main executable's link map for TLS data.
42610         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42611         casing for LM_ID_BASE and GL(dl_nns).
42612         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42613         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42614         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42615         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42616         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42617         member.
42618         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42619         l_phnum members.
42621 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42623         * manual/debug.texi: Document MTASC-safety properties.
42625 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42627         [BZ #16510]
42628         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42629         of __x86_64__ when disabling x87 inline functions.
42631 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42633         * manual/charset.texi: Document MTASC-safety properties.
42635         * manual/crypt.texi: Document MTASC-safety properties.
42637         * manual/conf.texi: Document MTASC-safety properties.
42639         * manual/arith.texi: Document MTASC-safety properties.
42641         * manual/argp.texi: Document MTASC-safety properties.
42643         * manual/macros.texi: Introduce macros to document multi
42644         thread, asynchronous signal and asynchronous cancellation
42645         safety properties.
42646         * manual/intro.texi: Introduce the properties themselves.
42648 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42650         * sysdeps/sh/sh4/Makefile: New file.
42652 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42654         * math/gen-libm-test.pl ($srcdir): New variable.
42655         ($auto_input): Use it.
42657 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42659         [BZ #16506]
42660         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42661         access beyond array bounds when parsing netgroups file.
42663         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42664         the old buffer before realloc.
42666 2014-01-27  Allan McRae  <allan@archlinux.org>
42668         * po/fr.po: Update French translation from translation project.
42670 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42672         * sysdeps/sh/libm-test-ulps: Regenerate.
42674 2014-01-24  David S. Miller  <davem@davemloft.net>
42676         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42678 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42680         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42681         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42683 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42685         [BZ #16474]
42686         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42687         string pointers after reallocation.
42689 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42691         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42692         __SH4A__ instead of __SH_FPU_ANY__.
42694 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42696         * sysdeps/sh/fpu_control.h: New file.
42697         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42698         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42699         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42700         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42701         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42702         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42703         * sysdeps/sh/sys/ucontext.h: Remove.
42704         * sysdeps/sh/sys: Remove directory.
42706 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42708         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42709         s390/sys/ucontext.h.
42710         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42711         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42713 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42715         [BZ #15605]
42716         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42718 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42720         [BZ#16431]
42721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42722         Adjust the vDSO correctly for internal calls.
42723         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42725 2014-01-20  Allan McRae  <allan@archlinux.org>
42727         * po/ca.po: Update Catalan translation from translation project.
42729 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42731         * sysdeps/s390/sotruss-lib.c: New file.
42733 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42735         [BZ#16430]
42736         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42737         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42738         local calls issues by not having a PLT stub required for IFUNC calls.
42739         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42741 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42743         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42744         * math/test-fpucw-static.c: Likewise.
42746 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42748         [BZ #16453]
42749         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42751 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42753         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42754         implementation for powerpc.
42756 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42758         [BZ #14782]
42759         * sysdeps/posix/system.c (__libc_system): Do not enable
42760         asynchronous cancellation.
42762 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42764         [BZ #16427]
42765         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42766         handling only for numbers special also in the IEEE case.
42768 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42770         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42772 2014-01-11  Allan McRae  <allan@archlinux.org>
42774         * po/bg.po: Update Bulgarian translation from translation project.
42776         * po/de.po: Update German translation from translation project.
42778 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42780         * sysdeps/generic/gcc-compat.h: New file.
42782 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42784         * benchtests/asin-inputs: Correct slow inputs.
42785         * benchtests/acos-inputs: Likewise.
42787 2014-01-10  Allan McRae  <allan@archlinux.org>
42789         * po:sv.po: Update Swedish translation from translation project.
42791         * po/vi.po: Update Vietnamese translation from translation project.
42793         * po/eo.po: Update Esperanto translation from translation project.
42795         * po/cs.po: Update Czech translation from translation project.
42797         * po/nl.po: Update Dutch translation from translation project.
42799         * po/pl.po: Update Polish translation from translation project.
42801         * po/ru.po: Update Russian translation from translation project.
42803         * po/uk.po: Update Ukrainian translation from translation project.
42805 2014-01-08  Brooks Moses  <bmoses@google.com>
42807         * elf/dl-load.c: Fix comment typo.
42809 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42811         * po/header.pot: Rename to...
42812         * po/pot.header: ... this.
42813         * po/Makefile: Use pot.header.
42815 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42816             Maxim Kuvyrkov  <maxim@kugelworks.com>
42818         [BZ #16394]
42819         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42820         SRC and DEST against LEN.
42822 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42824         [BZ #16414]
42825         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42826         implementation.
42827         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42829 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42833 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42835         [BZ #16408]
42836         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42837         for large positive arguments.
42839 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42841         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42843         * math/auto-libm-test-in: Mark various tests with
42844         xfail-rounding:ldbl-128ibm.
42845         * math/auto-libm-test-out: Regenerated.
42847         [BZ #16407]
42848         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42849         Increase overflow threshold.
42851 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42853         [BZ #14286]
42854         * stdio-common/vfprintf.c: Check for integer overflow.
42856 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42858         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42859         the first argument and return value of __tls_get_addr_internal.
42861 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42863         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42864         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42866 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42868         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42869         * sysdeps/s390/rtld-global-offsets.sym: New file.
42870         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42871         GLIBC_2.19 symbol.
42872         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42873         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42874         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42875         ... this.
42876         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42877         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42878         ... this.
42879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42880         Regenerate.
42881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42882         Regenerate.
42883         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42884         halfs of GPRs for high_gprs contexts.
42885         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42886         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42887         field.
42888         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42889         uc_flags field.
42890         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42891         64 bit versions:
42892         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42893         for high GPRs (uc_high_gprs) and for future extensions
42894         (__reserved).
42895         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42896         for future extensions (__reserved).
42897         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42898         64 bit versions:
42899         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42900         SC_HIGHGPRS offset definition.
42901         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42902         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42904         * Versions.def: Add GLIBC_2.19 for libpthread.
42905         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42906         siglongjmp for libpthread with GLIBC_2.19 symver.
42907         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42908         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42909         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42910         * sysdeps/s390/__longjmp.c: New file.
42911         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42912         * sysdeps/s390/longjmp.c: New file.
42913         * sysdeps/s390/setjmp.S: New file.
42914         * sysdeps/s390/sigjmp.S: New file.
42915         * sysdeps/s390/v1-longjmp.c: New file.
42916         * sysdeps/s390/v1-setjmp.h: New file.
42917         * sysdeps/s390/v1-sigjmp.c: New file.
42918         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42919         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42920         GLIBC_2.19 version.
42921         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42922         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42923         versioned symbols for ____longjmp_chk.
42924         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42925         Likewise.
42926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42927         Regenerate.
42928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42929         Regenerate.
42930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42931         Regenerate.
42932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42933         Regenerate.
42934         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42935         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42936         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42937         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42938         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42939         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42940         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42941         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42942         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42943         * sysdeps/s390/rtld-__longjmp.c: New file.
42944         * sysdeps/s390/rtld-setjmp.S: New file.
42946 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42948         [BZ #16400]
42949         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42950         Return -__logl (x) for small positive arguments without evaluating
42951         a polynomial.
42953 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42955         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42956         Rename to ...
42957         (__ptrace_peeksiginfo_args): ... this.
42958         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42959         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42960         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42962 2014-01-06  Allan McRae  <allan@archlinux.org>
42964         * inet/netinet/in.h: Fix typo in comment.
42966 2014-01-05  Andreas Jaeger  <aj@suse.de>
42968         * sysdeps/i386/fpu/libm-test-ulps: Update.
42970 2014-01-05  Allan McRae  <allan@archlinux.org>
42972         * po/libc.pot: Regenerated.
42974         * malloc/memusagestat.c: Fix gettext call formatting.
42976 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42978         * nscd/nscd.c: Improve usage() output.
42980 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42982         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42983         * sysdeps/unix/sysv/linux/configure: Regenerated.
42984         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42985         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42987 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42989         [BZ #16390]
42990         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42991         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42993 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42995         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42996         extra tokens at end of #undef directive.
42997         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42998         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42999         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43001 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43003         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43005         * math/auto-libm-test-in: Mark various tests with
43006         xfail-rounding:ldbl-128ibm.
43007         * math/auto-libm-test-out: Regenerated.
43009 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43011         [BZ #16386]
43012         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43013         numbers with subnormal high part when calculating exponent.
43015         [BZ #16385]
43016         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43017         fabs.
43019         [BZ #16384]
43020         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43021         M_LN2l.
43022         (__ieee754_acoshl): Use __log1pl not __log1p.
43024 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43026         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43027         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43028         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43029         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43030         (reused_arena, arena_get2): Convert to GNU style.
43031         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43032         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43033         (memalign_check, __malloc_set_state): Likewise.
43034         * malloc/mallocbug.c (main): Likewise.
43035         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43036         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43037         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43038         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43039         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43040         (__posix_memalign, malloc_info): Likewise.
43041         * malloc/malloc.h: Likewise.
43042         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43043         (mallochook, memalignhook, reallochook, mabort): Likewise.
43044         * malloc/mcheck.h: Likewise.
43045         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43046         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43047         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43048         * malloc/morecore.c (__default_morecore): Likewise.
43049         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43050         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43051         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43052         (print_and_abort): Likewise.
43053         * malloc/obstack.h: Likewise.
43054         * malloc/set-freeres.c (__libc_freeres): Likewise.
43055         * malloc/tst-mallocstate.c (main): Likewise.
43056         * malloc/tst-mtrace.c (main): Likewise.
43057         * malloc/tst-realloc.c (do_test): Likewise.
43059 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43061         [BZ #16366]
43062         * nscd/netgroupcache.c (do_notfound): New function.
43063         (addgetnetgrentX): Use it.
43065         [BZ # 16365]
43066         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43067         NSS_STATUS_NOTFOUND.
43069 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43071         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43074 2014-01-01  Allan McRae  <allan@archlinux.org>
43076         * scripts/update-copyrights: Update configure input file suffix.
43078         * NEWS: Update copyright year.
43079         * catgets/gencat.c: Likewise.
43080         * csu/version.c: Likewise.
43081         * debug/catchsegv.sh: Likewise.
43082         * debug/pcprofiledump.c: Likewise.
43083         * debug/xtrace.sh: Likewise.
43084         * elf/ldconfig.c: Likewise.
43085         * elf/ldd.bash.in: Likewise.
43086         * elf/pldd.c: Likewise.
43087         * elf/sotruss.ksh: Likewise.
43088         * elf/sprof.c: Likewise.
43089         * iconv/iconv_prog.c: Likewise.
43090         * iconv/iconvconfig.c: Likewise.
43091         * locale/programs/locale.c: Likewise.
43092         * locale/programs/localedef.c: Likewise.
43093         * login/programs/pt_chown.c: Likewise.
43094         * malloc/memusage.sh: Likewise.
43095         * malloc/memusagestat.c: Likewise.
43096         * malloc/mtrace.pl: Likewise.
43097         * manual/libc.texinfo: Likewise.
43098         * nscd/nscd.c: Likewise.
43099         * nss/getent.c: Likewise.
43100         * nss/makedb.c: Likewise.
43101         * posix/getconf.c: Likewise.
43102         * scripts/test-installation.pl: Likewise.
43104         * All files with FSF copyright notices: Update copyright dates
43105         using scripts/update-copyrights.
43106         * intl/plural.c: Regenerated.
43107         * locale/programs/charmap-kw.h: Likewise.
43108         * locale/programs/locfile-kw.h: Likewise.
43110 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43112         * sysdeps/unix/sysv/linux/configure: Regenerated.
43113         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43114         the linux/fanotify.h header.
43115         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43116         HAVE_LINUX_FANOTIFY_H is defined.
43118 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43120         * benchtests/cos-inputs: New inputs.
43121         * benchtests/sin-inputs: Likewise.
43123         * benchtests/atan-inputs: New inputs. Fix name of multiple
43124         precision fallback inputs.
43126         * benchtests/atanh-inputs: New inputs.
43127         * benchtests/tanh-inputs: Likewise.
43129         * benchtests/acosh-inputs: New inputs.
43130         * benchtests/asinh-inputs: Likewise.
43132         * benchtests/cosh-inputs: New inputs.
43133         * benchtests/sinh-inputs: Likewise.
43135         * benchtests/acos-inputs: Add more inputs.
43136         * benchtests/asin-inputs: Likewise.
43138 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43140         [BZ #16375]
43141         * manual/arith.texi: Fix spelling.
43142         * manual/charset.texi: Likewise.
43143         * manual/errno.texi: Likewise.
43144         * manual/filesys.texi: Likewise.
43145         * manual/lang.texi: Likewise.
43146         * manual/llio.texi: Likewise.
43147         * manual/locale.texi: Likewise.
43148         * manual/message.texi: Likewise.
43149         * manual/resource.texi: Likewise.
43150         * manual/search.texi: Likewise.
43151         * manual/setjmp.texi: Likewise.
43152         * manual/stdio.texi: Likewise.
43153         * manual/string.texi: Likewise.
43154         * manual/sysinfo.texi: Likewise.
43155         * manual/time.texi: Likewise.
43157 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43159         * po/sl.po: New file.
43161 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43163         * .gitignore: Add core/.gdbinit/.gdb_history.
43165 2013-12-27  Allan McRae  <allan@archlinux.org>
43167         [BZ #16369]
43168         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43169         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43171 2013-12-24  Brooks Moses  <bmoses@google.com>
43173         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43174         all compilers that claim C++98 compliance, not just GCC.
43175         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43176         Likewise.
43178 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43180         * NEWS: Restore accidentally deleted bug-fix entries.
43182 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43183             Ondřej Bílka  <neleai@seznam.cz>
43185         [BZ #15073]
43186         * malloc/malloc.c (_int_free): Perform sanity check only if we
43187         have_lock.
43189 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43191         [BZ #12986]
43192         * manual/stdio.texi (String Input Conversions): Clarify that character
43193         classes are not supported.
43195 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43199 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43201         [BZ #16337]
43202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43203         Calculate results for small negative arguments directly rather
43204         than using reflection formula with special underflow handling.
43206         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43207         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43208         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43209         (fchflags): Likewise.
43210         (revoke): Likewise.
43211         (setlogin): Likewise.
43212         (sigaltstack): Likewise.
43213         (wait4): Likewise.
43214         (sigblock): Remove.
43215         (sigsetmask): Likewise.
43216         (wait3): Likewise.
43217         (waitpid): Likewise.
43218         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43219         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43220         file.
43221         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43222         * sysdeps/unix/bsd/Makefile: ... here.
43223         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43224         * sysdeps/unix/bsd/Versions: ... here.
43225         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43226         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43227         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43228         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43229         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43230         * sysdeps/unix/bsd/sigblock.c: ... here.
43231         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43232         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43233         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43234         * sysdeps/unix/bsd/sigvec.c: ... here.
43235         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43236         * sysdeps/unix/bsd/tcdrain.c: ... here.
43237         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43238         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43239         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43240         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43241         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43242         * sysdeps/unix/bsd/wait.c: ... here.
43243         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43244         * sysdeps/unix/bsd/wait3.c: ... here.
43245         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43246         * sysdeps/unix/bsd/waitpid.c: ... here.
43248 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43250         [BZ #16356]
43251         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43252         round-to-nearest for [!USE_AS_EXPM1L].
43253         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43254         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43255         more tests of exp and exp10.  Expect some exp10 tests to miss
43256         exceptions or fail in directed rounding modes.
43257         * math/auto-libm-test-out: Regenerated.
43258         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43259         (exp10_test_tonearest): New function.
43260         (exp10_towardzero_test_data): New array.
43261         (exp10_test_towardzero): New function.
43262         (exp10_downward_test_data): New array.
43263         (exp10_test_downward): New function.
43264         (exp10_upward_test_data): New array.
43265         (exp10_test_upward): New function.
43266         (main): Call the new functions.
43267         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43270 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43272         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43273         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43274         * math/auto-libm-test-out: Regenerated.
43275         * math/libm-test.inc (acosh_test_data): Add more tests.
43276         (atanh_test_data): Likewise.
43277         (ceil_test_data): Likewise.
43278         (copysign_test_data): Likewise.
43279         * sysdeps/i386/fpu/libm-test-ulps: Update.
43280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43282         * timezone/checktab.awk: Update from tzcode 2013i.
43283         * timezone/private.h: Likewise.
43284         * timezone/scheck.c: Likewise.
43285         * timezone/tzfile.h: Likewise.
43286         * timezone/tzselect.ksh: Likewise.
43287         * timezone/zdump.c: Likewise.
43288         * timezone/zic.c: Likewise.
43290         * math/auto-libm-test-in: Add tests of cpow.
43291         * math/auto-libm-test-out: Regenerated.
43292         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43293         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43294         mpc_cc_c.
43295         (func_calc_desc): Add mpc_cc_c union field.
43296         (test_functions): Add cpow.
43297         (special_fill_2pi): New function.
43298         (special_real_inputs): Add 2pi.
43299         (calc_generic_results): Handle mpc_cc_c.
43300         * sysdeps/i386/fpu/libm-test-ulps: Update.
43301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43303         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43304         csqrt, ctan and ctanh.
43305         * math/auto-libm-test-out: Regenerated.
43306         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43307         (TEST_COND_x86): Likewise.
43308         (ccos_test_data): Use AUTO_TESTS_c_c.
43309         (ccosh_test_data): Likewise.
43310         (cexp_test_data): Likewise.
43311         (clog_test_data): Likewise.
43312         (csqrt_test_data): Likewise.
43313         (ctan_test_data): Likewise.
43314         (ctan_tonearest_test_data): Likewise.
43315         (ctan_towardzero_test_data): Likewise.
43316         (ctan_downward_test_data): Likewise.
43317         (ctan_upward_test_data): Likewise.
43318         (ctanh_test_data): Likewise.
43319         (ctanh_tonearest_test_data): Likewise.
43320         (ctanh_towardzero_test_data): Likewise.
43321         (ctanh_downward_test_data): Likewise.
43322         (ctanh_upward_test_data): Likewise.
43323         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43324         mpc_c_c.
43325         (func_calc_desc): Add mpc_c_c union field.
43326         (FUNC_mpc_c_c): New macro.
43327         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43328         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43329         ctanh.
43330         (special_fill_min_subnorm_p120): New function.
43331         (special_real_inputs): Add min_subnorm_p120.
43332         (calc_generic_results): Handle mpc_c_c.
43333         * sysdeps/i386/fpu/libm-test-ulps: Update.
43334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43336 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43338         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43339         (do_sin_slow): New functions.
43340         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43341         (cslow2, csloww1, csloww2): Use the new functions.
43343         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43344         Use M to change sign of result instead of X.  Assume X is
43345         positive.
43346         (csloww1): Likewise.
43347         (__sin): Adjust.
43348         (__cos): Adjust.
43350         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43351         arguments A and DA.
43352         (__sin): Adjust.
43353         (__cos): Likewise.
43355         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43356         (__cos): Likewise.
43357         (sloww1): Don't adjust sign of DX.
43358         (csloww1): Likewise.
43359         (sloww2): Use X directly and don't adjust sign of DX.
43360         (csloww2): Likewise.
43362 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43364         * math/auto-libm-test-in: Add tests of cabs and carg.
43365         * math/auto-libm-test-out: Regenerated.
43366         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43367         (carg_test_data): Likewise.
43368         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43369         mpc_c_f.
43370         (func_calc_desc): Add mpc_c_f union field.
43371         (test_functions): Add cabs and carg.
43372         (calc_generic_results): Handle mpc_c_f.
43374         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43375         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43376         as a macro and a compat symbol.
43377         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43378         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43379         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43380         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43381         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43382         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43383         not use .hidden.
43384         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43385         Likewise.
43386         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43387         Likewise.
43388         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43389         Likewise.
43390         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43391         Likewise.
43392         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43393         Likewise.
43394         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43395         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43396         from GLIBC_2.3.2.
43398 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43402 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43404         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43405         trailing whitespace removed.
43406         * scripts/config.guess: Update to version 2013-11-29.
43407         * scripts/config.sub: Update to version 2013-10-01.
43409         * math/auto-libm-test-in: Add tests of sincos.
43410         * math/auto-libm-test-out: Regenerated.
43411         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43412         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43413         mpfr_f_11.
43414         (func_calc_desc): Add mpfr_f_11 union field.
43415         (test_functions): Add sincos.
43416         (calc_generic_results): Handle mpfr_f_11.
43417         * sysdeps/i386/fpu/libm-test-ulps: Update.
43418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43420 2013-12-19  Andreas Schwab  <schwab@suse.de>
43422         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43423         CALL_MCOUNT.
43424         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43425         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43426         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43428 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43430         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43431         * sysdeps/i386/fpu/libm-test-ulps: Update.
43432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43434         [BZ #16293]
43435         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43436         round-to-nearest mode when using frndint.
43437         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43438         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43439         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43440         Likewise.
43441         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43442         sinh test to fail.
43443         * math/auto-libm-test-out: Regenerated.
43444         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43445         (TEST_COND_x86): Likewise.
43446         (expm1_tonearest_test_data): New array.
43447         (expm1_test_tonearest): New function.
43448         (expm1_towardzero_test_data): New array.
43449         (expm1_test_towardzero): New function.
43450         (expm1_downward_test_data): New array.
43451         (expm1_test_downward): New function.
43452         (expm1_upward_test_data): New array.
43453         (expm1_test_upward): New function.
43454         (main): Run the new test functions.
43455         * sysdeps/i386/fpu/libm-test-ulps: Update.
43456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43458         * include/features.h: Update comment documenting feature test
43459         macros.  Mention _DEFAULT_SOURCE in comment.
43460         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43461         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43462         _BSD_SOURCE and _SVID_SOURCE.
43463         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43464         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43465         !_SVID_SOURCE]: Likewise.
43466         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43467         (__USE_POSIX_IMPLICITLY): Define.
43468         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43469         (_POSIX_SOURCE): Undefine and redefine.
43470         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43471         (_POSIX_C_SOURCE): Likewise.
43472         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43473         (Feature Test Macros): Update documentation of default features.
43475 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43477         * benchtests/Makefile: Add bench-strtok.
43478         * benchtests/bench-strtok.c: New file: strtok benchtest.
43480 2013-12-19  Allan McRae  <allan@archlinux.org>
43482         * manual/install.texi: Suppress menu for plain text output.
43483         * INSTALL: Regenerated.
43485 2013-12-18  Brooks Moses  <bmoses@google.com>
43487         [BZ #15846]
43488         * misc/getauxval.c: Include errno.h.
43489         (__getauxval): Set errno to ENOENT if the requested type is not
43490         found.
43491         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43492         don't declare with __attribute_const__.
43493         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43494         * manual/startup.texi: Document that getauxval sets errno.
43496 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43498         * math/auto-libm-test-in: Add tests of jn and yn.
43499         * math/auto-libm-test-out: Regenerated.
43500         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43501         (yn_test_data): Likewise.
43502         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43503         mpfr_if_f.
43504         (func_calc_desc): Add mpfr_if_f union field.
43505         (FUNC_mpfr_if_f): New macro.
43506         (test_functions): Add jn and yn.
43507         (calc_generic_results): Assert type of second input for
43508         mpfr_ff_f.  Handle mpfr_if_f.
43509         (output_for_one_input_case): Disable all checking for arguments
43510         fitting floating-point types in case of an integer argument.
43511         * sysdeps/i386/fpu/libm-test-ulps: Update.
43512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43515         Don't expect fegetround reference in libm.so.
43517 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43519         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43520         $(config-cflags-nofma).
43522 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43524         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43525         * math/auto-libm-test-out: Regenerated.
43527         [BZ #16338]
43528         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43529         to determine exponent and adjust argument to have exponent of -1.
43530         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43531         log2.
43532         * math/auto-libm-test-out: Regenerated.
43533         * sysdeps/i386/fpu/libm-test-ulps: Update.
43534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43536 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43538         * manual/probes.texi: Remove cases when per-thread arenas are
43539         disabled.
43541 2013-12-18  Andreas Schwab  <schwab@suse.de>
43543         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43544         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43545         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43546         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43547         * sysdeps/i386/i686/multiarch/Makefile: Update.
43548         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43550 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43552         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43553         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43555 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43557         [BZ #15968]
43558         Support TZ transition times < 00:00:00.
43559         This is needed for version-3 tz-format files; it supports time
43560         stamps past 2037 for America/Godthab (the only entry in the tz
43561         database for which this change is relevant).
43562         * manual/time.texi (TZ Variable): Document transition times
43563         from -167:59:59 through -00:00:01.
43564         * time/tzset.c (tz_rule): Time of day is now signed.
43565         (__tzset_parse_tz): Parse negative time of day.
43567         Document TZ transition times >= 25:00:00.
43568         * manual/time.texi (TZ Variable): Document transition times from
43569         25:00:00 through 167:59:59.  These are already supported, and this
43570         support will help with version-3 tz-format files.
43572         * manual/time.texi (TZ Variable): Modernize North America example
43573         to reflect current (i.e., 2007-and-later) daylight saving rules.
43575         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43577 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43579         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43580         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43582         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43583         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43584         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43585         * sysdeps/unix/bsd/clock.c: Likewise.
43586         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43587         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43588         * sysdeps/unix/bsd/init-posix.c: Likewise.
43589         * sysdeps/unix/bsd/poll.c: Likewise.
43590         * sysdeps/unix/bsd/ptsname.c: Likewise.
43591         * sysdeps/unix/bsd/seekdir.c: Likewise.
43592         * sysdeps/unix/bsd/setegid.c: Likewise.
43593         * sysdeps/unix/bsd/seteuid.c: Likewise.
43594         * sysdeps/unix/bsd/setgid.c: Likewise.
43595         * sysdeps/unix/bsd/setrgid.c: Likewise.
43596         * sysdeps/unix/bsd/setruid.c: Likewise.
43597         * sysdeps/unix/bsd/setsid.c: Likewise.
43598         * sysdeps/unix/bsd/setuid.c: Likewise.
43599         * sysdeps/unix/bsd/sigaction.c: Likewise.
43600         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43601         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43602         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43603         * sysdeps/unix/bsd/telldir.c: Likewise.
43604         * sysdeps/unix/bsd/times.c: Likewise.
43605         * sysdeps/unix/bsd/usleep.c: Likewise.
43607         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43608         ($(objpfx)libbsd-compat.a): Remove rule.
43610         * include/features.h (__FAVOR_BSD): Do not define.
43611         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43612         features conflicting with POSIX.
43613         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43614         (_BSD_SOURCE): Remove description of not being a subset of other
43615         feature test macros.
43616         * manual/job.texi (getpgrp): Do not document BSD version.
43617         (getpgid): Do not document by reference to BSD getpgrp.
43618         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43619         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43620         * signal/signal.h [__FAVOR_BSD]: Likewise.
43621         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43622         instead of making contents conditional on [__FAVOR_BSD].
43623         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43625 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43629 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43631         [BZ #16314]
43632         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43633         values below 2**-450, not 2**-500.
43634         * math/auto-libm-test-in: Don't allow spurious underflow from
43635         hypot.
43636         * math/auto-libm-test-out: Regenerated.
43638         [BZ #16316]
43639         [BZ #16330]
43640         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43641         values of ha and hb and sort them after adjusting subnormal
43642         arguments.
43643         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43644         Likewise.
43645         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43646         values of ea and eb and sort them after adjusting subnormal
43647         arguments.
43648         * math/auto-libm-test-in: Do not expect some hypot tests of
43649         subnormals to fail.  Add more hypot tests.
43650         * math/auto-libm-test-out: Regenerated.
43652 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43654         [BZ #13304]
43655         * sysdeps/sh/s_fma.c: New file.
43656         * sysdeps/sh/s_fmaf.c: New file.
43657         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43658         version.
43659         * sysdeps/sh/Implies: Add sh/soft-fp.
43661 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43663         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43664         level of indirection to members `objname', `errstring', `malloced'.
43665         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43666         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43667         it as the __longjmp argument (just pass 1 instead).
43668         (_dl_catch_error): Initialize C with argument pointers and address of
43669         volatile local ERRCODE rather than copying values out of C at return.
43671 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43673         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43674         * math/auto-libm-test-out: Regenerated.
43675         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43676         (hypot_test_data): Likewise.
43677         (pow_test_data): Likewise.
43678         (pow_tonearest_test_data): Likewise.
43679         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43680         mpfr_ff_f.
43681         (func_calc_desc): Add mpfr_ff_f union field.
43682         (FUNC_mpfr_ff_f): New macro.
43683         (test_functions): Add atan2, hypot and pow.
43684         (special_fill_min): New function.
43685         (special_fill_minus_min): Likewise.
43686         (special_fill_min_subnorm): Likewise.
43687         (special_fill_minus_min_subnorm): Likewise.
43688         (special_real_inputs): Add min, -min, min_subnorm and
43689         -min_subnorm.
43690         (calc_generic_results): Handle mpfr_ff_f.
43691         * sysdeps/i386/fpu/libm-test-ulps: Update.
43692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43694 2013-12-16  Will Newton  <will.newton@linaro.org>
43696         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43697         (Aligned Memory Blocks): Add documentation for aligned_alloc
43698         and suggest it as an alternative to posix_memalign.
43699         (Hooks for Malloc): Document __memalign_hook is also called
43700         for aligned_alloc.  (Summary of Malloc): Add summary for
43701         aligned alloc.  Document __memalign_hook is also called
43702         for aligned_alloc.
43704 2013-12-16  Will Newton  <will.newton@linaro.org>
43706         * manual/memory.texi (Malloc Examples): Clarify default
43707         alignment documentation.  Suggest posix_memalign rather
43708         than memalign or valloc.
43709         (Aligned Memory Blocks): Remove suggestion to use memalign
43710         or valloc.  Remove obsolete comment about BSD.
43711         Document memalign errno values and mark the function obsolete.
43712         Document posix_memalign returned error codes.  Mark valloc
43713         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43714         called for posix_memalign and valloc.
43715         (Summary of Malloc): Add posix_memalign to function summary.
43716         __memalign_hook is also called for posix_memalign and valloc.
43718 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43720         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43721         TAYLOR_SIN.
43722         (__sin): Adjust.
43723         (__cos): Likewise.
43724         (sloww): Use mynumber union.  Expand ternary operator into
43725         if-else statements.
43726         (cslow): use mynumber union.
43728 2013-12-16  Allan McRae  <allan@archlinux.org>
43730         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43731         * configure: Regenerated.
43733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43735         [BZ #14120]
43736         * configure.ac: Added --enable-maintainer-mode. Check for
43737         autoconf when enabled.
43738         * configure: Regenerated.
43740         * nscd/nscd.service: New file.
43741         * nscd/nscd.tmpfiles: New file.
43743 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43745         [BZ #12100]
43746         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43747         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43748         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43749         (strstr): Add __strstr_sse2_unaligned ifunc.
43750         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43751         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43752         (strcasestr): Remove __strcasestr_sse42 ifunc.
43753         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43757 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43759         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43760         * sysdeps/sh/bits/fenv.h: ... here.
43761         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43763 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43765         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43768         hypotf multiarch implementations.
43769         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43770         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43771         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43772         multiarch hypot for PPC64.
43773         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43774         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43775         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43776         multiarch hypotf for PPC64.
43778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43779         modff multiarch implementations.
43780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43783         multiarch modf for PPC64.
43784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43787         multiarch modff for PPC64.
43789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43790         and logl multiarch implementations.
43791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43794         multiarch logb for PPC64.
43795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43798         multiarch logb for PPC64.
43799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43802         multiarch logb for PPC64.
43804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43805         isinff multiarch implementation.
43806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43807         file.
43808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43810         multiarch isinf for PPC64.
43811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43812         file.
43813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43814         multiarch isinff for PPC64.
43816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43817         finitef multiarch implementation.
43818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43819         file.
43820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43822         multiarch finite for PPC64.
43823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43824         file.
43825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43826         multiarch finitef for PPC64.
43828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43829         lrint multiarch implementation.
43830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43831         file.
43832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43834         multiarch llrint for PPC64.
43835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43836         multiarch lrint for PPC64.
43838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43839         copysignf multiarch implementation.
43840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43841         file.
43842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43843         file.
43844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43845         multiarch copysign for PPC64.
43846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43847         multiarch copysignf for PPC64.
43849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43850         multiarch implementation.
43851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43852         file.
43853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43854         file.
43855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43856         file.
43857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43858         file.
43859         multiarch llround for PPC64.
43860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43861         multiarch trunc for PPC64.
43862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43863         multiarch truncf for PPC64.
43865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43866         multiarch implementation.
43867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43868         file.
43869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43870         file.
43871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43872         file.
43873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43874         file.
43875         multiarch llround for PPC64.
43876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43877         multiarch round for PPC64.
43878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43879         multiarch roundf for PPC64.
43881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43882         multiarch implementation.
43883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43884         file.
43885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43886         file.
43887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43888         file.
43889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43890         file.
43891         multiarch llround for PPC64.
43892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43893         multiarch floor for PPC64.
43894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43895         multiarch floorf for PPC64.
43897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43898         multiarch implementation.
43899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43900         file.
43901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43902         file.
43903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43904         file.
43905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43906         file.
43907         multiarch llround for PPC64.
43908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43909         multiarch ceil for PPC64.
43910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43911         multiarch ceilf for PPC64.
43913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43914         multiarch implementation.
43915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43916         file.
43917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43918         file.
43919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43920         file.
43921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43922         multiarch llround for PPC64.
43923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43924         multiarch lround for PPC64.
43926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43927         multiarch implementation.
43928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43931         file.
43932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43935         multiarch isnan for PPC64.
43936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43937         multiarch isnanf for PPC64.
43939         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43940         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43941         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43942         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43943         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43946         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43947         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43948         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43949         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43952         multiarch implementations.
43953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43954         (__libc_ifunc_impl_list): Likewise.
43955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43958         multiarch stpcpy for PPC64.
43960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43961         multiarch implementations.
43962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43963         (__libc_ifunc_impl_list): Likewise.
43964         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43965         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43966         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43967         multiarch strcpy for PPC64.
43969         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43970         redefine function name.
43971         (_wordcopy_fwd_dest_aligned): Likewise.
43972         (_wordcopy_bwd_aligned): Likewise.
43973         (_wordcopy_bwd_dest_aligned): Likewise.
43974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43975         multiarch implementations.
43976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43977         (__libc_ifunc_impl_list): Likewise.
43978         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43979         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43980         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43981         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43982         multiarch wcscpy for PPC64.
43984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43985         multiarch implementations.
43986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43987         (__libc_ifunc_impl_list): Likewise.
43988         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43989         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43990         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43991         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43992         multiarch wcscpy for PPC64.
43994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43995         multiarch implementations.
43996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43997         (__libc_ifunc_impl_list): Likewise.
43998         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43999         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44000         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44001         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44002         multiarch wcsrchr for PPC64.
44004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44005         multiarch implementations.
44006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44007         (__libc_ifunc_impl_list): Likewise.
44008         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44009         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44010         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44011         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44012         multiarch wcschr for PPC64.
44014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44015         multiarch implementations.
44016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44017         (__libc_ifunc_impl_list): Likewise.
44018         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44019         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44020         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44021         multiarch strchrnul for PPC64.
44023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44024         implementations.
44025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44026         (__libc_ifunc_impl_list): Likewise.
44027         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44028         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44029         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44030         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44031         strchr for PPC64.
44033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44034         implementations.
44035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44036         (__libc_ifunc_impl_list): Likewise.
44037         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44038         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44039         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44040         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44041         strncmp for PPC64.
44043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44044         multiarch implementations.
44045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44046         (__libc_ifunc_impl_list): Likewise.
44047         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44048         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44049         strncasecmp for PPC64.
44050         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44051         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44052         multiarch strncasecmp_l for PPC64.
44054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44055         multiarch implementations.
44056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44057         (__libc_ifunc_impl_list): Likewise.
44058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44059         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44060         multiarch strcasecmp for PPC64.
44061         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44062         file.
44063         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44064         multiarch strcasecmp_l for PPC64.
44066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44067         implementations.
44068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44069         (__libc_ifunc_impl_list): Likewise.
44070         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44071         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44072         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44073         strnlen for PPC64.
44075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44076         implementations.
44077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44078         (__libc_ifunc_impl_list): Likewise.
44079         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44080         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44081         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44082         strlen for PPC64.
44084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44085         implementations.
44086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44087         (__libc_ifunc_impl_list): Likewise.
44088         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44089         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44090         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44091         rawmemrchr for PPC64.
44093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44094         implementation.
44095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44096         (__libc_ifunc_impl_list): Likewise.
44097         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44098         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44099         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44100         memrchr for PPC64.
44102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44103         implementation.
44104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44105         (__libc_ifunc_impl_list): Likewise.
44106         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44107         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44108         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44109         memchr for PPC64.
44111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44112         implementation.
44113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44114         (__libc_ifunc_impl_list): Likewise.
44115         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44116         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44117         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44118         mempcpy for PPC64.
44120         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44121         avoid cretion of __bzero symbol.
44122         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44123         Likewise.
44124         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44125         Likewise.
44126         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44127         Likewise.
44128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44129         multiarch implementations.
44130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44131         (__libc_ifunc_impl_list): Likewise.
44132         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44133         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44134         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44135         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44136         bzero for PPC32.
44137         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44138         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44139         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44140         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44141         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44142         memset for PPC64.
44143         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44145         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44147         implementations.
44148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44149         (__libc_ifunc_impl_list): Likewise.
44150         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44151         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44152         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44153         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44154         memcmp for PPC64.
44156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44157         multiarch for POWER/PPC64.
44158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44159         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44160         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44161         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44162         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44163         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44164         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44165         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44166         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44167         memcpy for PPC64.
44169         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44170         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44171         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44172         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44173         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44174         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44175         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44176         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44177         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44178         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44179         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44180         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44181         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44182         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44183         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44192 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44194         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44196 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44198         * benchtests/Makefile (bench): Add exp2 and log2.
44199         (LDLIBS-bench-exp2): Add -lm.
44200         (LDLIBS-bench-log2): Likewise.
44201         * benchtests/exp2-inputs: New inputs file.
44202         * benchtests/log2-inputs: New inputs file.
44203         * benchtests/log-inputs: Add new inputs.
44204         * benchtests/tan-inputs: Likewise.
44206 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44208         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44209         definition...
44210         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44211         (csloww2): ... from here.
44213         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44214         instead of structures.
44215         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44216         (POLYNOMIAL): Likewise.
44217         (TAYLOR_SLOW): Likewise.
44218         (__sin): Likewise.
44219         (__cos): Likewise.
44220         (slow1): Likewise.
44221         (slow2): Likewise.
44222         (sloww): Likewise.
44223         (sloww1); Likewise.
44224         (sloww2): Likewise.
44225         (bsloww1): Likewise.
44226         (bsloww2): Likewise.
44227         (cslow2): Likewise.
44228         (csloww): Likewise.
44229         (csloww1): Likewise.
44230         (csloww2): Likewise.
44232 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44234         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44235         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44236         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44237         * malloc/hooks.c (realloc_check): Likewise.
44239         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44240         * malloc/arena.c: Remove PER_THREAD conditional.
44241         [!PER_THREAD]: Remove code.
44242         (ptmalloc_unlock_all2): Likewise.
44243         (ptmalloc_init): Likewise.
44244         (_int_new_arena): Likewise.
44245         (arena_get2): Likewise.
44246         * malloc/hooks.c (__malloc_get_state): Likewise.
44247         (__malloc_set_state): Likewise.
44248         * malloc/malloc.c: Likewise.
44249         (struct malloc_state): Likewise.
44250         (struct malloc_par): Likewise.
44251         (__libc_realloc): Likewise.
44252         (__libc_mallopt): Likewise.
44254 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44256         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44258 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44260         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44261         macro to a function.  Check for zero perturb_byte.
44262         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44264         * malloc/malloc.c: (force_reg): Remove.
44265         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44266         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44267         force_reg by atomic_forced_read.
44268         * malloc/arena.c (ptmalloc_init): Likewise.
44269         * malloc/hooks.c (top_check): Likewise.
44271 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44275 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44279 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44281         * math/auto-libm-test-in: Add tests of lgamma.
44282         * math/auto-libm-test-out: Regenerated.
44283         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44284         (M_LOG_2_SQRT_PIl): Likewise.
44285         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44286         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44287         mpfr_f_f1.
44288         (func_calc_desc): Add mpfr_f_f1 union field.
44289         (ARGS1): New macro.
44290         (ARGS2): Likewise.
44291         (ARGS3): Likewise.
44292         (ARGS4): Likewise.
44293         (RET1): Likewise.
44294         (RET2): Likewise.
44295         (CALC): Likewise.
44296         (FUNC): Likewise.
44297         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44298         (test_functions): Add lgamma.
44299         (calc_generic_results): Handle mpfr_f_f1.
44300         * sysdeps/i386/fpu/libm-test-ulps: Update.
44301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44303 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44305         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44306         __mpn_add_n for PowerPC64/POWER7.
44307         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44308         __mpn_sub_n for PowerPC64/POWER7.
44310         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44311         __mpn_addmul_1 for PowerPC64.
44312         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44313         __mpn_submul_1 for PowerPC64.
44314         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44315         for PowerPC64.
44316         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44317         for PowerPC64.
44319 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44321         [BZ #15089]
44322         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44324 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44326         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44328         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44329         add multiarch folders.
44330         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44331         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44332         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44333         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44334         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44335         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44336         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44337         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44338         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44339         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44340         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44349         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44351         New file.
44352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44353         New file.
44354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44355         multiarch __ieee754_hypot for PowerPC32.
44356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44357         New file.
44358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44359         New file.
44360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44361         multiarch __ieee754_hypotf for PowerPC32.
44363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44364         long_double_symbol only if __logbl is defined.
44365         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44366         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44367         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44368         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44369         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44370         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44371         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44372         path for implementation.
44373         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44374         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44376         logb, and logbl multiarch implementations for PowerPC32.
44377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44378         file.
44379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44380         file.
44381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44382         multiarch logb for PowerPC32.
44383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44384         file.
44385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44386         file.
44387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44388         multiarch logbf for PowerPC32.
44389         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44391         file.
44392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44393         multiarch logbl implementation for PowerPC32.
44395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44396         and modff multiarch implementations.
44397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44398         New file.
44399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44400         New file.
44401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44402         multiarch modf for PowerPC32.
44403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44404         New file.
44405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44406         New file.
44407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44408         multiarch modff for PowerPC32.
44410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44411         and lrintf multiarch implementations.
44412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44413         New file.
44414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44415         New file.
44416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44417         multiarch lrint for PowerPC32.
44418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44419         file: multiarch lrintf for PowerPC32.
44421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44422         and lroundf multiarch implementations.
44423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44424         New file.
44425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44426         New file.
44427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44428         New file.
44429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44430         multiarch lround for PowerPC32.
44431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44432         file: multiarch lroundf for PowerPC32.
44434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44435         copysign and copysignf multiarch implementations.
44436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44437         New file.
44438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44439         New file.
44440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44441         file: multiarch copysign for PowerPC32.
44442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44443         file: multiarch copysignf for PowerPC32.
44445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44446         and truncf multiarch implementations.
44447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44448         New file.
44449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44450         file.
44451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44452         multiarch trunc for PowerPC32.
44453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44454         New file.
44455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44456         New file.
44457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44458         multiarch truncf for PowerPC32.
44460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44461         and roundf multiarch implementations.
44462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44463         New file.
44464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44465         file.
44466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44467         multiarch round for PowerPC32.
44468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44469         New file.
44470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44471         New file.
44472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44473         multiarch roundf for PowerPC32.
44475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44476         and floorf multiarch implementations.
44477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44478         New file.
44479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44480         file.
44481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44482         multiarch floor for PowerPC32.
44483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44484         New file.
44485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44486         New file.
44487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44488         multiarch floorf for PowerPC32.
44490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44491         and ceilf multiarch implementations.
44492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44493         New file.
44494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44495         file.
44496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44497         multiarch ceil for PowerPC32.
44498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44499         New file.
44500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44501         file.
44502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44503         multiarch ceilf for PowerPC32.
44505         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44506         is defined.
44507         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44508         FINITEF is defined.
44509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44510         and finitef multiarch implementations.
44511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44512         New file.
44513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44514         file.
44515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44516         multiarch finite for PowerPC32.
44517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44518         New file.
44519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44520         file: multiarch finitef for PowerPC32.
44522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44523         and isinff multiarch implementations.
44524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44525         file.
44526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44527         file.
44528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44529         multiarch isinf for PowerPC32.
44530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44531         New file.
44532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44533         multiarch isinff for PowerPC32.
44535         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44536         alias when __isnan is defined.
44537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44538         and isnanf multiarch implementations.
44539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44540         file.
44541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44542         file.
44543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44544         file.
44545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44546         file.
44547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44548         multiarch isnan for PowerPC32.
44549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44550         New file.
44551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44552         New file.
44553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44554         multiarch isnanf for PowerPC32.
44556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44557         and sqrtf multiarch implementations.
44558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44559         file.
44560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44561         file.
44562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44563         multiarch sqrt for PowerPC32.
44564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44565         file.
44566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44567         file.
44568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44569         multiarch sqrtf for PowerPC32.
44571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44572         and llroundf multiarch implementations.
44573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44574         New file.
44575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44576         New file.
44577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44578         New file.
44579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44580         file: multiarch llround for PowerPC32.
44581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44582         file: multiarch llroundf for PowerPC32.
44584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44585         multiarch PowerPC32 fpu implementations.
44586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44587         New file.
44588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44589         New file.
44590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44591         multiarch llrint for PowerPC32.
44592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44593         New file.
44594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44595         New file.
44596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44597         file.
44599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44601         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44602         file.
44603         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44604         file.
44605         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44606         file.
44607         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44608         multiarch wordcopy for PPC32.
44609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44610         wordcopy objects.
44611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44612         (__libc_ifunc_impl_list): Likewise.
44613         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44614         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44615         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44616         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44617         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44618         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44620         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44622         file.
44623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44624         file.
44625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44626         file.
44627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44628         multiarch wcscpy for PPC32.
44629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44630         multiarch objects.
44631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44632         (__libc_ifunc_impl_list): Likewise.
44633         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44634         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44635         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44636         sysdeps/powerpc/power6/wcscpy.c.
44638         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44640         file.
44641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44642         file.
44643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44644         file.
44645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44646         multiarch wcsrchr for PPC32.
44647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44648         multiarch objects.
44649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44650         (__libc_ifunc_impl_list): Likewise.
44651         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44652         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44653         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44654         sysdeps/powerpc/power6/wcsrchr.c.
44656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44657         file.
44658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44659         file.
44660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44662         multiarch wcschr for PPc32.
44663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44664         multiarch objects.
44665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44666         (__libc_ifunc_impl_list): Likewise.
44667         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44668         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44669         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44670         sysdeps/powerpc/power6/wcschr.c.
44672         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44673         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44674         file.
44675         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44676         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44677         file: multiarch strchr for PPC32.
44678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44679         multiarch objects.
44680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44681         (__libc_ifunc_impl_list): Likewise.
44683         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44684         name.
44685         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44686         file.
44687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44688         file.
44689         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44690         multiarch strchrnul for PPC32.
44691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44692         multiarch objects.
44693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44694         (__libc_ifunc_impl_list): Likewise.
44696         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44697         file.
44698         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44699         multiarch strncasecmp for PPC32.
44700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44701         file.
44702         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44703         multiarch strncasecmp_l for PPC32.
44704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44705         strncasecmp multiarch objects.
44706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44707         (__libc_ifunc_impl_list): Likewise.
44709         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44710         file.
44711         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44712         multiarch strncasecmp for PPC32.
44713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44714         New file.
44715         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44716         multiarch strcasecmp_l for PPC32.
44717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44718         multiarch objects.
44719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44720         (__libc_ifunc_impl_list): Likewise.
44722         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44723         file.
44724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44725         file.
44726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44727         multiarch strncmp for PPC32.
44728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44729         multiarch objects.
44730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44731         (__libc_ifunc_impl_list): Likewise.
44733         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44734         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44735         file.
44736         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44737         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44739         multiarch objects.
44740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44741         (__libc_ifunc_impl_list): Likewise.
44743         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44744         file.
44745         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44746         file.
44747         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44748         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44749         multiarch objects.
44750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44751         (__libc_ifunc_impl_list): Likewise.
44753         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44754         file.
44755         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44756         file.
44757         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44758         multiarch rawmemchr for PPC32.
44759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44760         multiarch objects.
44761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44762         (__libc_ifunc_impl_list): Likewise.
44764         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44765         file.
44766         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44767         file.
44768         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44769         file: memrchr multiarch for PPC32.
44770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44771         multiarch objects.
44772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44773         (__libc_ifunc_impl_list): Likewise.
44775         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44776         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44777         file.
44778         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44779         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44780         multiarch memchr for PPC32.
44781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44782         multiarch objects.
44783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44784         (__libc_ifunc_impl_list): Likewise.
44786         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44787         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44788         file.
44789         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44790         file.
44791         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44792         file: multiarch mempcpy for PPC32.
44793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44794         multiarch objects.
44795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44796         (__libc_ifunc_impl_list): Likewise.
44798         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44799         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44800         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44801         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44802         multiarch bzero for PPC32.
44803         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44804         file.
44805         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44806         file.
44807         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44808         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44809         file: multiarch memset for PPC32.
44810         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44812         memset multiarch objects.
44813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44814         (__libc_ifunc_impl_list): Likewise.
44816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44817         file.
44818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44819         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44820         memcmp for PPC32.
44821         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44823         multiarch objects.
44824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44825         (__libc_ifunc_impl_list): Likewise.
44827         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44829         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44830         file.
44831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44832         file.
44833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44834         file.
44835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44836         multiarch memcpy for PPC32.
44837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44838         multiarch objects.
44839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44840         (__libc_ifunc_impl_list): Likewise.
44842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44843         support multiarch for POWER/PPC32.
44844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44845         Likewise.
44846         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44848         Implies file to make multiarch folder appers before the fpu and
44849         default folder for power4 configuration.
44851 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44853         * scripts/bench.pl: Append volatile keyword to type.
44855 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44857         * sysdeps/sh/sotruss-lib.c: New file.
44858         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44860 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44864 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44866         [BZ #6810]
44867         * math/w_tgamma.c: Include <errno.h>.
44868         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44869         * math/w_tgammaf.c: Include <errno.h>.
44870         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44871         * math/w_tgammal.c: Include <errno.h>.
44872         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44873         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44874         underflow.  Add more tgamma tests.
44875         * math/auto-libm-test-out: Regenerated.
44876         * sysdeps/i386/fpu/libm-test-ulps: Update.
44877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44879         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44880         sin, sinh, tan, tanh, tgamma, y0 and y1.
44881         * math/auto-libm-test-out: Regenerated.
44882         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44883         (TEST_COND_x86): Likewise.
44884         (M_E2l): Remove macro.
44885         (M_E3l): Likewise.
44886         (M_2_SQRT_PIl): Likewise.
44887         (M_SQRT_PIl): Likewise.
44888         (M_1_DIV_El): Likewise.
44889         (log_test_data): Use AUTO_TESTS_f_f.
44890         (log10_test_data): Likewise.
44891         (log1p_test_data): Likewise.
44892         (log2_test_data): Likewise.
44893         (sin_test_data): Likewise.
44894         (sin_tonearest_test_data): Likewise.
44895         (sin_towardzero_test_data): Likewise.
44896         (sin_downward_test_data): Likewise.
44897         (sin_upward_test_data): Likewise.
44898         (sinh_test_data): Likewise.
44899         (sinh_tonearest_test_data): Likewise.
44900         (sinh_towardzero_test_data): Likewise.
44901         (sinh_downward_test_data): Likewise.
44902         (sinh_upward_test_data): Likewise.
44903         (tan_test_data): Likewise.
44904         (tan_tonearest_test_data): Likewise.
44905         (tan_towardzero_test_data): Likewise.
44906         (tan_downward_test_data): Likewise.
44907         (tan_upward_test_data): Likewise.
44908         (tanh_test_data): Likewise.
44909         (tgamma_test_data): Likewise.
44910         (y0_test_data): Likewise.
44911         (y1_test_data): Likewise.
44912         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44913         (special_real_inputs): Add pi/4.
44914         * sysdeps/i386/fpu/libm-test-ulps: Update.
44915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44917 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44919         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44920         "longjmp_target" static probes.
44921         (__longjmp): Rename to __longjmp_symbol.
44922         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44923         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44924         on which longjmp to generate.
44925         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44926         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44927         probe.
44928         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44929         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44930         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44931         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44932         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44933         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44935         __longjmp_symbol based on which __longjmp to generate.
44936         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44937         probe.
44938         (setjmp): Rename to setjmp_symbol.
44939         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44940         (_setjmp): Rename to _setjmp_symbol.
44941         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44942         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44943         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44944         which setjmp to generate.
44945         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44946         "longjmp_target" static probes.
44948 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44950         * benchtests/README: Add note about output arguments.
44951         * benchtests/bench-sincos.c: Remove file.
44952         * benchtests/sincos-inputs: New file.
44953         * scripts/bench.pl: Identify output arguments and define
44954         static variables for them.
44956         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44958         [BZ #15941]
44959         * Makefile (INSTALL): Add install-plain.texi as the primary
44960         dependency.
44961         * manual/install-plain.texi: New file.
44962         * manual/install.texi: Include node directive only for
44963         non-plaintext output.
44965 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44967         * stdlib/longlong.h: Update from GCC.
44969         [BZ #6807]
44970         [BZ #15901]
44971         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44972         * math/w_j0f.c (y0f): Likewise.
44973         * math/w_j0l.c (__y0l): Likewise.
44974         * math/w_j1.c (y1): Likewise.
44975         * math/w_j1f.c (y1f): Likewise.
44976         * math/w_j1l.c (__y1l): Likewise.
44977         * math/w_jn.c (yn): Likewise.
44978         * math/w_jnf.c (ynf): Likewise.
44979         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44980         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44981         value for Bessel function domain errors outside _SVID_ mode.
44982         Adjust sign of return value for yn (negative integer, 0).
44983         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44984         by zero in return for negative x and set sign appropriately for
44985         negative n.
44986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44987         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44988         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44989         expectations in error cases.
44990         (y1_test_data): Likewise.
44991         (yn_test_data): Likewise.
44992         * sysdeps/i386/fpu/libm-test-ulps: Update.
44993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44995 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44997         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44998         "64" to "64-v1".  Add "64-v2".
44999         (abi-64-options): Rename to ...
45000         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45001         (abi-64-condition): Rename to ...
45002         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45003         (abi-64-ld-soname): Rename to ...
45004         (abi-64-v1-ld-soname): ... this.
45005         (abi-64-v2-options): Define.
45006         (abi-64-v2-condition): Likewise.
45007         (abi-64-v2-ld-soname): Likewise.
45008         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45009         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45014 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45015             Alan Modra  <amodra@gmail.com>
45017         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45018         New versions for use with the ELFv2 ABI.
45019         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45020         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45021         declaration.
45022         (struct La_ppc64v2_retval): Likewise.
45023         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45024         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45025         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45026         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45027         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45028         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45029         Do not save or restore CR.
45030         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45031         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45032         return values for ELFv2 ABI.  Fix location of FPR return registers.
45033         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45034         updated values for _CALL_ELF == 2.
45035         (La_regs, La_retval, int_retval): Likewise.
45037 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45039         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45040         (FRAME_MIN_SIZE_PARM): Likewise.
45041         (FRAME_BACKCHAIN): Likewise.
45042         (FRAME_CR_SAVE): Likewise.
45043         (FRAME_LR_SAVE): Likewise.
45044         (FRAME_TOC_SAVE): Likewise.
45045         (FRAME_PARM_SAVE): Likewise.
45046         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45047         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45048         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45049         (call_mcount_parm_offset): New macro.
45050         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45051         (PROF): Use symbolic stack frame offsets.
45052         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45053         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45054         Redefine in terms of FRAME_MIN_SIZE.
45055         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45056         (_dl_profile_resolve): Likewise.  Update comment.
45057         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45058         symbols stack frame offsets.
45059         (__sigsetjmp): Likewise.
45060         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45061         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45062         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45063         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45066         (FRAME_BACKCHAIN): Remove.
45067         (FRAME_CR_SAVE): Likewise.
45068         (FRAME_LR_SAVE): Likewise.
45069         (FRAME_COMPILER_DW): Likewise.
45070         (FRAME_LINKER_DW): Likewise.
45071         (FRAME_TOC_SAVE): Likewise.
45072         (FRAME_PARM_SAVE): Likewise.
45073         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45074         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45075         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45077         (CHECK_SP): Use symbolic stack frame offsets.
45078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45079         zone" instead of caller's parameter save area for temp storage.
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45081         Likewise.  Also, use symbolic stack frame offsets.
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45083         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45084         our own stack frame instead of the caller's.
45085         (__socket): Use symbolic stack frame offsets.
45087 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45088             Alan Modra  <amodra@gmail.com>
45090         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45091         Define.
45092         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45093         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45094         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45095         New function.
45096         (elf_machine_fixup_plt): Call it.
45097         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45098         reloc arguments.
45099         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45101         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45102         r2 before calling target.
45104 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45105             Alan Modra  <amodra@gmail.com>
45107         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45108         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45109         versions of macros to support ELFv2 ABI.
45110         (LOCALENTRY): New macro.
45111         (ENTRY, EALIGN): Use it.
45112         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45113         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45114         fall through into ENTRY entry point.
45115         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45116         Only define if _CALL_ELF != 2.
45118         (elf_machine_matches_host): Verify ABI version matches.
45119         (RTLD_START): Use LOCALENTRY.
45120         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45121         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45122         (PLT_ENTRY_WORDS): New macro.
45123         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45124         (elf_machine_runtime_setup): Support ELFv2 ABI.
45125         (elf_machine_fixup_plt): Likewise.
45126         (elf_machine_plt_conflict): Likewise.
45127         (resolve_ifunc): Likewise.
45128         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45129         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45130         Likewise.
45131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45132         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45134         (makecontext): Support ELFv2 ABI.
45135         * elf/elf.h (EF_PPC64_ABI): Define.
45137 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45139         * sysdeps/powerpc/powerpc64/sysdep.h
45140         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45141         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45142         (ENTRY) [ASSEMBLER]: ... but instead here ...
45143         (EALIGN) [ASSEMBLER]: ... and here.
45144         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45145         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45146         (ENTRY_2) [!ASSEMBLER]: Use it.
45147         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45148         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45149         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45150         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45151         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45153         Use PPC64_LOAD_FUNCPTR.
45155         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45157 2013-12-04  Alan Modra  <amodra@gmail.com>
45159         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45160         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45161         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45162         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45164         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45165         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45166         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45167         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45168         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45169         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45171 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45174         (__makecontext): Fix incorrect CFI when backtracing out of
45175         context created via makecontext.
45176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45177         (__setcontext): Fix incorrect CFI during switch to new context.
45178         (__novec_setcontext): Likewise.
45180 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45182         [BZ #4772]
45183         * time/strptime_l.c (__strptime_internal): Allow modifiers
45184         in strptime.
45185         * time/tst-strptime.c (day_tests): Add testcase.
45187 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45189         * scripts/bench.pl: Skip over blank lines.
45191 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45193         [BZ #926]
45194         * manual/time.texi (Calendar Time): Clarify what timezone functions
45195         use.
45197 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45201 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45203         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45204         implementation.
45205         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45206         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45207         * debug/memset_chk.c (__memset_chk): Likewise.
45208         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45209         * debug/strncpy_chk.c: Likewise.
45211 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45213         [BZ #15268]
45214         [BZ #15425]
45215         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45216         (__ieee754_exp): For possibly underflowing results, check size of
45217         result and force underflow exception if required.
45218         * math/auto-libm-test-in: Add more tests of exp.
45219         * math/auto-libm-test-out: Regenerated.
45220         * sysdeps/i386/fpu/libm-test-ulps: Update.
45221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45223         [BZ #16283]
45224         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45225         * math/w_exp2f.c (__exp2f): Likewise.
45226         * math/w_exp2l.c (__exp2l): Likewise.
45227         * math/auto-libm-test-in: Do not allow missing errno on exp2
45228         underflow.
45229         * math/auto-libm-test-out: Regenerated.
45231 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45233         [BZ #16274]
45234         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45235         handle filename validation.
45236         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45237         (do_open): Delete.
45239 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45241         [BZ #6786]
45242         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45243         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45244         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45245         <float.h>.
45246         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45247         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45248         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45250         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45252         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45253         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45254         Add more erfc tests.
45255         * math/auto-libm-test-out: Regenerated.
45256         * sysdeps/i386/fpu/libm-test-ulps: Update.
45257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45259         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45260         exp2, expm1, j0 and j1.
45261         * math/auto-libm-test-out: Regenerated.
45262         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45263         (erfc_test_data): Likewise.
45264         (exp_test_data): Likewise.
45265         (exp_tonearest_test_data): Likewise.
45266         (exp_towardzero_test_data): Likewise.
45267         (exp_downward_test_data): Likewise.
45268         (exp_upward_test_data): Likewise.
45269         (exp10_test_data): Likewise.
45270         (exp2_test_data): Likewise.
45271         (expm1_test_data): Likewise.
45272         (j0_test_data): Likewise.
45273         (j1_test_data): Likewise.
45274         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45275         (input_flag_type): Add flag_xfail_rounding.
45276         (input_flags): Add xfail-rounding.
45277         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45278         (output_for_one_input_case): Handle flag_xfail_rounding.
45279         * sysdeps/i386/fpu/libm-test-ulps: Update.
45280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45282 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45284         [BZ #16289]
45285         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45286         division by 0.
45288 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45290         [BZ #16195]
45291         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45292         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45293         (STAP_PROBE0): New macro.
45294         (STAP_PROBE1): Likewise.
45295         (STAP_PROBE2): Likewise.
45296         (STAP_PROBE3): Likewise.
45297         (STAP_PROBE4): Likewise.
45299 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45301         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45303 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45305         * benchtests/Makefile (bench): Add sqrt.
45306         (LDLIBS-bench-sqrt): New.
45307         * benchtests/sqrt-input: New.
45309 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45311         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45312         (GAIH_EAI): Likewise.
45313         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45314         (gaih_inet): Likewise.
45315         (getaddrinfo): Don't use GAIH_EAI.
45317         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45318         (struct gaih): Remove definition.
45320 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45322         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45323         Use HERRNOP directly.
45325 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45329 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45331         * math/gen-auto-libm-tests.c (test_functions): Add more
45332         single-argument functions.
45333         (special_fill_pi_2): New function.
45334         (special_fill_minus_pi_2): Likewise.
45335         (special_fill_pi_6): Likewise.
45336         (special_fill_minus_pi_6): Likewise.
45337         (special_fill_pi_3): Likewise.
45338         (special_fill_2pi_3): Likewise.
45339         (special_fill_e): Likewise.
45340         (special_fill_1_e): Likewise.
45341         (special_fill_e_minus_1): Likewise.
45342         (special_real_inputs): Add more special inputs.
45343         (output_for_one_input_case): Do not require ERANGE on underflow to
45344         zero if round-to-nearest result does not underflow to zero, unless
45345         exact results required.
45346         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45347         atan, atanh, cbrt, cos and cosh.
45348         * math/auto-libm-test-out: Regenerated.
45349         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45350         (acos_tonearest_test_data): Likewise.
45351         (acos_towardzero_test_data): Likewise.
45352         (acos_downward_test_data): Likewise.
45353         (acos_upward_test_data): Likewise.
45354         (acosh_test_data): Likewise.
45355         (asin_test_data): Likewise.
45356         (asin_tonearest_test_data): Likewise.
45357         (asin_towardzero_test_data): Likewise.
45358         (asin_upward_test_data): Likewise.
45359         (asinh_test_data): Likewise.
45360         (atan_test_data): Likewise.
45361         (atanh_test_data): Likewise.
45362         (cbrt_test_data): Likewise.
45363         (cos_test_data): Likewise.
45364         (cos_tonearest_test_data): Likewise.
45365         (cos_towardzero_test_data): Likewise.
45366         (cos_downward_test_data): Likewise.
45367         (cos_upward_test_data): Likewise.
45368         (cosh_test_data): Likewise.
45369         (cosh_tonearest_test_data): Likewise.
45370         (cosh_towardzero_test_data): Likewise.
45371         (cosh_downward_test_data): Likewise.
45372         (cosh_upward_test_data): Likewise.
45373         * sysdeps/i386/fpu/libm-test-ulps: Update.
45374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45376 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45378         [BZ #6787]
45379         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45380         * math/w_exp10f.c (__exp10f): Likewise.
45381         * math/w_exp10l.c (__exp10l): Likewise.
45382         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45383         errno settings in existing tests.
45385         [BZ #14032]
45386         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45387         precision control set to double precision.
45388         * sysdeps/i386/fpu/w_sqrt.c: New file.
45389         * math/auto-libm-test-in: Add more tests.
45390         * math/auto-libm-test-out: Update.
45392         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45393         (sqrt_test_tonearest): New function.
45394         (sqrt_towardzero_test_data): New variable.
45395         (sqrt_test_towardzero): New function.
45396         (sqrt_downward_test_data): New variable.
45397         (sqrt_test_downward): New function.
45398         (sqrt_upward_test_data): New variable.
45399         (sqrt_test_upward): New function.
45400         (main): Call the new functions.
45402         * math/gen-auto-libm-tests.c: New file.
45403         * math/auto-libm-test-in: Likewise.
45404         * math/auto-libm-test-out: New generated file.
45405         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45406         variables.
45407         (%beautify): Add generated representations of zero.
45408         (top level): Set $auto_input and call parse_auto_input.
45409         (beautify): Remove trailing "f" from hex float constants.
45410         (parse_args): Handle XFAIL_TEST.
45411         (convert_condition): New function.
45412         (or_value): Likewise.
45413         (or_cond_value): Likewise.
45414         (generate_testfile): Handle AUTO_TESTS_* lines.
45415         (parse_auto_input): New function.
45416         * math/libm-test.inc (XFAIL_TEST): New macro.
45417         (ERRNO_UNCHANGED): Update value.
45418         (ERRNO_EDOM): Likewise.
45419         (ERRNO_ERANGE): Likewise.
45420         (IGNORE_RESULT): Likewise.
45421         (TEST_COND_flt_32): New macro.
45422         (TEST_COND_dbl_64): Likewise.
45423         (TEST_COND_ldbl_96_intel): Likewise.
45424         (TEST_COND_ldbl_96_m68k): Likewise.
45425         (TEST_COND_ldbl_128): Likewise.
45426         (TEST_COND_ldbl_128ibm): Likewise.
45427         (TEST_COND_long32): Likewise.
45428         (TEST_COND_long64): Likewise.
45429         (TEST_COND_before_rounding): Likewise.
45430         (TEST_COND_after_rounding): Likewise.
45431         (enable_test): Handle XFAIL_TEST flag.
45432         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45433         with finite results.
45434         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45435         auto-libm-test-out.
45437 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45438             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45440         [BZ #16214]
45441         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45442         __tls_get_addr_internal instead of __tls_get_offset in order to
45443         avoid GOT pointer dependency.  Make rtld export
45444         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45445         __tls_get_addr since we are a __tls_get_offset platform.
45446         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45447         GOT pointer being set up before.
45448         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45450 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45452         * manual/math.texi (Errors in Math Functions): Document accuracy
45453         goals.
45455         [BZ #15004]
45456         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45457         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45458         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45459         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45460         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45461         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45462         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45463         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45464         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45465         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45466         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45467         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45468         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45469         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45470         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45471         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45473         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45474         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45475         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45476         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45477         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45478         Likewise.
45479         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45480         Likewise.
45481         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45482         Likewise.
45483         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45484         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45485         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45486         atomic-feupdateenv and flt-rounds.
45487         * sysdeps/powerpc/nofpu/Versions (libc): Add
45488         __atomic_feholdexcept, __atomic_feclearexcept,
45489         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45490         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45491         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45492         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45493         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45494         here.
45495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45496         Update.
45498         * manual/arith.texi (FP Exceptions): Document that exceptions may
45499         not be raised when matherr is used.
45500         (Math Error Reporting): Document overflow in directed rounding
45501         modes.  Document that errno may not be set when finite values are
45502         returned on overflow.  Document intent to set errno on underflow
45503         only for underflow to zero.
45505         [BZ #16271]
45506         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45507         round-to-nearest then adjust result for other rounding modes.
45508         * include/fenv.h (fegetround): Use libm_hidden_proto.
45509         * math/fegetround.c (fegetround): Use libm_hidden_def.
45510         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45511         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45512         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45514         Likewise.
45515         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45516         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45517         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45518         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45520 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45522         [BZ #16077]
45523         * nss/Versions (libnss_files): Add
45524         _nss_files_gethostbyname3_r.
45525         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45526         New function.
45527         (HOST_DB_LOOKUP): Remove macro.
45528         (_nss_files_gethostbyname_r): Implement function without the
45529         HOST_DB_LOOKUP macro.
45530         (_nss_files_gethostbyname2_r): Likewise.
45532 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45534         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45536 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45538         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45539         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45540         warning.
45542 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45544         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45545         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45546         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45547         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45548         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45549         __fe_nomask_env_priv and attribute_hidden.
45550         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45551         (libc_feupdateenv_test_ppc): Likewise.
45552         (libc_feresetround_ppc): Likewise.
45553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45554         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45555         compat_symbol macro.
45556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45557         (__fe_nomask_env): Likewise.
45558         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45560 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45562         * string/Makefile: Remove ifunc tests.
45563         * string/test-string.h: Define TEST_IFUNC.
45564         * string/test-bcopy-ifunc.c: Remove.
45565         * string/test-bzero-ifunc.c: Likewise.
45566         * string/test-memccpy-ifunc.c: Likewise.
45567         * string/test-memchr-ifunc.c: Likewise.
45568         * string/test-memcmp-ifunc.c: Likewise.
45569         * string/test-memcpy-ifunc.c: Likewise.
45570         * string/test-memmem-ifunc.c: Likewise.
45571         * string/test-memmove-ifunc.c: Likewise.
45572         * string/test-mempcpy-ifunc.c: Likewise.
45573         * string/test-memrchr-ifunc.c: Likewise.
45574         * string/test-memset-ifunc.c: Likewise.
45575         * string/test-rawmemchr-ifunc.c: Likewise.
45576         * string/test-stpcpy-ifunc.c: Likewise.
45577         * string/test-stpncpy-ifunc.c: Likewise.
45578         * string/test-strcasecmp-ifunc.c: Likewise.
45579         * string/test-strcasestr-ifunc.c: Likewise.
45580         * string/test-strcat-ifunc.c: Likewise.
45581         * string/test-strchr-ifunc.c: Likewise.
45582         * string/test-strchrnul-ifunc.c: Likewise.
45583         * string/test-strcmp-ifunc.c: Likewise.
45584         * string/test-strcpy-ifunc.c: Likewise.
45585         * string/test-strcspn-ifunc.c: Likewise.
45586         * string/test-strlen-ifunc.c: Likewise.
45587         * string/test-strncasecmp-ifunc.c: Likewise.
45588         * string/test-strncat-ifunc.c: Likewise.
45589         * string/test-strncmp-ifunc.c: Likewise.
45590         * string/test-strncpy-ifunc.c: Likewise.
45591         * string/test-strnlen-ifunc.c: Likewise.
45592         * string/test-strpbrk-ifunc.c: Likewise.
45593         * string/test-strrchr-ifunc.c: Likewise.
45594         * string/test-strspn-ifunc.c: Likewise.
45595         * string/test-strstr-ifunc.c: Likewise.
45597 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45599         * benchtests/Makefile: Remove ifunc tests.
45600         * benchtests/bench-string.h: Define TEST_IFUNC.
45601         * benchtests/bench-bcopy-ifunc.c: Remove.
45602         * benchtests/bench-bzero-ifunc.c: Likewise.
45603         * benchtests/bench-memccpy-ifunc.c: Likewise.
45604         * benchtests/bench-memchr-ifunc.c: Likewise.
45605         * benchtests/bench-memcmp-ifunc.c: Likewise.
45606         * benchtests/bench-memcpy-ifunc.c: Likewise.
45607         * benchtests/bench-memmem-ifunc.c: Likewise.
45608         * benchtests/bench-memmove-ifunc.c: Likewise.
45609         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45610         * benchtests/bench-memrchr-ifunc.c: Likewise.
45611         * benchtests/bench-memset-ifunc.c: Likewise.
45612         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45613         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45614         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45615         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45616         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45617         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45618         * benchtests/bench-strcat-ifunc.c: Likewise.
45619         * benchtests/bench-strchr-ifunc.c: Likewise.
45620         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45621         * benchtests/bench-strcmp-ifunc.c: Likewise.
45622         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45623         * benchtests/bench-strcpy-ifunc.c: Likewise.
45624         * benchtests/bench-strcspn-ifunc.c: Likewise.
45625         * benchtests/bench-strlen-ifunc.c: Likewise.
45626         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45627         * benchtests/bench-strncat-ifunc.c: Likewise.
45628         * benchtests/bench-strncmp-ifunc.c: Likewise.
45629         * benchtests/bench-strncpy-ifunc.c: Likewise.
45630         * benchtests/bench-strnlen-ifunc.c: Likewise.
45631         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45632         * benchtests/bench-strrchr-ifunc.c: Likewise.
45633         * benchtests/bench-strsep-ifunc.c: Likewise.
45634         * benchtests/bench-strspn-ifunc.c: Likewise.
45635         * benchtests/bench-strstr-ifunc.c: Likewise.
45637 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45639         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45641 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45643         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45644         * rt/aio.h: Likewise.
45645         * sysdeps/gnu/bits/utmp.h: Likewise.
45646         * sysdeps/gnu/bits/utmpx.h: Likewise.
45647         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45648         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45649         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45650         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45651         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45652         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45653         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45654         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45655         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45656         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45657         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45658         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45659         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45661         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45662         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45663         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45664         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45665         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45666         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45667         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45668         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45669         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45670         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45671         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45673         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45674         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45675         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45676         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45677         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45678         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45679         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45680         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45681         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45682         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45683         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45684         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45685         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45686         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45687         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45688         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45690 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45692         [BZ #16245]
45693         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45694         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45696 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45698         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45699         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45700         Likewise.
45702 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45704         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45705         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45706         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45707         (__fesetround): Remove define.
45708         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45709         rounding and exceptions handling.
45710         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45711         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45712         (__fe_nomask_env): Likewise.
45713         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45714         __fegetround instead of fegetround.
45715         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45716         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45718 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45720         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45721         it's there.
45723         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45725 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45727         [BZ #11157]
45728         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45729         (encrypt_r): Likewise.
45730         * malloc/obstack.h (obstack_free): Likewise.
45731         * posix/unistd.h (encrypt): Likewise.
45733 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45735         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45736         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45737         DL_CALL_DT_FINI() that call the functions directly.
45738         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45739         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45740         * elf/dl-fini.c: Likewise.
45742 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45744         * malloc/hooks.c (memalign_check): Add alignment rounding.
45745         * malloc/malloc.c (_mid_memalign): New function.
45746         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45747         Implement by calling _mid_memalign.
45748         * manual/probes.texi (Memory Allocation Probes): Remove
45749         memory_valloc_retry and memory_pvalloc_retry.
45751 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45753         * locale/programs/locarchive.c (open_archive): Add const
45754         qualifier to ARCHIVEFNAME and copy default fname to
45755         DEFAULT_FNAME.
45757         [BZ #15601]
45758         * libio/tst-widetext.input: Rename Oriya to Odia.
45759         * locale/iso-639.def: Likewise.
45761         * manual/probes.texi (Mathematical Function Probes): Add
45762         documentation for sin, cos, asin and acos probes.
45763         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45764         (__sin32): Add slowasin probe.
45765         (__cos32): Add slowacos probe.
45766         (__mpsin): Add slowsin probe.
45767         (__mpcos): Add slowcos probe.
45769 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45771         [BZ #15483]
45772         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45773         thread-local __sim_exceptions_thread and global
45774         __sim_exceptions_global.
45775         (__sim_disabled_exceptions): Change to thread-local
45776         __sim_disabled_exceptions_thread and global
45777         __sim_disabled_exceptions_global.
45778         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45779         and global __sim_round_mode_global.
45780         (__simulate_exceptions): Use thread-local floating-point state and
45781         set global state from it as needed.
45782         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45783         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45784         __sim_round_mode_thread.
45785         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45786         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45787         and global __sim_exceptions_global.
45788         (__sim_disabled_exceptions): Change to thread-local
45789         __sim_disabled_exceptions_thread and global
45790         __sim_disabled_exceptions_global.
45791         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45792         and global __sim_round_mode_global.
45793         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45794         (SIM_SET_GLOBAL): Likewise.
45795         * sysdeps/powerpc/soft-fp/sfp-machine.h
45796         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45797         __sim_round_mode_thread.
45798         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45799         __sim_disabled_exceptions_thread.
45800         (__sim_exceptions): Change to __sim_exceptions_thread.
45801         (__sim_disabled_exceptions): Change to
45802         __sim_disabled_exceptions_thread.
45803         (__sim_round_mode): Change to __sim_round_mode_thread.
45804         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45805         thread-local floating-point state and set global state from it as
45806         needed.
45807         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45808         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45809         (__sim_disabled_exceptions): Remove extern declaration.
45810         (feenableexcept): Use thread-local floating-point state and set
45811         global state from it as needed.
45812         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45813         extern declaration.
45814         (__sim_disabled_exceptions): Likewise.
45815         (__sim_round_mode): Likewise.
45816         (__fegetenv): Use thread-local floating-point state.
45817         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45818         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45819         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45820         floating-point state and set global state from it as needed.
45821         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45822         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45823         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45824         Likewise.
45825         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45826         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45827         Likewise.
45828         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45829         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45830         Use __sim_round_mode_thread.
45831         * math/test-fenv-tls.c: New file.
45832         * math/Makefile (tests): Add test-fenv-tls.
45833         ($(objpfx)test-fenv-tls): Depend on
45834         $(common-objpfx)nptl/libpthread.so.
45836 2013-11-19  Andreas Schwab  <schwab@suse.de>
45838         * locale/programs/locale.c (show_info): Decode wordarray elements.
45839         * locale/categories.def (LC_MONETARY): Add element for
45840         _NL_MONETARY_CRNCYSTR.
45841         * locale/C-monetary.c (conversion_rate): New variable.
45842         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45843         element.
45845 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45847         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45848         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45850 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45852         * elf/Makefile (tst-auxv): New test.
45853         * elf/tst-auxv.c: New
45854         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45856 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45858         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45859         (hidden_proto): Caller changed.
45860         (hidden_tls_proto): New macro.
45861         (libc_hidden_tls_proto): Likewise.
45862         (rtld_hidden_tls_proto): Likewise.
45863         (libm_hidden_tls_proto): Likewise.
45864         (libresolv_hidden_tls_proto): Likewise.
45865         (librt_hidden_tls_proto): Likewise.
45866         (libdl_hidden_tls_proto): Likewise.
45867         (libnss_files_hidden_tls_proto): Likewise.
45868         (libnsl_hidden_tls_proto): Likewise.
45869         (libnss_nisplus_hidden_tls_proto): Likewise.
45870         (libutil_hidden_tls_proto): Likewise.
45872 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45874         [BZ #10253]
45875         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45876         (decompose_rpath): Defer expansion to fillin_rpath.
45877         (_dl_init_paths): Pass linkmap to fillin_rpath.
45879 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45881         * benchtests/Makefile: Add strsep.
45882         * benchtests/bench-strsep.c: New file: strsep benchtest.
45883         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45885 2013-11-18  Andreas Schwab  <schwab@suse.de>
45887         * locale/programs/locale.c (show_info) [case byte]: Check for
45888         '\377' instead of '\177'.
45889         * locale/C-monetary.c (not_available): Always use "\377".
45890         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45891         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45892         detect unavailable sign_posn locale elements.
45893         * locale/localeconv.c (__localeconv): For grouping and
45894         mon_grouping handle "\177" and "\377" like no grouping.
45895         (INT_ELEM): New macro.  Use it to set all numeric members.
45896         * locale/programs/ld-monetary.c (monetary_read)
45897         <tok_mon_grouping>: Normalize single -1 to the empty string.
45898         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45899         Likewise.
45901 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45903         [BZ #16055]
45904         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45905         when we match (nil).
45906         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45908 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45910         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45911         (NO_TEST_INLINE): Update value.
45912         (ERRNO_UNCHANGED): Likewise.
45913         (ERRNO_EDOM): Likewise.
45914         (ERRNO_ERANGE): Likewise.
45915         (IGNORE_RESULT): Likewise.
45916         (check_float_internal): Check signs of NaN results if
45917         TEST_NAN_SIGN used.
45918         (check_complex): Pass TEST_NAN_SIGN flag through to second
45919         check_float_internal call.
45920         (copysign_test_data): Add tests with quiet NaNs as second
45921         argument.  Use TEST_NAN_SIGN.
45922         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45923         TEST_NAN_SIGN.
45924         (signbit_test_data): Add tests of quiet NaN argument.
45925         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45927         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45928         $ignore_result.
45929         (parse_args): Handle function results specified as IGNORE.
45930         * math/libm-test.inc (IGNORE_RESULT): New macro.
45931         (check_float_internal): Do not check numerical result if flag
45932         IGNORE_RESULT set.
45933         (check_complex): Pass through IGNORE_RESULT to second
45934         check_float_internal call.
45935         (check_int): Do not check numerical result if flag IGNORE_RESULT
45936         set.
45937         (check_long): Likewise.
45938         (check_bool): Likewise.
45939         (check_longlong): Likewise.
45940         (lrint_test_data): Add tests of infinite and NaN arguments.
45941         (lrint_tonearest_test_data): Likewise.
45942         (lrint_towardzero_test_data): Likewise.
45943         (lrint_downward_test_data): Likewise.
45944         (lrint_upward_test_data): Likewise.
45945         (llrint_test_data): Likewise.
45946         (llrint_tonearest_test_data): Likewise.
45947         (llrint_towardzero_test_data): Likewise.
45948         (llrint_downward_test_data): Likewise.
45949         (llrint_upward_test_data): Likewise.
45950         (lround_test_data): Likewise.
45951         (llround_test_data): Likewise.
45953         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45954         (ERRNO_UNCHANGED): Update value.
45955         (ERRNO_EDOM): Likewise.
45956         (ERRNO_ERANGE): Likewise.
45957         (NO_TEST_INLINE_FLOAT): New macro.
45958         (NO_TEST_INLINE_DOUBLE): Likewise.
45959         (enable_test): New function.
45960         (RUN_TEST_f_f): Check enable_test before running test.
45961         (RUN_TEST_2_f): Likewise.
45962         (RUN_TEST_fff_f): Likewise.
45963         (RUN_TEST_c_f): Likewise.
45964         (RUN_TEST_f_f1): Likewise.
45965         (RUN_TEST_fF_f1): Likewise.
45966         (RUN_TEST_fI_f1): Likewise.
45967         (RUN_TEST_ffI_f1): Likewise.
45968         (RUN_TEST_c_c): Likewise.
45969         (RUN_TEST_cc_c): Likewise.
45970         (RUN_TEST_f_i): Likewise.
45971         (RUN_TEST_f_i_tg): Likewise.
45972         (RUN_TEST_ff_i_tg): Likewise.
45973         (RUN_TEST_f_b): Likewise.
45974         (RUN_TEST_f_b_tg): Likewise.
45975         (RUN_TEST_f_l): Likewise.
45976         (RUN_TEST_f_L): Likewise.
45977         (RUN_TEST_fFF_11): Likewise.
45978         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45979         conditionals.
45980         (cosh_test_data): Likewise.
45981         (exp_test_data): Likewise.
45982         (expm1_test_data): Likewise.
45983         (hypot_test_data): Likewise.
45984         (pow_test_data): Likewise.
45985         (sinh_test_data): Likewise.
45986         (tanh_test_data): Likewise.
45987         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45988         flags argument.
45990         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45991         tests with quiet NaN input and output.
45992         (acosh_test_data): Likewise.
45993         (asin_test_data): Likewise.
45994         (asinh_test_data): Likewise.
45995         (atan_test_data): Likewise.
45996         (atanh_test_data): Likewise.
45997         (atan2_test_data): Likewise.
45998         (cbrt_test_data): Likewise.
45999         (cos_test_data): Likewise.
46000         (cosh_test_data): Likewise.
46001         (erf_test_data): Likewise.
46002         (erfc_test_data): Likewise.
46003         (exp_test_data): Likewise.
46004         (exp10_test_data): Likewise.
46005         (exp2_test_data): Likewise.
46006         (expm1_test_data): Likewise.
46007         (hypot_test_data): Likewise.
46008         (j0_test_data): Likewise.
46009         (j1_test_data): Likewise.
46010         (jn_test_data): Likewise.
46011         (lgamma_test_data): Likewise.
46012         (log_test_data): Likewise.
46013         (log10_test_data): Likewise.
46014         (log1p_test_data): Likewise.
46015         (log2_test_data): Likewise.
46016         (pow_test_data): Likewise.
46017         (scalb_test_data): Likewise.
46018         (sin_test_data): Likewise.
46019         (sincos_test_data): Likewise.
46020         (sinh_test_data): Likewise.
46021         (tan_test_data): Likewise.
46022         (tanh_test_data): Likewise.
46023         (tgamma_test_data): Likewise.
46024         (y0_test_data): Likewise.
46025         (y1_test_data): Likewise.
46026         (yn_test_data): Likewise.
46028         [BZ #16167]
46029         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46030         argument being NaN and avoid computations with second argument in
46031         that case.
46032         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46033         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46034         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46036 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46038         * locale/iso-639.def: Add Chitwani Tharu (the).
46040 2013-11-14  Andreas Schwab  <schwab@suse.de>
46042         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46043         word instead of empty string.
46045 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46048         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46050         (__fe_nomask_env): Likewise.
46052 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46054         * benchtests/bench-timing.h: Include time.h.
46056 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46058         [BZ #15997]
46059         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46060         to 3.4.0 for x32.
46061         * sysdeps/unix/sysv/linux/configure: Regenerated.
46063 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46065         [BZ #16151]
46066         * stdlib/strtod_l.c (round_and_return): Do not consider
46067         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46068         exponent one less than half the least subnormal exponent.
46069         * stdlib/test-strtod-round-data: Add more tests.
46070         * stdlib/tst-strtod-round.c (tests): Regenerated.
46072 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46074         [BZ #14143]
46075         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46076         (__fe_mask_env): Likewise.
46077         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46078         libm_hidden_proto and add function prototype.
46079         (__fe_mask_env): Add function prototype.
46080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46081         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46083         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46085         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46087 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46089         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46090         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46092 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46094         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46095         of htab_find_slot().
46097 2013-11-11  David S. Miller  <davem@davemloft.net>
46099         [BZ #16150]
46100         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46101         symbol in the non-vis3 case in static builds.
46102         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46103         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46104         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46105         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46107 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46109         [BZ #387]
46110         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46111         it is empty.
46113 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46115         * benchtests/Makefile: Add bench-strtod.
46116         * benchtests/bench-strtod.c: New file: strtod benchtest
46118 2013-11-11  Andreas Schwab  <schwab@suse.de>
46120         [BZ #16153]
46121         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46122         terminating NUL in key length.
46124 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46126         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46127         Add artificial ODP entry for vDSO symbol for PPC64.
46128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46129         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46131 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46133         [BZ #15374]
46134         * nss/getent.c (services_keys): Recognize services starting with digit.
46136 2013-11-06  David S. Miller  <davem@davemloft.net>
46138         [BZ #15985]
46139         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46140         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46142 2013-11-06  Will Newton  <will.newton@linaro.org>
46144         * manual/memory.texi (Malloc Examples): Remove register
46145         keyword from examples.
46147 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46149         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46151 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46153         [BZ #6981]
46154         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46155         depending on [__GCC_IEC_559 > 0].
46156         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46157         depending on [__GCC_IEC_559_COMPLEX > 0].
46159 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46161         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46162         to iso-639.def.
46164 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46166         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46168 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46170         [BZ #16112]
46171         * malloc/malloc (malloc_info): Do not handle first bin as
46172         special case.
46174 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46176         * locale/iso-639.def: Add Central Nahuatl (nhn).
46178 2013-11-01  Bruno Haible  <bruno@clisp.org>
46180         [BZ #7003]
46181         * manual/math.texi (BSD Random): Specify range upper bound as
46182         in POSIX.
46184 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46186         * locale/iso-639.def: Add Meadow Mari (mhr).
46188 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46190         [BZ #14752], [BZ #15763]
46191         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46192         Validate name.
46193         * rt/tst_shm.c: Add test for escaping directory.
46195 2013-10-31  Andreas Schwab  <schwab@suse.de>
46197         [BZ #15917]
46198         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46199         followed by 'x' as part of digit sequence.
46200         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46202 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46204         [BZ #16037]
46205         * configure.ac: allow GNU Make 4.0 and greater.
46206         * configure: Regenerated.
46208 2013-10-30  Will Newton  <will.newton@linaro.org>
46210         [BZ #16038]
46211         * malloc/hooks.c (memalign_check): Limit alignment to the
46212         maximum representable power of two.
46213         * malloc/malloc.c (__libc_memalign): Likewise.
46214         * malloc/tst-memalign.c (do_test): Add test for very
46215         large alignment values.
46216         * malloc/tst-posix_memalign.c (do_test): Likewise.
46218 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46220         [BZ #11087]
46221         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46222         (munmap_chunk): Likewise.
46223         (mremap_chunk): Likewise.
46225 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46227         [BZ #15799]
46228         * stdlib/div.c (div): Remove obsolete code.
46229         * stdlib/ldiv.c (ldiv): Likewise.
46230         * stdlib/lldiv.c (lldiv): Likewise.
46232 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46234         [BZ #16071]
46235         * nss/nss_files/files-XXX.c (get_contents_ret): New
46236         enumerator.
46237         (get_contents): New function.
46238         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46240 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46242         * configure.in: Moved to ...
46243         * configure.ac: ... here. Change reference to configure.in
46244         to configure.ac.
46245         * sysdeps/arm/preconfigure.ac: ... here.
46246         configure.in to configure.ac.
46247         * sysdeps/gnu/configure.in: Moved to ...
46248         * sysdeps/gnu/configure.ac: ... here.
46249         * sysdeps/i386/configure.in: Moved to ...
46250         * sysdeps/i386/configure.ac: ... here.
46251         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46252         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46253         * sysdeps/mach/configure.in: Moved to ...
46254         * sysdeps/mach/configure.ac: ... here.
46255         * sysdeps/mach/hurd/configure.in: Moved to ...
46256         * sysdeps/mach/hurd/configure.ac: ... here.
46257         * sysdeps/powerpc/configure.in: Moved to ...
46258         * sysdeps/powerpc/configure.ac: ... here.
46259         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46260         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46261         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46262         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46263         * sysdeps/s390/s390-32/configure.in: Moved to ...
46264         * sysdeps/s390/s390-32/configure.ac: ... here.
46265         * sysdeps/s390/s390-64/configure.in: Moved to ...
46266         * sysdeps/s390/s390-64/configure.ac: ... here.
46267         * sysdeps/sh/configure.in: Moved to ...
46268         * sysdeps/sh/configure.ac: ... here.
46269         * sysdeps/sparc/configure.in: Moved to ...
46270         * sysdeps/sparc/configure.ac: ... here.
46271         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46272         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46273         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46274         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46275         * sysdeps/x86_64/configure.in: Moved to ...
46276         * sysdeps/x86_64/configure.ac: ... here.
46277         * sysdeps/x86_64/preconfigure.in: Moved to ...
46278         * sysdeps/x86_64/preconfigure.ac: ... here.
46279         * aclocal.m4: Change reference to configure.in to configure.ac.
46280         * config.h.in: Likewise.
46281         * manual/install.texi: Likewise.
46282         * manual/maint.texi: Likewise.
46283         * Makefile: Likewise.
46284         * malloc/Makefile: Likewise.
46285         * nscd/Makefile: Likewise.
46286         * Makeconfig: Change reference to configure.in and
46287         preconfigure.in to configure.ac and preconfigure.ac
46288         respectively.
46289         * INSTALL: Regenerated.
46290         * configure: Likewise.
46291         * sysdeps/gnu/configure: Likewise.
46292         * sysdeps/i386/configure: Likewise.
46293         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46294         * sysdeps/mach/configure: Likewise.
46295         * sysdeps/mach/hurd/configure: Likewise.
46296         * sysdeps/powerpc/configure: Likewise.
46297         * sysdeps/powerpc/powerpc32/configure: Likewise.
46298         * sysdeps/powerpc/powerpc64/configure: Likewise.
46299         * sysdeps/s390/s390-32/configure: Likewise.
46300         * sysdeps/s390/s390-64/configure: Likewise.
46301         * sysdeps/sh/configure: Likewise.
46302         * sysdeps/sparc/configure: Likewise.
46303         * sysdeps/unix/sysv/linux/configure: Likewise.
46304         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46305         * sysdeps/x86_64/configure: Likewise.
46306         * sysdeps/x86_64/preconfigure: Likewise.
46308 2013-10-29  Andreas Schwab  <schwab@suse.de>
46310         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46312 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46314         * benchtests/pow-inputs: Add new inputs.
46316         * benchtests/exp-inputs: Add new inputs.
46318         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46319         conditional check for return value.
46320         (__cos32): Likewise.
46322 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46324         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46325         to provide a boost for large inputs with word alignment.
46326         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46327         implementation based on optimized PPC64 strcpy.
46328         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46329         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46330         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46331         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46333 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46335         [BZ #2801]
46336         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46338 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46340         [BZ #14876]
46341         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46342         * time/tst-strptime.c (day_tests): Add testcase.
46344 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46346         [BZ #14029]
46347         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46349 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46351         [BZ #16074]
46352         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46353         MAP_FAILED on error.
46355 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46357         [BZ #16072]
46358         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46359         heap for large requests.
46361 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46363         [BZ #9954]
46364         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46365         result if the result has no associated interface.
46366         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46367         interface for all 127.X.Y.Z addresses.
46369 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46371         * locale/iso-639.def: Add Ligurian (lij)
46373 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46375         [BZ #15825]
46376         * sunrpc/rpc_main.c: Document rpcgen -5.
46378 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46380         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46382 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46384         [BZ #10278]
46385         * posix/glob.c: Match only directories when trailing slash is present.
46386         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46387         (main): Add testcase.
46389 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46391         [BZ #15670]
46392         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46394 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46396         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46397         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46398         AUTH_DES and cindex for FIPS 140-2.
46399         (DES Encryption): Add cindex FIPS 46-3.
46401         * locale/locarchive.h (struct locarhandle): Add fname.
46402         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46403         if an optional argument was specified to --list-archive,
46404         otherwise NULL.
46405         * locale/programs/locarchive.c (show_archive_content): Take new
46406         argument fname and pass it via ah.fname to open_archive.
46407         * locale/programs/localedef.h: Update decl.
46408         (open_archive): If AH->fname is non-null, open that file
46409         rather than the default file name, and don't ignore ENOENT.
46410         (create_archive): Set AH.fname to NULL.
46411         (delete_locales_from_archive): Likewise.
46412         (add_locales_to_archive): Likewise.
46413         * locale/programs/locfile.c (write_all_categories): Likewise.
46415 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46416             Aldy Hernandez  <aldyh@redhat.com>
46418         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46419         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46420         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46421         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46422         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46424         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46425         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46426         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46427         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46428         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46429         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46430         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46431         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46432         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46433         Likewise.
46434         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46435         Likewise.
46436         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46437         Likewise.
46438         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46439         Likewise.
46440         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46441         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46442         Likewise.
46443         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46444         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46445         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46446         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46447         Likewise.
46448         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46449         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46450         * sysdeps/powerpc/preconfigure: Likewise.
46451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46452         Likewise.
46453         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46454         Replace contents of file by #include of <fenv_libc.h>.
46455         * sysdeps/powerpc/soft-fp/sfp-machine.h
46456         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46457         and <sys/prctl.h>.
46458         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46459         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46460         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46461         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46462         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46463         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46465         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46466         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46467         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46468         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46469         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46471         Allow copysignl PLT reference to be missing.
46473 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46474             Joseph Myers  <joseph@codesourcery.com
46476         [BZ #15948]
46477         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46478         single character.
46479         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46481 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46483         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46484         * elf/tst-tls1.c: Likewise.
46485         * elf/tst-tls10.h: Likewise.
46486         * elf/tst-tls14.c: Likewise.
46487         * elf/tst-tls2.c: Likewise.
46488         * elf/tst-tls3.c: Likewise.
46489         * elf/tst-tls4.c: Likewise.
46490         * elf/tst-tls5.c: Likewise.
46491         * elf/tst-tls6.c: Likewise.
46492         * elf/tst-tls7.c: Likewise.
46493         * elf/tst-tls8.c: Likewise.
46494         * elf/tst-tls9.c: Likewise.
46495         * elf/tst-tlsmod1.c: Likewise.
46496         * elf/tst-tlsmod13.c: Likewise.
46497         * elf/tst-tlsmod13a.c: Likewise.
46498         * elf/tst-tlsmod14a.c: Likewise.
46499         * elf/tst-tlsmod16a.c: Likewise.
46500         * elf/tst-tlsmod16b.c: Likewise.
46501         * elf/tst-tlsmod2.c: Likewise.
46502         * elf/tst-tlsmod3.c: Likewise.
46503         * elf/tst-tlsmod4.c: Likewise.
46504         * elf/tst-tlsmod5.c: Likewise.
46505         * elf/tst-tlsmod6.c: Likewise.
46507 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46509         [BZ #12486]
46510         * malloc/malloc.c: remove checks for statistics.
46512 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46514         [BZ #15277]
46515         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46516         * inet/tst-network.c: Add testcase.
46518 2013-10-17  Andreas Schwab  <schwab@suse.de>
46520         [BZ #15218]
46521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46522         to determine canonical name.
46524 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46526         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46527         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46528         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46529         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46530         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46531         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46532         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46533         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46534         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46535         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46536         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46537         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46538         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46539         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46540         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46541         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46543         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46544         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46545         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46546         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46547         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46548         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46549         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46550         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46551         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46552         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46553         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46554         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46555         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46556         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46557         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46558         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46559         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46560         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46561         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46562         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46563         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46564         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46565         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46566         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46567         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46568         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46569         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46570         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46571         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46572         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46573         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46575         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46576         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46577         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46578         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46579         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46580         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46581         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46583         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46585 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46587         [BZ #16041]
46588         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46589         make result into a quiet NaN.
46591 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46593         * soft-fp/adddf3.c: Fix horizontal whitespace.
46594         * soft-fp/addsf3.c: Likewise.
46595         * soft-fp/addtf3.c: Likewise.
46596         * soft-fp/divdf3.c: Likewise.
46597         * soft-fp/divsf3.c: Likewise.
46598         * soft-fp/divtf3.c: Likewise.
46599         * soft-fp/double.h: Likewise.
46600         * soft-fp/eqdf2.c: Likewise.
46601         * soft-fp/eqsf2.c: Likewise.
46602         * soft-fp/eqtf2.c: Likewise.
46603         * soft-fp/extenddftf2.c: Likewise.
46604         * soft-fp/extended.h: Likewise.
46605         * soft-fp/extendsfdf2.c: Likewise.
46606         * soft-fp/extendsftf2.c: Likewise.
46607         * soft-fp/extendxftf2.c: Likewise.
46608         * soft-fp/fixdfdi.c: Likewise.
46609         * soft-fp/fixdfsi.c: Likewise.
46610         * soft-fp/fixdfti.c: Likewise.
46611         * soft-fp/fixsfdi.c: Likewise.
46612         * soft-fp/fixsfsi.c: Likewise.
46613         * soft-fp/fixsfti.c: Likewise.
46614         * soft-fp/fixtfdi.c: Likewise.
46615         * soft-fp/fixtfsi.c: Likewise.
46616         * soft-fp/fixtfti.c: Likewise.
46617         * soft-fp/fixunsdfdi.c: Likewise.
46618         * soft-fp/fixunsdfsi.c: Likewise.
46619         * soft-fp/fixunsdfti.c: Likewise.
46620         * soft-fp/fixunssfdi.c: Likewise.
46621         * soft-fp/fixunssfsi.c: Likewise.
46622         * soft-fp/fixunssfti.c: Likewise.
46623         * soft-fp/fixunstfdi.c: Likewise.
46624         * soft-fp/fixunstfsi.c: Likewise.
46625         * soft-fp/fixunstfti.c: Likewise.
46626         * soft-fp/floatdidf.c: Likewise.
46627         * soft-fp/floatdisf.c: Likewise.
46628         * soft-fp/floatditf.c: Likewise.
46629         * soft-fp/floatsidf.c: Likewise.
46630         * soft-fp/floatsisf.c: Likewise.
46631         * soft-fp/floatsitf.c: Likewise.
46632         * soft-fp/floattidf.c: Likewise.
46633         * soft-fp/floattisf.c: Likewise.
46634         * soft-fp/floattitf.c: Likewise.
46635         * soft-fp/floatundidf.c: Likewise.
46636         * soft-fp/floatundisf.c: Likewise.
46637         * soft-fp/floatunditf.c: Likewise.
46638         * soft-fp/floatunsidf.c: Likewise.
46639         * soft-fp/floatunsisf.c: Likewise.
46640         * soft-fp/floatunsitf.c: Likewise.
46641         * soft-fp/floatuntidf.c: Likewise.
46642         * soft-fp/floatuntisf.c: Likewise.
46643         * soft-fp/floatuntitf.c: Likewise.
46644         * soft-fp/fmadf4.c: Likewise.
46645         * soft-fp/fmasf4.c: Likewise.
46646         * soft-fp/fmatf4.c: Likewise.
46647         * soft-fp/gedf2.c: Likewise.
46648         * soft-fp/gesf2.c: Likewise.
46649         * soft-fp/getf2.c: Likewise.
46650         * soft-fp/ledf2.c: Likewise.
46651         * soft-fp/lesf2.c: Likewise.
46652         * soft-fp/letf2.c: Likewise.
46653         * soft-fp/muldf3.c: Likewise.
46654         * soft-fp/mulsf3.c: Likewise.
46655         * soft-fp/multf3.c: Likewise.
46656         * soft-fp/negdf2.c: Likewise.
46657         * soft-fp/negsf2.c: Likewise.
46658         * soft-fp/negtf2.c: Likewise.
46659         * soft-fp/op-1.h: Likewise.
46660         * soft-fp/op-2.h: Likewise.
46661         * soft-fp/op-4.h: Likewise.
46662         * soft-fp/op-8.h: Likewise.
46663         * soft-fp/op-common.h: Likewise.
46664         * soft-fp/quad.h: Likewise.
46665         * soft-fp/single.h: Likewise.
46666         * soft-fp/soft-fp.h: Likewise.
46667         * soft-fp/sqrtdf2.c: Likewise.
46668         * soft-fp/sqrtsf2.c: Likewise.
46669         * soft-fp/sqrttf2.c: Likewise.
46670         * soft-fp/subdf3.c: Likewise.
46671         * soft-fp/subsf3.c: Likewise.
46672         * soft-fp/subtf3.c: Likewise.
46673         * soft-fp/truncdfsf2.c: Likewise.
46674         * soft-fp/trunctfdf2.c: Likewise.
46675         * soft-fp/trunctfsf2.c: Likewise.
46676         * soft-fp/trunctfxf2.c: Likewise.
46677         * soft-fp/unorddf2.c: Likewise.
46678         * soft-fp/unordsf2.c: Likewise.
46679         * soft-fp/unordtf2.c: Likewise.
46681 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46683         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46684         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46686 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46688         * elf/dl-libc.c: Clear initfini list after freeing.
46690 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46692         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46693         * soft-fp/addsf3.c: Likewise.
46694         * soft-fp/addtf3.c: Likewise.
46695         * soft-fp/divdf3.c: Likewise.
46696         * soft-fp/divsf3.c: Likewise.
46697         * soft-fp/divtf3.c: Likewise.
46698         * soft-fp/double.h: Likewise.
46699         * soft-fp/eqdf2.c: Likewise.
46700         * soft-fp/eqsf2.c: Likewise.
46701         * soft-fp/eqtf2.c: Likewise.
46702         * soft-fp/extenddftf2.c: Likewise.
46703         * soft-fp/extended.h: Likewise.
46704         * soft-fp/extendsfdf2.c: Likewise.
46705         * soft-fp/extendsftf2.c: Likewise.
46706         * soft-fp/extendxftf2.c: Likewise.
46707         * soft-fp/fixdfdi.c: Likewise.
46708         * soft-fp/fixdfsi.c: Likewise.
46709         * soft-fp/fixdfti.c: Likewise.
46710         * soft-fp/fixsfdi.c: Likewise.
46711         * soft-fp/fixsfsi.c: Likewise.
46712         * soft-fp/fixsfti.c: Likewise.
46713         * soft-fp/fixtfdi.c: Likewise.
46714         * soft-fp/fixtfsi.c: Likewise.
46715         * soft-fp/fixtfti.c: Likewise.
46716         * soft-fp/fixunsdfdi.c: Likewise.
46717         * soft-fp/fixunsdfsi.c: Likewise.
46718         * soft-fp/fixunsdfti.c: Likewise.
46719         * soft-fp/fixunssfdi.c: Likewise.
46720         * soft-fp/fixunssfsi.c: Likewise.
46721         * soft-fp/fixunssfti.c: Likewise.
46722         * soft-fp/fixunstfdi.c: Likewise.
46723         * soft-fp/fixunstfsi.c: Likewise.
46724         * soft-fp/fixunstfti.c: Likewise.
46725         * soft-fp/floatdidf.c: Likewise.
46726         * soft-fp/floatdisf.c: Likewise.
46727         * soft-fp/floatditf.c: Likewise.
46728         * soft-fp/floatsidf.c: Likewise.
46729         * soft-fp/floatsisf.c: Likewise.
46730         * soft-fp/floatsitf.c: Likewise.
46731         * soft-fp/floattidf.c: Likewise.
46732         * soft-fp/floattisf.c: Likewise.
46733         * soft-fp/floattitf.c: Likewise.
46734         * soft-fp/floatundidf.c: Likewise.
46735         * soft-fp/floatundisf.c: Likewise.
46736         * soft-fp/floatunsidf.c: Likewise.
46737         * soft-fp/floatunsisf.c: Likewise.
46738         * soft-fp/floatuntidf.c: Likewise.
46739         * soft-fp/floatuntisf.c: Likewise.
46740         * soft-fp/floatuntitf.c: Likewise.
46741         * soft-fp/fmadf4.c: Likewise.
46742         * soft-fp/fmasf4.c: Likewise.
46743         * soft-fp/fmatf4.c: Likewise.
46744         * soft-fp/gedf2.c: Likewise.
46745         * soft-fp/gesf2.c: Likewise.
46746         * soft-fp/getf2.c: Likewise.
46747         * soft-fp/ledf2.c: Likewise.
46748         * soft-fp/lesf2.c: Likewise.
46749         * soft-fp/letf2.c: Likewise.
46750         * soft-fp/muldf3.c: Likewise.
46751         * soft-fp/mulsf3.c: Likewise.
46752         * soft-fp/multf3.c: Likewise.
46753         * soft-fp/negdf2.c: Likewise.
46754         * soft-fp/negsf2.c: Likewise.
46755         * soft-fp/negtf2.c: Likewise.
46756         * soft-fp/op-1.h: Likewise.
46757         * soft-fp/op-2.h: Likewise.
46758         * soft-fp/op-4.h: Likewise.
46759         * soft-fp/op-8.h: Likewise.
46760         * soft-fp/op-common.h: Likewise.
46761         * soft-fp/quad.h: Likewise.
46762         * soft-fp/single.h: Likewise.
46763         * soft-fp/soft-fp.h: Likewise.
46764         * soft-fp/sqrtdf2.c: Likewise.
46765         * soft-fp/sqrtsf2.c: Likewise.
46766         * soft-fp/sqrttf2.c: Likewise.
46767         * soft-fp/subdf3.c: Likewise.
46768         * soft-fp/subsf3.c: Likewise.
46769         * soft-fp/subtf3.c: Likewise.
46770         * soft-fp/truncdfsf2.c: Likewise.
46771         * soft-fp/trunctfdf2.c: Likewise.
46772         * soft-fp/trunctfsf2.c: Likewise.
46773         * soft-fp/trunctfxf2.c: Likewise.
46774         * soft-fp/unorddf2.c: Likewise.
46775         * soft-fp/unordsf2.c: Likewise.
46776         * soft-fp/unordtf2.c: Likewise.
46778 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46780         [BZ #15672]
46781         * misc/error.c (error_tail): Fix possible buffer overflow.
46783 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46785         [BZ #13028]
46786         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46787         address.
46789 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46791         [BZ #832]
46792         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46793         testing pipefail option.
46795 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46797         * soft-fp/double.h: Indent preprocessor directives inside #if.
46798         * soft-fp/extended.h: Likewise.
46799         * soft-fp/op-2.h: Likewise.
46800         * soft-fp/op-4.h: Likewise.
46801         * soft-fp/op-common.h: Likewise.
46802         * soft-fp/quad.h: Likewise.
46803         * soft-fp/single.h: Likewise.
46804         * soft-fp/soft-fp.h: Likewise.
46806 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46808         * iconv/iconv_prog.c: Fix typos.
46809         * stdio-common/psiginfo-data.h: Likewise.
46811 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46813         [BZ #15764]
46814         * locale/setlocale.c: Fix typo.
46816 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46818         [BZ #16036]
46819         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46820         signaling NaN arguments.
46821         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46822         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46824         [BZ #14910]
46825         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46826         unordered operands.
46827         * soft-fp/gesf2.c (__gesf2): Likewise.
46828         * soft-fp/getf2.c (__getf2): Likewise.
46829         * soft-fp/ledf2.c (__ledf2): Likewise.
46830         * soft-fp/lesf2.c (__lesf2): Likewise.
46831         * soft-fp/letf2.c (__letf2): Likewise.
46833         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46834         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46835         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46836         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46837         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46838         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46839         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46840         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46841         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46842         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46843         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46844         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46845         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46846         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46847         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46848         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46849         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46850         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46851         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46852         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46853         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46854         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46855         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46856         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46857         * soft-fp/floattidf.c (__floattidf): Likewise.
46858         * soft-fp/floattisf.c (__floattisf): Likewise.
46859         * soft-fp/floattitf.c (__floattitf): Likewise.
46860         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46861         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46862         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46863         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46864         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46865         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46866         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46867         * soft-fp/gesf2.c (__gesf2): Likewise.
46868         * soft-fp/getf2.c (__getf2): Likewise.
46869         * soft-fp/ledf2.c (__ledf2): Likewise.
46870         * soft-fp/lesf2.c (__lesf2): Likewise.
46871         * soft-fp/letf2.c (__letf2): Likewise.
46873         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46874         Undefine and redefine.
46875         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46876         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46877         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46878         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46879         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46880         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46881         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46882         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46883         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46884         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46885         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46886         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46887         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46888         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46889         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46891         [BZ #16032]
46892         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46893         without decrementing exponent if mantissa >= that for the
46894         denominator, not >.
46895         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46896         denominator, not >.  Decrement exponent in < case instead of
46897         incrementing in >= case.
46898         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46899         without decrementing exponent if mantissa >= that for the
46900         denominator, not >.
46902         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46903         computing saturated result for unsigned overflow.
46905 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46906             Jeff Law  <law@redhat.com>
46908         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46909         (atan2Mp): Add systemtap probe marker.
46910         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46911         (__ieee754_log): Add systemtap probe marker.
46912         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46913         (atanMp): Add systemtap probe marker.
46914         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46915         (tanMp): Add systemtap probe marker.
46916         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46917         (__slowexp): Add systemtap probe marker.
46918         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46919         (__slowpow): Add systemtap probe marker.
46920         * manual/probes.texi: Document probes.
46922 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46924         [BZ #15362]
46925         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46926         written.
46927         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46928         written.
46929         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46930         written to buffer but not flushed.
46931         * libio/iofwrite_u.c:  Likewise.
46932         * libio/iopadn.c:  Return bytes returned even if EOF was
46933         encountered.
46934         * libio/iowpadn.c:  Likewise.
46935         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46936         if _IO_padn does not write the whole buffer.
46937         [!COMPILE_WPRINTF] (PAD): Likewise.
46939 2013-10-10  David S. Miller  <davem@davemloft.net>
46941         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46942         directory block.
46944 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46946         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46947         instead of FSF address.
46948         * soft-fp/fixdfti.c: Likewise.
46949         * soft-fp/fixsfti.c: Likewise.
46950         * soft-fp/fixtfti.c: Likewise.
46951         * soft-fp/fixunsdfti.c: Likewise.
46952         * soft-fp/fixunssfti.c: Likewise.
46953         * soft-fp/fixunstfti.c: Likewise.
46954         * soft-fp/floattidf.c: Likewise.
46955         * soft-fp/floattisf.c: Likewise.
46956         * soft-fp/floattitf.c: Likewise.
46957         * soft-fp/floatuntidf.c: Likewise.
46958         * soft-fp/floatuntisf.c: Likewise.
46959         * soft-fp/floatuntitf.c: Likewise.
46960         * soft-fp/trunctfxf2.c: Likewise.
46962         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46963         * soft-fp/fixdfti.c: Likewise.
46964         * soft-fp/fixsfti.c: Likewise.
46965         * soft-fp/fixtfti.c: Likewise.
46966         * soft-fp/fixunsdfti.c: Likewise.
46967         * soft-fp/fixunssfti.c: Likewise.
46968         * soft-fp/fixunstfti.c: Likewise.
46969         * soft-fp/floattidf.c: Likewise.
46970         * soft-fp/floattisf.c: Likewise.
46971         * soft-fp/floattitf.c: Likewise.
46972         * soft-fp/floatuntidf.c: Likewise.
46973         * soft-fp/floatuntisf.c: Likewise.
46974         * soft-fp/floatuntitf.c: Likewise.
46975         * soft-fp/trunctfxf2.c: Likewise.
46977 2013-10-10  David S. Miller  <davem@davemloft.net>
46979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46981 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46983         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46984         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46985         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46986         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46987         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46988         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46989         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46991         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46992         for NaNs before doing comparisons on argument.
46993         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46994         Likewise.
46996 2013-10-10  Will Newton  <will.newton@linaro.org>
46998         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46999         passed to _int_memalign does not overflow.
47001 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47003         * scripts/bench.pl: Add include-sources directive.
47004         * benchtests/README: Update documentation.
47006 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47008         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47009         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47010         instead of FP_INIT_ROUNDMODE.
47011         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47012         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47014         [BZ #16034]
47015         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47016         copy class of input value.
47017         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47018         not handle exceptions.
47019         * soft-fp/negsf2.c (__negsf2): Likewise.
47020         * soft-fp/negtf2.c (__negtf2): Likewise.
47021         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47023 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47025         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47026         semicolon.  From Linux kernel.
47028 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47030         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47032 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47034         [BZ #156]
47035         * manual/socket.texi: Added statement about buffer
47036         for gethostbyname2_r.
47038 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47040         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47041         Use .p2align directive instead, throughout.
47042         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47043         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47044         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47045         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47046         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47047         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47048         * sysdeps/x86_64/strchr.S: Likewise.
47049         * sysdeps/x86_64/strrchr.S: Likewise.
47051 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47053         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47055         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47057         * sysdeps/generic/math_private.h (__mpsin1): Remove
47058         declaration.
47059         (__mpcos1): Likewise.
47060         (__mpsin): New argument __range_reduce.
47061         (__mpcos): Likewise.
47062         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47063         (slow): Use __mpsin and __mpcos.
47064         (slow1): Likewise.
47065         (slow2): Likewise.
47066         (sloww): Likewise.
47067         (sloww1): Likewise.
47068         (sloww2): Likewise.
47069         (bsloww): Likewise.
47070         (bsloww1): Likewise.
47071         (bsloww2): Likewise.
47072         (cslow2): Likewise.
47073         (csloww): Likewise.
47074         (csloww1): Likewise.
47075         (csloww2): Likewise.
47076         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47077         range_reduce.  Merge in __mpsin1.
47078         (__mpcos): Likewise.
47079         (__mpsin1): Remove.
47080         (__mpcos1): Likewise.
47082 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47084         * locale/loadlocale.c (_nl_intern_locale_data): Use
47085         LOCFILE_ALIGNED_P.
47086         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47087         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47088         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47089         obstack data is appropriately aligned.
47090         (obstack_int32_grow_fast): Likewise.
47091         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47092         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47093         (add_locale_uint32_array): Likewise.
47095 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47097         * benchtests/Makefile: Remove ARGLIST and RET variables.
47098         ($(objpfx)bench-%.c): Pass only function name to the script.
47099         * benchtests/README: Update documentation.
47100         * benchtests/acos-inputs: Add new directives.
47101         * benchtests/acosh-inputs: Likewise.
47102         * benchtests/asin-inputs: Likewise.
47103         * benchtests/asinh-inputs: Likewise.
47104         * benchtests/atan-inputs: Likewise.
47105         * benchtests/atanh-inputs: Likewise.
47106         * benchtests/cos-inputs: Likewise.
47107         * benchtests/cosh-inputs: Likewise.
47108         * benchtests/exp-inputs: Likewise.
47109         * benchtests/log-inputs: Likewise.
47110         * benchtests/pow-inputs: Likewise.
47111         * benchtests/rint-inputs: Likewise.
47112         * benchtests/sin-inputs: Likewise.
47113         * benchtests/sinh-inputs: Likewise.
47114         * benchtests/tan-inputs: Likewise.
47115         * benchtests/tanh-inputs: Likewise.
47116         * scripts/bench.pl: Add support for new directives.
47118 2013-10-07  Alan Modra  <amodra@gmail.com>
47120         * README: Fix careless merge.
47122 2013-10-05  Alan Modra  <amodra@gmail.com>
47124         * NEWS: Mention powerpc64le support and bugs fixed.
47125         * README: Both big-endian and little-endian powerpc64 supported.
47127 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47129         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47130         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47131         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47132         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47134 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47136         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47137         match prototype.
47139 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47141         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47142         Move -mhard-float appending from
47143         ports/sysdeps/powerpc/powerpc32/Makefile.
47144         [$(with-fp) = yes] (ASFLAGS): Likewise.
47145         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47146         * sysdeps/powerpc/nofpu: Move directory from
47147         ports/sysdeps/powerpc/nofpu.
47148         * sysdeps/powerpc/soft-fp: Move directory from
47149         ports/sysdeps/powerpc/soft-fp.
47150         * sysdeps/powerpc/powerpc32/405: Move directory from
47151         ports/sysdeps/powerpc/powerpc32/405.
47152         * sysdeps/powerpc/powerpc32/440: Move directory from
47153         ports/sysdeps/powerpc/powerpc32/440.
47154         * sysdeps/powerpc/powerpc32/464: Move directory from
47155         ports/sysdeps/powerpc/powerpc32/464.
47156         * sysdeps/powerpc/powerpc32/476: Move directory from
47157         ports/sysdeps/powerpc/powerpc32/476.
47158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47159         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47161         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47163         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47165         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47167         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47168         * README: Update for powerpc-*-linux-gnu software floating point
47169         support in libc.
47171         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47172         case to powerpc/powerpc32*.
47173         * sysdeps/unix/sysv/linux/configure: Regenerated.
47175         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47176         (_FPU_MASK_OM): Define as 0x04.
47177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47179         0x00c10080.
47180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47181         0x0000003c.
47182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47185         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47186         getcontext_e500.
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47188         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47189         setcontext_e500.
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47191         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47192         and setcontext_e500.
47194 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47196         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47198 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47200         * manual/threads.texi (Default Thread Attributes): Fix typo.
47202 2013-10-04  Will Newton  <will.newton@linaro.org>
47204         * malloc/Makefile: Add tst-memalign.
47205         * malloc/tst-memalign.c: New file.
47207         * malloc/tst-posix_memalign.c: Add comments.
47208         (do_test): Add comments and call free on all potentially
47209         allocated pointers. Add space after cast.
47211         * malloc/tst-pvalloc.c: Add comments.
47212         (do_test): Add comments and call free on all potentially
47213         allocated pointers. Remove duplicate check for NULL pointer.
47214         Add space after cast.
47216         * malloc/tst-valloc.c: Add comments.
47217         (do_test): Add comments and call free on all potentially
47218         allocated pointers. Remove duplicate check for NULL pointer.
47219         Add space after cast.
47221 2013-10-04  Alan Modra  <amodra@gmail.com>
47223         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47224         Use stdint types in rather than __attribute__((mode())).
47225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47227 2013-10-04  Alan Modra  <amodra@gmail.com>
47229         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47230         Correct handling of unaligned relocs for little-endian.
47231         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47233 2013-10-04  Alan Modra  <amodra@gmail.com>
47235         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47236         * configure: Regenerate.
47237         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47238         * shlib-versions: Likewise.
47240 2013-10-04  Alan Modra  <amodra@gmail.com>
47242         * string/tester.c (test_memrchr): Increment reported test cycle.
47244 2013-10-04  Alan Modra  <amodra@gmail.com>
47246         * string/test-memcpy.c (do_one_test): When reporting errors, print
47247         string address and don't overrun end of string.
47249 2013-10-04  Alan Modra  <amodra@gmail.com>
47251         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47252         insrdi.  Make better use of reg selection to speed exit slightly.
47253         Schedule entry path a little better.  Remove useless "are we done"
47254         checks on entry to main loop.  Handle wrapping around zero address.
47255         Correct main loop count.  Handle single left-over word from main
47256         loop inline rather than by using loop_small.  Remove extra word
47257         case in loop_small caused by wrong loop count.  Add little-endian
47258         support.
47259         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47260         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47261         cache hint.
47262         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47263         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47264         support.  Avoid rlwimi.
47265         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47267 2013-10-04  Alan Modra  <amodra@gmail.com>
47269         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47270         insrdi.  Formatting.
47271         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47272         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47273         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47274         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47275         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47276         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47278 2013-10-04  Alan Modra  <amodra@gmail.com>
47280         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47281         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47282         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47283         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47284         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47285         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47286         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47287         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47288         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47289         use of regs.  Use power7 mtocrf.  Tidy function tails.
47291 2013-10-04  Alan Modra  <amodra@gmail.com>
47293         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47294         Formatting.  Consistently use rXXX register defines or rN defines.
47295         Use early exit labels that avoid restoring unused non-volatile regs.
47296         Make cr field use more consistent with rWORDn compares.  Rename
47297         regs used as shift registers for unaligned loop, using rN defines
47298         for short lifetime/multiple use regs.
47299         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47300         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47301         addi 1,1,64 to pop stack frame.  Simplify return value code.
47302         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47304 2013-10-04  Alan Modra  <amodra@gmail.com>
47306         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47307         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47308         rather than rlwimi.
47309         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47310         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47311         little-endian support.  Correct typos.
47312         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47313         rather than rlwimi.
47314         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47315         in loop and entry code to keep "and." results.
47316         (strchr): Add little-endian support.  Comment.  Move cntlzd
47317         earlier in tail.
47318         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47320 2013-10-04  Alan Modra  <amodra@gmail.com>
47322         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47323         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47324         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47325         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47327 2013-10-04  Alan Modra  <amodra@gmail.com>
47329         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47330         (rTMP): Define as r11.
47331         (strcmp): Add little-endian support.  Optimise tail.
47332         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47333         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47334         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47335         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47336         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47337         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47338         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47340 2013-10-04  Alan Modra  <amodra@gmail.com>
47342         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47343         little-endian support.  Remove unnecessary "are we done" tests.
47344         Handle "s" wrapping around zero and extremely large "size".
47345         Correct main loop count.  Handle single left-over word from main
47346         loop inline rather than by using small_loop.  Correct comments.
47347         Delete "zero" tail, use "end_max" instead.
47348         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47350 2013-10-04  Alan Modra  <amodra@gmail.com>
47352         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47353         support.  Don't branch over align.
47354         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47355         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47356         support.  Rearrange tmp reg use to suit.  Comment.
47357         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47359 2013-10-04  Alan Modra  <amodra@gmail.com>
47361         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47363 2013-10-04  Alan Modra  <amodra@gmail.com>
47365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47366         conditional form of branch and link when obtaining pc.
47367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47369 2013-10-04  Alan Modra  <amodra@gmail.com>
47371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47372         HIWORD/LOWORD.
47373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47376 2013-10-04  Alan Modra  <amodra@gmail.com>
47378         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47379         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47380         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47381         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47382         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47383         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47384         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47385         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47386         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47387         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47389 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47390             Alistair Popple <alistair@ozlabs.au.ibm.com>
47391             Alan Modra <amodra@gmail.com>
47393         [BZ #15723]
47394         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47395         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47396         _dl_hwcap access for little-endian.
47397         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47398         destroy vmx regs when saving unaligned.
47399         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47400         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47401         destroy vmx regs when saving unaligned.
47403 2013-10-04  Alan Modra  <amodra@gmail.com>
47405         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47406         Don't use a union to pack hi/low value.
47408 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47410         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47411         for little-endian.
47412         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47413         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47414         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47415         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47416         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47418 2013-10-04  Alan Modra  <amodra@gmail.com>
47420         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47421         constants to usual value for .cst8 section, and remove redundant
47422         high address load.
47423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47424         constant for 0x1p52.  Load little-endian words of double from
47425         correct stack offsets.
47427 2013-10-04  Alan Modra  <amodra@gmail.com>
47429         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47430         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47431         words of double from correct stack offsets.
47432         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47433         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47434         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47435         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47436         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47437         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47438         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47439         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47440         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47441         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47442         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47443         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47444         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47445         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47446         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47447         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47448         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47450 2013-10-04  Alan Modra  <amodra@gmail.com>
47452         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47453         64-bit int/double union.
47454         (_FPU_SETCW): Likewise.
47455         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47456         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47458 2013-10-04  Alan Modra  <amodra@gmail.com>
47460         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47461         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47463 2013-10-04  Alan Modra  <amodra@gmail.com>
47465         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47466         use vector int constants.
47467         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47469 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47471         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47472         array with long long.
47473         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47474         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47475         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47476         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47477         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47478         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47479         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47480         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47481         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47482         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47483         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47484         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47485         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47487 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47489         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47490         (__signbit): Likewise.  Correct for little-endian.
47491         (__signbitl): Call __signbit.
47492         (lrint): Correct for little-endian.
47493         (lrintf): Call lrint.
47495 2013-10-04  Alan Modra  <amodra@gmail.com>
47497         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47498         union 32-bit int array member with 64-bit int array.
47499         (t515, tm256): Double rather than long double.
47500         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47502 2013-10-04  Alan Modra  <amodra@gmail.com>
47504         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47505         Delete.
47506         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47507         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47508         version of math_ldbl.h.
47510 2013-10-04  Alan Modra  <amodra@gmail.com>
47512         [BZ #15734], [BZ #15735]
47513         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47514         all uses of ieee875 long double macros and unions.  Simplify test
47515         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47516         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47517         normalize after ldbl_extract_mantissa, and don't add hidden bit
47518         already handled.  Don't treat low word of ieee854 mantissa like
47519         low word of IBM long double and mask off bit when testing for
47520         zero.
47521         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47522         all uses of ieee875 long double macros and unions.  Simplify tests
47523         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47524         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47525         two1022, instead use their values.  Recognise that tests for large
47526         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47527         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47528         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47529         test for 0.0L and nan.  Correct negation.
47530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47531         ieee875 long double macros and unions.  Correct output for large
47532         magnitude x.  Correct absolute value calculation.
47533         (__erfcl): Likewise.
47534         * math/libm-test.inc: Add tests for errors discovered in IBM long
47535         double versions of fmodl, remainderl, erfl and erfcl.
47537 2013-10-04  Alan Modra  <amodra@gmail.com>
47539         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47540         all uses of ieee854 long double macros and unions.  Simplify tests
47541         for long doubles that are fully specified by the high double.
47542         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47543         Likewise.
47544         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47545         Remove dead code too.
47546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47547         (__ieee754_ynl): Likewise.
47548         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47549         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47550         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47551         Remove dead code too.
47552         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47553         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47554         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47555         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47556         Simplify.
47557         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47558         Simplify.
47559         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47560         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47561         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47562         Comment on variable precision.
47563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47564         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47565         Likewise.
47566         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47567         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47568         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47569         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47570         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47572 2013-10-04  Alan Modra  <amodra@gmail.com>
47574         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47575         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47576         all uses of ieee854 long double macros and unions.
47577         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47578         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47579         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47580         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47581         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47582         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47583         Likewise.
47584         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47585         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47586         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47587         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47588         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47589         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47590         Simplify sign and nan test too.
47591         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47592         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47593         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47594         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47595         Likewise.
47596         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47597         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47598         Likewise.
47599         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47600         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47601         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47602         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47603         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47606 2013-10-04  Alan Modra  <amodra@gmail.com>
47608         * stdio-common/printf_size.c (__printf_size): Don't use
47609         union ieee854_long_double in fpnum union.
47610         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47611         signbit macro to retrieve sign from long double.
47612         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47613         retrieve sign from long double.
47614         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47615         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47616         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47617         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47618         * math/test-misc.c (main): Don't use union ieee854_long_double.
47620 2013-10-04  Alan Modra  <amodra@gmail.com>
47622         [BZ #15680]
47623         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47624         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47625         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47626         calculation.  Remove unnecessary test for denormal exponent.
47627         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47628         Correct handling of denormals.  Avoid undefined shift behaviour.
47629         Correct normalisation of low mantissa when low double is denormal.
47630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47631         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47632         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47633         Correct normalisation of low mantissa.  Test for overflow of high
47634         mantissa and normalise.
47635         (ldbl_nearbyint): Use more readable constant for two52.
47636         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47637         (__mpn_construct_long_double): Fix test for overflow of high
47638         mantissa and correct normalisation.  Avoid undefined shift.
47640 2013-10-04  Alan Modra  <amodra@gmail.com>
47642         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47643         (union ibm_extended_long_double): Define as an array of ieee754_double.
47644         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47645         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47646         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47647         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47648         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47649         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47650         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47651         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47652         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47653         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47654         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47656 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47658         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47659         page size instead of calling getpagesize.
47661         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47662         (LOCFILE_ALIGN_MASK): Likewise.
47663         (LOCFILE_ALIGN_UP): Likewise.
47664         (LOCFILE_ALIGNED_P): Likewise.
47665         * locale/programs/ld-collate.c (collate_output): Use the new
47666         macros instead of __alignof__ (int32_t).
47667         * locale/weight.h (findidx): Likewise.
47669 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47671         [BZ #431]
47672         * manual/string.texi: Fix strncat and wcsncat.
47674 2013-10-03  Brooks Moses  <bmoses@google.com>
47676         [BZ #15915]
47677         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47678         * Makerules: ...here, and adjust associated comments.
47680 2013-10-02  Will Newton  <will.newton@linaro.org>
47682         * malloc/Makefile: Add tst-pvalloc.
47683         * malloc/tst-pvalloc.c: New file.
47685 2013-10-02  Will Newton  <will.newton@linaro.org>
47687         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47688         improve test coverage.
47690 2013-10-02  Will Newton  <will.newton@linaro.org>
47692         * malloc/Makefile: Add tst-posix_memalign.
47693         * malloc/tst-posix_memalign.c: New file.
47695 2013-10-01  Eric Blake  <eblake@redhat.com>
47697         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47698         Use __THROWNL rather than __THROW on static functions.
47700 2013-09-30  Petr Machata  <pmachata@redhat.com>
47702         * elf/elf.h (R_AARCH64_ABS16): New macro.
47703         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47704         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47705         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47706         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47707         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47708         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47709         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47710         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47711         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47712         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47713         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47714         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47715         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47716         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47717         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47718         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47719         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47720         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47721         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47722         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47723         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47724         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47725         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47726         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47727         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47728         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47729         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47730         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47731         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47732         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47733         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47734         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47735         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47736         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47737         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47738         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47739         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47740         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47741         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47742         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47743         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47744         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47745         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47746         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47747         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47748         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47749         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47750         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47751         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47752         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47753         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47754         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47755         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47756         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47757         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47758         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47759         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47760         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47761         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47762         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47763         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47764         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47765         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47766         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47767         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47768         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47769         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47770         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47771         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47772         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47773         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47774         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47775         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47776         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47777         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47778         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47779         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47780         (R_AARCH64_TLSDESC_LDR): Likewise.
47781         (R_AARCH64_TLSDESC_ADD): Likewise.
47782         (R_AARCH64_TLSDESC_CALL): Likewise.
47784 2013-09-30  Andreas Schwab  <schwab@suse.de>
47786         [BZ #15048]
47787         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47788         the nss database lookup.
47789         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47792 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47794         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47796 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47798         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47799         ${Bash-specific parameter/pattern/string} parameter expansion.
47800         * sysdeps/unix/make-syscalls.sh: Likewise.
47802 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47804         * sysdeps/sh/stackguard-macros.h: New file.
47806 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47809         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47810         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47811         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47812         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47813         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47815 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47817         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47818         Fix thread ID register.
47820 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47822         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47823         [POSIX || UNIX98]: Require rather than permitting all symbols from
47824         <time.h>.
47825         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47826         element of struct sched_param.
47827         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47828         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47829         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47830         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47831         constant.
47833 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47835         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47836         argument calculation.
47838 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47840         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47841         Expect macro.
47842         [POSIX] (pthread_attr_t): Do not require type.
47843         [POSIX] (pthread_cond_t): Likewise.
47844         [POSIX] (pthread_condattr_t): Likewise.
47845         [POSIX] (pthread_key_t): Likewise.
47846         [POSIX] (pthread_mutex_t): Likewise.
47847         [POSIX] (pthread_mutexattr_t): Likewise.
47848         [POSIX] (pthread_once_t): Likewise.
47849         [POSIX] (pthread_t): Likewise.
47850         [POSIX-based standards] (pthread_atfork): Expect function.
47852 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47853             Richard Sandiford  <richard@codesourcery.com>
47855         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47856         (swap_endianness_p): New extern variable.
47857         (set_big_endian): New inline function.
47858         (maybe_swap_uint32): Likewise.
47859         (maybe_swap_uint32_array): Likewise.
47860         (maybe_swap_uint32_obstack): Likewise.
47861         * locale/programs/locfile.c: Include <stdbool.h>.
47862         (swap_endianness_p): New variable.
47863         (add_locale_uint32): Call maybe_swap_uint32.
47864         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47865         (write_locale_data): Call maybe_swap_uint32_array.
47866         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47867         maybe_swap_uint32.
47868         (obstack_int32_grow_fast): Likewise.
47869         (output_weightwc): Call maybe_swap_uint32_obstack.
47870         (collate_output): Likewise.
47871         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47872         (OPT_LITTLE_ENDIAN): Likewise.
47873         (options): Add --little-endian and --big-endian options.
47874         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47875         * locale/programs/locarchive.c: Include "locfile.h".
47876         (GET): New macro.
47877         (SET): Likewise.
47878         (INC): Likewise.
47879         (create_archive): Use the new macros to access fields of
47880         structures directly mapped from or written to locale archives.
47881         (oldlocrecentcmp): Likewise.
47882         (enlarge_archive): Likewise.
47883         (insert_name): Likewise.
47884         (add_alias): Likewise.
47885         (add_locale): Likewise.
47886         (delete_locales_from_archive): Likewise.
47887         (show_archive_content): Likewise.
47888         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47889         locale data.
47891 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47893         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47894         http://www.gnu.org/doc/freemanuals.texi.
47895         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47897 2013-09-24  Will Newton  <will.newton@linaro.org>
47899         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47900         macro.
47902 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47904         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47905         unsigned char.
47907 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47909         * manual/threads.texi (POSIX Threads): Fix a typo.
47911 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47913         [BZ #14547]
47914         * string/tst-strcoll-overflow.c: New test case.
47915         * string/Makefile (xtests): Add tst-strcoll-overflow.
47916         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47917         cache if string sizes may cause integer overflow.
47919         [BZ #14547]
47920         * string/strcoll_l.c (coll_seq): New members rule, idx,
47921         save_idx and back_us.
47922         (get_next_seq_nocache): New function.
47923         (do_compare_nocache): New function.
47924         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47925         when malloc fails.
47927 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47929         [BZ #15754]
47930         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47931         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47932         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47934         [BZ #15754]
47935         * elf/Makefile (tests): Add tst-ptrguard1.
47936         (tests-static): Add tst-ptrguard1-static.
47937         (tst-ptrguard1-ARGS): Define.
47938         (tst-ptrguard1-static-ARGS): Define.
47939         * elf/tst-ptrguard1.c: New file.
47940         * elf/tst-ptrguard1-static.c: New file.
47941         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47942         * sysdeps/i386/stackguard-macros.h: Likewise.
47943         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47944         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47945         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47946         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47947         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47948         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47950 2013-09-23  Hector Marco  <hecmargi@upv.es>
47951             Ismael Ripoll  <iripoll@disca.upv.es>
47952             Carlos O'Donell  <carlos@redhat.com>
47954         [BZ #15754]
47955         * sysdeps/generic/stackguard-macros.h: Define
47956         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47957         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47958         Define __pointer_chk_guard_local.
47959         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47960         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47962 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47964         [BZ #15859]
47965         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47967 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47969         * include/string.h (__ffs): Declare as hidden.
47970         * string/ffs.c (__ffs): Define as hidden.
47971         * sysdeps/i386/ffs.c (__ffs): Likewise.
47972         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47973         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47974         * sysdeps/s390/ffs.c (__ffs): Likewise.
47975         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47977 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47979         * NEWS: Mention malloc probes.
47981         * malloc/arena.c (new_heap): New memory_heap_new probe.
47982         (grow_heap): New memory_heap_more probe.
47983         (shrink_heap): New memory_heap_less probe.
47984         (heap_trim): New memory_heap_free probe.
47985         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47986         (systrim): New memory_sbrk_less probe.
47987         * manual/probes.texi: Document them.
47989         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47990         * manual/probes.texi: Document it.
47992         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47993         (__libc_realloc): Add memory_realloc_retry probe.
47994         (__libc_memalign): Add memory_memalign_retry probe.
47995         (__libc_valloc): Add memory_valloc_retry probe.
47996         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47997         (__libc_calloc): Add memory_calloc_retry probe.
47998         * manual/probes.texi: Document them.
48000         * malloc/arena.c (get_free_list): Add probe
48001         memory_arena_reuse_free_list.
48002         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48003         and memory_arena_reuse.
48004         (arena_get2) [!PER_THREAD]: Likewise.
48005         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48006         memory_arena_reuse_realloc.
48007         * manual/probes.texi: Document them.
48009         * malloc/malloc.c (__libc_free): Add
48010         memory_mallopt_free_dyn_thresholds probe.
48011         (__libc_mallopt): Add multiple memory_mallopt probes.
48012         * manual/probes.texi: Document them.
48014         * malloc/malloc.c: Include stap-probe.h.
48015         (__libc_mallopt): Add memory_mallopt probe.
48016         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48017         * manual/probes.texi: New.
48018         * manual/Makefile (chapters): Add probes.
48019         * manual/threads.texi: Set next node.
48021 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48023         [BZ #15963, #13985]
48024         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48025         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48026         Add `Chinese' to `nan' entry name.
48028 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48030         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48031         (POLYNOMIAL): Likewise.
48032         (TAYLOR_SINCOS): Likewise.
48033         (TAYLOR_SLOW): Likewise.
48034         (__sin): Use TAYLOR_SINCOS.
48035         (__cos): Likewise.
48036         (slow): Use TAYLOR_SLOW.
48037         (sloww): Likewise.
48038         (bsloww): Likewise.
48039         (csloww): Likewise.
48041 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48043         * stdlib/strtod_l.c: Fix buffer overrun.
48045 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48047         * benchtests/Makefile (bench): Add sincos.
48048         * benchtests/bench-sincos.c: New file.
48050         * math/libm-test.inc (cos_test_data): New test inputs.
48051         (sin_test_data): Likewise.
48053         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48054         macro.
48055         (__sin): Use it.
48056         (__cos): Likewise.
48057         (slow1): Likewise.
48058         (slow2): Likewise.
48059         (sloww1): Likewise.
48060         (sloww2): Likewise.
48061         (bsloww1): Likewise.
48062         (bsloww2): Likewise.
48063         (cslow2): Likewise.
48064         (csloww1): Likewise.
48065         (csloww2): Likewise.
48067         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48068         function.
48069         (__sin): Use it.
48070         (__cos): Likewise.
48072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48073         gotos.
48074         (__cos): Likewise.
48076 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48078         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48079         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48080         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48081         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48082         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48083         * elf/cache.c (print_entry): Handle the new cache flags.
48085 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48086             Aldy Hernandez  <aldyh@redhat.com>
48088         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48089         Change condition to [_SOFT_FLOAT].
48090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48102         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48105         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48106         declaration.
48108 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48110         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48111         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48112         (__longjmp): Use LOAD_GP to load saved GPRs.
48113         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48114         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48115         (__sigsetjmp): Use SAVE_GP to save GPRs.
48117         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48118         Do not append -msoft-float.
48119         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48121 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48123         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48125 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48127         [BZ #15966]
48128         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48129         (_FPU_GETCW): Use initial "__" on variable and field names but not
48130         on macro parameter name.
48131         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48132         parentheses around reference to macro parameter.
48134 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48136         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48137         prototype.
48138         (ctype_startup): Use uint32_t in cast and sizeof for
48139         ctype->charnames.
48141 2013-09-11  Jia Liu  <proljc@gmail.com>
48143         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48144         __daddr_t_defined.
48145         [__FreeBSD__]: Likewise.
48147 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48150         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48151         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48152         (strchr): Remove __strchr_sse42 ifunc selection.
48153         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48154         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48156 2013-09-11  Will Newton  <will.newton@linaro.org>
48158         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48159         parameter to RES. Remove hardcoded 1000 value.
48160         * benchtests/bench-skeleton.c (main): Pass RES parameter
48161         to TIMING_INIT and multiply result by 1000.
48163 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48167 2013-09-11  Andreas Schwab  <schwab@suse.de>
48169         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48170         if not defined.
48171         (O_TMPFILE) [__USE_GNU]: Define.
48172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48173         Define.
48175 2013-09-11  Will Newton  <will.newton@linaro.org>
48177         [BZ #15857]
48178         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48179         does not overflow.
48181 2013-09-11  Will Newton  <will.newton@linaro.org>
48183         [BZ #15856]
48184         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48185         does not overflow.
48187 2013-09-11  Will Newton  <will.newton@linaro.org>
48189         [BZ #15855]
48190         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48191         does not overflow.
48193 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48195         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48196         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48197         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48198         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48199         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48201 2013-09-10  Allan McRae  <allan@archlinux.org>
48203         [BZ #15748]
48204         * manual/arith.texi (Parsing of Floats): Clarify
48205         cross-reference.
48207         [BZ #15849]
48208         * manual/install.texi (Running make install): Mention
48209         --enable-pt-chown.
48210         * INSTALL: Regenerated.
48212 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48214         * csu/init-first.c (_init): Remove the !SHARED condition around
48215         FPU control word initialization.
48216         * elf/dl-support.c (_dl_fpu_control): New variable.
48217         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48218         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48219         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48220         * math/test-fpucw-static.c: New file.
48221         * math/test-fpucw-ieee.c: New file.
48222         * math/test-fpucw-ieee-static.c: New file.
48223         * math/Makefile (tests): Add `test-fpucw-ieee' and
48224         `$(tests-static)'.
48225         (tests-static): New variable.
48226         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48227         dependency to...
48228         [($(build-shared),yes)]
48229         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48230         ... this.
48231         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48232         New dependency.
48234 2013-09-09  Allan McRae  <allan@archlinux.org>
48236         [BZ #15939]
48237         * manual/string.texi (Collation Functions): Fix typo in
48238         strcoll example.
48239         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48241         [BZ #15893]
48242         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48244         [BZ #15892]
48245         * libio/memstream.c (open_memstream): Fix memory leak.
48246         * libio/wmemstream.c (open_wmemstream): Likewise.
48248         [BZ #15895]
48249         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48251 2013-09-09  Will Newton  <will.newton@linaro.org>
48253         * malloc/Makefile: Add tst-realloc to tests.
48254         * malloc/tst-realloc.c: New file.
48256 2013-09-09  Allan McRae  <allan@archlinux.org>
48258         [BZ #15844]
48259         * COPYING: Update from GNU website to fix FSF address.
48260         * COPYING.LIB: Likewise.
48262 2013-09-06  David S. Miller  <davem@davemloft.net>
48264         * po/zh_TW.po: Update Chinese (traditional) translation from
48265         translation project.
48267 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48268             Joseph Myers  <joseph@codesourcery.com>
48270         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48271         "localeinfo.h".
48272         (obstack_chunk_alloc): New macro.
48273         (obstack_chunk_free): Likewise.
48274         (record_offset): New function.
48275         (init_locale_data): Likewise.
48276         (align_locale_data): Likewise.
48277         (add_locale_empty): Likewise.
48278         (add_locale_raw_data): Likewise.
48279         (add_locale_raw_obstack): Likewise.
48280         (add_locale_string): Likewise.
48281         (add_locale_wstring): Likewise.
48282         (add_locale_uint32): Likewise.
48283         (add_locale_uint32_array): Likewise.
48284         (add_locale_char): Likewise.
48285         (start_locale_structure): Likewise.
48286         (end_locale_structure): Likewise.
48287         (start_locale_prelude): Likewise.
48288         (end_locale_prelude): Likewise.
48289         (write_locale_data): Take locale_file structure rather than an
48290         iovec.
48291         * locale/programs/locfile.h: Include "obstack.h".
48292         (struct locale_file): Change to store locale file contents instead
48293         of header.
48294         (init_locale_data): New prototype.
48295         (align_locale_data): Likewise.
48296         (add_locale_empty): Likewise.
48297         (add_locale_raw_data): Likewise.
48298         (add_locale_raw_obstack): Likewise.
48299         (add_locale_string): Likewise.
48300         (add_locale_wstring): Likewise.
48301         (add_locale_uint32): Likewise.
48302         (add_locale_uint32_array): Likewise.
48303         (add_locale_char): Likewise.
48304         (start_locale_structure): Likewise.
48305         (end_locale_structure): Likewise.
48306         (start_locale_prelude): Likewise.
48307         (end_locale_prelude): Likewise.
48308         (write_locale_data): Update prototype.
48309         * locale/programs/3level.h (struct TABLE): Remove result field.
48310         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48311         Use new locale_file interface.
48312         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48313         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48314         * locale/programs/ld-address.c (address_output): Use new
48315         locale_file interface.
48316         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48317         NO_ADD_LOCALE.
48318         (collate_finish): Don't call collseq_table_finalize.
48319         (collate_output): Use new locale_file interface.
48320         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48321         in file.
48322         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48323         (TABLE): Move defines earlier in file.
48324         (ELEMENT): Likewise.
48325         (DEFAULT): Likewise.
48326         (wctrans_table_add): Move macro and inline function earlier in
48327         file.
48328         (struct wctype_table): Move type earlier in file.
48329         (add_locale_wctype_table): New static prototype.
48330         (struct locale_ctype_t): Use logical types instead of struct iovec
48331         pointers for members.
48332         (ctype_output): Use new locale_file interface.
48333         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48334         new locale_file interface.
48335         (allocate_arrays): Update for use of new locale_file interface.
48336         * locale/programs/ld-identification.c (identification_output): Use
48337         new locale_file interface.
48338         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48339         * locale/programs/ld-messages.c (messages_output): Likewise.
48340         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48341         * locale/programs/ld-name.c (name_output): Likewise.
48342         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48343         * locale/programs/ld-paper.c (paper_output): Likewise.
48344         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48345         * locale/programs/ld-time.c (time_output): Likewise.
48347 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48349         * benchtests/Makefile: Add memrchr benchmark.
48350         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48351         benchmark as memrchr.
48352         * benchtests/bench-memrchr-ifunc.c: New file.
48353         * benchtests/bench-memrchr.c: New file.
48355 2013-09-06   Will Newton  <will.newton@linaro.org>
48357         * benchtests/Makefile (string-bench): Add memcpy.
48359 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48360             Cong Wang  <amwang@redhat.com>
48362         [BZ #15850]
48363         * sysdeps/unix/sysv/linux/bits/in.h
48364         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48365         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48366         before __USE_KERNEL_IPV6_DEFS uses.
48367         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48368         IPPROTO_BEETPH.
48369         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48370         sockaddr_in6, or ipv6_mreq.
48372 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48374         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48375         memory access for final bytes in some large inputs.
48376         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48378 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48380         * string/test-memrchr.c: New file.
48381         * string/test-memrchr-ifunc.c: New file.
48382         * string/Makefile: Add new memrchr testcase.
48384 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48386         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48387         fanotify_init returns EPERM.
48389 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48391         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48392         errors.
48393         (top level): Treat second token from macro or constant entries for
48394         allowed headers as allowed.
48395         * include/complex.h: Condition internal declarations on
48396         [!_ISOMAC].
48397         * include/fenv.h: Condition include of <stdbool.h> and internal
48398         declarations on [!_ISOMAC].
48400 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48402         [BZ #15923]
48403         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48405 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48407         * configure.in (--enable-versioning): Remove configure option.
48408         (libc_cv_asm_symver_directive): Remove configure test.
48409         (libc_cv_ld_version_script_option): Likewise.
48410         (VERSIONING): Remove variable and AC_SUBST.
48411         (DO_VERSIONING): Remove AC_DEFINE.
48412         * configure: Regenerated.
48413         * config.h.in (DO_VERSIONING): Remove macro.
48414         * Makerules [$(versioning) = yes]: Change conditionals to
48415         [$(build-shared) = yes].
48416         * config.make.in (versioning): Remove variable.
48417         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48418         [$(build-shared) = yes].
48419         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48420         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48421         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48422         [$(build-shared) = yes].
48423         * extra-lib.mk [$(versioning) = yes]: Likewise.
48424         * hurd/Makefile [$(versioning) = yes]: Likewise.
48425         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48426         [SHARED].
48427         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48428         [SHARED].
48429         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48430         [SHARED && !NO_HIDDEN].
48431         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48432         [SHARED].
48433         [SHARED && DO_VERSIONING]: Likewise..
48434         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48435         [$(build-shared) = yes].
48436         * manual/install.texi (--disable-versioning): Remove
48437         documentation.
48438         * INSTALL: Regenerated.
48439         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48440         to [SHARED].
48441         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48442         [$(build-shared) = yes].
48443         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48444         * sysdeps/i386/i686/multiarch/strstr-c.c
48445         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48446         [SHARED && !NO_HIDDEN].
48447         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48448         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48449         * sysdeps/powerpc/powerpc32/dl-machine.c
48450         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48451         * sysdeps/powerpc/powerpc32/sysdep.h
48452         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48453         to [SHARED && PIC && !NO_HIDDEN].
48454         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48455         conditional to [SHARED].
48457 2013-09-04   Will Newton  <will.newton@linaro.org>
48459         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48460         * benchtests/bench-string.h: Include bench-timing.h instead
48461         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48462         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48463         call to HP_TIMING_DIFF_INIT.
48464         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48465         instead of hp-timing.h macros.
48466         * benchtests/bench-memchr.c: Likewise.
48467         * benchtests/bench-memcmp.c: Likewise.
48468         * benchtests/bench-memcpy.c: Likewise.
48469         * benchtests/bench-memmem.c: Likewise.
48470         * benchtests/bench-memmove.c: Likewise.
48471         * benchtests/bench-memset.c: Likewise.
48472         * benchtests/bench-rawmemchr.c: Likewise.
48473         * benchtests/bench-strcasecmp.c: Likewise.
48474         * benchtests/bench-strcasestr.c: Likewise.
48475         * benchtests/bench-strcat.c: Likewise.
48476         * benchtests/bench-strchr.c: Likewise.
48477         * benchtests/bench-strcmp.c: Likewise.
48478         * benchtests/bench-strcpy.c: Likewise.
48479         * benchtests/bench-strcpy_chk.c: Likewise.
48480         * benchtests/bench-strlen.c: Likewise.
48481         * benchtests/bench-strncasecmp.c: Likewise.
48482         * benchtests/bench-strncat.c: Likewise.
48483         * benchtests/bench-strncmp.c: Likewise.
48484         * benchtests/bench-strncpy.c: Likewise.
48485         * benchtests/bench-strnlen.c: Likewise.
48486         * benchtests/bench-strpbrk.c: Likewise.
48487         * benchtests/bench-strrchr.c: Likewise.
48488         * benchtests/bench-strspn.c: Likewise.
48489         * benchtests/bench-strstr.c: Likewise.
48491 2013-09-04  Will Newton  <will.newton@linaro.org>
48493         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48495 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48497         [BZ #15427]
48498         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48499         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48500         * math/libm-test.inc (lgamma_test_data): Add more tests.
48501         * sysdeps/i386/fpu/libm-test-ulps: Update.
48502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48504 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48506         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48508         Add ifunc.
48509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48510         Add strcmp-sse2-unaligned
48511         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48513 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48515         * Versions.def (libc): Add GLIBC_2.19.
48517 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48519         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48520         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48522 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48524         [BZ #14155]
48525         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48526         intermediate calculations in recurrence.
48527         (__ieee754_ynf): Likewise.
48528         * math/libm-test.inc (jn_test_data): Do not allow spurious
48529         underflow exception.  Add more tests.
48530         (yn_test_data): Add more tests.
48531         * sysdeps/i386/fpu/libm-test-ulps: Update.
48532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48534 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48536         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48538 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48540         * csu/init-first.c: Fix then/than typos.
48541         * locale/programs/ld-collate.c: Likewise.
48542         * locale/programs/linereader.h: Likewise.
48543         * manual/charset.texi: Likewise.
48544         * manual/filesys.texi: Likewise.
48545         * manual/stdio.texi: Likewise.
48546         * manual/string.texi: Likewise.
48547         * stdlib/fmtmsg.c: Likewise.
48548         * sysdeps/i386/stpncpy.S: Likewise.
48549         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48550         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48551         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48552         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48554 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48556         * elf/dl-open.c: Fix typos.
48557         * iconvdata/gbbig5.c: Likewise.
48558         * iconvdata/iso-2022-jp.c: Likewise.
48559         * iconv/gconv_int.h: Likewise.
48560         * iconv/loop.c: Likewise.
48561         * nis/rpcsvc/nis.h: Likewise.
48562         * resolv/ns_name.c: Likewise.
48563         * stdio-common/vfscanf.c: Likewise.
48564         * streams/stropts.h: Likewise.
48565         * sunrpc/rpc_thread.c: Likewise.
48566         * sysdeps/i386/strpbrk.S: Likewise.
48567         * sysdeps/ieee754/k_standard.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48570         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48571         * sysdeps/mach/hurd/profil.c: Likewise.
48572         * sysdeps/s390/dl-procinfo.h: Likewise.
48573         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48574         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48575         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48576         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48577         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48579 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48581         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48582         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48584 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48586         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48587         aix specific files.
48588         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48589         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48590         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48591         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48592         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48593         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48594         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48595         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48597 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48598             Roland McGrath  <roland@hack.frob.com>
48600         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48601         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48603 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48605         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48606         __executable_start symbol instead of _start.
48608 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48610         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48611         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48612         Move macros to...
48613         * sysdeps/gnu/ldsodefs.h: ... this new file.
48615         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48616         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48617         instead of ELFOSABI_LINUX.
48619         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48620         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48621         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48622         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48623         Likewise.
48624         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48625         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48626         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48627         Likewise.
48628         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48629         (ibm_extended_long_double): Add ieee_nan member.
48630         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48631         (do_test): New function.
48633         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48634         TEST_TRUNC.
48635         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48636         functions, renamed from truncdfsf_test, trunctfsf_test,
48637         trunctfdf_test.
48638         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48639         functions.
48640         (do_test): Run all these.
48642 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48644         * argp/argp-help.c: Fix typos.
48645         * argp/argp-parse.c: Likewise.
48646         * debug/backtracesyms.c: Likewise.
48647         * elf/elf.h: Likewise.
48648         * malloc/malloc.c: Likewise.
48649         * nis/nis_print.c: Likewise.
48650         * resolv/res_comp.c: Likewise.
48651         * stdlib/stdlib.h: Likewise.
48652         * sunrpc/clnt_tcp.c: Likewise.
48653         * sunrpc/clnt_udp.c: Likewise.
48654         * sunrpc/clnt_unix.c: Likewise.
48655         * sysdeps/unix/bsd/ptsname.c: Likewise.
48656         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48657         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48659         Likewise.
48660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48661         Likewise.
48662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48663         Likewise.
48664         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48666 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48668         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48671 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48673         [BZ #15897]
48674         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48675         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48676         ($(objpfx)bug-dl-leaf): New rule.
48677         ($(objpfx)bug-dl-leaf.so): Likewise.
48678         ($(objpfx)bug-dl-leaf.out): Likewise.
48679         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48680         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48681         * dlfcn/bug-dl-leaf.c: New test.
48682         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48683         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48684         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48685         (dlclose): Likewise.
48686         (dlmopen): Likewise.
48688 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48690         * include/netdb.h [!_ISOMAC]:
48691         Don't include <tls.h>.
48692         (h_errno, __libc_h_errno): Move declaration and macros out of
48693         [_LIBC_REENTRANT].
48695         * include/resolv.h [_RESOLV_H_]:
48696         Don't include <tls.h>.
48697         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48698         * resolv/res_libc.c: Don't include <tls.h>.
48699         (_res): Use __attribute__ ((nocommon)) in place of
48700         __attribute__ ((section (".bss"))).
48702         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48703         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48705         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48707         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48708         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48710         * resolv/res_mkquery.c: Include <sys/time.h>.
48712         * inet/ifreq.c: Moved to ...
48713         * sysdeps/unix/ifreq.c: ... here.
48714         * inet/ifreq.c: New file, true stub version.
48716         * socket/sa_len.c: New file.
48717         * socket/Makefile (aux): Add it.
48718         * sysdeps/unix/sysv/linux/Makefile
48719         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48720         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48721         and #include <socket/sa_len.c>.
48722         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48723         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48725         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48726         * bits/socket.h: ... here.
48728         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48729         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48730         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48732 2013-08-27  Andreas Schwab  <schwab@suse.de>
48734         [BZ #15736]
48735         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48736         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48737         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48738         * string/test-strcasecmp.c (test_main): Run tests in several
48739         locales.
48740         * string/test-strncasecmp.c (test_main): Likewise.
48742         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48743         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48744         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48746         (__strncasecmp_ssse3) [PIC]: Likewise.
48748 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48750         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48752         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48753         instead of explicitly declaring xdecrypt.
48754         * nis/nss_nis/nis-publickey.c: Likewise.
48756 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48758         [BZ #15890]
48759         * nscd/aicache.c: Include res_hconf.h.
48760         (addhstaiX): Initialize res_hconf.
48762 2013-08-26  Andreas Schwab  <schwab@suse.de>
48764         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48765         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48767 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48769         * nscd/aicache.c (addhstaiX): Fix indentation.
48771 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48773         * configure.ac: Quote $build_pt_chown test.
48774         * configure: Regenerated.
48776 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48778         [BZ #15532]
48779         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48780         * math/s_cexpf.c (__cexpf): Likewise.
48781         * math/s_cexpl.c (__cexpl): Likewise.
48782         * math/libm-test.inc (cexp_test_data): Correct expected return
48783         value for NaN + i0.  Add another test.
48785 2013-08-22  David S. Miller  <davem@davemloft.net>
48787         * po/ca.po: Update Catalan translation from translation project.
48788         * po/uk.po: Add Ukrainian translations from translation project.
48790 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48792         [BZ #15797]
48793         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48794         is infinite, not alongside NaN test.
48795         * math/s_fdimf.c (__fdimf): Likewise.
48796         * math/s_fdiml.c (__fdiml): Likewise.
48797         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48798         errno is unchanged.
48800 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48802         * argp/argp-help.c: Fix typos.
48803         * crypt/speeds.c: Likewise.
48804         * csu/check_fds.c: Likewise.
48805         * elf/dl-load.c: Likewise.
48806         * elf/dl-open.c: Likewise.
48807         * elf/reldep3.c: Likewise.
48808         * elf/reldep.c: Likewise.
48809         * elf/sprof.c: Likewise.
48810         * iconv/iconv_charmap.c: Likewise.
48811         * iconv/skeleton.c: Likewise.
48812         * iconv/strtab.c: Likewise.
48813         * io/lockf64.c: Likewise.
48814         * libio/libioP.h: Likewise.
48815         * resolv/gai_notify.c: Likewise.
48816         * resolv/ns_name.c: Likewise.
48817         * resolv/ns_samedomain.c: Likewise.
48818         * resolv/res_send.c: Likewise.
48819         * stdlib/random.c: Likewise.
48820         * sunrpc/rpc/xdr.h: Likewise.
48821         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48822         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48823         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48824         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48825         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48826         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48828         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48829         * sysdeps/mach/hurd/check_fds.c: Likewise.
48830         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48831         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48832         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48833         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48834         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48835         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48836         * sysdeps/pthread/aio_notify.c: Likewise.
48837         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48838         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48839         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48840         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48841         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48843 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48845         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48846         version if bit_Slow_SSE4_2 is set.
48847         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48848         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48850 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48852         [BZ #15867]
48853         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48854         trampoline stack frame information.
48855         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48856         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48857         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48858         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48859         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48860         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48861         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48862         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48863         sa_flags value.
48864         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48865         interrupting a syscall and set with option SA_SIGINFO.
48867 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48869         [BZ #15531]
48870         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48871         argument is infinite.
48872         * math/s_cprojf.c (__cprojf): Likewise.
48873         * math/s_cprojl.c (__cprojl): Likewise.
48874         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48875         * math/libm-test.inc (cproj_test_data): Add more tests.
48877         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48879         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48880         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48881         size.  Use __ffs to determine corresponding shift.
48883 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48884             Roland McGrath  <roland@hack.frob.com>
48886         * Makefile (INSTALL): Remove trailing blank lines from output of
48887         makeinfo.
48889 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48891         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48892         Align 32 bit compat elf_greg to 8 bytes.
48894 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48896         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48898 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48900         * string/strcoll_l.c (coll_seq): New structure.
48901         (get_next_seq_cached): New function.
48902         (get_next_seq): New function.
48903         (do_compare): New function.
48904         (STRCOLL): Use GNU style definition.  Simplify implementation
48905         by using get_next_seq, get_next_seq_cached and do_compare.
48907 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48909         [BZ #14699]
48910         CVE-2013-4237
48911         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48912         member.
48913         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48914         member.
48915         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48916         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48917         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48918         conditional.
48919         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48920         GETDENTS_64BIT_ALIGNED.
48921         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48922         * manual/filesys.texi (Reading/Closing Directory): Document
48923         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48924         strongly.
48925         * manual/conf.texi (Limits for Files): Add portability note to
48926         NAME_MAX, PATH_MAX.
48927         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48929 2013-08-13  Andreas Schwab  <schwab@suse.de>
48931         [BZ #15749]
48932         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48933         of fabs.
48934         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48935         LDBL_MAX_EXP >= 16384]: Add tests for it.
48937 2013-08-12  David S. Miller  <davem@davemloft.net>
48939         * version.h (RELEASE): Set to "development".
48940         (VERSION): Set to "2.18.90".
48941         * NEWS: Add 2.19 section.
48943 2013-08-03  David S. Miller  <davem@davemloft.net>
48945         * po/ko.po: Update Korean translation from translation project.
48947 2013-08-01  David S. Miller  <davem@davemloft.net>
48949         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48950         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48951         Bilka.
48953 2013-07-30  David S. Miller  <davem@davemloft.net>
48955         * po/fr.po: Update French translation from translation project.
48957 2013-07-28  David S. Miller  <davem@davemloft.net>
48959         * po/cs.po: Update Czech translation from translation project.
48961         * po/sv.po: Update Swedish translation from translation project.
48963 2013-07-27  David S. Miller  <davem@davemloft.net>
48965         * po/eo.po: Update Esperanto translation from translation project.
48967         * po/vi.po: Update Vietnamese translation from translation project.
48969         * po/de.po: Update German translation from translation project.
48971 2013-07-26  David S. Miller  <davem@davemloft.net>
48973         * po/bg.po: Update Bulgarian translation from translation project.
48975         * po/nl.po: Update Dutch translation from translation project.
48976         * po/pl.po: Update Polish translation from translation project.
48977         * po/ru.po: Update Russian translation from translation project.
48979 2013-07-24  David S. Miller  <davem@davemloft.net>
48981         * po/libc.pot: Update.
48983 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48985         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48986         variable page size.
48987         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48988         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48989         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48991 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48993         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48995 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48996             Andreas Schwab  <schwab@suse.de>
48997             Roland McGrath  <roland@hack.frob.com>
48998             Joseph Myers  <joseph@codesourcery.com>
48999             Carlos O'Donell  <carlos@redhat.com>
49001         [BZ #15755]
49002         * config.h.in: Define HAVE_PT_CHOWN.
49003         * config.make.in (build-pt-chown): New variable.
49004         * configure.in (--enable-pt_chown): New configure option.
49005         * configure: Regenerate.
49006         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49007         build-pt-chown is enabled.
49008         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49009         pt_chown to fix pty ownership.
49010         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49011         CLOSE_ALL_FDS.
49012         * manual/install.texi (Configuring and compiling): Mention
49013         --enable-pt_chown. Add @findex for grantpt.
49014         * INSTALL: Regenerate.
49016 2013-07-20  David S. Miller  <davem@davemloft.net>
49018         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49019         difference between 32-bit and 64-bit.
49021 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49023         [BZ #15711]
49024         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49025         Avoid system header dependency with -ffreestanding.
49026         ($(objpfx)bits/syscall%d): Likewise.
49028 2013-07-13  David S. Miller  <davem@davemloft.net>
49030         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49031         underflows from atanl/atan2l due to bug 15319.
49032         (casinh_test_data): Likewise.
49034 2013-07-07  David S. Miller  <davem@davemloft.net>
49036         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49038 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49040         * sysdeps/i386/fpu/libm-test-ulps: Update.
49041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49043 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49045         * configure.in (--enable-lock-elision): Fix message text.
49046         * INSTALL: Regenerate.
49047         * configure: Regenerate.
49049 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49053 2013-07-03  Andreas Jaeger  <aj@suse.de>
49055         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49056         define.
49057         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49058         (ptrace_peeksiginfo_args): Add.
49059         (__ptrace_peeksiginfo_flags): Add.
49060         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49062         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49064 2013-07-03  Allan McRae  <allan@archlinux.org>
49066         * sysdeps/i386/fpu/libm-test-ulps: Update.
49068 2013-07-02  David S. Miller  <davem@davemloft.net>
49070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49072 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49076 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49078         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49081 2013-07-02  Andi Kleen <ak@linux.intel.com>
49083         * config.h.in (ENABLE_LOCK_ELISION): Add.
49084         * configure.in (--enable-lock-elision): Add option.
49085         * manual/install.texi: Document --enable lock elision.
49086         * configure: Regenerate
49087         * INSTALL: Regenerate.
49089 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49091         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49092         SSE4.2 strcasecmp for libc.a.
49093         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49095 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49097         [BZ #13304]
49098         * soft-fp/op-common.h (_FP_FMA): New macro.
49099         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49100         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49101         (_FP_MUL_MEAT_1_imm): ... here.
49102         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49103         (_FP_MUL_MEAT_1_wide): ... here.
49104         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49105         (_FP_MUL_MEAT_1_hard): ... here.
49106         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49107         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49108         (_FP_MUL_MEAT_2_wide): ... here.
49109         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49110         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49111         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49112         (_FP_MUL_MEAT_2_gmp): ... here.
49113         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49114         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49115         (_FP_MUL_MEAT_4_wide): ... here.
49116         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49117         (_FP_MUL_MEAT_4_gmp): ... here.
49118         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49119         (_FP_WFRACBITS_DW_S): Likewise.
49120         (_FP_WFRACXBITS_DW_S): Likewise.
49121         (_FP_HIGHBIT_DW_S): Likewise.
49122         (FP_FMA_S): Likewise.
49123         (_FP_FRAC_HIGH_DW_S): Likewise.
49124         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49125         (_FP_WFRACBITS_DW_D): Likewise.
49126         (_FP_WFRACXBITS_DW_D): Likewise.
49127         (_FP_HIGHBIT_DW_D): Likewise.
49128         (FP_FMA_D): Likewise.
49129         (_FP_FRAC_HIGH_DW_D): Likewise.
49130         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49131         (_FP_WFRACBITS_DW_E): Likewise.
49132         (_FP_WFRACXBITS_DW_E): Likewise.
49133         (_FP_HIGHBIT_DW_E): Likewise.
49134         (FP_FMA_E): Likewise.
49135         (_FP_FRAC_HIGH_DW_E): Likewise.
49136         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49137         (_FP_WFRACBITS_DW_Q): Likewise.
49138         (_FP_WFRACXBITS_DW_Q): Likewise.
49139         (_FP_HIGHBIT_DW_Q): Likewise.
49140         (FP_FMA_Q): Likewise.
49141         (_FP_FRAC_HIGH_DW_Q): Likewise.
49142         * soft-fp/fmasf4.c: New file.
49143         * soft-fp/fmadf4.c: Likewise.
49144         * soft-fp/fmatf4.c: Likewise.
49146 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49149         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49150         Silvermont.
49151         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49152         macro.
49153         (index_Slow_SSE4_2): Likewise.
49154         (index_Prefer_PMINUB_for_stringop): Likewise.
49155         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49156         bit_Slow_SSE4_2 is set.
49157         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49158         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49160 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49162         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49163         rtld_global._dl_hwcap2.
49164         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49165         POWER8.
49166         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49167         POWER8 feature descriptions defined in _dl_hwcap2.
49168         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49169         string handling for POWER8 feature bits.
49170         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49171         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49172         _dl_powerpc_cap_flags.
49173         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49174         * sysdeps/powerpc/rtld-global-offsets.sym
49175         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49176         _dl_hwcap2 in the rtld_global_ro structure.
49178 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49180         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49181         hardware capabilities in support of AT_HWCAP2.
49182         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49183         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49184         GLRO(dl_hwcap2).
49185         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49186         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49187         explicitly the unknown a_type display mechanism is used.
49188         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49189         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49190         struct member.
49191         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49192         to macro prototype for AT_HWCAP2 support.
49193         * sysdeps/i386/dl-procinfo.h: Likewise.
49194         * sysdeps/s390/dl-procinfo.h: Likewise.
49195         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49196         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49197         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49198         return -1 for unknown a_type display fallback.
49199         * sysdeps/sparc/dl-procinfo.h: Likewise.
49200         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49201         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49203 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49205         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49206         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49208 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49210         [BZ #12492]
49211         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49212         mprotect making __stack_prot writable.
49214 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49215             Joseph Myers  <joseph@codesourcery.com>
49217         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49218         as being properly aligned.
49220 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49222         * dlfcn/modstatic5.c: New file.
49223         * dlfcn/tststatic5.c: New file.
49224         * dlfcn/Makefile (tests): Add tststatic5.
49225         (tests-static): Likewise.
49226         (modules-names): Add modstatic5.
49227         (tststatic5-ENV): New variable.
49228         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49230         [BZ #15022]
49231         * elf/dl-support.c (_dl_main_map): New variable.
49232         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49233         (_dl_nns, _dl_load_adds): Set to 1.
49234         (_dl_initial_searchlist): Refer to _dl_main_map.
49235         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49236         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49237         call to _dl_get_origin.
49238         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49239         around call_map.
49240         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49241         * dlfcn/modstatic3.c: New file.
49242         * dlfcn/tststatic3.c: New file.
49243         * dlfcn/tststatic4.c: New file.
49244         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49245         (tests-static): Likewise.
49246         (modules-names): Add modstatic3.
49247         (tststatic3-ENV, tststatic4-ENV): New variables.
49248         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49249         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49251 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49253         * configure.in (CC): Require GCC version 4.4 or later.
49254         * configure: Regenerated.
49255         * manual/install.texi (Tools for Compilation): Update GCC version
49256         requirement.
49257         * INSTALL: Regenerated.
49259 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49261         [BZ #15674]
49262         * string/test-memcmp.c (check2): New.
49263         (main): Call check2.
49265         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49267 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49269         [BZ #15022]
49270         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49271         over to...
49272         (dl_open_worker) [!SHARED]: ... here.
49274 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49276         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49278 2013-06-25  Richard Henderson  <rth@redhat.com>
49280         * locale/programs/locarchive.c: Include <libc-internal.h>
49282 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49284         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49285         trailing whitespace removed.
49287 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49289         [BZ #10283]
49290         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49291         * locale/programs/locarchive.c: Include libc-mmap.h.
49292         (prepare_address_space): Take two new outputs (the mmap base and len).
49293         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49294         values.
49295         (create_archive): Declare new mmap base and len values for
49296         prepare_address_space, and store the result in ah.
49297         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49298         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49299         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49300         Declare new mmap base and len values for
49301         prepare_address_space, and store the result in new_ah.
49302         (open_archive): Declare new mmap base and len values for
49303         prepare_address_space, and store the result in ah.
49304         (close_archive): If ah->mmap_base is not NULL, use that and
49305         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49306         * sysdeps/generic/libc-mmap.h: New file.
49308 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49310         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49311         (ALIGN_UP): Likewise.
49312         (PTR_ALIGN_DOWN): Likewise.
49313         (PTR_ALIGN_UP): Likewise.
49315 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49317         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49318         entry mapped to PPC_PLATFORM_POWER8.
49319         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49320         POWER8.
49321         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49322         (_dl_string_platform): Add case for exporting platform position for
49323         POWER8.
49324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49325         search path to sysdeps/powerpc/powerpc32/power8 directory.
49326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49327         search path to sysdeps/powerpc/powerpc64/power8 directory.
49328         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49329         power7 directories.
49330         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49331         power7 directories.
49333 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49335         * INSTALL: Regenerate.
49337         * nscd/connections.c (nscd_init): Fix comment.
49339 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49341         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49343         [BZ #15667]
49344         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49345         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49347 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49349         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49350         DL_DST_REQ_STATIC.
49351         (DL_DST_REQ_STATIC): Remove macro.
49353 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49355         [BZ #7006]
49356         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49357         with a shift of 0 bits.
49359 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49361         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49362         $(tststatic-ENV).
49364 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49366         [BZ #15655]
49367         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49369 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49371         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49372         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49373         accepts -fno-tree-loop-distribute-patterns.
49374         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49375         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49376         recursive call.
49377         * string/memset.c (memset): Likewise.
49378         * string/test-memmove.c (simple_memmove): Disable loop transformation
49379         to library calls.
49380         * string/test-memset.c (simple_memset): Likewise.
49381         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49382         * benchtests/bench-memset.c (simple_memset): Likewise.
49383         * configure: Regenerated.
49385 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49387         * math/test-misc.c (main): Ignore fesetround failure when failures
49388         of subsequent rounding tests would be ignored.
49390         [BZ #15654]
49391         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49392         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49393         * math/fegetenv.c (__fegetenv): Return 0.
49394         * math/fegetexcept.c (fegetexcept): Return 0.
49395         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49396         FE_TONEAREST.
49397         * math/feholdexcpt.c (feholdexcept): Return 0.
49398         * math/fesetenv.c (__fesetenv): Return 0.
49399         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49400         argument FE_TONEAREST.
49401         * math/feupdateenv.c (__feupdateenv): Return 0.
49402         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49404 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49406         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49407         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49408         ($(objpfx)rtld-%.os rules): Use them.
49410 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49412         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49413         fields.
49415 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49417         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49418         length of target pattern, then descending length of dependency pattern.
49419         * configure.in (AWK): Require gawk 3.1.2 or newer.
49420         * manual/install.texi (Tools for Compilation): Say that we do.
49421         * configure: Regenerated.
49423         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49424         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49425         * scripts/sysd-rules.awk: ... this new script.
49426         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49427         than a glob-style pattern.
49429 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49431         * math/test-misc.c (main): Do not treat incorrectly rounded
49432         conversions as failure unless ROUNDING_TESTS passes.
49434 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49436         [BZ #15631]
49437         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49438         restore exception state around main square root computation, then
49439         check for inexactness explicitly.
49441         * math/libm-test.inc (fma_test_data): Add another test.
49443 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49445         * manual/threads.texi (Non-POSIX Extensions): New document
49446         node.  Document pthread_getattr_default_np and
49447         pthread_setattr_default_np.
49449         * Versions.def (libpthread): Add GLIBC_2.18.
49450         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49452         Likewise.
49453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49454         Likewise.
49455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49456         Likewise.
49457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49458         Likewise.
49459         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49460         Likewise.
49461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49462         Likewise.
49463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49464         Likewise.
49465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49466         Likewise.
49467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49468         Likewise.
49470 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49473         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49475 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49476             H.J. Lu  <hjl.tools@gmail.com>
49478         [BZ #15627]
49479         * sysdeps/x86_64/rtld-memset.c: Remove file.
49480         * sysdeps/x86_64/rtld-memset.S: New file.
49482 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49484         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49485         (test_in_one_mode): Take arguments for whether the rounding mode
49486         is supported for each floating-point type.
49487         (do_test): Pass new arguments to test_in_one_mode using
49488         ROUNDING_TESTS.
49490 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49492         * posix/tst-waitid.c (do_test): Distinguish different instances of
49493         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49494         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49495         before entering the kernel for waitpid.
49497 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49499         * NEWS: Fix note on clock function precision.  Text by Roland
49500         McGrath.
49502 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49504         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49505         it into place only when and if the sanity check passes.
49507 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49509         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49510         output for whether conversion result is exact.  Take argument
49511         indicating whether type is IBM long double.
49512         (round_for_all): Change need_exact field to ibm_ld.
49513         * stdlib/tst-strtod-round.c (struct exactness): New type.
49514         (struct test): Change bool ld_ok field to struct exactness exact.
49515         (TEST): Update all definitions for change to field.
49516         (tests): Regenerate array contents.
49517         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49518         field value.  Check for IBM long double here.
49519         (do_test): Update calls to test_in_one_mode.
49521 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49523         [BZ #12515]
49524         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49525         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49527 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49529         [BZ #15605]
49530         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49531         generated by the compiler on loop optimizations.
49532         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49533         general definitions.
49535 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49537         * math/bug-nextafter.c: Include <math-tests.h>.
49538         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49539         the relevant type.
49540         * math/bug-nexttoward.c: Include <math-tests.h>.
49541         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49542         the relevant type.
49543         * math/test-misc.c: Include <math-tests.h>.
49544         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49545         the relevant type.
49547 2013-06-12  Andreas Jaeger  <aj@suse.de>
49549         * po/ia.po: Update Interlingua translation from translation
49550         project.
49552 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49554         * include/fenv.h: Include stdbool.h.
49555         (struct rm_ctx): New structure.
49556         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49557         Define macro.
49558         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49559         (SET_RESTORE_ROUNDF): Likewise.
49560         (SET_RESTORE_ROUNDL): Likewise.
49561         (SET_RESTORE_ROUND_NOEX): Likewise.
49562         (SET_RESTORE_ROUND_NOEXF): Likewise.
49563         (SET_RESTORE_ROUND_NOEXL): Likewise.
49564         (SET_RESTORE_ROUND_53BIT): Likewise.
49565         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49566         (libc_feresetround_noexf_ctx): Likewise.
49567         (libc_feresetround_noexl_ctx): Likewise.
49568         (libc_feholdsetround_53bit_ctx): Likewise.
49569         (libc_feresetround_53bit_ctx): Likewise.
49570         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49571         (libc_feholdexcept_setround_sse_ctx): New function.
49572         (libc_fesetenv_sse_ctx): Likewise.
49573         (libc_feupdateenv_sse_ctx): Likewise.
49574         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49575         (libc_feholdexcept_setround_387_ctx): Likewise.
49576         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49577         (libc_feholdsetround_387_prec_ctx): Likewise.
49578         (libc_feholdsetround_387_ctx): Likewise.
49579         (libc_feholdsetround_387_53bit_ctx): Likewise.
49580         (libc_feholdsetround_sse_ctx): Likewise.
49581         (libc_feresetround_sse_ctx): Likewise.
49582         (libc_feresetround_387_ctx): Likewise.
49583         (libc_feupdateenv_387_ctx): Likewise.
49584         (libc_feholdexcept_setroundf_ctx): Define macro.
49585         (libc_fesetenvf_ctx): Likewise.
49586         (libc_feupdateenvf_ctx): Likewise.
49587         (libc_feholdsetroundf_ctx): Likewise.
49588         (libc_feresetroundf_ctx): Likewise.
49589         (libc_feholdexcept_setround_ctx): Likewise.
49590         (libc_fesetenv_ctx): Likewise.
49591         (libc_feupdateenv_ctx): Likewise.
49592         (libc_feholdsetround_ctx): Likewise.
49593         (libc_feresetround_ctx): Likewise.
49594         (libc_feholdexcept_setroundl_ctx): Likewise.
49595         (libc_feupdateenvl_ctx): Likewise.
49596         (libc_feholdsetroundl_ctx): Likewise.
49597         (libc_feresetroundl_ctx): Likewise.
49598         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49599         (libc_feresetround_53bit_ctx): Likewise.
49601 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49603         * locale/iso-639.def: Convert to UTF-8.
49605 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49607         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49608         (EXCEPTION_TESTS_double): Likewise.
49609         (EXCEPTION_TESTS_long_double): Likewise.
49610         (EXCEPTION_TESTS): Likewise.
49611         * math/libm-test.inc (test_exceptions): Only test exceptions if
49612         EXCEPTION_TESTS (FLOAT).
49614 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49616         * benchtests/Makefile (string-bench): Add strcpy_chk and
49617         stpcpy_chk.
49618         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49619         * benchtests/bench-stpcpy_chk.c: New file.
49620         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49621         * benchtests/bench-strcpy_chk.c: New file.
49622         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49623         code.
49624         (do_test): Likewise.
49626 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49628         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49629         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49630         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49631         with tabs where appropriate.
49632         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49633         dl-procinfo.h.
49634         [PPC_PLATFORM_PPC440]: Likewise.
49635         [PPC_PLATFORM_PPC464]: Likewise.
49636         [PPC_PLATFORM_PPC476]: Likewise.
49637         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49638         ppc464, and ppc476 platform strings merging from ports/
49639         dl-procinfo.h.
49641 2013-06-11  Andreas Schwab  <schwab@suse.de>
49643         [BZ #14991]
49644         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49645         (from_ucs4_idx): Regenerate.
49646         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49647         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49648         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49649         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49650         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49651         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49652         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49653         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49654         from FROM_LOOP and TO_LOOP specific macros.
49655         (BODY): Handle combining characters.
49656         * iconvdata/BIG5HKSCS.irreversible: Update.
49657         * iconvdata/BIG5HKSCS.precomposed: New file.
49658         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49659         characters.
49660         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49662 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49664         * include/sys/time.h: Fix indentation and add copyright header.
49666         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49667         (do_test): Likewise.
49668         * string/test-memchr.c (do_one_test): Likewise.
49669         (do_test): Likewise.
49670         * string/test-memcmp.c (do_one_test): Likewise.
49671         (do_test): Likewise.
49672         * string/test-memcpy.c (do_one_test): Likewise.
49673         (do_test): Likewise.
49674         * string/test-memmem.c (do_one_test): Likewise.
49675         (do_test): Likewise.
49676         (do_random_tests): Likewise.
49677         * string/test-memmove.c (do_one_test): Likewise.
49678         (do_test): Likewise.
49679         * string/test-memset.c (do_one_test): Likewise.
49680         (do_test): Likewise.
49681         * string/test-rawmemchr.c (do_one_test): Likewise.
49682         (do_test): Likewise.
49683         * string/test-strcasecmp.c (do_one_test): Likewise.
49684         (do_test): Likewise.
49685         * string/test-strcasestr.c (do_one_test): Likewise.
49686         (do_test): Likewise.
49687         * string/test-strcat.c (do_one_test): Likewise.
49688         (do_test): Likewise.
49689         * string/test-strchr.c (do_one_test): Likewise.
49690         (do_test): Likewise.
49691         * string/test-strcmp.c (do_one_test): Likewise.
49692         (do_test): Likewise.
49693         * string/test-strcpy.c (do_one_test): Likewise.
49694         (do_test): Likewise.
49695         * string/test-string.h: Likewise.
49696         (test_init): Likewise.
49697         * string/test-strlen.c (do_one_test): Likewise.
49698         (do_test): Likewise.
49699         * string/test-strncasecmp.c (do_one_test): Likewise.
49700         (do_test): Likewise.
49701         * string/test-strncat.c (do_one_test): Likewise.
49702         (do_test): Likewise.
49703         * string/test-strncmp.c (do_one_test): Likewise.
49704         (do_test_limit): Likewise.
49705         (do_test): Likewise.
49706         * string/test-strncpy.c (do_one_test): Likewise.
49707         (do_test): Likewise.
49708         * string/test-strnlen.c (do_one_test): Likewise.
49709         (do_test): Likewise.
49710         * string/test-strpbrk.c (do_one_test): Likewise.
49711         (do_test): Likewise.
49712         * string/test-strrchr.c (do_one_test): Likewise.
49713         (do_test): Likewise.
49714         * string/test-strspn.c (do_one_test): Likewise.
49715         (do_test): Likewise.
49716         * string/test-strstr.c (do_one_test): Likewise.
49717         (do_test): Likewise.
49719         * benchtests/Makefile (string-bench): Add string benchmarks.
49720         * benchtests/bench-bcopy-ifunc.c: New file.
49721         * benchtests/bench-bcopy.c: New file.
49722         * benchtests/bench-bzero-ifunc.c: New file.
49723         * benchtests/bench-bzero.c: New file.
49724         * benchtests/bench-memccpy-ifunc.c: New file.
49725         * benchtests/bench-memccpy.c: New file.
49726         * benchtests/bench-memchr-ifunc.c: New file.
49727         * benchtests/bench-memchr.c: New file.
49728         * benchtests/bench-memcmp-ifunc.c: New file.
49729         * benchtests/bench-memcmp.c: New file.
49730         * benchtests/bench-memmem-ifunc.c: New file.
49731         * benchtests/bench-memmem.c: New file.
49732         * benchtests/bench-memmove-ifunc.c: New file.
49733         * benchtests/bench-memmove.c: New file.
49734         * benchtests/bench-mempcpy-ifunc.c: New file.
49735         * benchtests/bench-mempcpy.c: New file.
49736         * benchtests/bench-memset-ifunc.c: New file.
49737         * benchtests/bench-memset.c: New file.
49738         * benchtests/bench-rawmemchr-ifunc.c: New file.
49739         * benchtests/bench-rawmemchr.c: New file.
49740         * benchtests/bench-stpcpy-ifunc.c: New file.
49741         * benchtests/bench-stpcpy.c: New file.
49742         * benchtests/bench-stpncpy-ifunc.c: New file.
49743         * benchtests/bench-stpncpy.c: New file.
49744         * benchtests/bench-strcasecmp-ifunc.c: New file.
49745         * benchtests/bench-strcasecmp.c: New file.
49746         * benchtests/bench-strcasestr-ifunc.c: New file.
49747         * benchtests/bench-strcasestr.c: New file.
49748         * benchtests/bench-strcat-ifunc.c: New file.
49749         * benchtests/bench-strcat.c: New file.
49750         * benchtests/bench-strchr-ifunc.c: New file.
49751         * benchtests/bench-strchr.c: New file.
49752         * benchtests/bench-strchrnul-ifunc.c: New file.
49753         * benchtests/bench-strchrnul.c: New file.
49754         * benchtests/bench-strcmp-ifunc.c: New file.
49755         * benchtests/bench-strcmp.c: New file.
49756         * benchtests/bench-strcpy-ifunc.c: New file.
49757         * benchtests/bench-strcpy.c: New file.
49758         * benchtests/bench-strcspn-ifunc.c: New file.
49759         * benchtests/bench-strcspn.c: New file.
49760         * benchtests/bench-strlen-ifunc.c: New file.
49761         * benchtests/bench-strlen.c: New file.
49762         * benchtests/bench-strncasecmp-ifunc.c: New file.
49763         * benchtests/bench-strncasecmp.c: New file.
49764         * benchtests/bench-strncat-ifunc.c: New file.
49765         * benchtests/bench-strncat.c: New file.
49766         * benchtests/bench-strncmp-ifunc.c: New file.
49767         * benchtests/bench-strncmp.c: New file.
49768         * benchtests/bench-strncpy-ifunc.c: New file.
49769         * benchtests/bench-strncpy.c: New file.
49770         * benchtests/bench-strnlen-ifunc.c: New file.
49771         * benchtests/bench-strnlen.c: New file.
49772         * benchtests/bench-strpbrk-ifunc.c: New file.
49773         * benchtests/bench-strpbrk.c: New file.
49774         * benchtests/bench-strrchr-ifunc.c: New file.
49775         * benchtests/bench-strrchr.c: New file.
49776         * benchtests/bench-strspn-ifunc.c: New file.
49777         * benchtests/bench-strspn.c: New file.
49778         * benchtests/bench-strstr-ifunc.c: New file.
49779         * benchtests/bench-strstr.c: New file.
49781         * benchtests/Makefile: Disable parallel execution of targets.
49782         (string-bench): Add memcpy.
49783         (benchset): New variable to store a list of benchmark sets.
49784         (bench-func): Renamed from bench.
49785         (bench-set): New target.
49786         (bench): Depend on bench-func and bench-set.
49787         * benchtests/README: Add section on benchmark sets.
49788         * benchtests/bench-memcpy-ifunc.c: New file.
49789         * benchtests/bench-memcpy.c: New file.
49790         * benchtests/bench-string.h: New file.
49792 2013-06-11  Andreas Schwab  <schwab@suse.de>
49794         [BZ #15577]
49795         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49796         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49797         values in the triple.
49798         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49799         terminator in the group key.
49801 2013-06-11  Andreas Jaeger  <aj@suse.de>
49803         * po/zh_TW.po: Update Chinese (traditional) translation from
49804         translation project.
49806 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49808         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49809         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49810         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49811         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49812         (clock_getcpuclockid): Likewise.
49813         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49814         Add weak_alias and libc_hidden_def.
49815         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49816         * rt/clock_gettime.c (clock_gettime): Rename to
49817         __clock_gettime.  Add weak_alias and libc_hidden_def.
49818         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49819         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49820         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49821         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49822         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49823         Likewise.
49824         * rt/clock_settime.c (clock_settime): Rename to
49825         __clock_settime.  Add weak_alias and libc_hidden_def.
49826         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49828 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49830         * mach/err_boot.sub: Remove trailing whitespace.
49831         * mach/err_ipc.sub: Likewise.
49832         * mach/err_mach.sub: Likewise.
49834         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49835         (ROUNDING_TESTS_double): Likewise.
49836         (ROUNDING_TESTS_long_double): Likewise.
49837         (ROUNDING_TESTS): Likewise.
49838         * math/libm-test.inc: Include <math-tests.h>.
49839         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49840         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49841         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49842         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49844 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49846         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49847         of assigning.
49849 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49851         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49852         otherwise empty TRANS lines.
49853         * sysdeps/gnu/errlist.c: Regenerated.
49855         * catgets/gencat.c (error_print): Use (void) in function
49856         definition.
49857         * crypt/crypt_util.c (__init_des): Likewise.
49858         * crypt/speeds.c (Stop): Likewise.
49859         (main): Likewise.
49860         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49861         * inet/ruserpass.c (token): Likewise.
49862         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49863         * intl/localealias.c (extend_alias_table): Likewise.
49864         * intl/plural-exp.c (init_germanic_plural): Likewise.
49865         * libio/fcloseall.c (__fcloseall): Likewise.
49866         * libio/genops.c (_IO_flush_all): Likewise.
49867         (_IO_flush_all_linebuffered): Likewise.
49868         (_IO_cleanup): Likewise.
49869         (_IO_iter_begin): Likewise.
49870         (_IO_iter_end): Likewise.
49871         (_IO_list_lock): Likewise.
49872         (_IO_list_unlock): Likewise.
49873         (_IO_list_resetlock): Likewise.
49874         * libio/getchar.c (getchar): Likewise.
49875         * libio/getchar_u.c (getchar_unlocked): Likewise.
49876         * libio/getwchar.c (getwchar): Likewise.
49877         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49878         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49879         * login/getpt.c (__getpt): Likewise.
49880         * login/tst-utmp.c (main): Likewise.
49881         * malloc/hooks.c (__malloc_check_init): Likewise.
49882         * malloc/malloc.c (__malloc_stats): Likewise.
49883         * malloc/mtrace.c (tr_break): Likewise.
49884         (mtrace): Likewise.
49885         (muntrace): Likewise.
49886         * misc/fstab.c (endfsent): Likewise.
49887         * misc/getclktck.c (__getclktck): Likewise.
49888         * misc/getdtsz.c (__getdtablesize): Likewise.
49889         * misc/gethostid.c (gethostid): Likewise.
49890         * misc/getpagesize.c (__getpagesize): Likewise.
49891         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49892         (__get_nprocs): Likewise.
49893         (__get_phys_pages): Likewise.
49894         (__get_avphys_pages): Likewise.
49895         * misc/getttyent.c (getttyent): Likewise.
49896         (setttyent): Likewise.
49897         (endttyent): Likewise.
49898         * misc/getusershell.c (getusershell): Likewise.
49899         (endusershell): Likewise.
49900         (setusershell): Likewise.
49901         (initshells): Likewise.
49902         * misc/hsearch.c (__hdestroy): Likewise.
49903         * misc/sync.c (sync): Likewise.
49904         * misc/syslog.c (closelog_internal): Likewise.
49905         (closelog): Likewise.
49906         * misc/ttyslot.c (ttyslot): Likewise.
49907         * misc/vhangup.c (vhangup): Likewise.
49908         * posix/fork.c (__fork): Likewise.
49909         * posix/getegid.c (__getegid): Likewise.
49910         * posix/geteuid.c (__geteuid): Likewise.
49911         * posix/getgid.c (__getgid): Likewise.
49912         * posix/getpid.c (__getpid): Likewise.
49913         * posix/getppid.c (__getppid): Likewise.
49914         * posix/getuid.c (__getuid): Likewise.
49915         * posix/pause.c (pause): Likewise.
49916         * posix/setpgrp.c (setpgrp): Likewise.
49917         * posix/setsid.c (__setsid): Likewise.
49918         * posix/test-vfork.c (noop): Likewise.
49919         * resolv/gethnamaddr.c (_endhtent): Likewise.
49920         (_gethtent): Likewise.
49921         (ht_endhostent): Likewise.
49922         (gethostent): Likewise.
49923         (dns_service): Likewise.
49924         * stdlib/drand48.c (drand48): Likewise.
49925         * stdlib/lrand48.c (lrand48): Likewise.
49926         * stdlib/mrand48.c (mrand48): Likewise.
49927         * stdlib/rand.c (rand): Likewise.
49928         * stdlib/random.c (__random): Likewise.
49929         * stdlib/setenv.c (clearenv): Likewise.
49930         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49931         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49932         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49933         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49934         (__get_nprocs): Likewise.
49935         (__get_phys_pages): Likewise.
49936         (__get_avphys_pages): Likewise.
49937         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49938         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49939         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49940         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49941         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49942         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49943         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49944         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49945         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49946         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49947         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49948         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49949         * sysdeps/posix/clock.c (clock): Likewise.
49950         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49951         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49952         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49953         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49954         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49955         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49956         (__get_nprocs_conf): Likewise.
49957         (__get_phys_pages): Likewise.
49958         (__get_avphys_pages): Likewise.
49959         * time/clock.c (clock): Likewise.
49960         * time/tzset.c (__tzname_max): Likewise.
49962 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49964         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49965         (__bswap_32): Do not use "register".
49966         * crypt/crypt.c (_ufc_doit_r): Likewise.
49967         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49968         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49969         * gmon/gmon.c (__monstartup): Likewise.
49970         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49971         * hurd/hurdmalloc.c (more_memory): Likewise.
49972         (malloc): Likewise.
49973         (free): Likewise.
49974         (realloc): Likewise.
49975         (malloc_fork_prepare): Likewise.
49976         (malloc_fork_parent): Likewise.
49977         (malloc_fork_child): Likewise.
49978         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49979         (_svcauth_des): Likewise.
49980         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49981         * inet/inet_net.c (inet_network): Likewise.
49982         * inet/inet_netof.c (inet_netof): Likewise.
49983         * inet/rcmd.c (__validuser2_sa): Likewise.
49984         * io/fts.c (fts_open): Likewise.
49985         (fts_load): Likewise.
49986         (fts_close): Likewise.
49987         (fts_read): Likewise.
49988         (fts_children): Likewise.
49989         (fts_build): Likewise.
49990         (fts_stat): Likewise.
49991         (fts_sort): Likewise.
49992         (fts_alloc): Likewise.
49993         (fts_lfree): Likewise.
49994         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49995         (_IO_file_xsgetn): Likewise.
49996         (_IO_file_xsgetn_mmap): Likewise.
49997         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49998         (_IO_cookie_write): Likewise.
49999         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50000         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50001         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50002         * malloc/obstack.c (_obstack_begin): Likewise.
50003         (_obstack_begin_1): Likewise.
50004         (_obstack_newchunk): Likewise.
50005         (_obstack_allocated_p): Likewise.
50006         (obstack_free): Likewise.
50007         (_obstack_memory_used): Likewise.
50008         * misc/getttyent.c (getttynam): Likewise.
50009         (getttyent): Likewise.
50010         (skip): Likewise.
50011         (value): Likewise.
50012         * misc/getusershell.c (initshells): Likewise.
50013         * misc/syslog.c (__vsyslog_chk): Likewise.
50014         * misc/ttyslot.c (ttyslot): Likewise.
50015         * nis/nis_hash.c (__nis_hash): Likewise.
50016         * posix/fnmatch_loop.c (FCT): Likewise.
50017         * posix/getconf.c (print_all): Likewise.
50018         (main): Likewise.
50019         * posix/getopt.c (exchange): Likewise.
50020         * posix/glob.c (globfree): Likewise.
50021         (prefix_array): Likewise.
50022         (__glob_pattern_type): Likewise.
50023         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50024         (NS_GET32): Likewise.
50025         (NS_PUT16): Likewise.
50026         (NS_PUT32): Likewise.
50027         * resolv/gethnamaddr.c (getanswer): Likewise.
50028         (gethostbyname2): Likewise.
50029         (gethostbyaddr): Likewise.
50030         (_gethtent): Likewise.
50031         (_gethtbyname2): Likewise.
50032         (_gethtbyaddr): Likewise.
50033         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50034         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50035         * resolv/res_init.c (__res_vinit): Likewise.
50036         (net_mask): Likewise.
50037         * resolv/res_mkquery.c (outchar): Likewise.
50038         (PRINT): Likewise.
50039         * stdio-common/printf_fp.c (outchar): Likewise.
50040         (PRINT): Likewise.
50041         * stdio-common/printf_fphex.c (outchar): Likewise.
50042         (PRINT): Likewise.
50043         * stdio-common/printf_size.c (outchar): Likewise.
50044         (PRINT): Likewise.
50045         * stdio-common/test_rdwr.c (main): Likewise.
50046         * stdio-common/tfformat.c (matches): Likewise.
50047         * stdio-common/vfprintf.c (outchar): Likewise.
50048         (printf_unknown): Likewise.
50049         (buffered_vfprintf): Likewise.
50050         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50051         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50052         (ReadFile): Likewise.
50053         * stdlib/qsort.c (SWAP): Likewise.
50054         (_quicksort): Likewise.
50055         * stdlib/setenv.c (__add_to_environ): Likewise.
50056         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50057         * stdlib/strtol_l.c (__strtol_l): Likewise.
50058         * stdlib/tst-strtod.c (main): Likewise.
50059         * stdlib/tst-strtol.c (main): Likewise.
50060         * stdlib/tst-strtoll.c (main): Likewise.
50061         * string/bits/string2.h (__strcmp_cc): Likewise.
50062         (__strcmp_cg): Likewise.
50063         (__strcspn_c1): Likewise.
50064         (__strcspn_c2): Likewise.
50065         (__strcspn_c3): Likewise.
50066         (__strspn_c1): Likewise.
50067         (__strspn_c2): Likewise.
50068         (__strspn_c3): Likewise.
50069         (__strsep_1c): Likewise.
50070         (__strsep_2c): Likewise.
50071         (__strsep_3c): Likewise.
50072         * string/memccpy.c (__memccpy): Likewise.
50073         * string/stpcpy.c (__stpcpy): Likewise.
50074         * string/strcmp.c (strcmp): Likewise.
50075         * string/strrchr.c (strrchr): Likewise.
50076         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50077         Likewise.
50078         * sysdeps/mach/hurd/getcwd.c
50079         (_hurd_canonicalize_directory_name_internal): Likewise.
50080         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50081         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50082         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50083         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50084         Likewise, in both definitions.
50085         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50086         definitions.
50087         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50088         64] (__bswap_64): Likewise.
50089         * time/test_time.c (main): Likewise.
50090         * time/tzfile.c (__tzfile_read): Likewise.
50091         (__tzfile_compute): Likewise.
50092         * time/tzset.c (__tzset_parse_tz): Likewise.
50093         (tzset_internal): Likewise.
50094         (compute_change): Likewise.
50095         * wcsmbs/wcscat.c (__wcscat): Likewise.
50096         * wcsmbs/wcschr.c (wcschr): Likewise.
50097         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50098         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50099         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50100         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50101         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50102         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50103         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50104         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50105         * wcsmbs/wmemset.c (wmemset): Likewise.
50107 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50109         * scripts/config.guess: Update to version 2013-05-16.
50110         * scripts/config.sub: Update to version 2013-04-24.
50111         * scripts/install-sh: Update to version 2011-11-20.07.
50112         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50113         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50115 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50117         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50118         * elf/sln.c: Likewise.
50119         * hurd/hurd/ioctl.h: Likewise.
50120         * hurd/hurdmalloc.c: Likewise.
50121         * hurd/xattr.c: Likewise.
50122         * include/shlib-compat.h: Likewise.
50123         * inet/ruserpass.c: Likewise.
50124         * libio/iofgets_u.c: Likewise.
50125         * libio/iofgetws_u.c: Likewise.
50126         * locale/programs/ld-identification.c: Likewise.
50127         * locale/programs/ld-time.c: Likewise.
50128         * mach/msg-destroy.c: Likewise.
50129         * nss/nss_files/files-netgrp.c: Likewise.
50130         * resolv/res_data.c: Likewise.
50131         * soft-fp/op-1.h: Likewise.
50132         * soft-fp/op-2.h: Likewise.
50133         * soft-fp/op-4.h: Likewise.
50134         * soft-fp/op-common.h: Likewise.
50135         * stdio-common/printf_fphex.c: Likewise.
50136         * stdlib/strtod_l.c: Likewise.
50137         * sunrpc/rpc/clnt.h: Likewise.
50138         * sysdeps/generic/framestate.c: Likewise.
50139         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50140         * sysdeps/i386/bsd-setjmp.S: Likewise.
50141         * sysdeps/i386/__longjmp.S: Likewise.
50142         * sysdeps/i386/setjmp.S: Likewise.
50143         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50144         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50145         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50146         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50148         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50149         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50150         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50151         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50152         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50153         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50154         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50155         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50156         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50157         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50158         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50159         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50160         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50161         * sysdeps/ieee754/support.c: Likewise.
50162         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50163         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50164         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50165         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50166         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50167         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50168         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50169         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50170         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50171         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50172         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50173         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50174         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50175         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50176         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50177         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50178         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50181 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50183         * posix/transbug.c: Remove executable mode.
50185 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50187         * crypt/speeds.c: Remove trailing whitespace.
50188         * dlfcn/default.c: Likewise.
50189         * elf/ifuncdep2.c: Likewise.
50190         * elf/ifuncmain1.c: Likewise.
50191         * elf/ifuncmain1vis.c: Likewise.
50192         * elf/testobj.h: Likewise.
50193         * elf/tst-stackguard1.c: Likewise.
50194         * gmon/sys/gmon.h: Likewise.
50195         * hurd/hurdmsg.c: Likewise.
50196         * hurd/new-fd.c: Likewise.
50197         * hurd/ports-get.c: Likewise.
50198         * iconvdata/ibm1008_420.c: Likewise.
50199         * inet/tst-getni1.c: Likewise.
50200         * inet/tst-getni2.c: Likewise.
50201         * libio/ioungetc.c: Likewise.
50202         * libio/wfiledoalloc.c: Likewise.
50203         * manual/libm-err-tab.pl: Likewise.
50204         * math/w_dremf.c: Likewise.
50205         * misc/ftruncate.c: Likewise.
50206         * posix/bug-glob2.c: Likewise.
50207         * posix/tst-pcre.c: Likewise.
50208         * posix/wait4.c: Likewise.
50209         * resolv/README: Likewise.
50210         * resolv/res_debug.h: Likewise.
50211         * resolv/tst-inet_ntop.c: Likewise.
50212         * setjmp/bug269-setjmp.c: Likewise.
50213         * soft-fp/extended.h: Likewise.
50214         * soft-fp/op-1.h: Likewise.
50215         * soft-fp/op-2.h: Likewise.
50216         * soft-fp/op-4.h: Likewise.
50217         * soft-fp/op-8.h: Likewise.
50218         * soft-fp/testit.c: Likewise.
50219         * stdio-common/bug16.c: Likewise.
50220         * stdlib/random.c: Likewise.
50221         * sunrpc/rpcsvc/rquota.x: Likewise.
50222         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50223         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50224         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50225         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50226         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50227         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50228         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50229         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50230         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50231         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50232         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50233         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50234         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50235         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50236         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50237         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50238         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50239         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50240         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50241         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50242         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50243         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50244         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50245         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50246         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50247         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50248         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50250         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50251         * sysdeps/ieee754/s_lib_version.c: Likewise.
50252         * sysdeps/mach/hurd/check_fds.c: Likewise.
50253         * sysdeps/mach/hurd/getsockname.c: Likewise.
50254         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50255         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50256         * sysdeps/powerpc/bits/link.h: Likewise.
50257         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50258         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50259         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50260         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50261         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50262         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50263         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50264         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50265         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50266         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50267         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50268         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50269         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50270         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50271         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50272         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50273         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50274         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50275         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50276         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50277         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50278         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50279         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50280         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50281         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50282         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50283         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50284         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50285         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50286         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50287         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50288         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50289         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50290         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50291         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50292         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50293         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50294         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50295         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50296         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50297         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50298         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50299         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50300         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50301         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50302         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50303         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50304         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50305         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50306         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50307         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50308         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50309         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50310         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50311         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50312         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50313         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50314         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50315         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50316         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50317         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50318         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50319         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50320         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50321         * sysdeps/powerpc/sysdep.h: Likewise.
50322         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50323         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50324         * sysdeps/sh/dl-trampoline.S: Likewise.
50325         * sysdeps/sh/memset.S: Likewise.
50326         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50327         * sysdeps/sh/strlen.S: Likewise.
50328         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50329         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50330         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50331         * sysdeps/sparc/sparc32/rem.S: Likewise.
50332         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50333         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50334         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50335         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50336         * sysdeps/sparc/sparc32/urem.S: Likewise.
50337         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50338         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50339         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50340         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50341         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50342         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50343         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50344         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50345         * sysdeps/unix/bsd/times.c: Likewise.
50346         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50347         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50351         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50352         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50353         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50354         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50355         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50356         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50357         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50358         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50359         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50360         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50361         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50362         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50363         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50364         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50365         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50366         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50367         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50368         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50369         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50370         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50371         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50372         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50373         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50374         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50375         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50376         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50377         * sysdeps/x86_64/strcspn.S: Likewise.
50379 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50381         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50382         generated file.  Regenerate properly from gen-translit.pl.
50383         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50384         locale/C-translit.h.
50386 2013-06-05  Andreas Schwab  <schwab@suse.de>
50388         [BZ #15100]
50389         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50390         week as 6 instead of -1.
50391         * time/tst-strptime.c (day_tests): Add test case.
50393 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50395         * sysdeps/generic/math_private.h
50396         (libc_feholdexcept_setround_53bit): Replace with
50397         libc_feholdsetround_53bit.
50398         (libc_feupdateenv_53bit): Replace with
50399         libc_feresetround_53bit.
50400         (SET_RESTORE_ROUND_53BIT): Adjust.
50402 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50404         * string/test-strchrnul.c: Add copyright header.
50406         * posix/tst-getaddrinfo4.c: Increase test timeout.
50408 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50410         [BZ #15536]
50411         * math/libm-test.inc (MAX_EXP): Remove
50412         (MIN_EXP): Define.
50413         (ulp): Use MIN_EXP - MANT_DIG.
50414         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50416 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50418         * po/be.po: Revert last change.
50419         * po/zh_CN.po: Likewise.
50420         * po/header.pot: Likewise.
50422 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50424         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50425         link-libc-deps to empty as target-specific variable.
50426         * Makerules (link-libc-args): New variable.
50427         (libc-for-link): Likewise.
50428         (link-libc-deps): Likewise.
50429         (lib%.so): Depend on $(link-libc-deps).  Link with
50430         $(link-libc-args).
50431         (build-module): Link with $(link-libc-args).
50432         (build-module-asneeded): Likewise.
50433         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50434         list of objects.
50435         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50436         target-specific variable.
50437         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50438         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50439         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50440         libc.
50441         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50442         libc and ld.so.
50443         ($(objpfx)libpcprofile.so): Likewise.
50444         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50445         libc_nonshared.a.
50446         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50447         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50448         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50449         $(link-libc-deps).
50450         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50451         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50452         * login/Makefile ($(objpfx)libutil.so): Likewise.
50453         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50454         * math/Makefile ($(objpfx)libm.so): Likewise.
50455         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50456         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50457         variable instead of depending directly on libc.
50458         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50459         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50460         $(link-libc-deps).
50461         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50462         libc.
50463         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50464         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50465         ($(objpfx)libanl.so): Likewise.
50466         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50467         ld.so.
50468         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50469         $(link-libc-deps).
50470         * sysdeps/i386/fpu/Makefile: Remove file.
50471         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50472         ($(objpfx)libm.so): Remove dependency on ld.so.
50474 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50476         [BZ # 15553]
50477         * nis/yp_xdr.c (XDRMAXNAME): Define.
50478         (XDRMAXRECORD): Define.
50479         (xdr_domainname): Use XDRMAXNAME.
50480         (xdr_mapname): Likewise.
50481         (xdr_peername): Likewise.
50482         (xdr_keydat): Use XDRMAXRECORD.
50483         (xdr_valdat): Likewise.
50485 2013-05-30  Jeff Law  <law@redhat.com>
50487         [BZ #14256]
50488         * manual/errno.texi (ESTALE): Update to account for more than
50489         just NFS file systems.
50490         * sysdeps/gnu/errlist.c: Regenerated.
50492 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50494         [BZ #15465]
50495         * elf/Makefile (tests): Add tst-null-argv.
50496         (modules-names):  Add tst-null-argv-lib.
50497         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50498         (tst-null-argv-ENV): Set environment for tst-null-argv.
50499         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50500         (RTLD_PROGNAME): New macro.
50501         * elf/tst-null-argv.c: New test case.
50502         * elf/tst-null-argv-lib.c: Library for test case.
50503         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50504         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50505         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50506         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50507         * elf/dl-init.c (call_init): Likewise.
50508         (_dl_init): Likewise.
50509         * elf/dl-load.c (print_search_path): Likewise.
50510         (_dl_map_object): Likewise.
50511         * elf/dl-lookup.c (do_lookup_x): Likewise.
50512         (add_dependency): Likewise.
50513         (_dl_lookup_symbol_x): Likewise.
50514         (_dl_debug_bindings): Likewise.
50515         * elf/dl-open.c (_dl_show_scope): Likewise.
50516         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50517         * elf/dl-version.c (match_symbol): Likewise.
50518         (_dl_check_map_versions): Likewise.
50519         * elf/rtld.c (dl_main): Likewise.
50520         (print_unresolved): Use RTLD_PROGNAME.
50521         (print_missing_version): Likewise.
50522         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50523         (elf_machine_rela): Likewise.
50524         * sysdeps/powerpc/powerpc32/dl-machine.c
50525         (__process_machine_rela): Likewise.
50526         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50527         Likewise.
50528         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50529         Likewise.
50530         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50531         Likewise.
50532         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50533         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50534         Likewise.
50535         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50536         Likewise.
50537         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50539 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50541         * po/be.po: Add descriptive title.
50542         * po/zh_CN.po: Likewise.
50543         * po/header.pot: Likewise.
50545 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50547         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50548         error message.
50549         (enlarge_archive): Likewise.
50551 2013-05-28  Ben North  <ben@redfrontdoor.org>
50553         * manual/arith.texi (frexp): It is the magnitude of the return
50554         value which lies in [0.5, 1), not the return value itself.
50556 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50560 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50562         * stdio-common/bug26.c (main): Correct fscanf template.
50564         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50565         declare _dl_skip_args.
50567         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50568         Don't declare.
50570         * manual/platform.texi: Add missing @end deftypefun.
50572 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50574         [BZ #15529]
50575         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50576         bit of mantissa of 2^16382.
50577         * math/libm-test.inc (hypot_test_data): Add more tests.
50579         * math/libm-test.inc: Add drem and pow10 to list of tested
50580         functions.
50581         (pow10_test): New function.
50582         (drem_test): Likewise.
50583         (drem_test_tonearest): Likewise.
50584         (drem_test_towardzero): Likewise.
50585         (drem_test_downward): Likewise.
50586         (drem_test_upward): Likewise.
50587         (main): Call the new functions.
50589         * math/libm-test.inc (finite_test_data): Remove.
50590         (finite_test): Run tests from isfinite_test_data.
50591         (gamma_test_data): Remove.
50592         (gamma_test): Run tests from lgamma_test_data.
50593         * sysdeps/i386/fpu/libm-test-ulps: Update.
50594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50596 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50598         * manual/platform.texi: Add PowerPC PPR function set documentation.
50599         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50600         implementation.
50602 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50604         * math/libm-test.inc (MAX_EXP): Define.
50605         (ULPDIFF): Define.
50606         (ulp): New function.
50607         (check_float_internal): Use ULPDIFF.
50608         (cpow_test): Disable failing test.
50609         (check_ulp): Test ulp() implemetnation.
50610         (main): Call check_ulp before starting tests.
50612 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50614         * math/gen-libm-test.pl (generate_testfile): Do not handle
50615         START_DATA and END_DATA.
50616         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50617         END_DATA.
50618         (acos_tonearest_test_data): Likewise.
50619         (acos_towardzero_test_data): Likewise.
50620         (acos_downward_test_data): Likewise.
50621         (acos_upward_test_data): Likewise.
50622         (acosh_test_data): Likewise.
50623         (asin_test_data): Likewise.
50624         (asin_tonearest_test_data): Likewise.
50625         (asin_towardzero_test_data): Likewise.
50626         (asin_downward_test_data): Likewise.
50627         (asin_upward_test_data): Likewise.
50628         (asinh_test_data): Likewise.
50629         (atan_test_data): Likewise.
50630         (atanh_test_data): Likewise.
50631         (atan2_test_data): Likewise.
50632         (cabs_test_data): Likewise.
50633         (cacos_test_data): Likewise.
50634         (cacosh_test_data): Likewise.
50635         (carg_test_data): Likewise.
50636         (casin_test_data): Likewise.
50637         (casinh_test_data): Likewise.
50638         (catan_test_data): Likewise.
50639         (catanh_test_data): Likewise.
50640         (cbrt_test_data): Likewise.
50641         (ccos_test_data): Likewise.
50642         (ccosh_test_data): Likewise.
50643         (ceil_test_data): Likewise.
50644         (cexp_test_data): Likewise.
50645         (cimag_test_data): Likewise.
50646         (clog_test_data): Likewise.
50647         (clog10_test_data): Likewise.
50648         (conj_test_data): Likewise.
50649         (copysign_test_data): Likewise.
50650         (cos_test_data): Likewise.
50651         (cos_tonearest_test_data): Likewise.
50652         (cos_towardzero_test_data): Likewise.
50653         (cos_downward_test_data): Likewise.
50654         (cos_upward_test_data): Likewise.
50655         (cosh_test_data): Likewise.
50656         (cosh_tonearest_test_data): Likewise.
50657         (cosh_towardzero_test_data): Likewise.
50658         (cosh_downward_test_data): Likewise.
50659         (cosh_upward_test_data): Likewise.
50660         (cpow_test_data): Likewise.
50661         (cproj_test_data): Likewise.
50662         (creal_test_data): Likewise.
50663         (csin_test_data): Likewise.
50664         (csinh_test_data): Likewise.
50665         (csqrt_test_data): Likewise.
50666         (ctan_test_data): Likewise.
50667         (ctan_tonearest_test_data): Likewise.
50668         (ctan_towardzero_test_data): Likewise.
50669         (ctan_downward_test_data): Likewise.
50670         (ctan_upward_test_data): Likewise.
50671         (ctanh_test_data): Likewise.
50672         (ctanh_tonearest_test_data): Likewise.
50673         (ctanh_towardzero_test_data): Likewise.
50674         (ctanh_downward_test_data): Likewise.
50675         (ctanh_upward_test_data): Likewise.
50676         (erf_test_data): Likewise.
50677         (erfc_test_data): Likewise.
50678         (exp_test_data): Likewise.
50679         (exp_tonearest_test_data): Likewise.
50680         (exp_towardzero_test_data): Likewise.
50681         (exp_downward_test_data): Likewise.
50682         (exp_upward_test_data): Likewise.
50683         (exp10_test_data): Likewise.
50684         (exp2_test_data): Likewise.
50685         (expm1_test_data): Likewise.
50686         (fabs_test_data): Likewise.
50687         (fdim_test_data): Likewise.
50688         (finite_test_data): Likewise.
50689         (floor_test_data): Likewise.
50690         (fma_test_data): Likewise.
50691         (fma_towardzero_test_data): Likewise.
50692         (fma_downward_test_data): Likewise.
50693         (fma_upward_test_data): Likewise.
50694         (fmax_test_data): Likewise.
50695         (fmin_test_data): Likewise.
50696         (fmod_test_data): Likewise.
50697         (fpclassify_test_data): Likewise.
50698         (frexp_test_data): Likewise.
50699         (gamma_test_data): Likewise.
50700         (hypot_test_data): Likewise.
50701         (ilogb_test_data): Likewise.
50702         (isfinite_test_data): Likewise.
50703         (isgreater_test_data): Likewise.
50704         (isgreaterequal_test_data): Likewise.
50705         (isinf_test_data): Likewise.
50706         (isless_test_data): Likewise.
50707         (islessequal_test_data): Likewise.
50708         (islessgreater_test_data): Likewise.
50709         (isnan_test_data): Likewise.
50710         (isnormal_test_data): Likewise.
50711         (issignaling_test_data): Likewise.
50712         (isunordered_test_data): Likewise.
50713         (j0_test_data): Likewise.
50714         (j1_test_data): Likewise.
50715         (jn_test_data): Likewise.
50716         (ldexp_test_data): Likewise.
50717         (lgamma_test_data): Likewise.
50718         (lrint_test_data): Likewise.
50719         (lrint_tonearest_test_data): Likewise.
50720         (lrint_towardzero_test_data): Likewise.
50721         (lrint_downward_test_data): Likewise.
50722         (lrint_upward_test_data): Likewise.
50723         (llrint_test_data): Likewise.
50724         (llrint_tonearest_test_data): Likewise.
50725         (llrint_towardzero_test_data): Likewise.
50726         (llrint_downward_test_data): Likewise.
50727         (llrint_upward_test_data): Likewise.
50728         (log_test_data): Likewise.
50729         (log10_test_data): Likewise.
50730         (log1p_test_data): Likewise.
50731         (log2_test_data): Likewise.
50732         (logb_test_data): Likewise.
50733         (logb_downward_test_data): Likewise.
50734         (lround_test_data): Likewise.
50735         (llround_test_data): Likewise.
50736         (modf_test_data): Likewise.
50737         (nearbyint_test_data): Likewise.
50738         (nextafter_test_data): Likewise.
50739         (nexttoward_test_data): Likewise.
50740         (pow_test_data): Likewise.
50741         (pow_tonearest_test_data): Likewise.
50742         (pow_towardzero_test_data): Likewise.
50743         (pow_downward_test_data): Likewise.
50744         (pow_upward_test_data): Likewise.
50745         (remainder_test_data): Likewise.
50746         (remainder_tonearest_test_data): Likewise.
50747         (remainder_towardzero_test_data): Likewise.
50748         (remainder_downward_test_data): Likewise.
50749         (remainder_upward_test_data): Likewise.
50750         (remquo_test_data): Likewise.
50751         (rint_test_data): Likewise.
50752         (rint_tonearest_test_data): Likewise.
50753         (rint_towardzero_test_data): Likewise.
50754         (rint_downward_test_data): Likewise.
50755         (rint_upward_test_data): Likewise.
50756         (round_test_data): Likewise.
50757         (scalb_test_data): Likewise.
50758         (scalbn_test_data): Likewise.
50759         (scalbln_test_data): Likewise.
50760         (signbit_test_data): Likewise.
50761         (sin_test_data): Likewise.
50762         (sin_tonearest_test_data): Likewise.
50763         (sin_towardzero_test_data): Likewise.
50764         (sin_downward_test_data): Likewise.
50765         (sin_upward_test_data): Likewise.
50766         (sincos_test_data): Likewise.
50767         (sinh_test_data): Likewise.
50768         (sinh_tonearest_test_data): Likewise.
50769         (sinh_towardzero_test_data): Likewise.
50770         (sinh_downward_test_data): Likewise.
50771         (sinh_upward_test_data): Likewise.
50772         (sqrt_test_data): Likewise.
50773         (tan_test_data): Likewise.
50774         (tan_tonearest_test_data): Likewise.
50775         (tan_towardzero_test_data): Likewise.
50776         (tan_downward_test_data): Likewise.
50777         (tan_upward_test_data): Likewise.
50778         (tanh_test_data): Likewise.
50779         (tgamma_test_data): Likewise.
50780         (trunc_test_data): Likewise.
50781         (y0_test_data): Likewise.
50782         (y1_test_data): Likewise.
50783         (yn_test_data): Likewise.
50784         (significand_test_data): Likewise.
50786         * math/gen-libm-test.pl (@functions): Remove variable.
50787         (generate_testfile): Don't handle START and END lines.
50788         * math/libm-test.inc (START): New macro.
50789         (END): Likewise.
50790         (END_COMPLEX): Likewise.
50791         (acos_test): Use END macro without arguments.
50792         (acos_test_tonearest): Likewise.
50793         (acos_test_towardzero): Likewise.
50794         (acos_test_downward): Likewise.
50795         (acos_test_upward): Likewise.
50796         (acosh_test): Likewise.
50797         (asin_test): Likewise.
50798         (asin_test_tonearest): Likewise.
50799         (asin_test_towardzero): Likewise.
50800         (asin_test_downward): Likewise.
50801         (asin_test_upward): Likewise.
50802         (asinh_test): Likewise.
50803         (atan_test): Likewise.
50804         (atanh_test): Likewise.
50805         (atan2_test): Likewise.
50806         (cabs_test): Likewise.
50807         (cacos_test): Use END_COMPLEX macro without arguments.
50808         (cacosh_test): Likewise.
50809         (carg_test): Use END macro without arguments.
50810         (casin_test): Use END_COMPLEX macro without arguments.
50811         (casinh_test): Likewise.
50812         (catan_test): Likewise.
50813         (catanh_test): Likewise.
50814         (cbrt_test): Use END macro without arguments.
50815         (ccos_test): Use END_COMPLEX macro without arguments.
50816         (ccosh_test): Likewise.
50817         (ceil_test): Use END macro without arguments.
50818         (cexp_test): Use END_COMPLEX macro without arguments.
50819         (cimag_test): Use END macro without arguments.
50820         (clog_test): Use END_COMPLEX macro without arguments.
50821         (clog10_test): Likewise.
50822         (conj_test): Likewise.
50823         (copysign_test): Use END macro without arguments.
50824         (cos_test): Likewise.
50825         (cos_test_tonearest): Likewise.
50826         (cos_test_towardzero): Likewise.
50827         (cos_test_downward): Likewise.
50828         (cos_test_upward): Likewise.
50829         (cosh_test): Likewise.
50830         (cosh_test_tonearest): Likewise.
50831         (cosh_test_towardzero): Likewise.
50832         (cosh_test_downward): Likewise.
50833         (cosh_test_upward): Likewise.
50834         (cpow_test): Use END_COMPLEX macro without arguments.
50835         (cproj_test): Likewise.
50836         (creal_test): Use END macro without arguments.
50837         (csin_test): Use END_COMPLEX macro without arguments.
50838         (csinh_test): Likewise.
50839         (csqrt_test): Likewise.
50840         (ctan_test): Likewise.
50841         (ctan_test_tonearest): Likewise.
50842         (ctan_test_towardzero): Likewise.
50843         (ctan_test_downward): Likewise.
50844         (ctan_test_upward): Likewise.
50845         (ctanh_test): Likewise.
50846         (ctanh_test_tonearest): Likewise.
50847         (ctanh_test_towardzero): Likewise.
50848         (ctanh_test_downward): Likewise.
50849         (ctanh_test_upward): Likewise.
50850         (erf_test): Use END macro without arguments.
50851         (erfc_test): Likewise.
50852         (exp_test): Likewise.
50853         (exp_test_tonearest): Likewise.
50854         (exp_test_towardzero): Likewise.
50855         (exp_test_downward): Likewise.
50856         (exp_test_upward): Likewise.
50857         (exp10_test): Likewise.
50858         (exp2_test): Likewise.
50859         (expm1_test): Likewise.
50860         (fabs_test): Likewise.
50861         (fdim_test): Likewise.
50862         (finite_test): Likewise.
50863         (floor_test): Likewise.
50864         (fma_test): Likewise.
50865         (fma_test_towardzero): Likewise.
50866         (fma_test_downward): Likewise.
50867         (fma_test_upward): Likewise.
50868         (fmax_test): Likewise.
50869         (fmin_test): Likewise.
50870         (fmod_test): Likewise.
50871         (fpclassify_test): Likewise.
50872         (frexp_test): Likewise.
50873         (gamma_test): Likewise.
50874         (hypot_test): Likewise.
50875         (ilogb_test): Likewise.
50876         (isfinite_test): Likewise.
50877         (isgreater_test): Likewise.
50878         (isgreaterequal_test): Likewise.
50879         (isinf_test): Likewise.
50880         (isless_test): Likewise.
50881         (islessequal_test): Likewise.
50882         (islessgreater_test): Likewise.
50883         (isnan_test): Likewise.
50884         (isnormal_test): Likewise.
50885         (issignaling_test): Likewise.
50886         (isunordered_test): Likewise.
50887         (j0_test): Likewise.
50888         (j1_test): Likewise.
50889         (jn_test): Likewise.
50890         (ldexp_test): Likewise.
50891         (lgamma_test): Likewise.
50892         (lrint_test): Likewise.
50893         (lrint_test_tonearest): Likewise.
50894         (lrint_test_towardzero): Likewise.
50895         (lrint_test_downward): Likewise.
50896         (lrint_test_upward): Likewise.
50897         (llrint_test): Likewise.
50898         (llrint_test_tonearest): Likewise.
50899         (llrint_test_towardzero): Likewise.
50900         (llrint_test_downward): Likewise.
50901         (llrint_test_upward): Likewise.
50902         (log_test): Likewise.
50903         (log10_test): Likewise.
50904         (log1p_test): Likewise.
50905         (log2_test): Likewise.
50906         (logb_test): Likewise.
50907         (logb_test_downward): Likewise.
50908         (lround_test): Likewise.
50909         (llround_test): Likewise.
50910         (modf_test): Likewise.
50911         (nearbyint_test): Likewise.
50912         (nextafter_test): Likewise.
50913         (nexttoward_test): Likewise.
50914         (pow_test): Likewise.
50915         (pow_test_tonearest): Likewise.
50916         (pow_test_towardzero): Likewise.
50917         (pow_test_downward): Likewise.
50918         (pow_test_upward): Likewise.
50919         (remainder_test): Likewise.
50920         (remainder_test_tonearest): Likewise.
50921         (remainder_test_towardzero): Likewise.
50922         (remainder_test_downward): Likewise.
50923         (remainder_test_upward): Likewise.
50924         (remquo_test): Likewise.
50925         (rint_test): Likewise.
50926         (rint_test_tonearest): Likewise.
50927         (rint_test_towardzero): Likewise.
50928         (rint_test_downward): Likewise.
50929         (rint_test_upward): Likewise.
50930         (round_test): Likewise.
50931         (scalb_test): Likewise.
50932         (scalbn_test): Likewise.
50933         (scalbln_test): Likewise.
50934         (signbit_test): Likewise.
50935         (sin_test): Likewise.
50936         (sin_test_tonearest): Likewise.
50937         (sin_test_towardzero): Likewise.
50938         (sin_test_downward): Likewise.
50939         (sin_test_upward): Likewise.
50940         (sincos_test): Likewise.
50941         (sinh_test): Likewise.
50942         (sinh_test_tonearest): Likewise.
50943         (sinh_test_towardzero): Likewise.
50944         (sinh_test_downward): Likewise.
50945         (sinh_test_upward): Likewise.
50946         (sqrt_test): Likewise.
50947         (tan_test): Likewise.
50948         (tan_test_tonearest): Likewise.
50949         (tan_test_towardzero): Likewise.
50950         (tan_test_downward): Likewise.
50951         (tan_test_upward): Likewise.
50952         (tanh_test): Likewise.
50953         (tgamma_test): Likewise.
50954         (trunc_test): Likewise.
50955         (y0_test): Likewise.
50956         (y1_test): Likewise.
50957         (yn_test): Likewise.
50958         (significand_test): Likewise.
50960 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50962         [BZ #15381]
50963         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50965 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50967         [BZ #14894]
50968         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50969         __ppc_mdoio and __ppc_mdoom.
50970         * manual/platform.texi: Document new functions __ppc_yield,
50971         __ppc_mdoio and __ppc_mdoom.
50973 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50975         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50976         (main): Mention "tls" pseudo-hwcap is legacy.
50977         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50979 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50981         * math/gen-libm-test.pl (parse_args): Output only string of
50982         arguments as text for test name, not full call or descriptions of
50983         tests for extra outputs.
50984         (generate_testfile): Do not pass function name to parse_args.
50985         Generate this_func variable from START.
50986         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50987         field to arg_str.
50988         (struct test_ff_f_data): Likewise.
50989         (test_ff_f_data_nexttoward): Likewise.
50990         (struct test_fi_f_data): Likewise.
50991         (struct test_fl_f_data): Likewise.
50992         (struct test_if_f_data): Likewise.
50993         (struct test_fff_f_data): Likewise.
50994         (struct test_c_f_data): Likewise.
50995         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50996         (struct test_fF_f1_data): Likewise.
50997         (struct test_ffI_f1_data): Likewise.
50998         (struct test_c_c_data): Rename test_name field to arg_str.
50999         (struct test_cc_c_data): Likewise.
51000         (struct test_f_i_data): Likewise.
51001         (struct test_ff_i_data): Likewise.
51002         (struct test_f_l_data): Likewise.
51003         (struct test_f_L_data): Likewise.
51004         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51005         and extra2_name.
51006         (COMMON_TEST_SETUP): New macro.
51007         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51008         (COMMON_TEST_CLEANUP): Likewise.
51009         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51010         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51011         macros.
51012         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51013         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51014         macros.
51015         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51016         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51017         cleanup macros.
51018         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51019         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51020         macros.
51021         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51022         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51023         macros.
51024         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51025         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51026         cleanup macros.
51027         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51028         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51029         cleanup macros.
51030         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51031         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51032         cleanup macros.
51033         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51034         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51035         macros.
51036         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51037         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51038         macros.
51039         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51040         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51041         macros.
51042         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51043         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51044         cleanup macros.
51045         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51046         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51047         cleanup macros.
51048         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51049         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51050         macros.
51051         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51052         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51053         cleanup macros.
51054         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51055         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51056         macros.
51057         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51058         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51059         macros.
51060         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51061         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51062         cleanup macros.
51063         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51065 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51067         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51068         to _sifields.sigfault.
51069         (si_addr_lsb): Define new macro.
51070         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51071         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51072         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51074 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51076         [BZ #15441]
51077         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51078         returns -1.
51079         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51080         null return -1.
51081         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51082         loading the domain.
51084 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51086         * math/gen-libm-test.pl (parse_args): Do not include expected
51087         result in test name.
51088         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51089         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51090         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51091         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51092         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51095 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51097         * benchtests/Makefile: Sort function entries.
51099         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51100         tanh, asinh, acosh, atanh.
51101         * benchtests/acos-inputs: New file.
51102         * benchtests/acosh-inputs: New file.
51103         * benchtests/asin-inputs: New file.
51104         * benchtests/asinh-inputs: New file.
51105         * benchtests/atanh-inputs: New file.
51106         * benchtests/cosh-inputs: New file.
51107         * benchtests/log-inputs: New file.
51108         * benchtests/sinh-inputs: New file.
51109         * benchtests/tanh-inputs: New file.
51111 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51113         [BZ #15339]
51114         * posix/tst-getaddrinfo4.c: New test.
51115         * posix/Makefile (tests): Add it.
51117 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51119         [BZ #15339]
51120         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51121         when no services were used.
51122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51123         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51125 2013-05-21  Andreas Schwab  <schwab@suse.de>
51127         [BZ #15014]
51128         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51129         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51130         successful.
51131         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51132         redundant variable declarations and reallocation of buffer when
51133         parsing as IPv6 address.  Always set NSS status when called from
51134         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51135         buffer too small.  Correct computation of needed size.
51136         * nss/Makefile (tests): Add test-digits-dots.
51137         * nss/test-digits-dots.c: New test.
51139 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51141         * benchtests/Makefile: Remove instructions for adding
51142         benchmark tests.
51143         * benchtests/README: New file to explain how to execute and
51144         enhance the benchmark tests.
51146 2013-05-21  Andreas Schwab  <schwab@suse.de>
51148         [BZ #15493]
51149         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51150         * setjmp/tst-sigsetjmp.c: New test.
51152 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51154         * sysdeps/x86_64/memset.S (memset): New implementation.
51155         (__bzero): Likewise.
51156         (__memset_tail): New function.
51158 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51160         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51161         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51162         __memcpy_sse2_unaligned ifunc selection.
51163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51164         Add memcpy-sse2-unaligned.S.
51165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51166         Add: __memcpy_sse2_unaligned.
51168 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51170         [BZ #15490]
51171         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51172         math_force_eval before restoring floating-point envrionment.
51173         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51174         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51175         Likewise.
51176         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51177         <math_private.h>.
51178         (__nearbyintl): Use math_force_eval before restoring
51179         floating-point environment.
51180         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51182         * math/gen-libm-test.pl (special_functions): Remove.
51183         (parse_args): Don't handle TEST_extra.  Handle functions with no
51184         return value.
51185         * math/libm-test.inc (struct test_sincos_data): Replace with
51186         struct test_fFF_11_data.
51187         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51188         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51189         (sincos_test_data): Change element type to struct
51190         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51191         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51192         RUN_TEST_LOOP_sincos.
51193         * math/README.libm-test: Don't mention special handling of
51194         individual functions.
51195         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51196         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51197         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51198         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51199         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51202         * math/gen-libm-test.pl (get_variable): Remove function.
51203         (parse_args): Don't show pointer parameters to call in test
51204         names.  Use "extra output N" in test names for extra outputs
51205         rather than naming variables.
51207 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51209         [BZ #15488]
51210         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51211         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51212         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51213         double tests.
51214         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51215         disable.
51216         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51217         check_long_double.
51219         * math/gen-libm-test.pl (@tests): Remove variable.
51220         ($count): Likewise.
51221         (new_test): Remove function.
51222         (show_exceptions): New function.
51223         (special_functions): Use show_exceptions instead of new_test.
51224         (parse_args): Likewise.
51225         (generate_testfile): Pass only function name in generated call to
51226         print_max_error or print_complex_max_error.
51227         (get_ulps): Do not handle complex tests specially.
51228         (output_test): Rename to ...
51229         (get_all_ulps_for_test): ... this.  Return a string rather than
51230         printing to a file.  Require ulps to be present.
51231         (output_ulps): Generate arrays rather than #defines.
51232         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51233         (struct ulp_data): New type.
51234         (BUILD_COMPLEX_ULP): Remove macro.
51235         (compare_ulp_data): New function.
51236         (find_ulps): Likewise.
51237         (find_test_ulps): Likewise.
51238         (find_function_ulps): Likewise.
51239         (find_complex_function_ulps): Likewise.
51240         (print_max_error): Determine allowed ulps using
51241         find_function_ulps.
51242         (print_complex_max_error): Determine allowed ulps using
51243         find_complex_function_ulps.
51244         (check_float_internal): Determine max ulps using find_test_ulps.
51245         (check_float): Do not take max_ulp parameter.  Update call to
51246         check_float_internal.
51247         (check_complex): Likewise.
51248         (check_int): Do not take max_ulp parameter.
51249         (check_long): Likewise.
51250         (check_bool): Likewise.
51251         (check_longlong): Likewise.
51252         (struct test_f_f_data): Remove max_ulp field.
51253         (struct test_ff_f_data): Likewise.
51254         (struct test_ff_f_data_nexttoward): Likewise.
51255         (struct test_fi_f_data): Likewise.
51256         (struct test_fl_f_data): Likewise.
51257         (struct test_if_f_data): Likewise.
51258         (struct test_fff_f_data): Likewise.
51259         (struct test_c_f_data): Likewise.
51260         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51261         (struct test_fF_f1_data): Likewise.
51262         (struct test_ffI_f1_data): Likewise.
51263         (struct test_c_c_data): Remove max_ulp field.
51264         (struct test_cc_c_data): Likewise.
51265         (struct test_f_i_data): Likewise.
51266         (struct test_ff_i_data): Likewise.
51267         (struct test_f_l_data): Likewise.
51268         (struct test_f_L_data): Likewise.
51269         (struct test_sincos_data): Likewise.
51270         (RUN_TEST_f_f): Do not handle ulps.
51271         (RUN_TEST_LOOP_f_f): Likewise.
51272         (RUN_TEST_2_f): Likewise.
51273         (RUN_TEST_LOOP_2_f): Likewise.
51274         (RUN_TEST_fff_f): Likewise.
51275         (RUN_TEST_LOOP_fff_f): Likewise.
51276         (RUN_TEST_c_f): Likewise.
51277         (RUN_TEST_LOOP_c_f): Likewise.
51278         (RUN_TEST_f_f1): Likewise.
51279         (RUN_TEST_LOOP_f_f1): Likewise.
51280         (RUN_TEST_fF_f1): Likewise.
51281         (RUN_TEST_LOOP_fF_f1): Likewise.
51282         (RUN_TEST_fI_f1): Likewise.
51283         (RUN_TEST_LOOP_fI_f1): Likewise.
51284         (RUN_TEST_ffI_f1): Likewise.
51285         (RUN_TEST_LOOP_ffI_f1): Likewise.
51286         (RUN_TEST_c_c): Likewise.
51287         (RUN_TEST_LOOP_c_c): Likewise.
51288         (RUN_TEST_cc_c): Likewise.
51289         (RUN_TEST_LOOP_cc_c): Likewise.
51290         (RUN_TEST_f_i): Likewise.
51291         (RUN_TEST_LOOP_f_i): Likewise.
51292         (RUN_TEST_f_i_tg): Likewise.
51293         (RUN_TEST_LOOP_f_i_tg): Likewise.
51294         (RUN_TEST_ff_i_tg): Likewise.
51295         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51296         (RUN_TEST_f_b): Likewise.
51297         (RUN_TEST_LOOP_f_b): Likewise.
51298         (RUN_TEST_f_b_tg): Likewise.
51299         (RUN_TEST_LOOP_f_b_tg): Likewise.
51300         (RUN_TEST_f_l): Likewise.
51301         (RUN_TEST_LOOP_f_l): Likewise.
51302         (RUN_TEST_f_L): Likewise.
51303         (RUN_TEST_LOOP_f_L): Likewise.
51304         (RUN_TEST_sincos): Likewise.
51305         (RUN_TEST_LOOP_sincos): Likewise.
51307 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51309         [BZ #15480]
51310         [BZ #15485]
51311         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51312         main case of finite arguments, set rounding mode to FE_TONEAREST
51313         and discard exceptions.
51314         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51315         exceptions.
51316         (remainder_tonearest_test_data): New variable.
51317         (remainder_test_tonearest): New function.
51318         (remainder_towardzero_test_data): New variable.
51319         (remainder_test_towardzero): New function.
51320         (remainder_downward_test_data): New variable.
51321         (remainder_test_downward): New function.
51322         (remainder_upward_test_data): New variable.
51323         (remainder_test_upward): New function.
51324         (main): Call the new test functions.
51326         * math/libm-test.inc (struct test_f_f1_data): Remove field
51327         extra_init.
51328         (struct test_fF_f1_data): Likewise.
51329         (struct test_ffI_f1_data): Likewise.
51330         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51331         based on value of EXTRA_EXPECTED.
51332         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51333         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51334         EXTRA_VAR based on value of EXTRA_EXPECTED.
51335         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51336         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51337         EXTRA_VAR based on value of EXTRA_EXPECTED.
51338         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51339         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51340         EXTRA_VAR based on value of EXTRA_EXPECTED.
51341         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51342         * math/gen-libm-test.pl (parse_args): Don't output initializers
51343         for extra output values.
51345         * math/libm-test.inc (check_int): Expect result to be exactly
51346         equal to expected value and do not handle ulps.
51347         (check_long): Likewise.
51348         (check_longlong): Likewise.
51350         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51351         exceptions.
51352         (cimag_test_data): Likewise.
51353         (conj_test_data): Likewise.
51354         (copysign_test_data): Likewise.
51355         (cproj_test_data): Likewise.
51356         (creal_test_data): Likewise.
51357         (fabs_test_data): Likewise.
51358         (fdim_test_data): Likewise.
51359         (finite_test_data): Likewise.
51360         (floor_test_data): Likewise.
51361         (fmax_test_data): Likewise.
51362         (fmin_test_data): Likewise.
51363         (fmod_test_data): Likewise.
51364         (fpclassify_test_data): Likewise.
51365         (frexp_test_data): Likewise.
51366         (ilogb_test_data): Likewise.
51367         (isfinite_test_data): Likewise.
51368         (isgreater_test_data): Likewise.
51369         (isgreaterequal_test_data): Likewise.
51370         (isinf_test_data): Likewise.
51371         (isless_test_data): Likewise.
51372         (islessequal_test_data): Likewise.
51373         (islessgreater_test_data): Likewise.
51374         (isnan_test_data): Likewise.
51375         (isnormal_test_data): Likewise.
51376         (issignaling_test_data): Likewise.
51377         (isunordered_test_data): Likewise.
51378         (ldexp_test_data): Likewise.
51379         (lrint_test_data): Likewise.
51380         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51381         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51382         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51383         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51384         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51385         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51386         test input.
51387         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51388         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51389         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51390         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51391         that test input.
51392         (lrint_downward_test_data): Test for "inexact" exceptions.
51393         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51394         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51395         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51396         test input.
51397         (lrint_upward_test_data): Test for "inexact" exceptions.
51398         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51399         test input.
51400         (llrint_test_data): Test for "inexact" exceptions.
51401         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51402         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51403         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51404         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51405         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51406         (llrint_downward_test_data): Test for "inexact" exceptions.
51407         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51408         (llrint_upward_test_data): Test for "inexact" exceptions.
51409         (logb_test_data): Likewise.
51410         (logb_downward_test_data): Likewise.
51411         (nextafter_test_data): Likewise.
51412         (nexttoward_test_data): Likewise.
51413         (remainder_test_data): Likewise.
51414         (remquo_test_data): Likewise.
51415         (scalbn_test_data): Likewise.
51416         (scalbln_test_data): Likewise.
51417         (signbit_test_data): Likewise.
51418         (sqrt_test_data): Likewise.
51419         (significand_test_data): Likewise.
51421 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51423         [BZ #15424]
51424         * benchtests/bench-modf.c (struct args): Mark arg0 as
51425         volatile.
51426         * scripts/bench.pl: Mark members of struct args as volatile.
51428 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51430         [BZ # 15497]
51431         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51432         negative infinity on POWER6 or lower.
51433         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51435 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51437         [BZ #15442]
51438         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51439         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51440         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51441         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51442         (_FP_SETQNAN): New macro.
51443         (_FP_SETQNAN_SEMIRAW): Likewise.
51444         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51445         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51446         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51447         (FP_EXTEND): Use _FP_FRAC_SNANP.
51448         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51449         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51450         into account.
51451         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51452         New macro.
51453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51454         Likewise.
51456 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51458         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51459         with DIVIDE_BY_ZERO_EXCEPTION.
51460         (gamma_test_data): Likewise.
51461         (lgamma_test_data): Likewise.
51462         (log_test_data): Likewise.
51463         (log10_test_data): Likewise.
51464         (log2_test_data): Likewise.
51465         (tgamma_test_data): Likewise.
51467         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51468         (acos_test_tonearest): Likewise.
51469         (acos_test_towardzero): Likewise.
51470         (acos_test_downward): Likewise.
51471         (acos_test_upward): Likewise.
51472         (acosh_test): Likewise.
51473         (asin_test): Likewise.
51474         (asin_test_tonearest): Likewise.
51475         (asin_test_towardzero): Likewise.
51476         (asin_test_downward): Likewise.
51477         (asin_test_upward): Likewise.
51478         (asinh_test): Likewise.
51479         (atan_test): Likewise.
51480         (atanh_test): Likewise.
51481         (atan2_test): Likewise.
51482         (cabs_test): Likewise.
51483         (cacos_test): Likewise.
51484         (cacosh_test): Likewise.
51485         (casin_test): Likewise.
51486         (casinh_test): Likewise.
51487         (catan_test): Likewise.
51488         (catanh_test): Likewise.
51489         (cbrt_test): Likewise.
51490         (ccos_test): Likewise.
51491         (ccosh_test): Likewise.
51492         (cexp_test): Likewise.
51493         (clog_test): Likewise.
51494         (clog10_test): Likewise.
51495         (cos_test): Likewise.
51496         (cos_test_tonearest): Likewise.
51497         (cos_test_towardzero): Likewise.
51498         (cos_test_downward): Likewise.
51499         (cos_test_upward): Likewise.
51500         (cosh_test): Likewise.
51501         (cosh_test_tonearest): Likewise.
51502         (cosh_test_towardzero): Likewise.
51503         (cosh_test_downward): Likewise.
51504         (cosh_test_upward): Likewise.
51505         (cpow_test): Likewise.
51506         (csin_test): Likewise.
51507         (csinh_test): Likewise.
51508         (csqrt_test): Likewise.
51509         (ctan_test): Likewise.
51510         (ctan_test_tonearest): Likewise.
51511         (ctan_test_towardzero): Likewise.
51512         (ctan_test_downward): Likewise.
51513         (ctan_test_upward): Likewise.
51514         (ctanh_test): Likewise.
51515         (ctanh_test_tonearest): Likewise.
51516         (ctanh_test_towardzero): Likewise.
51517         (ctanh_test_downward): Likewise.
51518         (ctanh_test_upward): Likewise.
51519         (erf_test): Likewise.
51520         (erfc_test): Likewise.
51521         (exp_test): Likewise.
51522         (exp_test_tonearest): Likewise.
51523         (exp_test_towardzero): Likewise.
51524         (exp_test_downward): Likewise.
51525         (exp_test_upward): Likewise.
51526         (exp10_test): Likewise.
51527         (exp2_test): Likewise.
51528         (expm1_test): Likewise.
51529         (fmod_test): Likewise.
51530         (gamma_test): Likewise.
51531         (hypot_test): Likewise.
51532         (j0_test): Likewise.
51533         (j1_test): Likewise.
51534         (jn_test): Likewise.
51535         (lgamma_test): Likewise.
51536         (log_test): Likewise.
51537         (log10_test): Likewise.
51538         (log1p_test): Likewise.
51539         (log2_test): Likewise.
51540         (logb_test_downward): Likewise.
51541         (pow_test): Likewise.
51542         (pow_test_tonearest): Likewise.
51543         (pow_test_towardzero): Likewise.
51544         (pow_test_downward): Likewise.
51545         (pow_test_upward): Likewise.
51546         (remainder_test): Likewise.
51547         (remquo_test): Likewise.
51548         (sin_test): Likewise.
51549         (sin_test_tonearest): Likewise.
51550         (sin_test_towardzero): Likewise.
51551         (sin_test_downward): Likewise.
51552         (sin_test_upward): Likewise.
51553         (sincos_test): Likewise.
51554         (sinh_test): Likewise.
51555         (sinh_test_tonearest): Likewise.
51556         (sinh_test_towardzero): Likewise.
51557         (sinh_test_downward): Likewise.
51558         (sinh_test_upward): Likewise.
51559         (sqrt_test): Likewise.
51560         (tan_test): Likewise.
51561         (tan_test_tonearest): Likewise.
51562         (tan_test_towardzero): Likewise.
51563         (tan_test_downward): Likewise.
51564         (tan_test_upward): Likewise.
51565         (tanh_test): Likewise.
51566         (tgamma_test): Likewise.
51567         (y0_test): Likewise.
51568         (y1_test): Likewise.
51569         (yn_test): Likewise.
51571         * math/gen-libm-test.pl (adjust_arg): Remove function.
51572         (special_function): Remove argument $in_func.  Only handle
51573         generating output for tables of tests, not inside functions.
51574         (parse_args): Likewise.
51575         (generate_testfile): Remove variable $in_func.  Update call to
51576         parse_args.
51577         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51578         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51579         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51580         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51581         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51582         (MAX_VALUE_INIT): Rename macro to max_value.
51583         (MIN_VALUE_INIT): Rename macro to min_value.
51584         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51585         (plus_zero): Remove variable.
51586         (minus_zero): Likewise.
51587         (plus_infty): Likewise.
51588         (minus_infty): Likewise.
51589         (qnan_value): Likewise.
51590         (max_value): Likewise.
51591         (min_value): Likewise.
51592         (min_subnorm_value): Likewise.
51594 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51596         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51597         uint64_t or uint32_t usage.
51598         * crypt/sha256-block.c: Likewise.
51599         * crypt/sha256-crypt.c: Likewise.
51600         * crypt/sha256.c: Likewise.
51601         * crypt/sha512-block.c: Likewise.
51602         * crypt/sha512-crypt.c: Likewise.
51603         * crypt/sha512.c: Likewise.
51604         * debug/backtrace-tst.c: Likewise.
51605         * debug/pcprofiledump.c: Likewise.
51606         * elf/cache.c: Likewise.
51607         * elf/dl-cache.c: Likewise.
51608         * elf/dl-misc.c: Likewise.
51609         * elf/dl-profile.c: Likewise.
51610         * elf/dl-support.c: Likewise.
51611         * elf/ldconfig.c: Likewise.
51612         * elf/sprof.c: Likewise.
51613         * iconv/dummy-repertoire.c: Likewise.
51614         * iconv/iconv_charmap.c: Likewise.
51615         * iconv/skeleton.c: Likewise.
51616         * iconvdata/8bit-generic.c: Likewise.
51617         * iconvdata/cp737.h: Likewise.
51618         * iconvdata/cp775.h: Likewise.
51619         * iconvdata/ibm1008.h: Likewise.
51620         * iconvdata/ibm1025.h: Likewise.
51621         * iconvdata/ibm1046.h: Likewise.
51622         * iconvdata/ibm1097.h: Likewise.
51623         * iconvdata/ibm1112.h: Likewise.
51624         * iconvdata/ibm1122.h: Likewise.
51625         * iconvdata/ibm1123.h: Likewise.
51626         * iconvdata/ibm1124.h: Likewise.
51627         * iconvdata/ibm1129.h: Likewise.
51628         * iconvdata/ibm1130.h: Likewise.
51629         * iconvdata/ibm1132.h: Likewise.
51630         * iconvdata/ibm1133.h: Likewise.
51631         * iconvdata/ibm1137.h: Likewise.
51632         * iconvdata/ibm1140.h: Likewise.
51633         * iconvdata/ibm1141.h: Likewise.
51634         * iconvdata/ibm1142.h: Likewise.
51635         * iconvdata/ibm1143.h: Likewise.
51636         * iconvdata/ibm1144.h: Likewise.
51637         * iconvdata/ibm1145.h: Likewise.
51638         * iconvdata/ibm1146.h: Likewise.
51639         * iconvdata/ibm1147.h: Likewise.
51640         * iconvdata/ibm1148.h: Likewise.
51641         * iconvdata/ibm1149.h: Likewise.
51642         * iconvdata/ibm1153.h: Likewise.
51643         * iconvdata/ibm1154.h: Likewise.
51644         * iconvdata/ibm1155.h: Likewise.
51645         * iconvdata/ibm1156.h: Likewise.
51646         * iconvdata/ibm1157.h: Likewise.
51647         * iconvdata/ibm1158.h: Likewise.
51648         * iconvdata/ibm1160.h: Likewise.
51649         * iconvdata/ibm1161.h: Likewise.
51650         * iconvdata/ibm1162.h: Likewise.
51651         * iconvdata/ibm1163.h: Likewise.
51652         * iconvdata/ibm1164.h: Likewise.
51653         * iconvdata/ibm1166.h: Likewise.
51654         * iconvdata/ibm1167.h: Likewise.
51655         * iconvdata/ibm12712.h: Likewise.
51656         * iconvdata/ibm1390.h: Likewise.
51657         * iconvdata/ibm1399.h: Likewise.
51658         * iconvdata/ibm16804.h: Likewise.
51659         * iconvdata/ibm4517.h: Likewise.
51660         * iconvdata/ibm4899.h: Likewise.
51661         * iconvdata/ibm4909.h: Likewise.
51662         * iconvdata/ibm4971.h: Likewise.
51663         * iconvdata/ibm5347.h: Likewise.
51664         * iconvdata/ibm803.h: Likewise.
51665         * iconvdata/ibm856.h: Likewise.
51666         * iconvdata/ibm901.h: Likewise.
51667         * iconvdata/ibm902.h: Likewise.
51668         * iconvdata/ibm9030.h: Likewise.
51669         * iconvdata/ibm9066.h: Likewise.
51670         * iconvdata/ibm921.h: Likewise.
51671         * iconvdata/ibm922.h: Likewise.
51672         * iconvdata/ibm9448.h: Likewise.
51673         * iconvdata/isiri-3342.h: Likewise.
51674         * iconvdata/jis0201.h: Likewise.
51675         * include/link.h: Likewise.
51676         * include/netdb.h: Likewise.
51677         * inet/check_native.c: Likewise.
51678         * inet/check_pf.c: Likewise.
51679         * inet/getipv4sourcefilter.c: Likewise.
51680         * inet/getnameinfo.c: Likewise.
51681         * inet/getsourcefilter.c: Likewise.
51682         * inet/htonl.c: Likewise.
51683         * inet/setipv4sourcefilter.c: Likewise.
51684         * inet/setsourcefilter.c: Likewise.
51685         * inet/test-inet6_opt.c: Likewise.
51686         * inet/tst-network.c: Likewise.
51687         * locale/C-collate.c: Likewise.
51688         * locale/C-ctype.c: Likewise.
51689         * locale/C-time.c: Likewise.
51690         * locale/C-translit.h: Likewise.
51691         * locale/loadarchive.c: Likewise.
51692         * locale/programs/3level.h: Likewise.
51693         * locale/programs/charmap.c: Likewise.
51694         * locale/programs/charmap.h: Likewise.
51695         * locale/programs/ld-address.c: Likewise.
51696         * locale/programs/ld-collate.c: Likewise.
51697         * locale/programs/ld-ctype.c: Likewise.
51698         * locale/programs/ld-identification.c: Likewise.
51699         * locale/programs/ld-measurement.c: Likewise.
51700         * locale/programs/ld-messages.c: Likewise.
51701         * locale/programs/ld-monetary.c: Likewise.
51702         * locale/programs/ld-name.c: Likewise.
51703         * locale/programs/ld-numeric.c: Likewise.
51704         * locale/programs/ld-paper.c: Likewise.
51705         * locale/programs/ld-telephone.c: Likewise.
51706         * locale/programs/ld-time.c: Likewise.
51707         * locale/programs/linereader.c: Likewise.
51708         * locale/programs/locale.c: Likewise.
51709         * locale/programs/locarchive.c: Likewise.
51710         * locale/programs/locfile.h: Likewise.
51711         * locale/programs/repertoire.c: Likewise.
51712         * locale/programs/simple-hash.c: Likewise.
51713         * locale/programs/simple-hash.h: Likewise.
51714         * malloc/memusage.c: Likewise.
51715         * malloc/memusagestat.c: Likewise.
51716         * nis/nis_defaults.c: Likewise.
51717         * nis/nis_hash.c: Likewise.
51718         * nis/nis_print.c: Likewise.
51719         * nis/nis_xdr.c: Likewise.
51720         * nscd/connections.c: Likewise.
51721         * nscd/hstcache.c: Likewise.
51722         * nscd/nscd_gethst_r.c: Likewise.
51723         * nscd/nscd_getserv_r.c: Likewise.
51724         * nscd/nscd_helper.c: Likewise.
51725         * nscd/servicescache.c: Likewise.
51726         * nss/makedb.c: Likewise.
51727         * nss/nss_db/db-XXX.c: Likewise.
51728         * nss/nss_db/db-initgroups.c: Likewise.
51729         * nss/nss_db/db-netgrp.c: Likewise.
51730         * nss/nss_files/files-network.c: Likewise.
51731         * nss/nss_files/files-parse.c: Likewise.
51732         * posix/bug-regex5.c: Likewise.
51733         * posix/fnmatch_loop.c: Likewise.
51734         * posix/regcomp.c: Likewise.
51735         * posix/regexec.c: Likewise.
51736         * posix/tst-rfc3484-2.c: Likewise.
51737         * posix/tst-rfc3484-3.c: Likewise.
51738         * posix/tst-rfc3484.c: Likewise.
51739         * resolv/nss_dns/dns-canon.c: Likewise.
51740         * resolv/nss_dns/dns-network.c: Likewise.
51741         * resolv/res_init.c: Likewise.
51742         * resolv/res_mkquery.c: Likewise.
51743         * resolv/tst-aton.c: Likewise.
51744         * stdlib/cxa_atexit.c: Likewise.
51745         * stdlib/cxa_finalize.c: Likewise.
51746         * stdlib/gen-fpioconst.c: Likewise.
51747         * stdlib/strtol_l.c: Likewise.
51748         * string/tst-endian.c: Likewise.
51749         * sunrpc/auth_des.c: Likewise.
51750         * sunrpc/clnt_udp.c: Likewise.
51751         * sunrpc/rtime.c: Likewise.
51752         * sunrpc/svcauth_des.c: Likewise.
51753         * sunrpc/xdr.c: Likewise.
51754         * sunrpc/xdr_intXX_t.c: Likewise.
51755         * sunrpc/xdr_rec.c: Likewise.
51756         * sysdeps/generic/ldconfig.h: Likewise.
51757         * sysdeps/generic/ldsodefs.h: Likewise.
51758         * sysdeps/generic/memusage.h: Likewise.
51759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51760         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51761         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51762         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51763         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51764         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51765         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51766         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51767         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51768         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51769         * sysdeps/posix/getaddrinfo.c: Likewise.
51770         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51771         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51772         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51773         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51774         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51775         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51776         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51777         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51778         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51779         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51780         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51781         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51782         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51783         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51784         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51785         * sysdeps/x86_64/dl-tls.h: Likewise.
51786         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51787         * time/alt_digit.c: Likewise.
51788         * time/era.c: Likewise.
51789         * wcsmbs/tst-c16c32-1.c: Likewise.
51791 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51793         * math/libm-test.inc (struct test_sincos_data): New type.
51794         (RUN_TEST_LOOP_sincos): New macro.
51795         (sincos_test_data): New variable.
51796         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51798 2013-05-16  Richard Henderson  <rth@redhat.com>
51800         * math/atest-exp2.c (LIMB64): New macro.
51801         (CONSTSZ): New macro.
51802         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51803         (hexdig): Move ...
51804         (print_mpn_fp): ... to function scope.
51805         (read_mpn_hex): Remove.
51806         (get_log2): Remove.
51807         (exp2_mpn): Use mp_log2.
51808         (main): Use mp_exp1.
51810 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51812         * math/libm-test.inc: Remove comment about not testing "inexact"
51813         exceptions.
51814         (INEXACT_EXCEPTION): New macro.
51815         (NO_INEXACT_EXCEPTION): Likewise.
51816         (INVALID_EXCEPTION_OK): Update value.
51817         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51818         (OVERFLOW_EXCEPTION_OK): Likewise.
51819         (UNDERFLOW_EXCEPTION_OK): Likewise.
51820         (IGNORE_ZERO_INF_SIGN): Likewise.
51821         (ERRNO_UNCHANGED): Likewise.
51822         (ERRNO_EDOM): Likewise.
51823         (ERRNO_ERANGE): Likewise.
51824         (test_exceptions): Handle testing "inexact" exceptions.
51825         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51826         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51827         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51828         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51829         INEXACT_EXCEPTION.
51830         (rint_towardzero_test_data): Likewise.
51831         (rint_downward_test_data): Likewise.
51832         (rint_upward_test_data): Likewise.
51834         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51835         with OVERFLOW_EXCEPTION.
51836         (exp10_test_data): Likewise.
51837         (exp2_test_data): Likewise.
51838         (expm1_test_data): Likewise.
51839         (lgamma_test_data): Likewise.
51840         (pow_test_data): Likewise.
51841         (tgamma_test_data): Likewise.
51842         (yn_test_data): Remove duplicate test of overflow.
51844         * math/libm-test.inc (struct test_cc_c_data): New type.
51845         (RUN_TEST_LOOP_cc_c): New macro.
51846         (cpow_test_data): New variable.
51847         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51849         * math/libm-test.inc (struct test_f_L_data): New type.
51850         (RUN_TEST_LOOP_f_L): New macro.
51851         (llrint_test_data): New variable.
51852         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51853         (llrint_tonearest_test_data): New variable.
51854         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51855         (llrint_towardzero_test_data): New variable.
51856         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51857         (llrint_downward_test_data): New variable.
51858         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51859         (llrint_upward_test_data): New variable.
51860         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51861         (llround_test_data): New variable.
51862         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51864 2013-05-13  Peter Collingbourne  <pcc@google.com>
51866         * math/atest-exp2.c (get_log2): Remove const attribute.
51868 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51870         * math/libm-test.inc (struct test_f_l_data): New type.
51871         (RUN_TEST_LOOP_f_l): New macro.
51872         (lrint_test_data): New variable.
51873         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51874         (lrint_tonearest_test_data): New variable.
51875         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51876         (lrint_towardzero_test_data): New variable.
51877         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51878         (lrint_downward_test_data): New variable.
51879         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51880         (lrint_upward_test_data): New variable.
51881         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51882         (lround_test_data): New variable.
51883         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51885 2013-05-15  Peter Collingbourne  <pcc@google.com>
51887         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51888         (EXTRACT_WORDS64) Use where appropriate.
51889         (INSERT_WORDS64) Likewise.
51891         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51892         constraints with x constraints.
51893         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51895         * malloc/obstack.c (_obstack_compat): Add initializer.
51897 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51899         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51900         si_trapno and add si_addr_lsb to _sifields.sigfault.
51901         (si_trapno): Remove macro.
51902         (si_addr_lsb): Define new macro.
51903         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51905 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51907         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51908         instead of TEST_f_l.
51909         (llrint_test_tonearest): Likewise.
51910         (llrint_test_towardzero): Likewise.
51911         (llrint_test_downward): Likewise.
51912         (llrint_test_upward): Likewise.
51913         (llround_test): Likewise.
51915         * math/libm-test.inc (struct test_f_i_data): Add comment.
51916         (RUN_TEST_LOOP_f_b): New macro.
51917         (RUN_TEST_LOOP_f_b_tg): Likewise.
51918         (finite_test_data): New variable.
51919         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51920         (isfinite_test_data): New variable.
51921         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51922         (isinf_test_data): New variable.
51923         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51924         (isnan_test_data): New variable.
51925         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51926         (isnormal_test_data): New variable.
51927         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51928         (issignaling_test_data): New variable.
51929         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51930         (signbit_test_data): New variable.
51931         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51933         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51934         with INVALID_EXCEPTION.
51935         (acosh_test_data): Likewise.
51936         (asin_test_data): Likewise.
51937         (atanh_test_data): Likewise.
51938         (fmod_test_data): Likewise.
51939         (log_test_data): Likewise.
51940         (log10_test_data): Likewise.
51941         (log2_test_data): Likewise.
51942         (pow_test_data): Likewise.
51943         (sqrt_test_data): Likewise.
51944         (y0_test_data): Likewise.
51945         (y1_test_data): Likewise.
51946         (yn_test_data): Likewise.
51948         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51949         function contents.
51951         * math/libm-test.inc (struct test_ff_i_data): New type.
51952         (RUN_TEST_LOOP_ff_i_tg): New macro.
51953         (isgreater_test_data): New variable.
51954         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51955         (isgreaterequal_test_data): New variable.
51956         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51957         (isless_test_data): New variable.
51958         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51959         (islessequal_test_data): New variable.
51960         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51961         (islessgreater_test_data): New variable.
51962         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51963         (isunordered_test_data): New variable.
51964         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51966 2013-05-14  David S. Miller  <davem@davemloft.net>
51968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51970 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51972         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51974         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51975         extra_test to int.
51976         (struct test_f_i_data): Change type of max_ulp to int.
51978         * math/libm-test.inc (test_ffI_f1_data): New type.
51979         (RUN_TEST_LOOP_ffI_f1): New macro.
51980         (remquo_test_data): New variable.
51981         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51983         * setjmp/tst-setjmp-fp.c: New file.
51984         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51985         (link-libm): New variable.
51986         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51988         * math/libm-test.inc (struct test_f_i_data): New type.
51989         (RUN_TEST_LOOP_f_i): New macro.
51990         (RUN_TEST_LOOP_f_i_tg): Likewise.
51991         (fpclassify_test_data): New variable.
51992         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51993         (ilogb_test_data): New variable.
51994         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51996         * math/libm-test.inc (scalbln_test): Correct function name in END
51997         call.
51999         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52000         (RUN_TEST_LOOP_fI_f1): New macro.
52001         (frexp_test_data): New variable.
52002         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52004         * math/libm-test.inc (struct test_fF_f1_data): New type.
52005         (RUN_TEST_LOOP_fF_f1): New macro.
52006         (modf_test_data): New variable.
52007         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52009         * math/libm-test.inc (struct test_f_f1_data): New type.
52010         (RUN_TEST_LOOP_f_f1): New macro.
52011         (gamma_test_data): New variable.
52012         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52013         (lgamma_test_data): New variable.
52014         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52016 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52018         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52019         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52020         (main): Comment "tls" pseudo-hwcap.
52022 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52024         * math/libm-test.inc (struct test_fl_f_data): New type.
52025         (RUN_TEST_LOOP_fl_f): New variable.
52026         (scalbln_test_data): New variable.
52027         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52029         * math/libm-test.inc (struct test_fi_f_data): New type.
52030         (RUN_TEST_LOOP_fi_f): New macro.
52031         (ldexp_test_data): New variable.
52032         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52033         (scalbn_test_data): New variable.
52034         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52036         * math/libm-test.inc (struct test_c_f_data): New type.
52037         (RUN_TEST_LOOP_c_f): New macro.
52038         (cabs_test_data): New variable.
52039         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52040         (carg_test_data): New variable.
52041         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52042         (cimag_test_data): New variable.
52043         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52044         (creal_test_data): New variable.
52045         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52047         * math/libm-test.inc (struct test_if_f_data): New type.
52048         (RUN_TEST_LOOP_if_f): New macro.
52049         (jn_test_data): New variable.
52050         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52051         (yn_test_data): New variable.
52052         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52054         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52056 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52058         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52059         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52061 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52063         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52064         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52065         (bench-deps): Add bench-timing.h.
52066         * benchtests-bench-skeleton.c: Include bench-timing.h.
52067         (main): Use TIMING_* macros instead of clock_gettime.
52068         * benchtests/bench-timing.h: New file.
52070         [BZ #14582]
52071         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52072         Renamed from _LIB_VERSION.
52073         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52075 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52077         * math/libm-test.inc (struct test_fff_f_data): New type.
52078         (RUN_TEST_LOOP_fff_f): New macro.
52079         (fma_test_data): New variable.
52080         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52081         (fma_towardzero_test_data): New variable.
52082         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52083         (fma_downward_test_data): New variable.
52084         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52085         (fma_upward_test_data): New variable.
52086         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52088         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52089         (struct test_c_c_data): New type.
52090         (RUN_TEST_LOOP_c_c): New macro.
52091         (cacos_test_data): New variable.
52092         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52093         (cacosh_test_data): New variable.
52094         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52095         (casin_test_data): New variable.
52096         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52097         (casinh_test_data): New variable.
52098         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52099         (catan_test_data): New variable.
52100         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52101         (catanh_test_data): New variable.
52102         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52103         (ccos_test_data): New variable.
52104         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52105         (ccosh_test_data): New variable.
52106         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52107         (cexp_test_data): New variable.
52108         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52109         (clog_test_data): New variable.
52110         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52111         (clog10_test_data): New variable.
52112         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52113         (conj_test_data): New variable.
52114         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52115         (cproj_test_data): New variable.
52116         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52117         (csin_test_data): New variable.
52118         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52119         (csinh_test_data): New variable.
52120         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52121         (csqrt_test_data): New variable.
52122         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52123         (ctan_test_data): New variable.
52124         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52125         (ctan_tonearest_test_data): New variable.
52126         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52127         (ctan_towardzero_test_data): New variable.
52128         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52129         (ctan_downward_test_data): New variable.
52130         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52131         (ctan_upward_test_data): New variable.
52132         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52133         (ctanh_test_data): New variable.
52134         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52135         (ctanh_tonearest_test_data): New variable.
52136         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52137         (ctanh_towardzero_test_data): New variable.
52138         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52139         (ctanh_downward_test_data): New variable.
52140         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52141         (ctanh_upward_test_data): New variable.
52142         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52143         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52144         of BUILD_COMPLEX.
52146         * math/libm-test.inc (struct test_ff_f_data): New type.
52147         (struct test_ff_f_data_nexttoward): Likewise.
52148         (RUN_TEST_LOOP_2_f): New macro.
52149         (RUN_TEST_LOOP_ff_f): Likewise.
52150         (atan2_test_data): New variable.
52151         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52152         (copysign_test_data): New variable.
52153         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52154         (fdim_test_data): New variable.
52155         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52156         (fmax_test_data): New variable.
52157         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52158         (fmin_test_data): New variable.
52159         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52160         (fmod_test_data): New variable.
52161         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52162         (hypot_test_data): New variable.
52163         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52164         (nextafter_test_data): New variable.
52165         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52166         (nexttoward_test_data): New variable.
52167         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52168         (pow_test_data): New variable.
52169         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52170         (pow_tonearest_test_data): New variable.
52171         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52172         (pow_towardzero_test_data): New variable.
52173         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52174         (pow_downward_test_data): New variable.
52175         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52176         (pow_upward_test_data): New variable.
52177         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52178         (remainder_test_data): New variable.
52179         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52180         (scalb_test_data): New variable.
52181         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52182         * sysdeps/i386/fpu/libm-test-ulps: Update.
52184 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52186         * math/libm-test.inc (fma_test): Use max_value instead of local
52187         variable fltmax.
52188         (nextafter_test): Likewise.
52190         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52191         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52192         (acos_downward_test_data): New variable.
52193         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52194         (acos_upward_test_data): New variable.
52195         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52196         (acosh_test_data): New variable.
52197         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52198         (asin_test_data): New variable.
52199         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52200         (asin_tonearest_test_data): New variable.
52201         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52202         (asin_towardzero_test_data): New variable.
52203         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52204         (asin_downward_test_data): New variable.
52205         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52206         (asin_upward_test_data): New variable.
52207         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52208         (asinh_test_data): New variable.
52209         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52210         (atan_test_data): New variable.
52211         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52212         (atanh_test_data): New variable.
52213         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52214         (cbrt_test_data): New variable.
52215         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52216         (ceil_test_data): New variable.
52217         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52218         (cos_test_data): New variable.
52219         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52220         (cos_tonearest_test_data): New variable.
52221         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52222         (cos_towardzero_test_data): New variable.
52223         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52224         (cos_downward_test_data): New variable.
52225         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52226         (cos_upward_test_data): New variable.
52227         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52228         (cosh_test_data): New variable.
52229         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52230         (cosh_tonearest_test_data): New variable.
52231         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52232         (cosh_towardzero_test_data): New variable.
52233         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52234         (cosh_downward_test_data): New variable.
52235         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52236         (cosh_upward_test_data): New variable.
52237         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52238         (erf_test_data): New variable.
52239         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52240         (erfc_test_data): New variable.
52241         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52242         (exp_test_data): New variable.
52243         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52244         (exp_tonearest_test_data): New variable.
52245         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52246         (exp_towardzero_test_data): New variable.
52247         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52248         (exp_downward_test_data): New variable.
52249         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52250         (exp_upward_test_data): New variable.
52251         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52252         (exp10_test_data): New variable.
52253         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52254         (exp2_test_data): New variable.
52255         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52256         (expm1_test_data): New variable.
52257         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52258         (fabs_test_data): New variable.
52259         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52260         (floor_test_data): New variable.
52261         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52262         (j0_test_data): New variable.
52263         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52264         (j1_test_data): New variable.
52265         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52266         (log_test_data): New variable.
52267         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52268         (log10_test_data): New variable.
52269         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52270         (log1p_test_data): New variable.
52271         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52272         (log2_test_data): New variable.
52273         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52274         (logb_test_data): New variable.
52275         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52276         (logb_downward_test_data): New variable.
52277         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52278         (nearbyint_test_data): New variable.
52279         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52280         (rint_test_data): New variable.
52281         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52282         (rint_tonearest_test_data): New variable.
52283         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52284         (rint_towardzero_test_data): New variable.
52285         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52286         (rint_downward_test_data): New variable.
52287         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52288         (rint_upward_test_data): New variable.
52289         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52290         (round_test_data): New variable.
52291         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52292         (sin_test_data): New variable.
52293         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52294         (sin_tonearest_test_data): New variable.
52295         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52296         (sin_towardzero_test_data): New variable.
52297         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52298         (sin_downward_test_data): New variable.
52299         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52300         (sin_upward_test_data): New variable.
52301         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52302         (sinh_test_data): New variable.
52303         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52304         (sinh_tonearest_test_data): New variable.
52305         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52306         (sinh_towardzero_test_data): New variable.
52307         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52308         (sinh_downward_test_data): New variable.
52309         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52310         (sinh_upward_test_data): New variable.
52311         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52312         (sqrt_test_data): New variable.
52313         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52314         (tan_test_data): New variable.
52315         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52316         (tan_tonearest_test_data): New variable.
52317         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52318         (tan_towardzero_test_data): New variable.
52319         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52320         (tan_downward_test_data): New variable.
52321         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52322         (tan_upward_test_data): New variable.
52323         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52324         (tanh_test_data): New variable.
52325         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52326         (tgamma_test_data): New variable.
52327         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52328         (trunc_test_data): New variable.
52329         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52330         (y0_test_data): New variable.
52331         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52332         (y1_test_data): New variable.
52333         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52334         (significand_test_data): New variable.
52335         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52337 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52339         [BZ #12387]
52340         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52342 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52344         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52346 2013-05-10  Andreas Jaeger  <aj@suse.de>
52348         [BZ #15448]
52349         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52350         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52352 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52354         * math/gen-libm-test.pl (adjust_arg): New function.
52355         (special_functions): Handle generating output in both functions
52356         and arrays.
52357         (parse_args): Likewise.
52358         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52359         $in_func argument to parse_args.
52360         * math/libm-test.inc (struct test_f_f_data): New type.
52361         (IF_ROUND_INIT_): New macro.
52362         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52363         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52364         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52365         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52366         (ROUND_RESTORE_): Likewise.
52367         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52368         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52369         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52370         (ROUND_RESTORE_FE_UPWARD): Likewise.
52371         (RUN_TEST_LOOP_f_f): New macro.
52372         (acos_test_data): New variable.
52373         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52374         (acos_tonearest_test_data): New variable.
52375         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52377 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52379         * benchtests/bench-skeleton.c (startup): Fix coding style.
52381 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52383         [BZ #6809]
52384         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52385         negative infinity argument.
52386         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52387         negative infinity argument.
52388         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52389         negative infinity argument.
52390         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52391         domain errors.
52393 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52395         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52396         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52397         * iconv/iconv_prog.c (main): Likewise.
52398         * locale/programs/charmap-dir.c (charmap_readdir)
52399         (fopen_uncompressed): Likewise.
52400         * locale/programs/locfile.c (siblings_uncached)
52401         (write_locale_data): Use lstat64 instead of lstat.
52402         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52403         stat.
52405 2013-05-10  Andreas Jaeger  <aj@suse.de>
52407         [BZ #15395]
52408         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52409         localization.
52410         Include <locale.h>.
52412 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52414         * elf/dl-close.c (_dl_close_worker): Add comments.
52416 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52418         [BZ #15359]
52419         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52420         high part of pi/2.
52421         (__ieee754_rem_pio2l): Update comments.
52423         [BZ #15429]
52424         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52425         high part of pi/2.
52426         (__ieee754_rem_pio2l): Update comments.
52428         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52429         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52431         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52432         M_PI_4l.
52434         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52435         (M_PI_34_LOG10El): Likewise.
52436         (M_PI2_LOG10El): Likewise.
52437         (M_PI4_LOG10El): Likewise.
52438         (M_PI_LOG10El): Likewise.
52440 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52444 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52446         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52447         (MINUS_ZERO_INIT): Likewise.
52448         (PLUS_INFTY_INIT): Likewise.
52449         (MINUS_INFTY_INIT): Likewise.
52450         (QNAN_VALUE_INIT): Likewise.
52451         (MAX_VALUE_INIT): Likewise.
52452         (MIN_VALUE_INIT): Likewise.
52453         (MIN_SUBNORM_VALUE_INIT): Likewise.
52454         (plus_zero): Initialize with PLUS_ZERO_INIT.
52455         (minus_zero): Initialize with MINUS_ZERO_INIT.
52456         (plus_infty): Initialize with PLUS_INFTY_INIT.
52457         (minus_infty): Initialize with MINUS_INFTY_INIT.
52458         (qnan_value): Initialize with QNAN_VALUE_INIT.
52459         (max_value): Initialize with MAX_VALUE_INIT.
52460         (min_value): Initialize with MIN_VALUE_INIT.
52461         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52463         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52464         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52465         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52466         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52468         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52469         (RUN_TEST_2_f): Likewise.
52470         (RUN_TEST_ff_f): Likewise.
52471         (RUN_TEST_fi_f): Likewise.
52472         (RUN_TEST_fl_f): Likewise.
52473         (RUN_TEST_fff_f): Likewise.
52474         (RUN_TEST_c_f): Likewise.
52475         (RUN_TEST_f_f1): Likewise.
52476         (RUN_TEST_fF_f1): Likewise.
52477         (RUN_TEST_fI_f1): Likewise.
52478         (RUN_TEST_ffI_f1): Likewise.
52479         (RUN_TEST_c_c): Likewise.
52480         (RUN_TEST_cc_c): Likewise.
52481         (RUN_TEST_f_i): Likewise.
52482         (RUN_TEST_f_i_tg): Likewise.
52483         (RUN_TEST_ff_i_tg): Likewise.
52484         (RUN_TEST_f_b): Likewise.
52485         (RUN_TEST_f_b_tg): Likewise.
52486         (RUN_TEST_f_l): Likewise.
52487         (RUN_TEST_f_L): Likewise.
52488         (RUN_TEST_sincos): Likewise.
52489         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52490         whether to show exceptions.  Do not include ");\n" in return
52491         value.
52492         (special_functions): Output call to RUN_TEST_sincos instead of
52493         check_float calls.  Update calls to new_test.
52494         (parse_args): Output call to single RUN_TEST_* macro instead of
52495         check_* calls and other assignments.  Update calls to new_test.
52497         [BZ #2546]
52498         [BZ #2560]
52499         [BZ #5159]
52500         [BZ #15426]
52501         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52502         input to result for tgamma overflow.
52503         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52504         (gamma_coeff): New variable.
52505         (NCOEFF): New macro.
52506         (gamma_positive): New function.
52507         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52508         underflow here.  Use gamma_positive instead of exp (lgamma) for
52509         other arguments.
52510         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52511         (gamma_coeff): New variable.
52512         (NCOEFF): New macro.
52513         (gammaf_positive): New function.
52514         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52515         underflow here.  Use gamma_positive instead of exp (lgamma) for
52516         other arguments.
52517         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52518         (gamma_coeff): New variable.
52519         (NCOEFF): New macro.
52520         (gammal_positive): New function.
52521         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52522         underflow here.  Use gamma_positive instead of exp (lgamma) for
52523         other arguments.
52524         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52525         (gamma_coeff): New variable.
52526         (NCOEFF): New macro.
52527         (gammal_positive): New function.
52528         (__ieee754_gammal_r): Handle positive infinity, overflow and
52529         underflow here.  Handle NaN the same as positive infinity.  Remove
52530         check x < 0xffffffff for negative integers.  Use gamma_positive
52531         instead of exp (lgamma) for other arguments.
52532         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52533         (gamma_coeff): New variable.
52534         (NCOEFF): New macro.
52535         (gammal_positive): New function.
52536         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52537         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52538         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52539         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52540         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52541         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52542         * sysdeps/generic/math_private.h (__gamma_productf): New
52543         prototype.
52544         (__gamma_product): Likewise.
52545         (__gamma_productl): Likewise.
52546         * math/Makefile (libm-calls): Add gamma_product.
52547         * math/libm-test.inc (tgamma_test): Add more tests.
52548         * sysdeps/i386/fpu/libm-test-ulps: Update.
52549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52551 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52553         * benchtests/bench-skeleton.c (main): Preheat CPU.
52555 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52557         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52559 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52561         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52562         and _dl_skip_args_internal.
52564 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52566         * manual/message.texi (Message Translation): Talk about users.
52567         Message to key mapping impacts design.
52569 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52571         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52573         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52575         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52576         * sysdeps/wordsize-64/glob64.c: ... here.
52578         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52579         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52580         New macros.
52582         * debug/getlogin_r_chk.c: Moved to ...
52583         * login/getlogin_r_chk.c: ... here.
52584         * debug/Makefile (routines): Move getlogin_r_chk to ...
52585         * login/Makefile (routines): ... here.
52586         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52587         * login/Versions (libc: GLIBC_2.4): ... here.
52589         * io/poll.c (__poll): Renamed from poll.
52590         Add libc_hidden_def.
52591         (poll): Define as weak alias.
52593         * debug/ptsname_r_chk.c: Moved to ...
52594         * login/ptsname_r_chk.c: ... here.
52595         * debug/Makefile (routines): Move ptsname_r_chk to ...
52596         * login/Makefile (routines): ... here.
52597         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52598         * login/Versions (libc: GLIBC_2.4): ... here.
52600         * posix/getlogin.c: Moved to ...
52601         * login/getlogin.c: ... here.
52602         * posix/getlogin_r.c: Moved to ...
52603         * login/getlogin_r.c: ... here.
52604         * posix/getlogin_r.c: Moved to ...
52605         * login/getlogin_r.c: ... here.
52606         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52607         * login/Makefile (routines): ... here.
52608         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52609         * login/Versions (libc: GLIBC_2.0): ... here.
52611         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52612         (setrlimit): Define as weak alias.
52614         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52615         Call __ names for open, ftruncate, and close.
52616         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52617         (truncate): Define as weak alias.
52619 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52621         * math/gen-libm-test.pl (parse_args): Initialize x before each
52622         test of frexp, modf and remquo.
52624         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52625         test signgam value.
52627 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52629         [BZ #15418]
52630         [BZ #15419]
52631         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52632         internal tests.
52633         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52635 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52637         * elf/dl-writev.h: New file.
52638         * elf/dl-misc.c: Include it.
52639         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52640         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52642 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52644         * math/libm-test.inc (noXFails): Remove variable.
52645         (noXPasses): Likewise.
52646         (BUILD_COMPLEX_INT): Remove macro.
52647         (print_screen): Remove xfail argument.
52648         (print_screen_max_error): Likewise.
52649         (update_stats): Likewise.
52650         (print_max_error): Likewise.  Update calls to other affected
52651         functions.
52652         (print_complex_max_error): Likewise.
52653         (test_single_exception): Update calls to print_screen.
52654         (test_single_errno): Likewise.
52655         (check_float_internal): Remove xfail argument.  Update calls to
52656         other affected functions.
52657         (check_float): Likewise.
52658         (check_complex): Likewise.
52659         (check_int): Likewise.
52660         (check_long): Likewise.
52661         (check_bool): Likewise.
52662         (check_longlong): Likewise.
52663         (main): Don't print noXFails and noXPasses.
52664         * math/gen-libm-test.pl (top level): Don't mention expected
52665         failure handling in comment.
52666         (new_test): Don't handle expected failures.
52667         (parse_args): Don't mention expected failure handling in comment.
52668         (generate_testfile): Don't handle expected failures.
52669         (parse_ulps): Likewise.
52670         (print_ulps_file): Likewise.
52671         (get_failure): Remove function.
52672         (output_test): Don't handle expected failures.
52673         * make/README.libm-test: Don't mention expected failure handling.
52675         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52676         (minus_zero): Likewise.
52677         (plus_infty): Likewise.
52678         (minus_infty): Likewise.
52679         (qnan_value): Likewise.
52680         (max_value): Likewise.
52681         (min_value): Likewise.
52682         (min_subnorm_value): Likewise.
52683         (initialize): Do not initialize those variables dynamically.
52685 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52687         * io/open.c (__open_2): Moved to ...
52688         * io/open_2.c: ... this new file.
52689         * io/open64.c (__open64_2): Moved to ...
52690         * io/open64_2.c: ... this new file.
52691         * io/openat.c (__openat_2): Moved to ...
52692         * io/openat_2.c: ... this new file.
52693         * io/openat64.c (__openat64_2): Moved to ...
52694         * io/openat64_2.c: ... this new file.
52695         * io/Makefile (routines): Add them.
52696         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52697         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52698         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52699         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52700         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52701         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52702         (__openat64): Add hidden_ver.
52703         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52704         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52706         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52707         Separately conditionalize setting of GLRO(dl_sysinfo) so
52708         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52709         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52711 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52713         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52714         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52715         definition.
52716         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52717         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52718         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52719         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52720         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52722 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52724         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52725         test signgam value.
52727         * math/libm-test.inc (hypot_test): Do not use
52728         IGNORE_ZERO_INF_SIGN.
52730 2013-05-03  Andreas Jaeger  <aj@suse.de>
52732         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52733         Linux 3.9.
52734         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52735         (PF_MAX): Adjust for VSOCK change.
52737 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52741 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52743         [BZ #15264]
52744         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52745         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52746         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52748 2013-05-02  David S. Miller  <davem@davemloft.net>
52750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52752 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52754         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52756 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52758         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52760 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52762         [BZ #14952]
52763         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52764         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52765         Use __attribute__ ((__gnu_inline__)).
52766         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52767         Don't use __attribute__ ((__gnu_inline__)).
52769 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52771         [BZ #15423]
52772         * math/s_catan.c (__catan): Handle small real or imaginary part of
52773         input specially to avoid spurious underflow.
52774         * math/s_catanf.c (__catanf): Likewise.
52775         * math/s_catanh.c (__catanh): Likewise.
52776         * math/s_catanhf.c (__catanhf): Likewise.
52777         * math/s_catanhl.c (__catanhl): Likewise.
52778         * math/s_catanl.c (__catanl): Likewise.
52779         * math/libm-test.inc (catan_test): Add more tests.
52780         (catanh_test): Likewise.
52781         * sysdeps/i386/fpu/libm-test-ulps: Update.
52782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52784 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52788 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52790         [BZ #15416]
52791         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52792         accurately for denominator in atan2.
52793         * math/s_catanf.c (__catanf): Likewise.
52794         * math/s_catanh.c (__catanh): Likewise.
52795         * math/s_catanhf.c (__catanhf): Likewise.
52796         * math/s_catanhl.c (__catanhl): Likewise.
52797         * math/s_catanl.c (__catanl): Likewise.
52798         * math/libm-test.inc (catan_test): Add more tests.
52799         (catanh_test): Likewise.
52800         * sysdeps/i386/fpu/libm-test-ulps: Update.
52801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52803 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52805         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52807         * benchtests/Makefile (bench): Remove slow benchmarks.
52808         * benchtests/atan-inputs: Add slow benchmark inputs.
52809         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52810         (BENCH_FUNC): Accept variant offset.
52811         (VARIANT): Define.
52812         * benchtests/bench-skeleton.c (main): Run benchmark for each
52813         variant.
52814         * benchtests/cos-inputs: Add slow benchmark inputs.
52815         * benchtests/exp-inputs: Likewise.
52816         * benchtests/pow-inputs: Likewise.
52817         * benchtests/sin-inputs: Likewise.
52818         * benchtests/slowatan-inputs: Remove.
52819         * benchtests/slowatan.c: Remove.
52820         * benchtests/slowcos-inputs: Remove.
52821         * benchtests/slowcos.c: Remove.
52822         * benchtests/slowexp-inputs: Remove.
52823         * benchtests/slowexp.c: Remove.
52824         * benchtests/slowpow-inputs: Remove.
52825         * benchtests/slowpow.c: Remove.
52826         * benchtests/slowsin-inputs: Remove.
52827         * benchtests/slowsin.c: Remove.
52828         * benchtests/slowtan-inputs: Remove.
52829         * benchtests/slowtan.c: Remove.
52830         * benchtests/tan-inputs: Add slow benchmark inputs.
52831         * scripts/bench.pl: Parse comments and directives.
52833         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52834         in CPPFLAGS.
52835         ($(objpfx)bench-%.c): Remove *-ITER.
52836         * benchtests/bench-modf.c: Remove definition of ITER.
52837         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52838         (main): Loop for DURATION seconds instead of fixed number of
52839         iterations.
52840         * scripts/bench.pl: Don't expect iterations in parameters.
52842 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52844         * io/fchdir.c (__fchdir): Renamed from fchdir.
52845         (fchdir): Define as weak alias.
52847 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52849         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52850         (ERRNO_EDOM): Likewise.
52851         (ERRNO_ERANGE): Likewise.
52852         (noErrnoTests): New variable.
52853         (init_max_error): Set errno to 0.
52854         (test_single_errno): New function.
52855         (test_errno): Likewise.
52856         (check_float_internal): Call test_errno.  Set errno to 0.
52857         (check_complex): Refer to errno tests in comment.
52858         (check_int): Call test_errno.  Set errno to 0.
52859         (check_long): Likewise.
52860         (check_bool): Likewise.
52861         (check_longlong): Likewise.
52862         (cos_test): Use ERRNO_* flags for errno tests instead of
52863         check_int.
52864         (expm1_test): Likewise.
52865         (fmod_test): Likewise.
52866         (ilogb_test): Likewise.
52867         (lgamma_test): Likewise.
52868         (pow_test): Likewise.
52869         (remainder_test): Likewise.
52870         (sin_test): Likewise.
52871         (tan_test): Likewise.
52872         (yn_test): Likewise.
52873         (initialize): Set errno to 0.
52874         (main): Print number of errno tests.
52875         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52877 2013-04-29  Andreas Jaeger  <aj@suse.de>
52879         [BZ #15084]
52880         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52881         and RES_USEVC.
52883         [BZ #15085]
52884         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52885         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52886         unimplemented.
52888         [BZ #15380]
52889         * stdlib/random.c (__initstate): Return NULL if
52890         __initstate fails.
52892         [BZ #15086]
52893         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52894         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52895         RES_SNGLKUPREOP.
52897 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52901 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52903         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52904         of individual tests.
52905         (casin_test): Likewise.
52906         (casinh_test): Likewise.
52908 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52910         [BZ #15409]
52911         * math/s_catan.c (__catan): Handle arguments with large real or
52912         imaginary part separately without squaring.
52913         * math/s_catanf.c (__catanf): Likewise.
52914         * math/s_catanh.c (__catanh): Likewise.
52915         * math/s_catanhf.c (__catanhf): Likewise.
52916         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52917         and redefine.
52918         (__catanhl): Handle arguments with large real or imaginary part
52919         separately without squaring.
52920         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52921         and redefine.
52922         (__catanl): Handle arguments with large real or imaginary part
52923         separately without squaring.
52924         * math/libm-test.inc (catan_test): Add more tests.
52925         (catanh_test): Likewise.
52926         * sysdeps/i386/fpu/libm-test-ulps: Update.
52927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52929 2013-04-27  Andreas Jaeger  <aj@suse.de>
52931         [BZ #15007]
52932         * stdlib/stdlib.h: Update guards for qecvt.
52933         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52934         <stdlib.h>.
52936 2013-04-27  Allan McRae  <allan@archlinux.org>
52938         * sysdeps/i386/fpu/libm-test-ulps: Update.
52940 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52942         [BZ #15406]
52943         * math/s_catan.c: Include <float.h>.
52944         (__catan): Ensure underflow exception occurs for underflowed
52945         result.
52946         * math/s_catanf.c: Include <float.h>.
52947         (__catanf): Ensure underflow exception occurs for underflowed
52948         result.
52949         * math/s_catanh.c: Include <float.h>.
52950         (__catanh): Ensure underflow exception occurs for underflowed
52951         result.
52952         * math/s_catanhf.c: Include <float.h>.
52953         (__catanhf): Ensure underflow exception occurs for underflowed
52954         result.
52955         * math/s_catanhl.c: Include <float.h>.
52956         (__catanhl): Ensure underflow exception occurs for underflowed
52957         result.
52958         * math/s_catanl.c: Include <float.h>.
52959         (__catanl): Ensure underflow exception occurs for underflowed
52960         result.
52961         * math/libm-test.inc (catan_test): Add more tests.
52962         (catanh_test): Likewise.
52964         [BZ #15405]
52965         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52966         underflowed result.
52967         * math/s_ccoshf.c (__ccoshf): Likewise.
52968         * math/s_ccoshl.c (__ccoshl): Likewise.
52969         * math/s_csin.c (__csin): Likewise.
52970         * math/s_csinf.c (__csinf): Likewise.
52971         * math/s_csinh.c (__csinh): Likewise.
52972         * math/s_csinhf.c (__csinhf): Likewise.
52973         * math/s_csinhl.c (__csinhl): Likewise.
52974         * math/s_csinl.c (__csinl): Likewise.
52975         * math/libm-test.inc (ccos_test): Add more tests.
52976         (ccosh_test): Likewise.
52977         (csin_test): Likewise.
52978         (csinh_test): Likewise.
52980 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52982         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52983         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52984         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52985         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52986         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52987         powerpc/power5+/fpu folders.
52988         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52991 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52995 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52997         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52998         additions to variable.
52999         [$(config-machine) = x86_64] (modules-names): Likewise.
53000         ($(objpfx)tst-audit3): Remove dependency.
53001         ($(objpfx)tst-audit3.out): Likewise.
53002         ($(objpfx)tst-audit4): Likewise.
53003         ($(objpfx)tst-audit4.out): Likewise.
53004         ($(objpfx)tst-audit5): Likewise.
53005         ($(objpfx)tst-audit5.out): Likewise.
53006         ($(objpfx)tst-audit6): Likewise.
53007         ($(objpfx)tst-audit6.out): Likewise.
53008         ($(objpfx)tst-audit7): Likewise.
53009         ($(objpfx)tst-audit7.out): Likewise.
53010         (tst-audit3-ENV): Remove variable.
53011         (tst-audit4-ENV): Likewise.
53012         (tst-audit5-ENV): Likewise.
53013         (tst-audit6-ENV): Likewise.
53014         (tst-audit7-ENV): Likewise.
53015         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53016         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53017         addition to variable.
53018         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53019         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53020         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53021         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53022         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53023         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53024         tst-audit3, tst-audit4 and tst-audit5.
53025         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53026         tst-audit6 and tst-audit7.
53027         [$(subdir) = elf] (modules-names): Add audit modules for those
53028         tests.
53029         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53030         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53031         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53032         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53033         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53034         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53035         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53036         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53037         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53038         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53039         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53040         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53041         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53042         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53043         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53044         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53045         Likewise.
53046         [$(subdir) = elf && $(config-cflags-avx) = yes]
53047         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53048         [$(subdir) = elf && $(config-cflags-avx) = yes]
53049         (CFLAGS-tst-auditmod4a.c): Likewise.
53050         [$(subdir) = elf && $(config-cflags-avx) = yes]
53051         (CFLAGS-tst-auditmod4b.c): Likewise.
53052         [$(subdir) = elf && $(config-cflags-avx) = yes]
53053         (CFLAGS-tst-auditmod6b.c): Likewise.
53054         [$(subdir) = elf && $(config-cflags-avx) = yes]
53055         (CFLAGS-tst-auditmod6c.c): Likewise.
53056         [$(subdir) = elf && $(config-cflags-avx) = yes]
53057         (CFLAGS-tst-auditmod7b.c): Likewise.
53058         * elf/tst-audit3.c: Move to ...
53059         * sysdeps/x86_64/tst-audit3.c: ... here.
53060         * elf/tst-audit4.c: Move to ...
53061         * sysdeps/x86_64/tst-audit4.c: ... here.
53062         * elf/tst-audit5.c: Move to ...
53063         * sysdeps/x86_64/tst-audit5.c: ... here.
53064         * elf/tst-audit6.c: Move to ...
53065         * sysdeps/x86_64/tst-audit6.c: ... here.
53066         * elf/tst-audit7.c: Move to ...
53067         * sysdeps/x86_64/tst-audit7.c: ... here.
53068         * elf/tst-auditmod3a.c: Move to ...
53069         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53070         * elf/tst-auditmod3b.c: Move to ...
53071         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53072         * elf/tst-auditmod4a.c: Move to ...
53073         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53074         * elf/tst-auditmod4b.c: Move to ...
53075         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53076         * elf/tst-auditmod5a.c: Move to ...
53077         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53078         * elf/tst-auditmod5b.c: Move to ...
53079         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53080         * elf/tst-auditmod6a.c: Move to ...
53081         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53082         * elf/tst-auditmod6b.c: Move to ...
53083         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53084         * elf/tst-auditmod6c.c: Move to ...
53085         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53086         * elf/tst-auditmod7a.c: Move to ...
53087         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53088         * elf/tst-auditmod7b.c: Move to ...
53089         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53091 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53093         [BZ #15366]
53094         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53095         define unconditionally.
53096         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53097         define unconditionally.
53098         (INT8_C, INT16_C, etc.): Likewise.
53100 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53102         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53103         __ehdr_start with hidden visibility.
53105         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53107 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53109         * math/libm-test.inc (cos_test): Use accurate hex constants.
53110         (sincost_test): Likewise.
53112 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53114         * math/libm-test.inc (catan_test): Add more tests.
53115         (catanh_test): Likewise.
53117         * math/s_catanf.c (__catanf): Use suffixed floating-point
53118         constants.
53119         * math/s_catanhf.c (__catanhf): Likewise.
53120         * math/s_catanhl.c (__catanhl): Likewise.
53121         * math/s_catanl.c (__catanl): Likewise.
53123         [BZ #15394]
53124         * math/s_catan.c (__catan): Calculate imaginary part of result
53125         with log1p not log unless computing log of number close to 0.
53126         * math/s_catanf.c (__catanf): Likewise.
53127         * math/s_catanl.c (__catanl): Likewise.
53128         * math/s_catanh.c (__catanh): Calculate real part of result with
53129         log1p not log unless computing log of number close to 0.
53130         * math/s_catanhf.c (__catanhf): Likewise.
53131         * math/s_catanhl.c (__catanhl): Likewise.
53132         * math/libm-test.inc (catan_test): Add more tests.
53133         (catanh_test): Likewise.
53134         * sysdeps/i386/fpu/libm-test-ulps: Update.
53135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53137 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53139         * benchtests/Makefile: Mention files in which fast and slow
53140         paths of math functions are implemented.
53142 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53144         * sysdeps/posix/timespec_get.c: New file.
53146 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53148         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53149         POWER.
53150         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53151         for POWER.
53152         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53153         powerpc/power5/fpu folders.
53154         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53155         * benchtests/Makefile: Add modf testcase.
53156         * benchtests/bench-modf.c: New file: Benchmark test for mo
53158 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53160         [BZ #14888]
53161         * time/Makefile (tests): Add tst-strptime-whitespace.
53162         * time/strptime_l.c (get_number): Use ISSPACE.
53163         (__strptime_internal): Likewise.
53164         * time/tst-strptime-whitespace.c: New test case.
53166 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53168         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53169         member.
53170         (_nss_files_init): Set it here.
53172 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53174         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53175         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53176         unsigned.
53178 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53180         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53182 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53184         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53185         size just once.
53187 2013-04-21  David S. Miller  <davem@davemloft.net>
53189         * po/ru.po: Update Russion translation from translation project.
53191 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53193         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53194         and setfsgid.
53196 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53198         * configure.in: Remove i386 configure warning. Remove i386 case.
53199         * configure: Regenerate.
53200         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53201         Add example to error message.
53202         * sysdeps/i386/configure: Regenerate.
53204 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53206         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53207         slowtan.
53208         * benchtests/cos-inputs: New file.
53209         * benchtests/slowcos-inputs: New file.
53210         * benchtests/slowcos.c: New file.
53211         * benchtests/slowtan-inputs: New file.
53212         * benchtests/slowtan.c: New file.
53213         * benchtests/tan-inputs: New file.
53215 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53217         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53218         considered kosher.
53220 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53222         * benchtests/Makefile: Include cppflags-iterator.mk to add
53223         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53225         * Makefile.in (bench-clean): New target.
53226         * benchtests/Makefile (bench-clean): Likewise.
53228 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53230         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53232 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53234         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53236 2013-04-15  Andreas Schwab  <schwab@suse.de>
53238         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53239         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53240         * nscd/pwdcache.c (cache_addpw): Likewise.
53241         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53242         more than recsize.
53244 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53246         * benchtests/Makefile (bench): Write all output to
53247         bench-out.tmp together.
53249 2013-04-15  Andreas Schwab  <schwab@suse.de>
53251         * nscd/nscd.c (main): Don't fork again after closing files.
53253 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53255         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53257         * benchtests/Rules (bench-deps): Collect dependencies into a
53258         single variable.  Add Makefile to dependencies.
53259         ($(objpfx)bench-%.c): Depend on bench-deps.
53261 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53262             Xavier Roche  <roche+kml2@exalead.com>
53264         [BZ #15361]
53265         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53266         just that it's a file descriptor.
53267         * manual/llio.texi (Synchronizing AIO Operations): Update description
53268         for EBADF error from aio_fsync.
53270 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53272         * Rules (bench): Move target definition...
53273         * benchtests/Makefile: ... here.
53275 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53277         * math/libm-test.inc (cos_test): Fix PI/2 test.
53278         (sincos_test): Likewise.
53279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53280         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53282 2013-04-11  Andreas Schwab  <schwab@suse.de>
53284         [BZ #13988]
53285         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53286         accept exponent character only when digits were seen.
53287         * stdio-common/Makefile (tests): Add bug26.
53288         * stdio-common/bug26.c: New file.
53290         [BZ #14293]
53291         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53292         non-freeable.
53294 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53296         * Makeconfig (rtld-prefix): Define built linker prefix.
53297         * Rules (run-bench): Use it.
53298         * math/Makefile (run-regen-ulps): Likewise.
53300         * Rules (bench): Remove eval.
53302 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53303             Roland McGrath  <roland@hack.frob.com>
53304             Ondrej Bilka  <neleai@seznam.cz>
53306         [BZ #15346]
53307         * time/getdate.c: Include ctype.h and alloca.h.
53308         (__getdate_r): Trim leading and trailing spaces of input.
53309         * time/tst-getdate.c (tests): Add tests with leading and
53310         trailing spaces.
53312 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53314         [BZ #14280]
53315         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53316         when computing value.
53318 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53320         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53321         Use testrun.sh to run libm tests.
53323         [BZ #15309]
53324         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53326 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53328         [BZ #15264]
53329         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53331 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53333         * Makefile.in (regen-ulps): New target.
53334         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53335         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53336         [ifneq (no,$(PERL)] (regen-ulps): New target.
53337         [ifeq (no,$(PERL)] (regen-ulps): New target.
53338         * math/libm-test.inc (ulps_file_name): Define.
53339         (output_dir): New variable.
53340         (options): Add "output-dir" option.
53341         (parse_opt): Handle 'o' case.
53342         (main): If output_dir is non-NULL use it as a prefix
53343         otherwise use "".
53344         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53346 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53348         [BZ #10060, #10062]
53349         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53350         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53351         fail configure if __sync_val_compare_and_swap is not inlined.
53352         * sysdeps/i386/configure: Regenerate.
53353         * configure.in: Build for i686 when configured for i386.
53354         * configure: Regenerate.
53355         * README: Remove i386 reference.
53357 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53359         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53362 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53364         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53365         (lmsnanval): New variables.
53366         (F): Add conversion tests.
53367         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53368         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53370         * stdio-common/tstdiomisc.c (F): Properly collect individual
53371         tests' results.
53373         [BZ #14686, #15336]
53374         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53375         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53376         Instead, use input NaN values or generate a qNaN by arithmetic
53377         operation.  Also fix bugs to comply with the standard.
53378         * math/libm-test.inc (remainder_test): Add more tests.
53380         [BZ #15335, #15342]
53381         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53382         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53383         input NaN values or generate a qNaN by arithmetic operation.
53385         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53386         unreachable code.
53388         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53389         definitions.
53391 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53393         [BZ #14478]
53394         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53395         underflowed result.
53396         * math/s_cexpf.c (__cexpf): Likewise.
53397         * math/s_cexpl.c (__cexpl): Likewise.
53398         * math/libm-test.inc (cexp_test): Add more tests.
53400 2013-04-03  Andreas Schwab  <schwab@suse.de>
53402         [BZ #15330]
53403         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53404         order arrays from heap if bigger than alloca cutoff.
53406 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53408         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53409         (SNAN_TESTS_double): Refer to GCC PR56831.
53410         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53411         GCC PR56828.
53413 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53415         * Rules (bench): Move bench.out after the run is complete.
53417         * Rules (bench): Echo currently running benchmark.
53419         * benchtests/Makefile (bench): Add atan and slowatan.
53420         * benchtests/atan-inputs: New file.
53421         * benchtests/slowatan-inputs: New file.
53422         * benchtests/slowatan.c: New file.
53424         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53425         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53426         its value.
53428         [BZ #15305]
53429         * sysdeps/unix/sysv/linux/kernel-features.h
53430         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53431         __ASSUME_XFS_RESTRICTED_CHOWN.
53432         * sysdeps/unix/sysv/linux/pathconf.c
53433         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53434         Save and restore errno.
53436 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53438         [BZ #15327]
53439         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53440         arguments using __kernel_casinh.
53441         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53442         arguments using __kernel_casinhf.
53443         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53444         arguments using __kernel_casinhl.
53445         * math/libm-test.inc (cacosh_test): Add more tests.
53446         * sysdeps/i386/fpu/libm-test-ulps: Update.
53447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53449 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53451         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53452         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53454         * bench/Makefile (bench): Add sin and slowsin.
53455         * benchtests/sin-inputs: New file.
53456         * benchtests/slowsin-inputs: New file.
53457         * benchtests/slowsin.c: New file.
53459         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53460         (bench): Add slowexp and slowpow.
53461         (exp-ITER): Increase iterations.
53462         (pow-ITER): Likewise.
53463         * benchtests/exp-inputs: Change input.
53464         * benchtests/pow-inputs: Likewise.
53465         * benchtests/slowexp-inputs: New file.
53466         * benchtests/slowexp.c: New file.
53467         * benchtests/slowpow-inputs: New file.
53468         * benchtests/slowpow.c: New file.
53470 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53472         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53473         instructions.
53474         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53475         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53476         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53477         * benchtests/Makefile: Add rint benchtest.
53478         * benchtests/rint-inputs: Input for rint benchtest.
53480 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53482         * Versions.def (libm): Add GLIBC_2.18.
53483         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53484         hidden libm prototypes.
53485         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53486         * math/Makefile (libm-calls): Add s_issignaling.
53487         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53488         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53489         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53490         declaration.
53491         * math/math.h [__USE_GNU] (issignaling): New macro.
53492         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53493         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53494         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53495         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53496         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53497         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53498         * manual/arith.texi (issignaling): New section.
53499         * manual/libm-err-tab.pl (@all_functions): Update comment.
53500         * math/gen-libm-test.pl (parse_args): Apply special handling for
53501         issignaling.
53502         * math/libm-test.inc (print_float, issignaling_test): New
53503         functions.
53504         (check_float_internal): Add issignaling checks.
53505         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53506         default definition.
53507         * sysdeps/powerpc/math-tests.h: New file.
53508         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53509         tests.
53510         * math/test-snan.c (TEST_FUNC): Likewise.
53512 2013-03-30  David S. Miller  <davem@davemloft.net>
53514         * po/de.po: Update from translation team.
53516 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53518         [BZ #10357]
53519         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53520         imaginary part less than 1.0 and real part less than 0.5
53521         specially.
53522         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53523         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53524         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53525         (cacos_test): Add more tests.
53526         (casin_test): Likewise.
53527         (casinh_test): Likewise.
53528         * sysdeps/i386/fpu/libm-test-ulps: Update.
53529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53531 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53533         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53534         ONE with its value.
53536         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53537         (__pow_mp): Replace ONE and MONE with their values.
53538         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53539         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53540         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53541         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53542         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53543         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53545         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53547         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53548         (__pow_mp): Replace ZERO and MZERO with their values.
53549         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53551         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53553         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53554         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53555         (__sqr): Likewise.
53557         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53559         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53561 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53563         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53564         Declare with __attribute__ ((weak)).
53565         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53566         Call __call_tls_dtors only if it's not NULL.
53568 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53570         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53571         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53572         magic __ehdr_start linker symbol if it's defined.
53573         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53574         them up here if it was already done.
53576         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53577         (_dl_aux_init): Use const in cast when setting it.
53578         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53579         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53580         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53582         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53583         Declare them here.
53584         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53585         * csu/libc-tls.c: Nor here.
53586         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53588         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53589         (__libc_message): Never call vsyslog.
53591 2013-03-28  Alan Modra  <amodra@gmail.com>
53593         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53594         Define as empty.
53595         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53596         Likewise.
53598 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53600         [BZ #15214]
53601         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53602         underflow.
53603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53605 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53607         [BZ #15304]
53608         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53609         Don't add gid passed as argument.
53611         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53613 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53615         [BZ #15307]
53616         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53617         imaginary part between 1.0 and 1.5 and real part less than 0.5
53618         specially.
53619         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53620         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53621         * math/libm-test.inc (cacos_test): Add more tests.
53622         (casin_test): Likewise.
53623         (casinh_test): Likewise.
53624         * sysdeps/i386/fpu/libm-test-ulps: Update.
53625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53627 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53629         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53630         constants.
53631         (norm): Likewise.
53632         (denorm): Likewise.
53633         (__dbl_mp): Likewise.
53634         (add_magnitudes): Likewise.
53635         (sub_magnitudes): Likewise.
53636         (__add): Likewise.
53637         (__sub): Likewise.
53638         (__mul): Likewise.
53639         (__sqr): Likewise.
53640         (__inv): Likewise.
53641         (__dvd): Likewise.
53643         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53644         commented code.
53645         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53646         (__dubcos): Likewise.
53647         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53648         (__ieee754_acos): Likewise.
53649         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53650         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53651         (__exp1): Likewise.
53652         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53653         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53654         (log1): Likewise.
53655         (my_log2): Likewise.
53656         (checkint): Likewise.
53657         * sysdeps/ieee754/dbl-64/e_remainder.c
53658         (__ieee754_remainder): Likewise.
53659         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53660         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53661         (bsloww): Likewise.
53662         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53664         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53665         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53666         MANTISSA_STORE_T to store computations on mantissa.  Use
53667         macros for rounding and division.
53668         (denorm): Likewise.
53669         (__dbl_mp): Likewise.
53670         (add_magnitudes): Likewise.
53671         (sub_magnitudes): Likewise.
53672         (__mul): Likewise.
53673         (__sqr): Likewise.
53674         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53675         powers of two in terms of TWOPOW macro.
53676         (mp_no): Make type of mantissa as MANTISSA_T.
53677         [!RADIXI]: Define RADIXI.
53678         [!TWO52]: Define TWO52.
53679         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53681 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53683         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53684         llroundl symbol when building for PPC32.
53686 2013-03-24  Mark H Weaver  <mhw@netris.org>
53688         * manual/arith.texi (Normalization Functions): Fix prototypes for
53689         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53691 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53693         [BZ #13889]
53694         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53695         high value to check if expl overflow.
53696         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53697         to check for underflow and overflow.
53698         * math/libm-test.inc: Add exp test.
53700 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53702         [BZ #11120]
53703         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53704         with NOT_IN_libc.
53706 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53708         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53709         symbol.
53711 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53713         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53714         wrap blocks consisting of several statements.
53716         * sysdeps/generic/math-tests.h: New file.
53717         * sysdeps/i386/fpu/math-tests.h: Likewise.
53718         * math/test-snan.c: Include it.
53719         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53721 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53723         [BZ #15285]
53724         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53725         (__ieee754_j0l): Do not improve calculations using cos of twice
53726         input for inputs above LDBL_MAX / 2.0L.
53727         (__ieee754_y0l): Likewise.
53728         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53729         (__ieee754_j1l): Do not improve calculations using cos of twice
53730         input for inputs above LDBL_MAX / 2.0L.
53731         (__ieee754_y1l): Likewise.
53732         * math/libm-test.inc (j0_test): Add another test.
53733         (j1_test): Likewise.
53734         (y0_test): Likewise.
53735         (y1_test): Likewise.
53736         * sysdeps/i386/fpu/libm-test-ulps: Update.
53738 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53740         * Rules ($(objpfx)bench-%.c): Include code from a C source
53741         file.
53743 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53745         [BZ #15287]
53746         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53747         imaginary part 1.0 and real part less than 0.5 specially.
53748         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53749         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53750         * math/libm-test.inc (cacos_test): Add more tests.
53751         (casin_test): Likewise.
53752         (casinh_test): Likewise.
53753         * sysdeps/i386/fpu/libm-test-ulps: Update.
53754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53756 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53758         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53759         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53761 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53763         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53764         * config.make.in (config-cflags-sse4): Remove variable.
53765         (config-cflags-avx): Likewise.
53766         (config-cflags-sse2avx): Likewise.
53767         (config-cflags-novzeroupper): Likewise.
53768         (config-asflags-i686): Likewise.
53769         (have-mfma4): Likewise.
53770         (have-as-vis3): Likewise.
53771         (MIG): Likewise.
53772         * configure.in (MIG): Do not AC_SUBST.
53773         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53774         (libc_cv_cc_sse4): Do not AC_SUBST.
53775         (libc_cv_cc_avx): Likewise.
53776         (libc_cv_cc_sse2avx): Likewise.
53777         (libc_cv_cc_novzeroupper): Likewise.
53778         (libc_cv_cc_fma4): Likewise.
53779         (libc_cv_as_i686): Likewise.
53780         (libc_cv_sparc_as_vis3): Likewise.
53781         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53782         LIBC_CONFIG_VAR.
53783         (config-asflags-i686): Likewise.
53784         (config-cflags-avx): Likewise.
53785         (config-cflags-sse2avx): Likewise.
53786         (have-mfma4): Likewise.
53787         (config-cflags-novzeroupper): Likewise.
53788         * sysdeps/mach/configure.in (MIG): Likewise.
53789         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53790         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53791         LIBC_CONFIG_VAR.
53792         (config-cflags-avx): Likewise.
53793         (config-cflags-sse2avx): Likewise.
53794         (have-mfma4): Likewise.
53795         (config-cflags-novzeroupper): Likewise.
53796         * configure: Regenerated.
53797         * sysdeps/i386/configure: Likewise.
53798         * sysdeps/mach/configure: Likewise.
53799         * sysdeps/sparc/configure: Likewise.
53800         * sysdeps/x86_64/configure: Likewise.
53802 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53804         [BZ #14812]
53805         * locale/programs/localedef.c (options): Put N_ translation marker
53806         on argument names, not just descriptions.
53808 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53810         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53812 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53814         [BZ #14176]
53815         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53817 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53819         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53820         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53821         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53822         [!BEFORE_ABORT] (before_abort): New function.
53823         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53824         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53825         (writev_for_fatal): New function.
53826         (WRITEV_FOR_FATAL): New macro; call that.
53827         (backtrace_and_maps): New function.
53828         (BEFORE_ABORT): New macro; call that.
53829         (struct str_list): Type removed.
53830         (__libc_message, __libc_fatal): Functions removed.
53831         Include <sysdeps/posix/libc_fatal.c> instead.
53833 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53835         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53836         constants.
53837         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53838         double constants.
53840 2013-03-19  Andreas Schwab  <schwab@suse.de>
53842         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53843         * sysdeps/gnu/configure: Regenerate.
53845         * configure.in: Substitute libc_cv_rtlddir.
53846         * configure: Regenerate.
53847         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53848         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53849         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53850         * elf/Makefile (install-others, CFLAGS-interp.c)
53851         (ldso_install, common-ldd-rewrite): Likewise.
53852         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53853         $(inst_slibdir)/$(rtld-installed-name).
53854         * scripts/rellns-sh: Add -p option.
53855         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53856         for source.
53858 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53860         * manual/nptl.texi: Renamed to ...
53861         * manual/threads.texi: ... this.
53862         * manual/Makefile (chapters): Update.
53864 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53866         [BZ #14812]
53867         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53868         on argument names, not just descriptions.
53869         * malloc/memusagestat.c (options): Likewise.
53870         * nss/getent.c (options): Likewise.
53872 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53874         [BZ #14812]
53875         * iconv/iconv_prog.c (options): Put N_ translation marker
53876         on argument names, not just descriptions.
53877         * iconv/iconvconfig.c (options): Likewise.
53879 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53881         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53882         implementation which is faster on all x86_64 architectures.
53883         Tested on AMD, Intel Nehalem, SNB, IVB.
53884         * sysdeps/x86_64/strnlen.S: Likewise.
53886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53887         Remove all multiarch strlen and strnlen versions.
53888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53889         Remove strlen and strnlen related parts.
53891         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53892         Inline strlen part.
53893         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53895         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53896         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53897         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53898         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53899         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53900         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53902 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53904         * manual/memory.texi (Malloc Tunable Parameters):
53905         Sort parameters alphabetically. Add comments for missing entries.
53907 2013-03-17  David S. Miller  <davem@davemloft.net>
53909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53911 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53913         [BZ #15283]
53914         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53915         for arguments at most half maximum finite value.
53916         * math/libm-test.inc (j0_test): Add more tests.
53917         (j1_test): Likewise.
53918         (y0_test): Likewise.
53919         (y1_test): Likewise.
53920         * sysdeps/i386/fpu/libm-test-ulps: Update.
53921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53923         [BZ #14155]
53924         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53925         1 / x and functions P and Q for arguments above 0x1p256L.
53926         (__ieee754_y0l): Likewise.
53927         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53928         (__ieee754_y1l): Likewise.
53929         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53930         (j1_test): Likewise.
53931         (y0_test): Likewise.
53932         (y1_test): Likewise.
53934 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53936         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53937         variable.
53939 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53941         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53942         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53943         zero since it's initialized to EXEC_PAGESIZE.
53945         * sysdeps/unix/sysv/linux/ldsodefs.h
53946         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53947         * sysdeps/generic/ldsodefs.h: ... here.
53949 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53951         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53953         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53954         math/test-snan.c.
53955         * math/test-snan.c: Renamed from
53956         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53957         * math/Makefile (tests): Add test-snan.
53958         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53959         test-powerpc-snan.
53961         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53962         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53963         functions.
53964         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53965         __builtin_nan family of functions.
53966         * math/libm-test.inc (initialize): Initialize qnan_value with
53967         __builtin_nan family of functions.
53968         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53969         Remove variables.
53970         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53971         Remove functions.
53972         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53973         storage class.  Initialize qNaN_var and sNaN_var with
53974         __builtin_nan and __builtin_nans families of functions,
53975         respectively.
53977         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53978         (sqrt_test): Remove duplicate test with qNaN input.
53979         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53980         (round_test, signbit_test, significand_test): Note missing +/-Inf
53981         as well as qNaN tests.
53983         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53984         qNaN_var.  Fix a few strings, too.
53985         * math/libm-test.inc (nan_value): Rename to qnan_value.
53986         * math/gen-libm-test.pl (%beautify): Adjust to that.
53987         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53988         * math/test-misc.c (main): Likewise.
53989         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53990         to __qnan_bytes, and __qnan_union, respectively.
53991         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53992         Likewise.
53993         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53994         and lqnanval, respectively.
53995         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53996         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53997         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53998         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54000         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54001         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54002         doubles.
54004         * math/test-misc.c (main): Fix copy'n'pastos.
54005         * misc/tst-efgcvt.c (special): Likewise.
54007         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54008         Remove declarations.
54010 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54012         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54013         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54014         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54015         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54017 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54019         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54020         macro to return vdso values correctly in IFUNC implementations.
54021         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54022         Optimization by using IFUNC.
54024 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54025             Richard Henderson  <rth@redhat.com>
54026             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54028         * Makefile.in (bench): New target.
54029         * NEWS: Mention the benchmark framework.
54030         * Rules (bench): Likewise.
54031         (binaries-bench): Generate binaries for functions to
54032         benchmark.
54033         * benchtests/Makefile: New makefile for benchmark tests.
54034         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54035         programs.
54036         * benchtests/exp-inputs: New input file for EXP function.
54037         * benchtests/pow-inputs: New input file for POW function.
54038         * scripts/bench.pl: New script to generate source files for
54039         benchmark programs.
54041 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54043         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54044         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54045         computations on mantissa.  Use macros for rounding and
54046         division.
54047         (denorm): Likewise.
54048         (__dbl_mp): Likewise.
54049         (add_magnitudes): Likewise.
54050         (sub_magnitudes): Likewise.
54051         (__mul): Likewise.
54052         (__sqr): Likewise.
54053         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54054         powers of two in terms of TWOPOW macro.
54055         (mp_no): Make type of mantissa as MANTISSA_T.
54056         [!RADIXI]: Define RADIXI.
54057         [!TWO52]: Define TWO52.
54058         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54060         * manual/nptl.texi (cindex): Modify threads to pthreads.
54062 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54064         * sysdeps/x86_64/preconfigure: Regenerated.
54066 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54068         [BZ #14155]
54069         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54070         0x1p28 and above.
54071         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54072         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54073         0x1p28 and above.
54074         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54075         * math/libm-test.inc (j0_test): Do not allow one spurious
54076         underflow exception.
54077         (y1_test): Likewise.
54079 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54081         * manual/Makefile (chapters): Add nptl.
54082         * manual/debug.texi (Debugging Support): Add link to Threads
54083         chapter.
54084         * manual/nptl.texi: New file.
54086         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54088 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54090         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54091         for non-NULL pointer before the memory validity test. Pointed
54092         out by Holger Brunck <holger.brunck@keymile.com>.
54094 2013-03-13  Andreas Schwab  <schwab@suse.de>
54096         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54097         instead of .os.
54099 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54101         * timezone/zic.c: Update from tzcode 2013b.
54103 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54105         * manual/install.texi (Configuring and compiling):
54106         Mention i686 and i586.
54107         * INSTALL: Regenerate.
54109 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54111         * sysdeps/init_array/elf-init.c: New file.
54112         * csu/elf-init.c
54113         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54114         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54116         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54117         __gmon_start__ as global, but as static with a .preinit_array pointer.
54118         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54119         * sysdeps/init_array/crti.S: New file, empty except for comments.
54120         * sysdeps/init_array/crtn.S: Likewise.
54122 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54124         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54125         definining bcopy.
54126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54127         Remove Prefer_SSE_for_memop.
54128         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54129         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54130         HAS_PREFER_SSE_FOR_MEMOP.
54131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54132         memset-x86-64.
54133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54134         Remove bzero, memset ifunc support.
54135         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54136         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54137         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54140 2013-03-11  Andreas Schwab  <schwab@suse.de>
54142         [BZ #15234]
54143         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54144         by SHLIB_COMPAT.
54145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54146         (GLIBC_2.16): Remove pthread_atfork.
54148 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54150         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54151         (ptestcases.h): Likewise.
54153 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54155         * Makeconfig ($(common-objpfx)config.status): Depend on
54156         sysdeps/*/preconfigure{,.in} too.
54158 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54160         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54161         (__free_hook): Use void * instead of __malloc_ptr_t.
54162         (__malloc_hook): Likewise.
54163         (__realloc_hook): Likewise.
54164         (__memalign_hook): Likewise.
54165         (__after_morecore_hook): Likewise.
54166         * malloc/arena.c (save_malloc_hook): Likewise.
54167         (save_free_hook): Likewise.
54168         * malloc/hooks.c (malloc_hook_ini): Likewise.
54169         (realloc_hook_ini): Likewise.
54170         (memalign_hook_ini): Likewise.
54171         * malloc/malloc.c (malloc_hook_ini): Likewise.
54172         (realloc_hook_ini): Likewise.
54173         (memalign_hook_ini): Likewise.
54174         (__free_hook): Likewise.
54175         (__malloc_hook): Likewise.
54176         (__realloc_hook): Likewise.
54177         (__memalign_hook): Likewise.
54178         (__libc_malloc): Likewise.
54179         (__libc_free): Likewise.
54180         (__libc_realloc): Likewise.
54181         (__libc_memalign): Likewise.
54182         (__libc_valloc): Likewise.
54183         (__libc_pvalloc): Likewise.
54184         (__libc_calloc): Likewise.
54185         (__posix_memalign): Likewise.
54186         * malloc/morecore.c (__sbrk): Likewise.
54187         (__default_morecore): Likewise.
54189         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54191         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54192         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54193         __malloc_ptrdiff_t.
54195         * malloc/malloc.h (__malloc_size_t): Remove macro.
54196         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54197         __malloc_size_t.
54198         (old_memalign_hook): Likewise.
54199         (old_realloc_hook): Likewise.
54200         (struct hdr): Likewise.
54201         (flood): Likewise.
54202         (mallochook): Likewise.
54203         (memalignhook): Likewise.
54204         (reallochook): Likewise.
54205         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54206         (tr_old_realloc_hook): Likewise.
54207         (tr_old_memalign_hook): Likewise.
54208         (tr_mallochook): Likewise.
54209         (tr_reallochook): Likewise.
54210         (tr_memalignhook): Likewise.
54212 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54215         default_ldbl_pack and using as default implementation.
54216         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54217         implementation.
54218         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54219         redundant definition.
54220         (ldbl_insert_mantissa): Likewise.
54221         (ldbl_canonicalize): Likewise.
54222         (ldbl_nearbyint): Likewise.
54223         (ldbl_pack): Rename to ldbl_pack_ppc.
54224         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54225         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54226         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54228 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54231         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54232         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54233         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54235         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54236         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54237         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54239 2013-03-07  Andreas Jaeger  <aj@suse.de>
54241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54242         bits/mman-linux.h.
54244 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54246         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54247         Include mpa.h and declare __MPEXP.
54248         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54249         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54250         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54251         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54252         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54253         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54254         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54256         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54257         (__slowpow): Use long double EXPL and LOGL functions to
54258         compute POW.
54259         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54260         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54261         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54262         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54263         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54264         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54267         intermediate variable to calculate exponent.
54268         (__sqr): Likewise.
54269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54270         Likewise.
54271         (__sqr): Likewise.
54273         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54274         [!NO__SQR]: Define __sqr.
54275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54276         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54277         sysdeps/ieee754/dbl-64/mpa.c.
54278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54280         [BZ #12723]
54281         * posix/Makefile (tests): Add tst-pathconf.
54282         * posix/tst-pathconf.c: New test case.
54283         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54284         _PC_PIPE_BUF.
54285         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54287 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54289         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54291 2013-03-06  Andreas Jaeger  <aj@suse.de>
54293         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54294         definition via __MAP_ANONYMOUS.
54296         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54297         it's not part of Linux headers.
54299         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54300         (MAP_HUGE_MASK): Define.
54302         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54303         Define.
54304         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54305         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54306         Define.
54307         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54308         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54309         Define.
54310         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54311         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54312         Define.
54313         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54315         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54316         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54317         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54318         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54319         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54320         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54322         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54323         Handle f2fs.
54325         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54326         Handle f2fs and efivarfs.
54328         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54329         f2fs.
54331         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54332         (EFIVARFS_MAGIC): Add.
54333         (F2FS_LINK_MAX): Add.
54335 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54337         * stdio-common/vfprintf.c: Replace __builtin_expect with
54338         __glibc_unlikely.
54340 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54342         [BZ #13550]
54343         * sysdeps/generic/bp-sym.h: Remove file.
54344         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54345         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54346         <bp-sym.h> and <bp-asm.h>.
54347         (__longjmp): Don't use BP_SYM.
54348         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54349         and <bp-asm.h>.
54350         (memcpy): Don't use BP_SYM.
54351         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54352         <bp-sym.h> and <bp-asm.h>.
54353         (memcpy): Don't use BP_SYM.
54354         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54355         <bp-asm.h>.
54356         (memcpy): Don't use BP_SYM.
54357         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54358         <bp-asm.h>.
54359         (memset): Don't use BP_SYM.
54360         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54361         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54362         (__bzero): Don't use BP_SYM.
54363         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54364         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54365         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54366         <bp-sym.h> and <bp-asm.h>.
54367         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54368         pointers.
54369         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54370         <bp-sym.h> and <bp-asm.h>.
54371         (memcpy): Don't use BP_SYM.
54372         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54373         <bp-sym.h> and <bp-asm.h>.
54374         (memset): Don't use BP_SYM.
54375         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54376         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54377         (__bzero): Don't use BP_SYM.
54378         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54379         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54380         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54381         <bp-sym.h> and <bp-asm.h>.
54382         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54383         pointers.
54384         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54385         <bp-sym.h> and <bp-asm.h>.
54386         (memcpy): Don't use BP_SYM.
54387         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54388         <bp-sym.h> and <bp-asm.h>.
54389         (memset): Don't use BP_SYM.
54390         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54391         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54392         (__bzero): Don't use BP_SYM.
54393         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54394         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54395         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54396         <bp-sym.h> and <bp-asm.h>.
54397         (__memchr): Don't use BP_SYM.
54398         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54399         <bp-sym.h> and <bp-asm.h>.
54400         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54401         pointers.
54402         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54403         <bp-sym.h> and <bp-asm.h>.
54404         (memcpy): Don't use BP_SYM.
54405         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54406         <bp-sym.h> and <bp-asm.h>.
54407         (__mempcpy): Don't use BP_SYM.
54408         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54409         <bp-sym.h> and <bp-asm.h>.
54410         (__memrchr): Don't use BP_SYM.
54411         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54412         <bp-sym.h> and <bp-asm.h>.
54413         (memset): Don't use BP_SYM.
54414         (__bzero): Likewise.
54415         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54416         <bp-sym.h> and <bp-asm.h>.
54417         (__rawmemchr): Don't use BP_SYM.
54418         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54419         <bp-sym.h> and <bp-asm.h>.
54420         (__STRCMP): Don't use BP_SYM.
54421         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54422         <bp-sym.h> and <bp-asm.h>.
54423         (strchr): Don't use BP_SYM.
54424         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54425         <bp-sym.h> and <bp-asm.h>.
54426         (__strchrnul): Don't use BP_SYM.
54427         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54428         <bp-sym.h> and <bp-asm.h>.
54429         (strlen): Don't use BP_SYM.
54430         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54431         <bp-sym.h> and <bp-asm.h>.
54432         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54433         pointers.
54434         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54435         <bp-sym.h> and <bp-asm.h>.
54436         (__strnlen): Don't use BP_SYM.
54437         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54438         <bp-sym.h> and <bp-asm.h>.
54439         (__GI__setjmp): Don't use BP_SYM.
54440         (_setjmp): Likewise.
54441         (__sigsetjmp): Likewise.
54442         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54443         (L(start_addresses)): Don't use BP_SYM.
54444         (_start): Likewise.
54445         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54446         <bp-asm.h>.
54447         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54448         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54449         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54450         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54451         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54452         <bp-asm.h>.
54453         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54454         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54455         about bounded pointers.
54456         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54457         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54458         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54459         <bp-asm.h>.
54460         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54461         about bounded pointers.  Remove GKM FIXME comments.
54462         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54463         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54464         <bp-asm.h>.
54465         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54466         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54467         Remove GKM FIXME comments.
54468         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54469         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54470         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54471         <bp-asm.h>.
54472         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54473         about bounded pointers.  Remove GKM FIXME comment.
54474         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54475         and <bp-asm.h>.
54476         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54477         pointers.
54478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54479         <bp-sym.h> and <bp-asm.h>.
54480         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54482         <bp-sym.h> and <bp-asm.h>.
54483         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54484         comment.
54486 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54488         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54489         call free(NULL).
54491 2013-03-05  David S. Miller  <davem@davemloft.net>
54493         * po/es.po: Update from translation team.
54495 2013-03-05  Andreas Jaeger  <aj@suse.de>
54497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54498         <bits/mman-linux.h>.
54499         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54500         is fine.
54501         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54502         <bits/mman-linux.h> to end of file.
54503         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54504         is fine.
54505         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54506         <bits/mman-linux.h> to end of file.
54507         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54508         is fine.
54509         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54510         <bits/mman-linux.h> to end of file.
54512         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54513         (MCL_CURRENT, MCL_FUTURE): Define here.
54515 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54517         [BZ #15232]
54518         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54519         attribute_hidden.
54520         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54522 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54524         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54525         fourth parameter needed for rt_sigprocmask syscall.
54526         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54527         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54528         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54529         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54530         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54531         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54533 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54535         [BZ #13550]
54536         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54537         comment about bounded pointers.
54538         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54539         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54541 2013-03-04  Andreas Jaeger  <aj@suse.de>
54543         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54544         common definitions.
54546         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54547         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54548         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54549         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54550         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54551         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54553 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54555         [BZ #15055]
54556         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54557         __ieee754_sqrl instead of __sqrl.
54559 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54561         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54562         * sysdeps/powerpc/fpu_control.h: ... here.
54563         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54564         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54565         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54566         * sysdeps/powerpc/bits/mathinline.h: ... here.
54568 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54570         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54571         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54572         to just [NEED_DL_SYSINFO_DSO].
54573         * elf/dl-support.c: Likewise.
54574         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54575         * elf/rtld.c (dl_main): Likewise.
54576         * elf/setup-vdso.h (setup_vdso): Likewise.
54577         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54578         * sysdeps/unix/sysv/linux/dl-sysdep.c
54579         (_dl_discover_osversion): Likewise.
54581 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54583         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54584         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54586 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54588         * NEWS: Mention libm performance improvements and non-x86 PI
54589         futex support.
54591         * csu/libc-start.c (__pthread_initialize_minimal): Change
54592         function arguments.
54593         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54595 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54597         [BZ #13550]
54598         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54599         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54600         <bp-sym.h> and <bp-asm.h>.
54601         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54602         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54603         and <bp-asm.h>.
54604         (memcpy): Don't use BP_SYM.
54605         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54606         <bp-asm.h>.
54607         (__mpn_add_n): Don't use BP_SYM.
54608         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54609         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54610         and <bp-asm.h>.
54611         (__mpn_addmul_1): Don't use BP_SYM.
54612         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54613         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54614         <bp-sym.h>.
54615         (_setjmp): Don't use BP_SYM.
54616         (__novmx_setjmp): Likewise.
54617         (__GI__setjmp): Likewise.
54618         (__vmx_setjmp): Likewise.
54619         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54620         <bp-sym.h>.
54621         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54622         (__bzero): Don't use BP_SYM.
54623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54625         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54626         <bp-sym.h> and <bp-asm.h>.
54627         (memcpy): Don't use BP_SYM.
54628         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54629         <bp-sym.h> and <bp-asm.h>.
54630         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54631         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54632         <bp-sym.h> and <bp-asm.h>.
54633         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54634         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54635         <bp-asm.h>.
54636         (__mpn_lshift): Don't use BP_SYM.
54637         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54638         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54639         <bp-asm.h>.
54640         (memset): Don't use BP_SYM.
54641         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54642         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54643         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54644         <bp-asm.h>.
54645         (__mpn_mul_1): Don't use BP_SYM.
54646         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54648         <bp-sym.h> and <bp-asm.h>.
54649         (memcmp): Don't use BP_SYM.
54650         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54651         <bp-sym.h> and <bp-asm.h>.
54652         (memcpy): Don't use BP_SYM.
54653         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54654         <bp-sym.h> and <bp-asm.h>.
54655         (memset): Don't use BP_SYM.
54656         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54657         <bp-sym.h> and <bp-asm.h>.
54658         (strncmp): Don't use BP_SYM.
54659         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54660         <bp-sym.h> and <bp-asm.h>.
54661         (memcpy): Don't use BP_SYM.
54662         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54663         <bp-sym.h> and <bp-asm.h>.
54664         (memset): Don't use BP_SYM.
54665         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54666         <bp-sym.h> and <bp-asm.h>.
54667         (__memchr): Don't use BP_SYM.
54668         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54669         <bp-sym.h> and <bp-asm.h>.
54670         (memcmp): Don't use BP_SYM.
54671         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54672         <bp-sym.h> and <bp-asm.h>.
54673         (memcpy): Don't use BP_SYM.
54674         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54675         <bp-sym.h> and <bp-asm.h>.
54676         (__mempcpy): Don't use BP_SYM.
54677         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54678         <bp-sym.h> and <bp-asm.h>.
54679         (__memrchr): Don't use BP_SYM.
54680         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54681         <bp-sym.h> and <bp-asm.h>.
54682         (memset): Don't use BP_SYM.
54683         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54684         <bp-sym.h> and <bp-asm.h>.
54685         (__rawmemchr): Don't use BP_SYM.
54686         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54687         <bp-sym.h> and <bp-asm.h>.
54688         (__STRCMP): Don't use BP_SYM.
54689         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54690         <bp-sym.h> and <bp-asm.h>.
54691         (strchr): Don't use BP_SYM.
54692         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54693         <bp-sym.h> and <bp-asm.h>.
54694         (__strchrnul): Don't use BP_SYM.
54695         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54696         <bp-sym.h> and <bp-asm.h>.
54697         (strlen): Don't use BP_SYM.
54698         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54699         <bp-sym.h> and <bp-asm.h>.
54700         (strncmp): Don't use BP_SYM.
54701         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54702         <bp-sym.h> and <bp-asm.h>.
54703         (__strnlen): Don't use BP_SYM.
54704         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54705         <bp-asm.h>.
54706         (__mpn_rshift): Don't use BP_SYM.
54707         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54708         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54709         <bp-sym.h> and <bp-asm.h>.
54710         (__sigsetjmp): Don't use BP_SYM.
54711         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54712         (L(start_addresses)): Don't use BP_SYM.
54713         (_start): Likewise.
54714         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54715         <bp-asm.h>.
54716         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54717         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54718         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54719         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54720         <bp-asm.h>.
54721         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54722         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54723         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54724         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54725         <bp-asm.h>.
54726         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54727         comments.
54728         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54729         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54730         <bp-asm.h>.
54731         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54732         FIXME comments.
54733         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54734         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54735         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54736         <bp-asm.h>.
54737         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54738         comment.
54739         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54740         and <bp-asm.h>.
54741         (strncmp): Don't use BP_SYM,
54742         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54743         <bp-asm.h>.
54744         (__mpn_sub_n): Don't use BP_SYM.
54745         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54746         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54747         and <bp-asm.h>.
54748         (__mpn_submul_1): Don't use BP_SYM.
54749         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54751         <bp-sym.h> and <bp-asm.h>.
54752         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54754         <bp-sym.h> and <bp-asm.h>.
54755         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54756         comment.
54758 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54761         Use ZK to minimize writes to Z.
54762         (sub_magnitudes): Simplify code a bit.
54763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54764         Use ZK to minimize writes to Z.
54765         (sub_magnitudes): Simplify code a bit.
54767 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54769         * csu/gmon-start.c: Add special exception to license text.
54771 2013-02-27  Richard Henderson  <rth@redhat.com>
54773         * scripts/config.guess: Update from config.git.
54774         * scripts/config.sub: Likewise.
54776 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54778         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54780         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54782         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54784         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54786         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54788 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54790         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54791         [$(build-shared = yes].
54793 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54795         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54796         (__mul): Reduce iterations for calculating mantissa.
54798         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54799         MPTWO.
54800         (__mpranred): Likewise.
54802         [BZ #15160]
54803         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54804         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54806 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54808         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54809         Define __attribute__.
54811 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54813         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54814         unused.
54815         * posix/regex_internal.h (__attribute): Remove.
54816         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54817         (re_string_context_at): Likewise.
54818         (bitset_not): Use __attribute__ and mark function as possibly
54819         unused.
54820         (bitset_merge): Likewise.
54821         (bitset_mask): Likewise.
54822         (re_string_char_size_at): Likewise.
54823         (re_string_wchar_at): Likewise.
54824         (re_string_elem_size_at): Likewise.
54826 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54828         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54829         code.
54830         (cc32): Likewise.
54832         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54833         (__acr): Likewise.
54834         (__cpy): Likewise.
54835         (norm): Likewise.
54836         (denorm): Likewise.
54837         (__dbl_mp): Likewise.
54838         (add_magnitudes): Likewise.
54839         (sub_magnitudes): Likewise.
54840         (__mul): Likewise.
54841         (__inv): Likewise.
54843         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54844         style.
54846         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54847         style.
54849         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54850         code.
54852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54853         up changes with default code.
54854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54855         Likewise.
54857 2013-02-24  Allan McRae  <allan@archlinux.org>
54859         * manual/socket.texi (The Internet Namespace): Order menu items
54860         to match that in the file.
54862         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54863         node listing of the info page menu.
54865 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54867         [BZ #13550]
54868         * sysdeps/i386/bp-asm.h: Remove file.
54869         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54870         (PARMS): Do not use macros from bp-asm.h.
54871         (S1): Likewise.
54872         (S2): Likewise.
54873         (SIZE): Likewise.
54874         (__mpn_add_n): Do not use BP_SYM
54875         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54876         "bp-asm.h".
54877         (PARMS): Do not use macros from bp-asm.h.
54878         (S1): Likewise.
54879         (SIZE): Likewise.
54880         (__mpn_addmul_1): Do not use BP_SYM
54881         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54882         "bp-asm.h".
54883         (PARMS): Do not use macros from bp-asm.h.
54884         (SIGMSK): Likewise.
54885         (_setjmp): Likewise.  Do not use BP_SYM.
54886         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54887         "bp-asm.h".
54888         (PARMS): Do not use macros from bp-asm.h.
54889         (SIGMSK): Likewise.
54890         (setjmp): Likewise.  Do not use BP_SYM.
54891         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54892         "bp-asm.h".
54893         (PARMS): Do not use macros from bp-asm.h.
54894         (__frexp): Do not use BP_SYM.
54895         (frexp): Likewise.
54896         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54897         "bp-asm.h".
54898         (PARMS): Do not use macros from bp-asm.h.
54899         (__frexpf): Do not use BP_SYM.
54900         (frexpf): Likewise.
54901         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54902         "bp-asm.h".
54903         (PARMS): Do not use macros from bp-asm.h.
54904         (__frexpl): Do not use BP_SYM.
54905         (frexpl): Likewise.
54906         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54907         "bp-asm.h".
54908         (PARMS): Do not use macros from bp-asm.h.
54909         (__remquo): Do not use BP_SYM.
54910         (remquo): Likewise.
54911         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54912         "bp-asm.h".
54913         (PARMS): Do not use macros from bp-asm.h.
54914         (__remquof): Do not use BP_SYM.
54915         (remquof): Likewise.
54916         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54917         "bp-asm.h".
54918         (PARMS): Do not use macros from bp-asm.h.
54919         (__remquol): Do not use BP_SYM.
54920         (remquol): Likewise.
54921         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54922         "bp-asm.h".
54923         (PARMS): Do not use macros from bp-asm.h.
54924         (DEST): Likewise.
54925         (SRC): Likewise.
54926         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54927         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54928         "bp-asm.h".
54929         (PARMS): Do not use macros from bp-asm.h.
54930         (strlen): Do not use BP_SYM.
54931         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54932         "bp-asm.h".
54933         (PARMS): Do not use macros from bp-asm.h.
54934         (S1): Likewise.
54935         (S2): Likewise.
54936         (SIZE): Likewise.
54937         (__mpn_add_n): Do not use BP_SYM.
54938         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54939         "bp-asm.h".
54940         (PARMS): Do not use macros from bp-asm.h.
54941         (S1): Likewise.
54942         (SIZE): Likewise.
54943         (__mpn_addmul_1): Do not use BP_SYM.
54944         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54945         weak_alias.
54946         (bzero): Likewise.
54947         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54948         "bp-asm.h".
54949         (PARMS): Do not use macros from bp-asm.h.
54950         (S): Likewise.
54951         (SIZE): Likewise.
54952         (__mpn_lshift): Do not use BP_SYM.
54953         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54954         "bp-asm.h".
54955         (PARMS): Do not use macros from bp-asm.h.
54956         (DEST): Likewise.
54957         (SRC): Likewise.
54958         (LEN): Likewise.
54959         (memcpy): Likewise.  Do not use BP_SYM.
54960         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54961         libc_hidden_def and weak_alias.
54962         (mempcpy): Do not use BP_SYM in weak_alias.
54963         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54964         "bp-asm.h".
54965         (PARMS): Do not use macros from bp-asm.h.
54966         (DEST): Likewise.
54967         (LEN): Likewise.
54968         [!BZERO_P] (CHR): Likewise.
54969         (memset): Likewise.  Do not use BP_SYM.
54970         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54971         "bp-asm.h".
54972         (PARMS): Do not use macros from bp-asm.h.
54973         (S1): Likewise.
54974         (SIZE): Likewise.
54975         (__mpn_mul_1): Do not use BP_SYM.
54976         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54977         "bp-asm.h".
54978         (PARMS): Do not use macros from bp-asm.h.
54979         (S): Likewise.
54980         (SIZE): Likewise.
54981         (__mpn_rshift): Do not use BP_SYM.
54982         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54983         "bp-asm.h".
54984         (PARMS): Do not use macros from bp-asm.h.
54985         (STR): Likewise.
54986         (CHR): Likewise.
54987         (strchr): Likewise.  Do not use BP_SYM.
54988         (index): Do not use BP_SYM in weak_alias.
54989         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54990         "bp-asm.h".
54991         (PARMS): Do not use macros from bp-asm.h.
54992         (DEST): Likewise.
54993         (SRC): Likewise.
54994         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54995         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54996         "bp-asm.h".
54997         (PARMS): Do not use macros from bp-asm.h.
54998         (strlen): Do not use BP_SYM.
54999         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55000         "bp-asm.h".
55001         (PARMS): Do not use macros from bp-asm.h.
55002         (S1): Likewise.
55003         (S2): Likewise.
55004         (SIZE): Likewise.
55005         (__mpn_sub_n): Do not use BP_SYM.
55006         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55007         "bp-asm.h".
55008         (PARMS): Do not use macros from bp-asm.h.
55009         (S1): Likewise.
55010         (SIZE): Likewise.
55011         (__mpn_submul_1): Do not use BP_SYM.
55012         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55013         "bp-asm.h".
55014         (PARMS): Do not use macros from bp-asm.h.
55015         (S1): Likewise.
55016         (S2): Likewise.
55017         (SIZE): Likewise.
55018         (__mpn_add_n): Do not use BP_SYM.
55019         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55020         weak_alias.
55021         (bzero): Likewise.
55022         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55023         "bp-asm.h".
55024         (PARMS): Do not use macros from bp-asm.h.
55025         (BLK2): Likewise.
55026         (LEN): Likewise.
55027         (memcmp): Do not use BP_SYM.
55028         (bcmp): Do not use BP_SYM in weak_alias.
55029         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55030         "bp-asm.h".
55031         (PARMS): Do not use macros from bp-asm.h.
55032         (DEST): Likewise.
55033         (SRC): Likewise.
55034         (LEN): Likewise.
55035         (memcpy): Likewise.  Do not use BP_SYM.
55036         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55037         "bp-asm.h".
55038         (PARMS): Do not use macros from bp-asm.h.
55039         (DEST): Likewise.
55040         (SRC): Likewise.
55041         (LEN): Likewise.
55042         (memmove): Likewise.  Do not use BP_SYM.
55043         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55044         "bp-asm.h".
55045         (PARMS): Do not use macros from bp-asm.h.
55046         (DEST): Likewise.
55047         (SRC): Likewise.
55048         (LEN): Likewise.
55049         (__mempcpy): Likewise.  Do not use BP_SYM.
55050         (mempcpy): Do not use BP_SYM in weak_alias.
55051         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55052         "bp-asm.h".
55053         (PARMS): Do not use macros from bp-asm.h.
55054         (DEST): Likewise.
55055         (LEN): Likewise.
55056         [!BZERO_P] (CHR): Likewise.
55057         (memset): Likewise.  Do not use BP_SYM.
55058         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55059         "bp-asm.h".
55060         (PARMS): Do not use macros from bp-asm.h.
55061         (STR2): Likewise.
55062         (strcmp): Do not use BP_SYM.
55063         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55064         "bp-asm.h".
55065         (PARMS): Do not use macros from bp-asm.h.
55066         (STR): Likewise.
55067         (DELIM): Likewise.
55068         [USE_AS_STRTOK_R] (SAVE): Likewise.
55069         (FUNCTION): Likewise.  Do not use BP_SYM.
55070         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55071         aliases.
55072         (strtok_r): Likewise.
55073         (__GI___strtok_r): Likewise.
55074         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55075         (PARMS): Do not use macros from bp-asm.h.
55076         (S): Likewise.
55077         (SIZE): Likewise.
55078         (__mpn_lshift): Do not use BP_SYM.
55079         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55080         (PARMS): Do not use macros from bp-asm.h.
55081         (STR): Likewise.
55082         (CHR): Likewise.
55083         (__memchr): Do not use BP_SYM.
55084         (memchr): Do not use BP_SYM in weak_alias.
55085         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55086         (PARMS): Do not use macros from bp-asm.h.
55087         (BLK2): Likewise.
55088         (LEN): Likewise.
55089         (memcmp): Do not use BP_SYM.
55090         (bcmp): Do not use BP_SYM in weak_alias.
55091         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55092         (PARMS): Do not use macros from bp-asm.h.
55093         (S1): Likewise.
55094         (SIZE): Likewise.
55095         (__mpn_mul_1): Do not use BP_SYM.
55096         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55097         "bp-asm.h".
55098         (PARMS): Do not use macros from bp-asm.h.
55099         (STR): Likewise.
55100         (CHR): Likewise.
55101         (__rawmemchr): Do not use BP_SYM.
55102         (rawmemchr): Do not use BP_SYM in weak_alias.
55103         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55104         (PARMS): Do not use macros from bp-asm.h.
55105         (S): Likewise.
55106         (SIZE): Likewise.
55107         (__mpn_rshift): Do not use BP_SYM.
55108         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55109         (PARMS): Do not use macros from bp-asm.h.
55110         (SIGMSK): Likewise.
55111         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55112         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55113         (_start): Do not use BP_SYM.
55114         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55115         (PARMS): Do not use macros from bp-asm.h.
55116         (DEST): Likewise.
55117         (SRC): Likewise.
55118         (__stpcpy): Likewise.  Do not use BP_SYM.
55119         (stpcpy): Do not use BP_SYM in weak_alias.
55120         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55121         "bp-asm.h".
55122         (PARMS): Do not use macros from bp-asm.h.
55123         (DEST): Likewise.
55124         (SRC): Likewise.
55125         (LEN): Likewise.
55126         (__stpncpy): Likewise.  Do not use BP_SYM.
55127         (stpncpy): Do not use BP_SYM in weak_alias.
55128         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55129         (PARMS): Do not use macros from bp-asm.h.
55130         (STR): Likewise.
55131         (CHR): Likewise.
55132         (strchr): Likewise.  Do not use BP_SYM.
55133         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55134         "bp-asm.h".
55135         (PARMS): Do not use macros from bp-asm.h.
55136         (STR): Likewise.
55137         (CHR): Likewise.
55138         (__strchrnul): Likewise.  Do not use BP_SYM.
55139         (strchrnul): Do not use BP_SYM in weak_alias.
55140         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55141         "bp-asm.h".
55142         (PARMS): Do not use macros from bp-asm.h.
55143         (STOP): Likewise.
55144         (strcspn): Do not use BP_SYM.
55145         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
55150         (strpbrk): Likewise.  Do not use BP_SYM.
55151         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55152         "bp-asm.h".
55153         (PARMS): Do not use macros from bp-asm.h.
55154         (STR): Likewise.
55155         (CHR): Likewise.
55156         (strrchr): Likewise.  Do not use BP_SYM.
55157         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55158         (PARMS): Do not use macros from bp-asm.h.
55159         (SKIP): Likewise.
55160         (strspn): Do not use BP_SYM.
55161         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55162         (PARMS): Do not use macros from bp-asm.h.
55163         (STR): Likewise.
55164         (DELIM): Likewise.
55165         (SAVE): Likewise.
55166         (FUNCTION): Likewise.  Do not use BP_SYM.
55167         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55168         aliases.
55169         (strtok_r): Likewise.
55170         (__GI___strtok_r): Likewise.
55171         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55172         (PARMS): Do not use macros from bp-asm.h.
55173         (S1): Likewise.
55174         (S2): Likewise.
55175         (SIZE): Likewise.
55176         (__mpn_sub_n): Do not use BP_SYM.
55177         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55178         "bp-asm.h".
55179         (PARMS): Do not use macros from bp-asm.h.
55180         (S1): Likewise.
55181         (SIZE): Likewise.
55182         (__mpn_submul_1): Do not use BP_SYM.
55183         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55184         <bp-sym.h>.
55185         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55186         and <bp-asm.h>.
55187         (PARMS): Do not use macros from bp-asm.h.
55188         (FLAGS): Likewise.
55189         (PTID): Likewise.
55190         (TLS): Likewise.
55191         (CTID): Likewise.
55192         (__clone): Do not use BP_SYM.
55193         (clone): Do not use BP_SYM in weak_alias.
55194         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55195         and <bp-asm.h>.
55196         (PARMS): Do not use macros from bp-asm.h.
55197         (LEN): Likewise.
55198         (__mmap64): Do not use BP_SYM.
55199         (mmap64): Do not use BP_SYM in weak_alias.
55200         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55201         <bp-sym.h> and <bp-asm.h>.
55202         (PARMS): Do not use macros from bp-asm.h.
55203         (__posix_fadvise64_l64): Do not use BP_SYM.
55204         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55205         (PARMS): Do not use macros from bp-asm.h.
55206         (NSOPS): Likewise.
55207         (semtimedop): Do not use BP_SYM.
55208         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55209         and <bp-asm.h>.
55211 2013-02-21  Allan McRae  <allan@archlinux.org>
55213         * manual/message.texi (Charset conversion in gettext):
55214         Move @end statement to beginning of line.
55216 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55219         static.
55220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55221         Likewise.
55223         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55224         (denorm): Likewise.
55225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55228 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55230         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55231         tail-call to the resolved function if pltexit isn't needed.
55233 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55236         or Y being zero as being unlikely.
55237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55238         Likewise.
55240 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55242         * manual/nss.texi (System Databases and Name Service Switch):
55243         Remove frobnicate @pxref.
55245 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55247         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55248         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55250 2013-02-20  Petr Machata  <pmachata@redhat.com>
55252         * elf/elf.h (R_ARM_TARGET1): New macro.
55253         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55254         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55255         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55256         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55257         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55258         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55259         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55260         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55261         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55262         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55263         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55264         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55265         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55266         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55267         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55268         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55269         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55270         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55271         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55272         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55273         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55274         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55275         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55276         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55277         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55278         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55279         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55280         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55281         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55282         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55283         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55284         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55285         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55286         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55287         (R_ARM_THM_GOT_BREL12): Likewise.
55288         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55289         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55290         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55291         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55292         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55293         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55294         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55295         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55296         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55298 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55300         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55301         __attribute_used__ to __attribute__ ((unused)).
55303 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55305         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55306         powerpc mpa.c.
55307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55308         comment formatting.
55309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55311 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55313         [BZ #13550]
55314         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55315         Remove macro.
55316         (ENTER): Remove both macro definitions.
55317         (LEAVE): Likewise.
55318         (CHECK_BOUNDS_LOW): Likewise.
55319         (CHECK_BOUNDS_HIGH): Likewise.
55320         (CHECK_BOUNDS_BOTH): Likewise.
55321         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55322         (RETURN_BOUNDED_POINTER): Likewise.
55323         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55324         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55325         (POP_ERRNO_LOCATION_RETURN): Likewise.
55326         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55327         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55328         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55329         macros.
55330         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55331         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55332         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55333         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55334         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55335         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55336         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55337         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55338         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55339         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55340         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55341         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55342         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55343         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55344         removed macros.
55345         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55346         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55347         macros.
55348         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55349         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55350         * sysdeps/i386/i586/memset.S (memset): Likewise.
55351         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55352         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55353         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55354         macros.
55355         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55356         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55357         Change uses of L(2) to L(out).
55358         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55359         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55360         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55361         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55362         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55363         removed macros.
55364         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55365         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55366         macros.
55367         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55368         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55369         (RETURN): Do not use macro LEAVE.
55370         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55371         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55372         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55373         * sysdeps/i386/i686/memset.S (memset): Likewise.
55374         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55375         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55376         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55377         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55378         Likewise.
55379         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55380         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55381         L(1_2) and L(1_3) into L(1).
55382         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55383         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55384         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55385         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55386         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55387         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55388         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55389         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55390         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55391         macros.
55392         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55393         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55394         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55395         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55396         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55397         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55398         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55399         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55400         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55401         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55402         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55403         * sysdeps/i386/strspn.S (strspn): Likewise.
55404         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55405         conditional code.
55406         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55407         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55408         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55409         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55410         L(1_3) into L(1_1).
55411         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55412         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55413         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55414         macros.
55415         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55417 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55419         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55420         macro.
55422 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55424         * math/atest-exp.c (exp_mpn): Remove ROUND.
55425         * math/atest-exp2.c (exp_mpn): Likewise.
55426         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55428         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55429         * stdlib/tst-tls-atexit-lib.c: Likewise.
55430         * stdlib/tst-tls-atexit.c: Likewise.
55432 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55434         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55435         and __attribute_alloc_size__.
55437 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55439         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55440         __attribute_alloc_size__.
55441         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55442         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55444 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55446         * include/programs/xmalloc.h: New file.
55447         * catgets/gencat.c: Include it.
55448         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55449         * elf/pldd.c: Likewise.
55450         * iconv/iconv_charmap.c: Likewise.
55451         * iconv/iconvconfig.c: Likewise.
55452         * iconv/strtab.c: Likewise.
55453         * locale/programs/locale.c: Likewise.
55454         * locale/programs/localedef.h: Likewise.
55455         * locale/programs/simple-hash.c: Likewise.
55456         * nscd/nscd.h: Likewise.
55457         * nss/makedb.c: Likewise.
55458         * sysdeps/generic/ldconfig.h: Likewise.
55460 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55462         * Versions.def: Add GLIBC_2.18.
55463         * include/link.h (struct link_map): New member l_tls_dtor_count.
55464         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55465         (__call_tls_dtors): Likewise.
55466         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55467         __cxa_thread_atexit_impl.
55468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55469         Likewise.
55470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55471         Likewise.
55472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55473         Likewise.
55474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55475         Likewise.
55476         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55478         Likewise.
55479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55480         Likewise.
55481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55483         Likewise.
55484         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55485         (tests): Add test case tst-tls-atexit.
55486         (modules-names): Add shared library for tst-tls-atexit.
55487         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55488         (GLIBC_PRIVATE): Add __call_tls_dtors.
55489         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55490         for libstdc++.
55491         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55492         * stdlib/tst-tls-atexit.c: New test case.
55493         * stdlib/tst-tls-atexit-lib.c: New test case.
55495         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55497         * elf/Versions (ld): Add _dl_find_dso_for_object.
55498         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55499         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55500         (dl_open_worker): Use _dl_find_dso_for_object.
55501         * elf/dl-sym.c (do_sym): Likewise.
55502         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55504 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55506         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55507         Syntactic changes only.
55508         (_dl_runtime_profile): Do a tail-call to the resolved function.
55510 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55512         [BZ #13550]
55513         * sysdeps/x86_64/bp-asm.h: Remove file.
55514         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55515         <bp-sym.h> and <bp-asm.h>.
55516         (__clone): Do not use BP_SYM.
55517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55518         <bp-sym.h> and <bp-asm.h>.
55519         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55520         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55521         "bp-asm.h".
55522         (_setjmp): Do not use BP_SYM.
55523         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55524         "bp-asm.h".
55525         (setjmp): Do not use BP_SYM.
55526         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55527         libc_hidden_def.
55528         (mempcpy): Do not use BP_SYM in weak_alias.
55529         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55530         "bp-asm.h".
55531         (strchr): Do not use BP_SYM.
55532         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55533         "bp-asm.h".
55534         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55535         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55536         (_start): Do not use BP_SYM.
55537         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55538         "bp-asm.h".
55539         (strcat): Do not use BP_SYM.
55540         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55541         "bp-asm.h".
55542         (STRCMP): Do not use BP_SYM.
55543         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55544         "bp-asm.h".
55545         (STRCPY): Do not use BP_SYM.
55546         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55547         "bp-asm.h".
55548         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55549         "bp-asm.h".
55550         (FUNCTION): Do not use BP_SYM.
55551         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55552         weak_alias.
55553         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55555 2013-02-17  Andreas Jaeger  <aj@suse.de>
55557         * time/Versions: Sort entries.
55558         * string/Versions: Likewise.
55559         * resolv/Versions: Likewise.
55560         * posix/Versions: Likewise.
55561         * iconv/Versions: Likewise.
55562         * elf/Versions: Likewise.
55563         * wcsmbs/Versions: Likewise.
55565 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55567         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55568         loop termination condition.
55570         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55571         variable to calculate EZ.
55572         (__sqr): Likewise.
55574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55575         the lower precision input.
55577 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55579         [BZ #13550]
55580         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55581         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55582         (run-via-rtld-prefix): Do not handle %-bp tests.
55583         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55584         (all-object-suffixes): Remove .ob.
55585         (bppfx): Remove variable.
55586         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55587         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55588         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55589         [$(build-bounded) = yes] (libtype.ob): Likewise.
55590         * Makerules (elide-routines.ob): Remove variable.
55591         (do-tests-clean): Do not handle *-bp.out.
55592         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55593         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55594         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55595         (tests): Do not include $(tests-bp.out).
55596         (xtests): Do not include $(xtests-bp.out).
55597         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55598         [$(build-bounded) = yes] ($(addprefix
55599         $(objpfx),$(binaries-bounded))): Remove rule.
55600         ($(objpfx)%-bp.out): Remove rule.
55601         * config.make.in (build-bounded): Remove variable.
55602         * crypt/Makefile [$(build-bounded) = yes]
55603         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55604         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55605         append to variable.
55606         [$(build-bounded) = yes] (install-lib): Likewise.
55607         [$(build-bounded) = yes] (generated): Likewise.
55608         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55609         Remove rule.
55610         * intl/Makefile [$(build-bounded) = yes]
55611         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55612         * math/Makefile [$(build-bounded) = yes]
55613         ($(tests:%=$(objpfx)%-bp): Likewise.
55614         * misc/Makefile [$(build-bounded) = yes]
55615         ($(objpfx)tst-tsearch-bp): Likewise.
55616         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55617         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55618         Remove dependency.
55619         * string/Makefile (o-objects.ob): Remove variable.
55620         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55621         (CFLAGS-.ob): Remove variable.
55622         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55623         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55624         both definitions of variable.
55625         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55626         (ASFLAGS-.ob): Remove variable.
55628 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55630         [BZ #13550]
55631         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55632         Remove __BOUNDED_POINTERS__ from condition.
55633         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55634         * string/bits/string2.h [!__NO_STRING_INLINES &&
55635         !__BOUNDED_POINTERS__]: Likewise.
55636         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55637         Likewise.
55638         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55639         Remove conditional code.
55640         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55641         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55642         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55643         condition.
55645         [BZ #13550]
55646         * csu/libc-start.c: Do not include <bp-sym.h>.
55647         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55648         * elf/dl-open.c: Do not include <bp-sym.h>.
55649         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55650         * math/fegetenv.c: Do not include <bp-sym.h>.
55651         (fegetenv): Do not use BP_SYM in versioned symbols.
55652         * nptl/sysdeps/pthread/bits/libc-lockP.h
55653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55654         <bp-sym.h>.
55655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55656         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55658         (__pthread_mutex_destroy): Likewise.
55659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55660         (__pthread_mutex_lock): Likewise.
55661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55662         (__pthread_mutex_trylock): Likewise.
55663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55664         (__pthread_mutex_unlock): Likewise.
55665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55666         (__pthread_mutexattr_init): Likewise.
55667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55668         (__pthread_mutexattr_destroy): Likewise.
55669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55670         (__pthread_mutexattr_settype): Likewise.
55671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55672         (__pthread_rwlock_init): Likewise.
55673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55674         (__pthread_rwlock_destroy): Likewise.
55675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55676         (__pthread_rwlock_rdlock): Likewise.
55677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55678         (__pthread_rwlock_tryrdlock): Likewise.
55679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55680         (__pthread_rwlock_wrlock): Likewise.
55681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55682         (__pthread_rwlock_trywrlock): Likewise.
55683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55684         (__pthread_rwlock_unlock): Likewise.
55685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55686         (__pthread_key_create): Likewise.
55687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55688         (__pthread_setspecific): Likewise.
55689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55690         (__pthread_getspecific): Likewise.
55691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55692         Likewise.
55693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55694         (_pthread_cleanup_push_defer): Likewise.
55695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55696         (_pthread_cleanup_pop_restore): Likewise.
55697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55698         (pthread_setcancelstate): Likewise.
55699         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55700         <bp-sym.h>.
55701         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55702         (memchr): Do not use BP_SYM in weak_alias.
55703         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55704         (fegetenv): Do not use BP_SYM in versioned symbols.
55705         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55706         (fesetenv): Do not use BP_SYM in versioned symbols.
55707         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55708         (feupdateenv): Do not use BP_SYM in versioned symbols.
55709         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55710         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55711         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55712         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55713         (open64): Do not use BP_SYM in weak_alias.
55714         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55715         (fegetenv): Do not use BP_SYM in versioned symbols.
55716         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55717         (fesetenv): Do not use BP_SYM in versioned symbols.
55718         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55719         (feupdateenv): Do not use BP_SYM in versioned symbols.
55720         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55721         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55722         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55723         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55724         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55725         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55726         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55727         <bp-sym.h>.
55728         (__libc_start_main): Do not use BP_SYM.
55730 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55733         redundant return line.
55734         (norm): Likewise.
55735         (denorm): Likewise.
55736         (dbl_mp): Likewise.
55737         (sub_magnitudes): Likewise.
55738         (__add): Likewise.
55739         (__sub): Likewise.
55740         (__mul): Likewise.
55741         (__inv): Likewise.
55742         (__dvd): Likewise.
55743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55744         (norm): Likewise.
55745         (denorm): Likewise.
55746         (dbl_mp): Likewise.
55747         (sub_magnitudes): Likewise.
55748         (__add): Likewise.
55749         (__sub): Likewise.
55750         (__mul): Likewise.
55751         (__inv): Likewise.
55752         (__dvd): Likewise.
55754         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55755         instead of __mul.
55756         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55757         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55758         (cc32): Likewise.
55760         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55761         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55763         of __mul for squares.
55764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55765         function
55766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55767         Likewise.
55768         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55769         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55771 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55773         [BZ #13550]
55774         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55775         code.
55776         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55777         prototype or function definition.  Rename ubp_* variables and
55778         parameters.  Remove argv definitions conditional on
55779         [__BOUNDED_POINTERS__].
55780         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55781         * elf/dl-runtime.c (_dl_fixup): Likewise.
55782         * include/set-hooks.h (RUN_HOOK): Likewise.
55783         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55784         definition.
55785         * string/strcpy.c (strcpy): Do not use __unbounded.
55786         * sysdeps/generic/frame.h (struct layout): Likewise.
55787         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55788         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55789         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55790         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55791         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55792         (__backtrace): Likewise.
55793         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55794         use __ptrvalue.
55795         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55796         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55797         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55798         Likewise.
55799         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55800         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55801         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55802         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55803         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55804         Do not use __unbounded.
55805         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55806         Rename __unboundedrlimits parameter to rlimits in prototype.
55807         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55808         Do not use __unbounded.
55809         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55810         not use __ptrvalue.
55811         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55812         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55813         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55815         __ptrvalue or __unbounded.
55816         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55817         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55818         use __unbounded.
55819         (__new_msgctl): Do not use __ptrvalue.
55820         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55821         __unbounded.
55822         (__libc_msgrcv): Do not use __ptrvalue.
55823         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55824         startup_info): Do not use __unbounded.
55825         (__libc_start_main): Likewise.  Rename ubp_* variables and
55826         parameters.  Remove argv definitions conditional on
55827         [__BOUNDED_POINTERS__].
55828         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55829         __ptrvalue.
55830         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55831         use __unbounded.
55832         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55833         or __ptrvalue.
55834         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55835         use __unbounded.
55836         (__new_shmctl): Do not use __ptrvalue.
55837         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55838         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55839         Likewise.
55840         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55842         (__libc_sigaction): Likewise.
55843         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55844         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55845         Likewise.
55846         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55848 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55850         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55852         * string/mempcpy.c: Implement by calling memcpy.
55854 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55856         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55859         evaluation.
55861         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55862         values in the mantissa.
55864         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55865         minimize writes to Z.
55866         (sub_magnitudes): Simplify code a bit.
55868 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55870         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55871         from the message.  The linker prefixes all warnings with that already.
55873 2013-02-12  Andreas Schwab  <schwab@suse.de>
55875         [BZ #15078]
55876         * posix/regexec.c (extend_buffers): Add parameter min_len.
55877         (check_matching): Pass minimum needed length.
55878         (clean_state_log_if_needed): Likewise.
55879         (get_subexp): Likewise.
55880         * posix/Makefile (tests): Add bug-regex34.
55881         (bug-regex34-ENV): Define.
55882         * posix/bug-regex34.c: New file.
55884         [BZ #11561]
55885         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55886         elements compare against the byte sequence of it, not its name.
55887         * posix/Makefile (tests): Add bug-regex35.
55888         (bug-regex35-ENV): Define.
55889         * posix/bug-regex35.c: New file.
55891 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55893         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55894         comment.
55895         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55896         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55897         (CHECK_EOL): Add undef.
55899 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55901         * bits/stdlib-bsearch.h: New file.
55902         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55903         * stdlib/stdlib.h: Likewise.
55905 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55907         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55908         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55909         declaration.
55910         * manual/search.texi (Array Search Function): Add missing const in
55911         lfind prototype.
55912         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55913         declaration to use rlim_t.
55914         (Basic Scheduling Functions): Remove erroneous const from
55915         sched_getparam prototype.  Remove erroneous * from
55916         sched_get_priority_max and sched_get_priority_min prototypes.
55917         (Resource Usage): Fix summary @comment on vtimes to refer to
55918         sys/vtimes.h rather than vtimes.h.
55919         Add missing *s in vtimes prototype.
55920         (Limits on Resources): Fix ulimit prototype to return long int.
55921         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55922         prototypes to use long int rather than double.
55923         (BSD Random): Fix initstate and setstate to use char *, not void *.
55924         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55925         prototype to make second argument 'struct aiocb64 *const[]'.
55926         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55927         (Status of AIO Operations): Remove erroneous const in aio_return and
55928         aio_return64 prototypes.
55929         (Synchronizing I/O): Fix sync prototype to return void.
55930         * manual/startup.texi (Suboptions): Remove an erroneous const in
55931         getsubopt prototype.
55932         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55933         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55934         use size_t rather than int.
55935         (Scanning All Users): Likewise for getpwent_r.
55936         (Setting Groups): Add missing const to setgroups prototype.
55937         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55938         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55939         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55940         'const void *' rather than 'const char *'.
55941         (Host Address Functions): Likewise for inet_ntop.
55942         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55943         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55944         ssize_t for return value.
55945         (Sending Data): Likewise for send, sendto, sendmsg.
55946         (Socket Option Functions): Add a missing const in setsockopt prototype.
55947         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55948         use wchar_t for the argument.
55949         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55950         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55951         take no arguments.
55952         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55953         double/float/long double for second argument.
55954         Fix return types of significand, significandf, significandl.
55955         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55956         argument in fchmod prototype.
55957         (File Owner): Use uid_t and gid_t in fchown prototype.
55958         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55959         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55960         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55961         use 'const struct dirent **' as argument types to CMP function pointer
55962         argument.
55963         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55964         (File Times): Fix summary magic @comment for struct utimbuf and utime
55965         to refer to utime.h, not time.h.
55966         * manual/string.texi (Argz Functions): Add missing const in
55967         argz_extract and argz_next prototypes.
55968         (Finding Tokens in a String): Likewise for basename.
55969         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55970         (Copying and Concatenation): Fix typo in wmemmove prototype.
55971         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55972         (Signal Stack): Remove erroneous const in sigstack prototype.
55973         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55974         prototype.
55975         (Simple Calendar Time): Likewise for stime.
55976         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55977         prototype.
55978         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55979         say sys/sysctl.h instead.
55980         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55981         and vsyslog prototypes.
55983 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55985         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55986         Remove.
55988 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55990         * misc/sys/mman.h: Fix typo in mremap comment.
55992 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55994         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55995         the '\0' terminator.
55997 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55999         [BZ #13550]
56000         * debug/segfault.c: Don't include <bp-checks.h>.
56001         * sysdeps/generic/bp-checks.h: Remove file.
56002         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56003         (__GETDENTS): Don't use CHECK_N.
56004         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56005         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56006         (__getgroups): Don't use CHECK_N.
56007         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56008         (setgroups): Don't use CHECK_N.
56009         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56010         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56011         (__libc_msgrcv): Don't use CHECK_N.
56012         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56013         (__libc_msgsnd): Don't use CHECK_N.
56014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56015         <bp-checks.h>.
56016         (__libc_pread): Don't use CHECK_N.
56017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56018         include <bp-checks.h>.
56019         (__libc_pread64): Don't use CHECK_N.
56020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56021         include <bp-checks.h>.
56022         (__libc_pwrite): Don't use CHECK_N.
56023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56024         include <bp-checks.h>.
56025         (__libc_pwrite64): Don't use CHECK_N.
56026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56027         <bp-checks.h>.
56028         (__libc_pread): Don't use CHECK_N.
56029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56030         include <bp-checks.h>.
56031         (__libc_pread64): Don't use CHECK_N.
56032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56033         include <bp-checks.h>.
56034         (__libc_pwrite): Don't use CHECK_N.
56035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56036         include <bp-checks.h>.
56037         (__libc_pwrite64): Don't use CHECK_N.
56038         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56039         (do_pread): Don't use CHECK_N.
56040         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56041         (do_pread64): Don't use CHECK_N.
56042         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56043         (do_pwrite): Don't use CHECK_N.
56044         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56045         (do_pwrite64): Don't use CHECK_N.
56046         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56047         (__libc_readv): Don't use CHECK_N.
56048         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56049         (semop): Don't use CHECK_N.
56050         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56051         <bp-checks.h>.
56052         (semtimedop): Don't use CHECK_N.
56053         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56054         (__libc_pread): Don't use CHECK_N.
56055         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56056         <bp-checks.h>.
56057         (__libc_pread64): Don't use CHECK_N.
56058         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56059         <bp-checks.h>.
56060         (__libc_pwrite): Don't use CHECK_N.
56061         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56062         <bp-checks.h>.
56063         (__libc_pwrite64): Don't use CHECK_N.
56064         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56065         <bp-checks.h>.
56066         (__libc_msgrcv): Don't use CHECK_N.
56067         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56068         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56069         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56070         (__libc_writev): Don't use CHECK_N.
56072 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56074         * string/strcpy.c: Removed unused variable.
56076         * Makeconfig (+sysdep-includes): Define with := rather than =.
56077         Use an existing include/ subdir of each sysdeps dir before it.
56079 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56081         * nscd/connection.c (register_traced_file): Comment function.
56082         [HAVE_INOTIFY] (union __inev): Define.
56083         [HAVE_INOTIFY] (inotify_check_files): New function.
56084         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56085         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56086         clear_db_cache.
56087         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56089 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56091         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56092         loaded if not already and that a failure is permanent.
56094 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56096         [BZ #15006]
56097         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56098         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56100 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56102         [BZ #13550]
56103         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56104         (CHECK_1_NULL_OK): Likewise.
56105         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56106         (__fxstat): Do not use CHECK_1.
56107         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56108         <bp-checks.h>.
56109         (___fxstat64): Do not use CHECK_1.
56110         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56111         <bp-checks.h>.
56112         (__fxstatat): Do not use CHECK_1.
56113         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56114         <bp-checks.h>.
56115         (__fxstatat64): Do not use CHECK_1.
56116         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56117         <bp-checks.h>.
56118         (__fxstat): Do not use CHECK_1.
56119         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56120         <bp-checks.h>.
56121         (__fxstatat): Do not use CHECK_1.
56122         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56123         <bp-checks.h>.
56124         (__getresgid): Do not use CHECK_1.
56125         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56126         <bp-checks.h>.
56127         (__getresuid): Do not use CHECK_1.
56128         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56129         <bp-checks.h>.
56130         (__lxstat): Do not use CHECK_1.
56131         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56132         <bp-checks.h>.
56133         (__old_msgctl): Do not use CHECK_1.
56134         (__new_msgctl): Likewise.
56135         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56136         <bp-checks.h>.
56137         (__new_setrlimit): Do not use CHECK_1.
56138         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56139         <bp-checks.h>.
56140         (__old_shmctl): Do not use CHECK_1.
56141         (__new_shmctl): Likewise.
56142         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56143         <bp-checks.h>.
56144         (__xstat): Do not use CHECK_1.
56145         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56146         (__lxstat): Do not use CHECK_1.
56147         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56148         <bp-checks.h>.
56149         (___lxstat64): Do not use CHECK_1.
56150         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56151         (__old_msgctl): Do not use CHECK_1.
56152         (__new_msgctl): Likewise.
56153         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56154         <bp-checks.h>.
56155         (__gettimeofday): Do not use CHECK_1.
56156         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56157         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56158         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56159         <bp-checks.h>.
56160         (__gettimeofday): Do not use CHECK_1.
56161         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56162         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56163         (__new_shmctl): Do not use CHECK_1.
56164         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56165         <bp-checks.h>.
56166         (do_sigtimedwait): Do not use CHECK_1.
56167         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56168         <bp-checks.h>.
56169         (do_sigwaitinfo): Do not use CHECK_1.
56170         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56171         <bp-checks.h>.
56172         (msgctl): Do not use CHECK_1.
56173         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56174         <bp-checks.h>.
56175         (shmctl): Do not use CHECK_1.
56176         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56177         (ustat): Do not use CHECK_1.
56178         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56179         <bp-checks.h>.
56180         (__fxstat): Do not use CHECK_1.
56181         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56182         <bp-checks.h>.
56183         (__fxstatat): Do not use CHECK_1.
56184         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56185         <bp-checks.h>.
56186         (__lxstat): Do not use CHECK_1.
56187         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56188         <bp-checks.h>.
56189         (__xstat): Do not use CHECK_1.
56190         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56191         (__xstat): Do not use CHECK_1.
56192         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56193         (___xstat64): Do not use CHECK_1.
56195         [BZ #13550]
56196         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56197         definitions.
56198         (CHECK_BOUNDS_HIGH): Likewise.
56199         * string/strcpy.c: Do not include <bp-checks.h>.
56200         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56202 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56204         * nscd/nscd-client.h (__nscd_drop_map_ref):
56205         Add __attribute__ ((unused)).
56206         * nis/nss-nisplus.h (niserr2nss): Likewise.
56208         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56209         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56211         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56212         Remove inline keyword.
56213         * include/rounding-mode.h (round_away): Likewise.
56214         * libio/wfileops.c (adjust_wide_data): Likewise.
56215         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56216         (__m128i_strloadu_tolower): Likewise.
56217         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56218         (__m128i_strloadu_tolower): Likewise.
56219         * time/mktime.c (ydhms_diff): Likewise.
56220         * locale/elem-hash.h (elem_hash): Likewise.
56221         * locale/setlocale.c (setdata): Likewise.
56222         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56223         (re_string_wchar_at): Likewise.
56224         (bitset_not, bitset_merge, bitset_mask): Likewise.
56225         [!(__GNUC__ > 3)] (inline): Remove macro.
56226         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56227         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56228         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56229         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56230         * string/memcmp.c (memcmp_bytes): Likewise.
56231         * locale/programs/locarchive.c (compute_hashval): Likewise.
56232         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56233         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56234         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56235         * nss/getent.c (print_rpc, print_protocols): Likewise.
56236         (print_passwd, print_group, print_aliases): Likewise.
56237         * nis/nss-nisplus.h (niserr2nss): Likewise.
56238         * nscd/connections.c (restart_p): Likewise.
56239         Change return type to bool.
56241 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56243         * Makeconfig (all-Depend-files): Add existing
56244         $(sorted-subdirs:=/Depend) files.
56245         (all-subdirs): Remove nss.
56246         * sysdeps/unix/inet/Subdirs: Add it here instead.
56247         * hesiod/Depend: New file.
56249         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56250         instead of calling alloca.
56252         * io/lseek.c (__lseek): Rename to __libc_lseek.
56253         Define __lseek as an alias.
56255         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56257 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56259         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56260         else clause and remove check for non-standard endianness.
56262 2013-02-04  David S. Miller  <davem@davemloft.net>
56264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56266 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56268         [BZ #13550]
56269         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56270         (__ubp_memchr): Remove prototype.
56271         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56272         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56273         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56274         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56275         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56276         Remove alias.
56277         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56278         (__ubp_memchr): Likewise.
56279         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56280         (__ubp_memchr): Likewise.
56281         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56282         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56283         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56284         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56285         CHECK_STRING.
56286         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56287         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56288         (__getcwd): Do not use CHECK_STRING.
56289         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56290         <bp-checks.h>.
56291         (__real_chown): Do not use CHECK_STRING.
56292         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56293         <bp-checks.h>.
56294         (fchownat): Do not use CHECK_STRING.
56295         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56296         CHECK_STRING.
56297         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56298         <bp-checks.h>.
56299         (__lchown): Do not use CHECK_STRING.
56300         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56301         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56302         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56303         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56305         include <bp-checks.h>.
56306         (truncate64): Do not use CHECK_STRING.
56307         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56308         <bp-checks.h>.
56309         (__real_chown): Do not use CHECK_STRING.
56310         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56311         <bp-checks.h>.
56312         (__lchown): Do not use CHECK_STRING.
56313         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56314         <bp-checks.h>.
56315         (__chown): Do not use CHECK_STRING.
56316         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56317         <bp-checks.h>.
56318         (truncate64): Do not use CHECK_STRING.
56319         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56320         Likewise.
56321         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56322         (__xmknod): Do not use CHECK_STRING.
56323         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56324         <bp-checks.h>.
56325         (__xmknodat): Do not use CHECK_STRING.
56326         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56327         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56329 2013-02-04  Andreas Schwab  <schwab@suse.de>
56331         [BZ #14142]
56332         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56333         * include/netdb.h: Likewise for h_errno.
56334         * elf/tst-stackguard1.c: Include <tls.h>.
56336 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56338         * elf/link.h (struct link_map): Extend the l_addr comment.
56339         * include/link.h (struct link_map): Likewise.
56341 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56343         [BZ #13550]
56344         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56345         (BOUNDED_1): Remove macro.
56346         * debug/backtrace.c: Don't include <bp-checks.h>.
56347         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56348         (__backtrace): Likewise.
56349         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56350         <bp-checks.h>.
56351         (__backtrace): Don't use BOUNDED_1.
56352         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56353         <bp-checks.h>.
56354         (__backtrace): Don't use BOUNDED_1.
56355         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56356         (__backtrace): Don't use BOUNDED_1.
56357         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56358         (shmat): Don't use BOUNDED_N.
56360 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56362         [BZ #13550]
56363         * sysdeps/generic/bp-start.h: Remove file.
56364         * csu/libc-start.c: Don't include <bp-start.h>.
56365         (LIBC_START_MAIN): Set up __environ directly instead of using
56366         INIT_ARGV_and_ENVIRON.
56367         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56368         <bp-start.h>.
56370         [BZ #13550]
56371         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56372         definitions.
56373         (CHECK_FCNTL): Likewise.
56374         (CHECK_N_PAGES): Likewise.
56376         [BZ #13550]
56377         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56378         definitions.
56379         (CHECK_SIGSET_NULL_OK): Likewise.
56380         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56381         <bp-checks.h>.
56382         (sigpending): Don't use CHECK_SIGSET.
56383         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56384         <bp-checks.h>.
56385         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56386         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56387         <bp-checks.h>.
56388         (do_sigsuspend): Don't use CHECK_SIGSET.
56389         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56390         use CHECK_SIGSET.
56391         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56392         (do_sigwait): Don't use CHECK_SIGSET.
56393         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56394         use CHECK_SIGSET.
56395         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56396         include <bp-checks.h>.
56397         (sigpending): Don't use CHECK_SIGSET.
56398         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56399         include <bp-checks.h>.
56400         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56401         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56402         <bp-checks.h>.
56403         (sigpending): Don't use CHECK_SIGSET.
56404         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56405         <bp-checks.h>.
56406         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56408         [BZ #13550]
56409         * sysdeps/generic/bp-semctl.h: Remove file.
56410         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56411         <bp-checks.h> and <bp-semctl.h>.
56412         (__old_semctl): Don't use CHECK_SEMCTL.
56413         (__new_semctl): Likewise.
56414         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56415         and <bp-semctl.h>.
56416         (__old_semctl): Don't use CHECK_SEMCTL.
56417         (__new_semctl): Likewise.
56418         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56419         <bp-checks.h> and <bp-semctl.h>.
56420         (__old_semctl): Don't use CHECK_SEMCTL.
56421         (__new_semctl): Likewise.
56422         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56423         <bp-checks.h> and <bp-semctl.h>.
56424         (semctl): Don't use CHECK_SEMCTL.
56426         [BZ #13550]
56427         * Makerules (elide-bp-thunks): Remove variable.
56428         (elide-routines.oS): Don't use $(elide-bp-thunks).
56429         (elide-routines.os): Likewise.
56430         (elide-routines.o): Likewise.
56431         (elide-routines.op): Likewise.
56432         (elide-routines.og): Likewise.
56433         (objects): Don't use $(bp-thunks).
56434         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56435         include.
56436         (common-generated): Do not add s-proto-bp.d.
56437         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56438         (int): Likewise.
56439         (typ): Likewise.
56440         Do not generate makefile rules for bounded-pointer thunks.
56441         * sysdeps/generic/bp-thunks.h: Remove file.
56442         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56443         * sysdeps/unix/s-proto-bp.S: Likewise.
56445         [BZ #15062]
56446         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56447         parts of result separately when argument is not close to line from
56448         -i to i and one part of argument is small.
56449         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56450         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56451         * math/libm-test.inc (cacos_test): Add more tests.
56452         (casin_test): Likewise.
56453         (casinh_test): Likewise.
56454         * sysdeps/i386/fpu/libm-test-ulps: Update.
56455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56457 2013-01-31  David S. Miller  <davem@davemloft.net>
56459         * po/de.po: Update from translation team.
56461 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56463         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56465 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56467         * configure.in (_AC_PROG_CC_C89): New definition.
56468         * configure: Regenerate.
56470         * configure.in (AC_PROG_CPP): New definition.
56471         * configure: Regenerate.
56473 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56475         * debug/tst-backtrace.h: New file.
56476         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56477         (ret): Remove variable.
56478         (x): Likewise.
56479         (FAIL): Remove macro.
56480         (NO_INLINE): Likewise.
56481         (fn1): Use match function instead of strstr.
56482         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56483         (ret): Remove variable.
56484         (x): Likewise.
56485         (FAIL): Remove macro.
56486         (NO_INLINE): Likewise.
56487         (fn): Use match function instead of strstr.
56488         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56489         (ret): Remove variable.
56490         (x): Likewise.
56491         (FAIL): Remove macro.
56492         (NO_INLINE): Likewise.
56493         (handle_signal): Use match function instead of strstr.
56494         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56495         (ret): Remove variable.
56496         (x): Likewise.
56497         (FAIL): Remove macro.
56498         (NO_INLINE): Likewise.
56499         (handle_signal): Use match function instead of strstr.
56501 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56503         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56505 2013-01-23  David S. Miller  <davem@davemloft.net>
56507         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56508         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56509         argument of CAS if possible.
56510         * sysdeps/sparc/sparc64/bits/atomic.h
56511         (__arch_compare_and_exchange_val_32_acq): Likewise.
56512         (__arch_compare_and_exchange_val_64_acq): Likewise.
56514 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56516         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56517         * sysdeps/posix/ulimit.c: ... this.
56518         Include <limits.h>.
56519         * sysdeps/unix/bsd/ulimit.c: Remove file.
56521 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56523         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56524         (LDFLAGS-tst-array5): Likewise.
56526 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56528         [BZ #15036]
56529         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56530         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56531         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56532         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56534 2013-01-21  David S. Miller  <davem@davemloft.net>
56536         * sysdeps/sparc/backtrace.c: New file.
56537         * sysdeps/sparc/sparc32/backtrace.h: New file.
56538         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56539         * sysdeps/sparc/sparc64/backtrace.h: New file.
56540         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56541         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56542         -funwind-tables.
56544 2013-01-21  Andreas Schwab  <schwab@suse.de>
56546         [BZ #15020]
56547         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56548         closed its stdout.
56550 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56553         "mpa2.h".
56554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56556 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56557             Mark Mitchell  <mark@codesourcery.com>
56558             Tom de Vries  <tom@codesourcery.com>
56559             Paul Pluzhnikov  <ppluzhnikov@google.com>
56561         * debug/tst-backtrace2.c: New file.
56562         * debug/tst-backtrace3.c: Likewise.
56563         * debug/tst-backtrace4.c: Likewise.
56564         * debug/tst-backtrace5.c: Likewise.
56565         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56566         (CFLAGS-tst-backtrace3.c): Likewise.
56567         (CFLAGS-tst-backtrace4.c): Likewise.
56568         (CFLAGS-tst-backtrace5.c): Likewise.
56569         (LDFLAGS-tst-backtrace2): Likewise.
56570         (LDFLAGS-tst-backtrace3): Likewise.
56571         (LDFLAGS-tst-backtrace4): Likewise.
56572         (LDFLAGS-tst-backtrace5): Likewise.
56573         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56574         tst-backtrace4 and tst-backtrace5.
56576 2013-01-18  Anton Blanchard  <anton@samba.org>
56577             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56579         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56580         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56581         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56582         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56584         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56585         "+r" and remove output regs list as redundant.  Add explicit inline
56586         asm to specify register of return val to work around compiler codegen
56587         bug.  Remove (int) cast on return value.  Add return type parameter to
56588         use in macro so that this macro does not truncate return value for
56589         64-bit values.
56590         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56591         pass to INTERNAL_VSYSCALL_NCS.
56592         (INLINE_VSYSCALL): Add 'long int' as return type to
56593         INTERNAL_VSYSCALL_NCS macro invocation.
56594         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56595         INTERNAL_VSYSCALL_NCS macro invocation.
56596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56598 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56600         [BZ #14496]
56601         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56602         Fix application of SIMD FP exception mask.
56604         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56605         mp_no from a power of two.
56606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56607         __mpexp_twomm1.  Use __pow_mp.
56609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56610         multiplication.
56612 2013-01-17  David S. Miller  <davem@davemloft.net>
56614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56616 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56618         [BZ #15023]
56619         * include/complex.h: Condition contents on [!_COMPLEX_H].
56620         (__kernel_casinhf): New prototype.
56621         (__kernel_casinh): Likewise.
56622         (__kernel_casinhl): Likewise.
56623         * math/Makefile (libm_calls): Add k_casinh.
56624         * math/k_casinh.c: New file.
56625         * math/k_casinhf.c: Likewise.
56626         * math/k_casinhl.c: Likewise.
56627         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56628         finite nonzero arguments.
56629         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56630         finite nonzero arguments.
56631         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56632         finite nonzero arguments.
56633         * math/s_casinh.c: Do not include <float.h>.
56634         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56635         * math/s_casinhf.c: Do not include <float.h>.
56636         (__casinhf): Move code for finite nonzero arguments to
56637         k_casinhf.c.
56638         * math/s_casinhl.c: Do not include <float.h>.
56639         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56640         redefine.
56641         (__casinhl): Move code for finite nonzero arguments to
56642         k_casinhl.c.
56643         * math/libm-test.inc (cacos_test): Add more tests.
56644         * sysdeps/i386/fpu/libm-test-ulps: Update.
56645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56647 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56649         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56650         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56651         [!HAVE_MREMAP]: Remove [defined linux] case.
56652         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56654 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56656         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56658 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56660         * elf/elf.h (R_386_SIZE32): New relocation.
56661         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56662         R_386_SIZE32.
56663         (elf_machine_rela): Likewise.
56664         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56665         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56667 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56669         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56670         (FP_FAST_FMA): Do not define.
56671         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56672         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56673         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56674         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56675         !_SOFT_FLOAT]: Likewise.
56676         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56677         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56678         value.
56679         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56680         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56681         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56682         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56683         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56684         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56685         file.
56687 2013-01-16  Andreas Schwab  <schwab@suse.de>
56689         [BZ #14327]
56690         * include/stdlib.h (__mktemp): Add declaration.
56691         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56692         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56694 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56696         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56697         definitions.
56698         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56699         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56700         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56701         definitions here.
56702         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56703         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56704         definitions.
56705         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56706         and ONE.
56707         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56708         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56709         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56710         definitions.
56711         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56712         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56713         definitions.
56714         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56716         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56718 2013-01-15  David S. Miller  <davem@davemloft.net>
56720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56721         trunc{,f} to libm-sysdep_routes.
56722         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56724         file.
56725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56727         file.
56728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56729         file.
56730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56732         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56733         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56734         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56735         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56736         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56737         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56740         nearbyint{,f} to libm-sysdep_routes.
56741         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56743         New file.
56744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56745         file.
56746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56747         New file.
56748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56749         file.
56750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56752         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56753         file.
56754         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56755         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56756         file.
56757         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56758         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56759         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56761         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56762         libc_feholdexcept and libc_fesetenv.
56764 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56766         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56768 2013-01-14  David S. Miller  <davem@davemloft.net>
56770         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56771         (SPARC_ASM_VIS2_IFUNC): Likewise.
56772         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56774         use of 'siam' instruction.
56775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56776         Likewise.
56777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56778         Likewise.
56779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56780         Likewise.
56781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56786         file.
56787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56788         file.
56789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56790         file.
56791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56792         file.
56793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56798         new VIS2 routines.
56799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56802         Likewise.
56803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56808         routines to libm-sysdep_routines.
56809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56812         fdim/fdimf to libm-sysdep_routines.
56813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56814         file.
56815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56817         file.
56818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56821         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56822         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56823         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56824         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56826 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56828         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56829         to optimize copies.
56831         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56836         local variable MPTWO.
56837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56838         Likewise.
56840 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56842         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56843         GLOB_NOESCAPE.
56845 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56847         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56849 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56851         * manual/pattern.texi (glob_t): Document gl_flags.
56852         (glob64_t): Likewise.
56854 2013-01-11  David S. Miller  <davem@davemloft.net>
56856         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56857         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56858         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56859         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56860         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56861         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56862         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56863         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56864         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56865         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56866         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56867         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56868         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56870         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56871         sparc V9 rather than using V8 code.
56872         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56873         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56875         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56876         Move to...
56877         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56878         Here.
56880 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56882         [BZ #14941]
56883         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56884         not in the main loop.
56885         * configure: Regenerated.
56887 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56889         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56890         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56891         to just #else.
56892         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56893         [!__GLIBC_HAVE_LONG_LONG] case.
56894         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56895         condition to just #else.
56896         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56897         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56898         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56899         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56900         unconditional.
56901         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56902         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56903         #elif condition to just #else.
56904         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56905         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56906         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56907         #elif condition to just #else.
56909 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56911         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56912         (EF_MIPS_ARCH_64): Fix value.
56913         (EF_MIPS_ARCH_32R2): New.
56914         (EF_MIPS_ARCH_64R2): New.
56916 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56918         * Makeconfig (+link-pie-before-libc): New.
56919         (+link-pie-after-libc): Likewise.
56920         (+link-pie-tests): Likewise.
56921         (+link-pie): Rewritten.
56922         (link-before-libc): Remove $(config-LDFLAGS).
56923         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56924         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56925         (config-LDFLAGS): Renamed to ...
56926         (rtld-LDFLAGS): This.
56927         (rtld-tests-LDFLAGS): New macro.
56928         (link-libc-rpath-link): Likewise.
56929         (link-libc-tests-rpath-link): Likewise.
56930         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56931         (link-libc): Prepand $(link-libc-rpath-link).
56932         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56933         (test-program-prefix): New macro.
56934         (test-via-rtld-prefix): Likewise.
56935         (test-program-cmd): Likewise.
56936         (host-test-program-cmd): Likewise.
56937         * Makefile ($(common-objpfx)testrun.sh): Replace
56938         $(run-program-prefix) with $(test-program-prefix).
56939         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56940         $(rtld-LDFLAGS).
56941         ($(common-objpfx)shlib.lds): Likewise.
56942         (build-module-helper): Likewise.
56943         ($(common-objpfx)format.lds): Likewise.
56944         * Rules (binaries-pie-tests): New.
56945         (binaries-pie-notests): Likewise.
56946         (binaries-pie): Rewritten.
56947         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56948         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56949         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56950         (make-test-out): Replace $(host-built-program-cmd) with
56951         $(host-test-program-cmd).
56952         * config.make.in (build-hardcoded-path-in-tests): New variable.
56953         * configure.in (--enable-hardcoded-path-in-tests): New configure
56954         option.
56955         (hardcoded_path_in_tests): New AC_SUBST.
56956         * configure: Regenerated.
56957         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56958         $(built-program-cmd) with $(test-program-cmd).
56959         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56960         (test_program_cmd): This.
56961         * elf/Makefile ($(objpfx)order.out): Run test with
56962         $(test-program-prefix).
56963         ($(objpfx)order2.out): Likewise.
56964         ($(objpfx)tst-initorder.out): Likewise.
56965         ($(objpfx)tst-initorder2.out): Likewise.
56966         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56967         $(test-program-cmd).
56968         ($(objpfx)tst-array1-static.out): Likewise.
56969         ($(objpfx)tst-array2.out): Likewise.
56970         ($(objpfx)tst-array3.out): Likewise.
56971         ($(objpfx)tst-array4.out): Likewise.
56972         ($(objpfx)tst-array5.out): Likewise.
56973         ($(objpfx)tst-array5-static.out): Likewise.
56974         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56975         $(test-program-cmd).
56976         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56977         $(run-program-prefix) with $(test-program-prefix).
56978         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56979         (test_program_prefix): This.
56980         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56981         $(run-program-prefix) with $(test-program-prefix).
56982         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56983         (test_program_prefix): This.
56984         * iconvdata/tst-tables.sh: Likewise.
56985         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56986         $(run-program-prefix) with $(test-program-prefix).
56987         ($(objpfx)tst-translit.out): Likewise.
56988         ($(objpfx)tst-gettext2.out): Likewise.
56989         ($(objpfx)tst-gettext4.out): Likewise.
56990         ($(objpfx)tst-gettext6.out): Likewise.
56991         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56992         (test_program_prefix): This.
56993         * intl/tst-gettext2.sh: Likewise.
56994         * intl/tst-gettext4.sh  Likewise.
56995         * intl/tst-gettext6.sh: Likewise.
56996         * intl/tst-translit.sh: Likewise.
56997         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56998         with $(test-program-cmd).
56999         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57000         $(run-program-prefix) with $(test-program-prefix).
57001         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57002         (test_program_prefix): This.
57003         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57004         $(run-program-prefix) with $(test-program-prefix).
57005         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57006         (test_program_prefix): This.
57007         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57008         * posix/Makefile ($(objpfx)globtest.out): Replace
57009         $(run-via-rtld-prefix) and $(test-wrapper) with
57010         $(test-program-prefix) and $(test-via-rtld-prefix).
57011         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57012         $(test-program-prefix).
57013         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57014         $(host-test-program-cmd).
57015         (tst-spawn-ARGS): Likewise.
57016         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57017         $(test-program-prefix).
57018         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57019         (test_via_rtld_prefix): This.
57020         (test_wrapper): Renamed to ...
57021         (test_program_prefix): This.
57022         (run_program_prefix): Replaced by test_program_prefix.
57023         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57024         (test_program_prefix): This.
57025         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57026         with $(host-test-program-cmd).
57027         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57028         $(run-program-prefix) with $(test-program-prefix).
57029         ($(objpfx)tst-printf.out): Likewise.
57030         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57031         $(test-program-cmd).
57032         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57033         (test_program_prefix): This.
57034         * stdio-common/tst-unbputc.sh: Likewise.
57035         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57036         $(run-program-prefix) with $(test-program-prefix).
57037         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57038         (test_program_prefix): This.
57039         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57040         $(built-program-cmd) with $(test-program-cmd).
57042 2013-01-11  Andreas Jaeger  <aj@suse.de>
57044         [BZ #15003]
57045         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57046         value. Sync with Linux 3.7.
57048 2013-01-10  David S. Miller  <davem@davemloft.net>
57050         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57051         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57052         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57054 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57056         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57057         never set.
57058         * configure: Regenerated.
57060 2013-01-10  David S. Miller  <davem@davemloft.net>
57062         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57063         sparc V9 rather than using V8 code.
57064         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57065         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57067 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57069         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57070         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57071         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57072         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57073         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57074         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57075         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57076         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57077         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57078         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57079         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57080         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57081         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57082         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57083         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57084         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57085         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57086         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57087         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57088         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57089         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57090         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57091         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57092         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57093         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57094         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57095         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57097 2013-01-10  David S. Miller  <davem@davemloft.net>
57099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57101 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57103         * posix/Makefile (tests-static): New variable.
57104         (tests): Add $(tests-static).
57105         (tst-exec-static-ARGS): New variable.
57106         (tst-spawn-static-ARGS): Likewise.
57107         * posix/tst-exec-static.c: New file.
57108         * posix/tst-spawn-static.c: Likewise.
57109         * posix/tst-exec.c: Support run directly.
57110         * posix/tst-spawn.c: Likewise.
57112 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57114         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57115         long.
57116         * math/bits/mathcalls.h (llrint): Likewise.
57117         (llround): Likewise.
57118         * stdlib/stdlib.h (struct drand48_data): Likewise.
57119         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57120         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57121         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57122         Likewise.
57123         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57124         Likewise.
57125         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57126         (elf_greg_t): Likewise.
57127         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57128         (__jmp_buf): Likewise.
57129         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57130         definitions.
57131         (llrint): Likewise, for all definitions.
57132         (llrintl): Likewise.
57134         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57135         Remove [__GNUC__] condition.
57136         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57137         condition to just [__USE_ISOC99].
57138         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57140 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57142         [BZ #14200]
57143         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57144         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57145         defined.
57146         (_POSIX_V6_ILP32_OFF32): Likewise.
57147         (_XBS5_ILP32_OFF32): Likewise.
57148         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57149         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57151 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57153         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57155         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57156         doubles __mpexp_twomm1.  Adjust usage.
57157         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57158         Remove.
57160 2013-01-10  Andreas Schwab  <schwab@suse.de>
57162         [BZ #14964]
57163         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57164         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57166 2013-01-09  David S. Miller  <davem@davemloft.net>
57168         [BZ #15003]
57169         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57170         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57171         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57172         (TCP_FASTOPEN): Define.
57173         (tcp_repair_opt): New structure.
57174         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57175         enum values.
57176         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57177         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57178         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57179         (tcp_cookie_transactions): New structure.
57181 2013-01-09  Anton Blanchard  <anton@samba.org>
57183         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57184         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57185         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57186         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57188 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57190         * include/features.h (__USE_ANSI): Remove.
57192 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57194         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57196         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57198 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57200         * sysdeps/s390/fpu/libm-test-ulps: Update.
57202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57204         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57205         (__acr): Likewise.
57206         (__cpy): Likewise.
57207         (norm): Likewise.
57208         (denorm): Likewise.
57209         (__mp_dbl): Likewise.
57210         (__dbl_mp): Likewise.
57211         (add_magnitudes): Likewise.
57212         (sub_magnitudes): Likewise.
57213         (__add): Likewise.
57214         (__sub): Likewise.
57215         (__mul): Likewise.
57216         (__inv): Likewise.
57217         (__dvd): Likewise.
57218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57219         (__acr): Likewise.
57220         (__cpy): Likewise.
57221         (norm): Likewise.
57222         (denorm): Likewise.
57223         (__mp_dbl): Likewise.
57224         (__dbl_mp): Likewise.
57225         (add_magnitudes): Likewise.
57226         (sub_magnitudes): Likewise.
57227         (__add): Likewise.
57228         (__sub): Likewise.
57229         (__mul): Likewise.
57230         (__inv): Likewise.
57231         (__dvd): Likewise.
57232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57233         (__acr): Likewise.
57234         (__cpy): Likewise.
57235         (norm): Likewise.
57236         (denorm): Likewise.
57237         (__mp_dbl): Likewise.
57238         (__dbl_mp): Likewise.
57239         (add_magnitudes): Likewise.
57240         (sub_magnitudes): Likewise.
57241         (__add): Likewise.
57242         (__sub): Likewise.
57243         (__mul): Likewise.
57244         (__inv): Likewise.
57245         (__dvd): Likewise.
57247 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57249         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57250         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57251         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57252         2 && __USE_EXTERN_INLINES]: Likewise.
57254 2013-01-08  Andreas Jaeger  <aj@suse.de>
57256         [BZ# 14985]
57257         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57258         Remove.
57259         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57260         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57262 2013-01-07  Anton Blanchard  <anton@samba.org>
57264         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57265         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57266         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57267         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57268         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57269         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57270         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57271         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57273         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57274         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57275         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57276         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57277         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57278         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57279         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57280         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57281         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57282         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57283         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57284         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57285         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57287         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57288         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57289         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57290         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57291         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57292         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57293         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57294         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57296         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57297         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57298         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57299         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57300         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57301         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57302         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57303         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57304         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57306         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57308 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57310         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57311         (__MALLOC_PMT): Likewise.
57312         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57313         [__GNUC__], only on [_LIBC].
57314         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57315         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57316         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57317         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57318         forward declaration.
57319         (realloc_hook_ini): Likewise.
57320         (memalign_hook_ini): Likewise.
57321         (__libc_memalign): Do not use __MALLOC_PMT in variable
57322         declaration.
57323         (__libc_valloc): Likewise.
57324         (__libc_pvalloc): Likewise.
57325         (__libc_calloc): Likewise.
57326         (__posix_memalign): Likewise.
57328         [BZ #14996]
57329         * math/s_casinh.c: Include <float.h>.
57330         (__casinh): Do not do computation with squaring and square root
57331         for large arguments.
57332         * math/s_casinhf.c: Include <float.h>.
57333         (__casinhf): Do not do computation with squaring and square root
57334         for large arguments.
57335         * math/s_casinhl.c: Include <float.h>.
57336         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57337         (__casinhl): Do not do computation with squaring and square root
57338         for large arguments.
57339         * math/libm-test.inc (casin_test): Add more tests.
57340         (casinh_test): Likewise.
57341         * sysdeps/i386/fpu/libm-test-ulps: Update.
57342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57344 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57346         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57347         (__x86_64_raw_data_cache_size): Likewise.
57348         (__x86_64_data_cache_size_half): Likewise.
57349         (__x86_64_raw_data_cache_size_half): Likewise.
57350         (__x86_64_shared_cache_size): Likewise.
57351         (__x86_64_raw_shared_cache_size): Likewise.
57352         (__x86_64_shared_cache_size_half): Likewise.
57353         (__x86_64_raw_shared_cache_size_half): Likewise.
57354         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57355         to ...
57356         (__x86_data_cache_size): This.
57357         (__x86_64_raw_data_cache_size): Renamed to ...
57358         (__x86_raw_data_cache_size): This.
57359         (__x86_64_data_cache_size_half): Renamed to ...
57360         (__x86_data_cache_size_half): This.
57361         (__x86_64_raw_data_cache_size_half): Renamed to ...
57362         (__x86_raw_data_cache_size_half): This.
57363         (__x86_64_shared_cache_size): Renamed to ...
57364         (__x86_shared_cache_size): This.
57365         (__x86_64_raw_shared_cache_size): Renamed to ...
57366         (__x86_raw_shared_cache_size): This.
57367         (__x86_64_shared_cache_size_half): Renamed to ...
57368         (__x86_shared_cache_size_half): This.
57369         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57370         (__x86_raw_shared_cache_size_half): This.
57371         * sysdeps/x86_64/memcpy.S: Updated.
57372         * sysdeps/x86_64/memset.S: Likewise.
57373         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57374         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57375         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57377 2013-01-04  David S. Miller  <davem@davemloft.net>
57379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57381 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57383         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57384         1 to avoid redefinition warning.
57385         (__USE_GNU): Don't define.
57386         (init_signaling_nan): Protoize.
57388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57390 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57392         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57394         (__cpymn): Likewise.
57395         (norm): Remove commented code.
57396         (denorm): Likewise.
57397         (__mp_dbl): Likewise.
57398         (__inv): Likewise.
57399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57400         (__cpymn): Likewise.
57401         (norm): Remove commented code.
57402         (denorm): Likewise.
57403         (__mp_dbl): Likewise.
57404         (__inv): Likewise.
57406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57407         mp_no value for 1.0 and 2.0.
57408         (norm): Use RADIXI instead of radixi.d.
57409         (denorm): Likewise.
57410         (__mul): Use 0.0 instead of zero.d.
57411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57412         mp_no value for 1.0 and 2.0.
57413         (norm): Use RADIXI instead of radixi.d.
57414         (denorm): Likewise.
57415         (__mul): Use 0.0 instead of zero.d.
57417 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57419         [BZ #14994]
57420         * math/s_casinh.c (__casinh): Reduce finite argument to first
57421         quadrant then set signs of results at the end.
57422         * math/s_casinhf.c (__casinhf): Likewise.
57423         * math/s_casinhl.c (__casinhl): Likewise.
57424         * math/libm-test.inc (casin_test): Add more tests.
57425         (casinh_test): Likewise.
57426         * sysdeps/i386/fpu/libm-test-ulps: Update.
57427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57429 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57431         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57433         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57435         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57436         declarations.
57437         (denorm): Likewise.
57438         (__mp_dbl): Likewise.
57439         (__inv): Likewise.
57441         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57442         and adjust the header comment.
57444         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57445         variable name from declaration.
57447 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57450         Initialize COMMON_CPUID_INDEX_7 element.
57451         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57452         (CPUID_RTM): Likewise.
57453         (HAS_RTM): Likewise.
57454         (COMMON_CPUID_INDEX_7): New enum.
57456 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57458         [BZ #14981]
57459         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57460         size is zero, record memory as freed.
57462 2013-01-03  Andreas Jaeger  <aj@suse.de>
57464         * po/ia.po: Add new Interlingua translation.
57466 2012-01-03  Allan McRae  <allan@archlinux.org>
57468         * locale/programs/localedef.c: Fix description of '--posix' flag.
57470 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57472         * NEWS: Update dates in second copyright notice.
57473         * README: Update copyright dates in example.
57474         * manual/libc.texinfo: Update copyright dates.
57475         * scripts/test-installation.pl: Update copyright date in --version
57476         output.
57478         * hurd/ctty-input.c: Fix copyright notice formatting.
57479         * hurd/ctty-output.c: Likewise.
57480         * hurd/dtable.c: Likewise.
57481         * hurd/hurd-raise.c: Likewise.
57482         * hurd/hurdprio.c: Likewise.
57483         * hurd/msgportdemux.c: Likewise.
57484         * misc/sys/file.h: Likewise.
57485         * misc/sys/ioctl.h: Likewise.
57486         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57487         * sysdeps/mach/hurd/chdir.c: Likewise.
57488         * sysdeps/mach/hurd/fchdir.c: Likewise.
57489         * sysdeps/mach/hurd/rename.c: Likewise.
57490         * sysdeps/mach/hurd/rmdir.c: Likewise.
57491         * sysdeps/mach/hurd/seekdir.c: Likewise.
57492         * sysdeps/mach/hurd/setsid.c: Likewise.
57493         * sysdeps/posix/wait3.c: Likewise.
57495         * All files with FSF copyright notices: Update copyright dates
57496         using scripts/update-copyrights.
57497         * intl/plural.c: Regenerated.
57498         * locale/programs/charmap-kw.h: Likewise.
57499         * locale/programs/locfile-kw.h: Likewise.
57501 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57503         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57504         four values.
57506         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57507         calculation loop and add branch prediction.
57509         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57510         check access beyond bounds of m1np.
57512         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57513         MPTWO.
57514         (__inv): Remove local variable MPTWO to use the global
57515         constant.
57516         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57517         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57518         variable MPTWO.
57519         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57520         MP3HALFS static const.
57522 2013-01-01  David S. Miller  <davem@davemloft.net>
57524         * po/ca.po: Update from translation team.
57526 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57528         * scripts/update-copyrights: New file.
57529         * Makeconfig: Reformat copyright notice.
57530         * ctype/ctype.h: Likewise.
57531         * debug/swprintf_chk.c: Likewise.
57532         * elf/dl-cache.c: Likewise.
57533         * elf/dl-debug.c: Likewise.
57534         * elf/dl-object.c: Likewise.
57535         * grp/initgroups.c: Likewise.
57536         * hurd/Makefile: Likewise.
57537         * hurd/hurd/signal.h: Likewise.
57538         * hurd/hurdfault.c: Likewise.
57539         * hurd/hurdioctl.c: Likewise.
57540         * hurd/hurdlookup.c: Likewise.
57541         * hurd/intr-msg.c: Likewise.
57542         * iconv/gconv_open.c: Likewise.
57543         * libio/swprintf.c: Likewise.
57544         * locale/lc-ctype.c: Likewise.
57545         * locale/nl_langinfo.c: Likewise.
57546         * mach/Machrules: Likewise.
57547         * mach/Makefile: Likewise.
57548         * malloc/obstack.h: Likewise.
57549         * manual/Makefile: Likewise.
57550         * manual/tsort.awk: Likewise.
57551         * misc/bits/stab.def: Likewise.
57552         * nis/nis_print_group_entry.c: Likewise.
57553         * nis/nis_table.c: Likewise.
57554         * nis/nss_compat/compat-pwd.c: Likewise.
57555         * nis/nss_compat/compat-spwd.c: Likewise.
57556         * po/Makefile: Likewise.
57557         * posix/fnmatch.c: Likewise.
57558         * posix/regex.h: Likewise.
57559         * resolv/Makefile: Likewise.
57560         * resolv/nss_dns/dns-network.c: Likewise.
57561         * resolv/res_hconf.c: Likewise.
57562         * scripts/gen-sorted.awk: Likewise.
57563         * soft-fp/soft-fp.h: Likewise.
57564         * stdio-common/printf.h: Likewise.
57565         * stdlib/monetary.h: Likewise.
57566         * stdlib/random.c: Likewise.
57567         * stdlib/random_r.c: Likewise.
57568         * sysdeps/generic/Makefile: Likewise.
57569         * sysdeps/gnu/Makefile: Likewise.
57570         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57571         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57572         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57573         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57580         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57581         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57582         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57583         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57584         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57585         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57586         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57588         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57589         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57590         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57591         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57592         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57593         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57594         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57595         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57596         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57597         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57598         * sysdeps/mach/hurd/errnos.awk: Likewise.
57599         * sysdeps/mach/hurd/fork.c: Likewise.
57600         * sysdeps/mach/hurd/getcwd.c: Likewise.
57601         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57602         * sysdeps/mach/hurd/mmap.c: Likewise.
57603         * sysdeps/mach/hurd/utimes.c: Likewise.
57604         * sysdeps/mach/hurd/xmknod.c: Likewise.
57605         * sysdeps/posix/profil.c: Likewise.
57606         * sysdeps/posix/readdir_r.c: Likewise.
57607         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57608         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57609         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57610         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57612         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57613         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57614         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57616         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57617         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57618         * sysdeps/pthread/lio_listio.c: Likewise.
57619         * sysdeps/sparc/dl-procinfo.h: Likewise.
57620         * sysdeps/unix/i386/sysdep.S: Likewise.
57621         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57622         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57623         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57624         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57626         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57627         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57628         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57629         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57630         * sysdeps/wordsize-32/divdi3.c: Likewise.
57631         * time/sys/time.h: Likewise.
57632         * wcsmbs/Makefile: Likewise.
57634 2013-01-01  David S. Miller  <davem@davemloft.net>
57636         * po/fr.po: Update from translation team.
57638         * catgets/gencat.c: Update copyright year.
57639         * csu/version.c: Likewise.
57640         * debug/catchsegv.sh: Likewise.
57641         * debug/pcprofiledump.c: Likewise.
57642         * debug/xtrace.sh: Likewise.
57643         * elf/ldconfig.c: Likewise.
57644         * elf/ldd.bash.in: Likewise.
57645         * elf/pldd.c: Likewise.
57646         * elf/sotruss.ksh: Likewise.
57647         * elf/sprof.c: Likewise.
57648         * iconv/iconv_prog.c: Likewise.
57649         * iconv/iconvconfig.c: Likewise.
57650         * locale/programs/locale.c: Likewise.
57651         * locale/programs/localedef.c: Likewise.
57652         * login/programs/pt_chown.c: Likewise.
57653         * malloc/memusage.sh: Likewise.
57654         * malloc/memusagestat.c: Likewise.
57655         * malloc/mtrace.pl: Likewise.
57656         * nscd/nscd.c: Likewise.
57657         * nss/getent.c: Likewise.
57658         * nss/makedb.c: Likewise.
57659         * posix/getconf.c: Likewise.
57661 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57663         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57664         numbers.
57666 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57668         * math/bits/mathcalls.h (modf): Use __nonnull.
57670 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57672         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57673         (split): Use macro CN instead of the bare value.
57674         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57675         could be used.
57676         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57677         instead of the bare value.
57678         (power1): Likewise.
57680 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57682         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57683         __ATAN_TWOM.
57684         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57686         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57687         their values.
57688         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57689         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57690         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57691         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57693 2012-12-28  Andreas Jaeger  <aj@suse.de>
57695         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57696         values are from Linux 3.7.
57698         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57699         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57701 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57703         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57704         TRUE case.
57706         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57707         (norm): Likewise.
57708         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57709         variables with preprocessor constants.
57710         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57711         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57712         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57714 2012-12-27  Bruno Haible  <bruno@clisp.org>
57716         [BZ #14317]
57717         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57718         only if needed.
57720 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57723         and use variable directly.
57724         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57726         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57727         MPONE.
57728         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57730         variable MPONE.
57731         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57732         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57733         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57734         include directive.  Remove local variable MPONE.
57735         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57736         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57737         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57739 2012-12-25  David S. Miller  <davem@davemloft.net>
57741         * version.h (RELEASE): Set to "development".
57742         (VERSION): Set to "2.17.90".
57743         * NEWS: Add 2.18 section.
57745 2012-12-21  David S. Miller  <davem@davemloft.net>
57747         * po/hr.po: Update from translation team.
57749 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57751         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57753 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57755         * NEWS:  Mention new memcpy for MIPS.
57757 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57759         * manual/contrib.texi (Contributors): Spelling correction.
57761 2012-12-15  David S. Miller  <davem@davemloft.net>
57763         * po/ru.po: Update from translation team.
57765 2012-12-13  David S. Miller  <davem@davemloft.net>
57767         * NEWS: Mention IFUNC testsuite enhancements.
57769         * po/pl.po: Update from translation team.
57770         * po/bg.po: Likewise.
57772         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57773         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57775 2012-12-11  David S. Miller  <davem@davemloft.net>
57777         * po/sv.po: Update from translation team.
57779         * po/vi.po: Update from translation team.
57781         * po/cs.po: Update from translation team.
57783         * po/de.po: Update from translation team.
57784         * po/eo.po: Likewise.
57785         * po/nl.po: Likewise.
57787 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57789         [BZ #14246]
57790         * manual/argp.texi (Argp Helper Functions): Move node to follow
57791         Argp Parsing State.
57793         [BZ #14872]
57794         * manual/conf.texi (Limits on File System Capacity): Mention if
57795         terminating null is included in the max size.
57797 2012-12-10  Andreas Jaeger  <aj@suse.de>
57799         * po/cs.po: Update from translation team.
57801 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57803         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57804         void pointer and cast to uintptr_t.
57805         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57806         path.
57807         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57808         * sysdeps/s390/s390-64/memset.S: Likewise.
57810 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57812         [BZ #14833]
57813         * menual/message.texi (Message Translation): Fix typos.
57814         (Helper programs for gettext): Likewise.
57816 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57818         [BZ #14898]
57819         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57820         Change to -1.
57822 2012-12-07  David S. Miller  <davem@davemloft.net>
57824         * po/libc.pot: Update.
57826 2012-12-07  Richard Henderson  <rth@redhat.com>
57828         [BZ #10114]
57829         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57830         normal/normal case to before the switch.
57831         (_FP_DIV): Likewise.
57833 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57834             Mike Frysinger  <vapier@gentoo.org>
57836         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57837         check for __NR_fadvise64_64.
57839 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57841         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57842         0, not just to plain "0" as a statement.
57843         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57844         with cw.
57846 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57848         * NEWS: Use sourceware.org in Bugzilla URL.
57850 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57853         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57855         * stdio-common/tst-put-error.c (do_test): Add newline to the
57856         padded test to ensure flush.
57858 2012-12-05  Jeff Law  <law@redhat.com>
57860         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57862 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57864         * README: Don't refer to ports add-on as distributed separately.
57865         Mention AArch64 in list of systems supported in the ports add-on.
57867         * LICENSES: Add more non-FSF copyright and license notices.
57869         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57870         ((unused)).
57872         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57874         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57875         10000 as width of padded output.
57877 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57879         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57881         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57882         variable LX with __attribute__ ((unused)).
57883         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57884         Likewise.
57885         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57886         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57887         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57888         with __attribute__ ((unused)).
57890 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57892         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57894 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57896         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57897         (CFLAGS-nldbl-acos.c): New variable.
57898         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57899         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57900         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57901         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57902         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57903         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57904         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57905         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57906         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57907         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57908         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57909         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57910         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57911         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57912         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57913         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57914         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57915         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57916         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57917         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57918         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57919         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57920         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57921         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57922         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57923         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57924         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57925         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57926         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57927         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57928         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57929         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57930         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57931         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57932         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57933         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57934         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57935         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57936         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57937         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57938         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57939         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57940         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57941         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57942         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57943         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57944         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57945         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57946         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57947         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57948         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57949         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57950         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57951         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57952         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57953         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57954         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57955         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57956         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57957         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57958         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57959         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57960         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57961         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57962         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57963         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57964         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57965         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57966         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57967         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57968         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57969         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57970         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57971         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57972         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57973         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57974         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57975         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57976         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57977         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57978         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57979         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57980         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57981         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57982         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57983         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57984         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57985         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57986         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57987         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57988         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57989         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57990         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57991         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57992         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57993         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57994         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57997         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57999         [BZ #14914]
58000         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58001         whole low double instead of just low 47 bits when splitting values
58002         into two parts.
58004 2012-12-03  Allan McRae  <allan@archlinux.org>
58006         * manual/stdio.texi (Predefined Printf Handlers): Remove
58007         @hsep and @vsep usage.
58009 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58011         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58012         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58014 2012-12-03  Jeff Law  <law@redhat.com>
58016         * time/sys/time.h (settimeofday): Do not mark TV argument
58017         as __nonnull.
58019 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58021         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58022         when currently writing and seek to current position when not.
58023         * libio/Makefile (tests): Remove bug-fclose1.
58024         * libio/bug-fclose1.c: Delete.
58026 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58028         * manual/arith.texi (feenableexcept): Fix typo.
58029         (fedisableexcept): Likewise.
58031 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58033         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58034         second, differently-typed declaration, rather than a cast.
58036 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58038         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58039         * include/rpc/svc.h: ... here.
58041 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58043         [BZ #13013]
58044         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58045         depending n and resplen2 to catch cases where answer
58046         equals answerp2.
58048 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58050         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58051         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58053 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58055         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58057 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58059         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58061 2012-11-28  Jeff Law  <law@redhat.com>
58063         [BZ #13761]
58064         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58065         dataset_temporary.  Track alloca usage into alloca_used.
58066         If dataset is large allocate and release it via malloc/free.
58068 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58070         [BZ #14197]
58071         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58073 2012-11-28  David S. Miller  <davem@davemloft.net>
58075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58077 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58079         [BZ #14803]
58080         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58081         of pi/2 rounded to nearest to 64 bits.
58082         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58083         nearest to 64 bits.
58084         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58085         bits.
58087 2012-11-28  Jeff Law <law@redhat.com>
58088             Martin Osvald <mosvald@redhat.com>
58090         [BZ #14889]
58091         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58092         * sunrpc/svc.c: Include time.h.
58093         (__svc_accept_failed): New function.
58094         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58095         any reason other than EINTR, call __svc_accept_failed.
58096         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58097         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58099 2012-11-28  Andreas Schwab  <schwab@suse.de>
58101         * scripts/abilist.awk: Also handle indirect functions in .opd
58102         section.
58104 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58106         [BZ #13881]
58107         * sysdeps/x86/fpu/powl_helper.c: New file.
58108         * sysdeps/x86/fpu/Makefile: Likewise.
58109         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58110         (p3): New object.
58111         (__ieee754_powl): Use __powl_helper for finite arguments except
58112         integer exponents below 8.
58113         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58114         (p3): New object.
58115         (__ieee754_powl): Use __powl_helper for finite arguments except
58116         integer exponents below 8.
58117         * math/libm-test.inc (pow_test): Add more tests and enable some
58118         previously disabled tests.
58119         * sysdeps/i386/fpu/libm-test-ulps: Update.
58120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58122 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58123             Carlos O'Donell  <carlos_odonell@mentor.com>
58125         * nss/makedb.c (is_prime): Assert that input is odd and greater
58126         than 4.  Note that fact in a comment too.
58127         (next_prime): Add 4 to input.
58129 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58131         [BZ #11741]
58132         * libio/Makefile (tests): Add test case tst-fwrite-error.
58133         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58134         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58135         * libio/tst-fwrite-error.c: New test case.
58137 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58139         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58140         before casting to void *.
58141         * include/libc-internal.h (__pointer_type): New macro.
58142         (__integer_if_pointer_type_sub): Likewise.
58143         (__integer_if_pointer_type): Likewise.
58144         (cast_to_integer): Likewise.
58145         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58146         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58147         before casting to atomic64_t.
58148         (atomic_exchange_acq): Likewise.
58149         (__arch_exchange_and_add_body): Likewise.
58150         (__arch_add_body): Likewise.
58151         (atomic_add_negative): Likewise.
58152         (atomic_add_zero): Likewise.
58154 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58156         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58157         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58158         (add_fdes): Likewise.
58159         (linear_search_fdes): Likewise.
58160         (binary_search_unencoded_fdes): Likewise.
58162 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58164         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58166 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58168         * configure.in: Autodetect C++ header directories.
58169         * configure: Regenerated.
58171 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58173         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58175 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58179 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58181         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58182         LDBL_MANT_DIG == 106]: Disable some tests.
58183         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58184         Likewise.
58185         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58186         Likewise.
58188         [BZ #14871]
58189         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58190         input for small inputs.  Return +/- pi/2 for large inputs.
58191         * math/libm-test.inc (atan_test): Add more tests.
58193         * sysdeps/generic/unwind-dw2-fde-glibc.c
58194         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58195         __attribute__ ((unused)).
58197         [BZ #14645]
58198         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58199         x * y if x and y are nonzero and z is zero.
58201         [BZ #14811]
58202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58203         nonzero exponents with absolute value below 0x1p-117 to +/-
58204         0x1p-117.
58206         [BZ #14869]
58207         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58208         up arguments below 2**-450, not just those below 2**-500.
58209         * math/libm-test.inc (hypot_test): Add another test.
58211         [BZ #14868]
58212         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58213         Return a+b for ratio over 2**120, not 2**60.
58214         * math/libm-test.inc (hypot_test): Add another test.
58216         * math/libm-test.inc (clog_test): Use
58217         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58218         (clog10_test): Likewise.
58220         [BZ #6778]
58221         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58223 2012-11-22  Andreas Schwab  <schwab@suse.de>
58225         * sysdeps/i386/fpu/libm-test-ulps: Update.
58227 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58229         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58230         printf output with newline.
58232 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58234         [BZ #14865]
58235         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58236         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58237         -z nodlopen, -z initfirst and -z execstack support.
58238         * configure: Regenerated.
58240         * elf/elf.h (DF_1_NODIRECT): New macro.
58241         (DF_1_IGNMULDEF): Likewise.
58242         (DF_1_NOKSYMS): Likewise.
58243         (DF_1_NOHDR): Likewise.
58244         (DF_1_EDITED): Likewise.
58245         (DF_1_NORELOC): Likewise.
58246         (DF_1_SYMINTPOSE): Likewise.
58247         (DF_1_GLOBAUDIT): Likewise.
58248         (DF_1_SINGLETON): Likewise.
58249         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58250         DT_1_SUPPORTED_MASK bits.
58251         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58253 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58255         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58257 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58259         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58260         macro.
58262         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58263         (sendmmsg): Move declarations...
58264         * socket/sys/socket.h: ... here.
58265         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58266         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58267         include it from...
58268         * socket/recvmmsg.c: ... this new file.
58269         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58270         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58271         definition of __sendmmsg hidden.
58272         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58273         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58274         Move ENOSYS stub into and include it from...
58275         * socket/sendmmsg.c: ... this new file.
58276         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58277         (sysdep_routines): Move recvmmsg and sendmmsg...
58278         * socket/Makefile (routines): ... here.
58279         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58280         (GLIBC_PRIVATE): Add __sendmmsg.
58281         * include/sys/socket.h (__sendmmsg): Add declarations.
58282         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58283         sendmmsg.
58285 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58287         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58288         variable I1 with __attribute__ ((unused)).
58289         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58291 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58293         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58294         DUMMY variables with __attribute__ ((unused)).
58296         * bits/byteswap.h: Include <bits/types.h>.
58297         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58299 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58301         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58302         string_t.  Do not manually set errno.
58303         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58304         length with __strnlen.  Make sure to both set errno and return it on
58305         failure.
58307 2012-11-19  David S. Miller  <davem@davemloft.net>
58309         With help from Joseph Myers.
58310         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58311         very large arguments properly.
58312         * math/libm-test.inc (atan_test): New tests.
58313         (atan2_test): New tests.
58314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58317 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58319         [BZ #14856]
58320         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58321         Define to 3.
58323         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58324         [POSIX] (EADDRNOTAVAIL): Likewise.
58325         [POSIX] (EAFNOSUPPORT): Likewise.
58326         [POSIX] (EALREADY): Likewise.
58327         [POSIX] (ECONNABORTED): Likewise.
58328         [POSIX] (ECONNREFUSED): Likewise.
58329         [POSIX] (ECONNRESET): Likewise.
58330         [POSIX] (EDESTADDRREQ): Likewise.
58331         [POSIX] (EDQUOT): Likewise.
58332         [POSIX] (EHOSTUNREACH): Likewise.
58333         [POSIX] (EIDRM): Likewise.
58334         [POSIX] (EISCONN): Likewise.
58335         [POSIX] (ELOOP): Likewise.
58336         [POSIX] (EMULTIHOP): Likewise.
58337         [POSIX] (ENETDOWN): Likewise.
58338         [POSIX] (ENETUNREACH): Likewise.
58339         [POSIX] (ENOBUFS): Likewise.
58340         [POSIX] (ENODATA): Likewise.
58341         [POSIX] (ENOLINK): Likewise.
58342         [POSIX] (ENOMSG): Likewise.
58343         [POSIX] (ENOPROTOOPT): Likewise.
58344         [POSIX] (ENOSR): Likewise.
58345         [POSIX] (ENOSTR): Likewise.
58346         [POSIX] (ENOTCONN): Likewise.
58347         [POSIX] (ENOTSOCK): Likewise.
58348         [POSIX] (EOPNOTSUPP): Likewise.
58349         [POSIX] (EOVERFLOW): Likewise.
58350         [POSIX] (EPROTO): Likewise.
58351         [POSIX] (EPROTONOSUPPORT): Likewise.
58352         [POSIX] (EPROTOTYPE): Likewise.
58353         [POSIX] (ESTALE): Likewise.
58354         [POSIX] (ETIME): Likewise.
58355         [POSIX] (ETXTBSY): Likewise.
58356         [POSIX] (EWOULDBLOCK): Likewise.
58357         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58358         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58359         [POSIX] (SEEK_CUR): Likewise.
58360         [POSIX] (SEEK_END): Likewise.
58361         [POSIX || UNIX98] (mode_t): Do not require.
58362         [POSIX] (off_t): Likewise.
58363         [POSIX] (pid_t): Likewise.
58364         [POSIX] (sys/stat.h): Do not allow header.
58365         [POSIX] (unistd.h): Likewise.
58366         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58367         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58368         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58369         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58370         require.
58371         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58372         sigevent): Specify elements.
58373         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58374         entry.
58375         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58376         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58378         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58379         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58380         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58381         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58382         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58383         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58384         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58385         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58386         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58387         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58388         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58389         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58390         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58391         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58392         Likewise.
58393         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58394         Likewise.
58395         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58396         Likewise.
58397         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58398         Likewise.
58399         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58400         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58401         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58402         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58403         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58404         Specify lower bound on value.
58405         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58406         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58407         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58408         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58409         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58410         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58411         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58412         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58413         value.
58414         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58415         as optional.
58416         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58417         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58418         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58419         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58420         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58421         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58422         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58423         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58424         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58425         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58426         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58427         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58428         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58429         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58430         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58431         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58432         entry.
58433         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58434         optional.
58435         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58436         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58437         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58438         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58439         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58440         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58441         Likewise.
58442         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58443         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58444         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58445         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58446         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58447         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58448         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58449         as optional.
58450         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58451         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58452         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58453         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58454         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58455         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58456         specify as optional.
58457         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58458         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58459         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58460         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58461         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58462         [XPG3] (NL_LANGMAX): Likewise.
58463         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58464         [POSIX || XPG3] (NL_NMAX): Likewise.
58465         [POSIX || XPG3] (NL_SETMAX): Likewise.
58466         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58467         [XPG3] (NZERO): Likewise.
58468         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58469         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58470         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58471         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58472         (REG_ERANGE): Expect.
58473         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58474         optional-constant.
58475         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58476         Use (void) in prototype.
58477         [POSIX] (*_t): Allow.
58478         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58479         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58480         (WRDE_BADVAL): Expect.
58482         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58483         expect.
58484         [XPG3 || XPG4] (O_RSYNC): Likewise.
58485         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58486         Likewise.
58487         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58488         [XPG3 || XPG4] (sigqueue): Likewise.
58489         [XPG3 || XPG4] (sigtimedwait): Likewise.
58490         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58491         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58492         [XPG3 || XPG4] (vsnprintf): Likewise.
58493         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58494         Likewise.
58495         [XPG3 || XPG4] (blksize_t): Likewise.
58496         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58497         Likewise.
58498         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58499         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58500         [XPG3 || XPG4] (struct itimerspec): Likewise.
58501         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58502         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58503         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58504         [XPG3 || XPG4] (clockid_t): Likewise.
58505         [XPG3 || XPG4] (timer_t): Likewise.
58506         [XPG3 || XPG4] (clock_getres): Likewise.
58507         [XPG3 || XPG4] (clock_gettime): Likewise.
58508         [XPG3 || XPG4] (clock_settime): Likewise.
58509         [XPG3 || XPG4] (nanosleep): Likewise.
58510         [XPG3 || XPG4] (timer_create): Likewise.
58511         [XPG3 || XPG4] (timer_delete): Likewise.
58512         [XPG3 || XPG4] (timer_gettime): Likewise.
58513         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58514         [XPG3 || XPG4] (timer_settime): Likewise.
58515         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58516         [XPG3 || XPG4] (getlogin_r): Likewise.
58517         [XPG3 || XPG4] (pread): Likewise.
58518         [XPG3 || XPG4] (pthread_atfork): Likewise.
58519         [XPG3 || XPG4] (pwrite): Likewise.
58521         [BZ #14835]
58522         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58523         <bits/siginfo.h>.
58525 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58527         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58528         finalizing MALLSTREAM.
58530         * sysdeps/mach/hurd/syncfs.c: New file.
58532 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58534         [BZ #14719]
58535         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58536         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58537         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58538         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58539         (_nss_dns_gethostbyname4_r): Likewise.
58540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58541         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58543 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58545         [BZ #13763]
58546         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58548 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58550         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58551         * elf/cache.c (print_entry): Print ",AArch64" for
58552         FLAG_AARCH64_LIB64
58554         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58555         * elf/cache.c (print_entry): Print ",hard-float" for
58556         FLAG_ARM_LIBHF.
58558 2012-11-18  David S. Miller  <davem@davemloft.net>
58560         With help from Joseph Myers.
58561         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58562         cutoff to 2**-13.
58563         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58564         cutoff to 2**-25.
58565         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58566         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58567         small.
58568         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58569         * math/libm-test.inc (y0_test): New tests.
58570         (y1_test): New tests.
58571         * sysdeps/i386/fpu/libm-test-ulps: Update.
58572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58575 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58577         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58578         64-bit targets.
58579         * configure: Regenerated.
58581 2012-11-17  David S. Miller  <davem@davemloft.net>
58583         [BZ #14811]
58584         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58585         nonzero exponents with absolute value below 0x1p-128 to +/-
58586         0x1p-128.
58588 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58590         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58592         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58594         * posix/getconf-speclist.c: New file.
58595         * posix/posix-envs.def: Likewise.
58596         * posix/confstr.c (START_ENV_GROUP): New macro.
58597         (END_ENV_GROUP): Likewise.
58598         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58599         (KNOWN_PRESENT_ENV_STRING): Likewise.
58600         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58601         (UNKNOWN_ENVIRONMENT): Likewise.
58602         (confstr): Include posix-envs.def instead of handling
58603         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58604         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58605         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58606         (END_ENV_GROUP): Likewise.
58607         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58608         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58609         (UNKNOWN_ENVIRONMENT): Likewise.
58610         (__sysconf): Include posix-envs.def instead of handling associated
58611         cases directly here.
58612         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58613         preprocessing getconf-speclist.c rather than running getconf or
58614         generating empty file.
58616 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58618         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58620 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58622         [BZ #14672]
58623         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58625 2012-11-16  David S. Miller  <davem@davemloft.net>
58627         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58628         smaller than LDBL_EPSILON/2.0L, just return xm1.
58630 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58632         * elf/tst-array1.c (init): Set constructor priority to 1000.
58633         (fini): Set destructor priority to 1000.
58634         * elf/tst-array2dep.c: Likewise.
58636 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58638         [BZ #11741]
58639         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58640         (_IO_new_file_xsputn): Also return EOF if none of the input
58641         data was written when overflow failed.
58642         * libio/iopadn.c (_IO_padn): Likewise.
58643         * libio/iowpadn.c (_IO_wpadn): Likewise.
58644         * stdio-common/tst-put-error.c: Add copyright notice.
58645         (do_test): Add case for printing padded string.
58646         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58647         _IO_padn returned error.
58648         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58649         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58650         return EOF.
58652 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58654         * libio/libioP.h: Add comment note that the references to C++
58655         bits are now obsolete.
58657 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58659         * math/libm-test.inc (check_complex): Use asprintf.
58661 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58663         * debug/pcprofiledump.c (print_version): Update copyright year.
58664         * malloc/memusagestat.c (print_version): Likewise.
58666 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58668         [BZ #14831]
58669         * elf/Makefile (tests): Add tst-audit8.
58670         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58671         ($(objpfx)tst-audit8.out): New target.
58672         (tst-audit8-ENV): New variable.
58673         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58674         audit if l_reloc_result is NULL.
58675         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58676         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58677         * elf/tst-audit8.c: New file.
58679 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58681         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58682         * misc/Makefile (CFLAGS-select.c): Define.
58683         * posix/Makefile (CFLAGS-pause.c): Define.
58685 2012-11-13  David S. Miller  <davem@davemloft.net>
58687         * crypt/Makefile: Move test targets after toplevel Rules
58688         inclusion.  Grab any necessary sysdep routines when linking.
58689         * crypt/md5.c (md5_process_block): Remove define, we will always
58690         name it __md5_process_block.
58691         (md5_finish_ctx): Update md5_process_block call.
58692         (md5_stream): Likewise.
58693         (md5_process_bytes): Likewise.
58694         (md5_process_block): Rename to __md5_process_block and move to ...
58695         * crypt/md5-block.c: ... here.
58696         * crypt/sha256.c (sha256_process_block): Move to ...
58697         * crypt/sha256-block.c: ... here.
58698         * crypt/sha512.c (sha512_process_block): Move to ...
58699         * crypt/sha512-block.c: ... here.
58700         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58701         path.
58702         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58703         * sysdeps/sparc/sparc64/multiarch/Makefile
58704         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58705         crypt subdir.
58706         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58707         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58708         multiarch changes.
58709         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58710         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58711         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58712         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58713         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58714         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58715         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58716         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58717         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58718         file.
58719         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58720         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58721         file.
58722         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58724 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58726         * timezone/tzselect.ksh: Update from tzcode git revision
58727         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58728         * timezone/zdump.c: Likewise.
58729         * timezone/zic.c: Likewise.
58730         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58731         in TZVERSION setting, not $(PKGVERSION).
58732         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58733         REPORT_BUGS_TO settings.
58735         [BZ #14838]
58736         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58737         macro.
58739 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58741         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58742         detection to immediately after _FP_ROUND().
58743         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58744         bits are 0.
58746 2012-11-11  David S. Miller  <davem@davemloft.net>
58748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58749         inttypes.h
58750         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58751         __close rather than their public counterparts.
58753 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58755         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58756         file.
58757         [UNIX98] (sem_timedwait): Do not expect.
58758         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58759         [XPG4 || UNIX98] (sockatmark): Do not expect.
58760         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58761         (clock_getcpuclockid): Do not expect.
58762         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58763         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58764         Do not expect.
58765         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58766         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58767         [UNIX98] (vwscanf): Likewise.
58768         [UNIX98] (vswscanf): Likewise.
58770 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58772         * timezone/version.h: Remove file.
58773         * timezone/README: Do not refer to version.h.
58774         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58775         $(objpfx)version.h.
58776         ($(objpfx)zdump.o): Likewise.
58777         ($(objpfx)version.h): New target.
58779         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58780         2012i.
58781         * timezone/README: Don't mention modification to tzselect.ksh.
58782         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58783         work on unmodified tzselect.ksh.  Substitute version numbers in
58784         tzselect.ksh.
58786         * Makefile (format-me): Remove.
58787         (INSTALL): Adjust indentation.  Use commands directly instead of
58788         using $(format-me).
58790         * aclocal.m4 (ACX_PKGVERSION): New macro.
58791         (ACX_BUGURL): Likewise.
58792         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58793         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58794         (REPORT_BUGS_TO): Likewise.
58795         * configure: Regenerated.
58796         * config.h.in (PKGVERSION): New macro.
58797         (REPORT_BUGS_TO): Likewise.
58798         * config.make.in (PKGVERSION): New variable.
58799         (PKGVERSION_TEXI): Likewise.
58800         (REPORT_BUGS_TO): Likewise.
58801         (REPORT_BUGS_TEXI): Likewise.
58802         * Makefile (format-me): Use -I$(common-objpfx)manual.
58803         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58804         ($(common-objpfx)manual/%): New target.
58805         (manual/%): Remove target.
58806         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58807         (print_version): Use PKGVERSION.
58808         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58809         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58810         and REPORT_BUGS_TO.
58811         ($(objpfx)xtrace): Likewise.
58812         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58813         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58814         (print_version): Use PKGVERSION.
58815         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58816         (do_version): Use PKGVERSION.
58817         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58818         REPORT_BUGS_TO.
58819         (common-ldd-rewrite): Likewise.
58820         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58821         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58822         (print_version): Use PKGVERSION.
58823         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58824         * elf/pldd.c (argp_program_bug_address): Remove variable.
58825         (more_help): New function.
58826         (argp): Use more_help.
58827         (print_version): Use PKGVERSION.
58828         * elf/sln.c (main): Use PKGVERSION.
58829         (usage): Use REPORT_BUGS_TO.
58830         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58831         (top level): Use PKGVERSION.
58832         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58833         (print_version): Use PKGVERSION.
58834         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58835         (print_version): Use PKGVERSION.
58836         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58837         (print_version): Use PKGVERSION.
58838         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58839         (print_version): Use PKGVERSION.
58840         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58841         (print_version): Use PKGVERSION.
58842         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58843         (print_version): Use PKGVERSION.
58844         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58845         and BUGURL.
58846         ($(objpfx)memusage): Likewise.
58847         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58848         (do_version): Use PKGVERSION.
58849         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58850         (print_version): Use PKGVERSION.
58851         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58852         ($PKGVERSION): New variable.
58853         ($REPORT_BUGS_TO): Likewise.
58854         (usage): Use $REPORT_BUGS_TO.
58855         (top level): Use $PKGVERSION.
58856         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58857         ($(objpfx)pkgvers.texi): New rule.
58858         ($(objpfx)stamp-pkgvers): Likewise.
58859         * manual/install.texi: Include pkgvers.texi.
58860         (--with-pkgversion): Document new configure option.
58861         (--with-bugurl): Likewise.
58862         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58863         than necessarily for this particular distribution.  Use
58864         REPORT_BUGS_TO for where to report bugs.
58865         * INSTALL: Regenerated.
58866         * manual/libc.texinfo: Include pkgvers.texi.
58867         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58868         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58869         (print_version): Use PKGVERSION.
58870         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58871         (print_version): Use PKGVERSION.
58872         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58873         (print_version): Use PKGVERSION.
58874         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58875         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58876         macro.
58877         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58878         (print_version): Use PKGVERSION.
58879         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58880         (print_version): Use PKGVERSION.
58881         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58882         and PKGVERSION.
58884         * timezone/checktab.awk: Update from tzcode 2012i.
58885         * timezone/ialloc.c: Likewise.
58886         * timezone/private.h: Likewise.
58887         * timezone/scheck.c: Likewise.
58888         * timezone/tzfile.h: Likewise.
58889         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58890         (TZVERSION): Hardcode tzcode version number.
58891         * timezone/zdump.c: Update from tzcode 2012i.
58892         * timezone/zic.c: Likewise.
58893         * timezone/version.h: New file.
58894         * timezone/README: Describe version.h.  Update upstream location.
58896         [BZ #14824]
58897         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58898         (mktemp): Enable declaration.
58899         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58900         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58901         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58903         Likewise.
58904         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58905         Likewise.
58906         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58907         Likewise.
58908         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58909         Likewise.
58910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58911         Likewise.
58912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58913         Likewise.
58915         [BZ #14821]
58916         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58917         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58918         for copies of such integer values.
58919         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58920         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58922 2012-11-09  Andreas Jaeger  <aj@suse.de>
58924         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58925         definitions and declarations that are provided by
58926         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58928 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58930         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58931         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58932         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58933         definition.
58935 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58937         * elf/elf.h: Update comment before AArch64 relocations.
58939 2012-11-07  David S. Miller  <davem@davemloft.net>
58941         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58942         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58943         (__start_context): Declare.
58944         (__makecontext_ret): Delete.
58945         (__makecontext): Hook up __start_context instead of
58946         __makecontext_ret.
58947         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58948         (sysdep_routines): Add __start_context when in stdlib.
58950 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58952         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58953         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58954         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58955         hardcoded "nm".
58956         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58957         (READELF): New variable.  Use it instead of hardcoded "readelf".
58959 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58961         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58962         * sysdeps/x86/Makefile: Here.
58963         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58964         * sysdeps/x86/tst-xmmymm.sh: This.
58966 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58968         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58969         expectations.
58970         [UNIX98] (pthread_barrier_t): Do not expect.
58971         [UNIX98] (pthread_barrierattr_t): Likewise.
58972         [UNIX98] (pthread_spinlock_t): Likewise.
58973         [UNIX98] (pthread_barrier_destroy): Likewise.
58974         [UNIX98] (pthread_barrier_init): Likewise.
58975         [UNIX98] (pthread_barrier_wait): Likewise.
58976         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58977         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58978         [UNIX98] (pthread_barrierattr_init): Likewise.
58979         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58980         [UNIX98] (pthread_getcpuclockid): Likewise.
58981         [UNIX98] (pthread_mutex_timedlock): Likewise.
58982         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58983         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58984         [UNIX98] (pthread_sigmask): Likewise.
58985         [UNIX98] (pthread_spin_destroy): Likewise.
58986         [UNIX98] (pthread_spin_init): Likewise.
58987         [UNIX98] (pthread_spin_lock): Likewise.
58988         [UNIX98] (pthread_spin_trylock): Likewise.
58989         [UNIX98] (pthread_spin_unlock): Likewise.
58990         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58991         Do not expect.
58992         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58993         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58994         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58995         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58996         [XPG3 || XPG4] (pthread_key_t): Likewise.
58997         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58998         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58999         [XPG3 || XPG4] (pthread_once_t): Likewise.
59000         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59001         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59002         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59003         [XPG3 || XPG4] (pthread_t): Likewise.
59005         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59006         not expect.
59007         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59009         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59010         Change function return type to int.
59012         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59013         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59014         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59015         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59016         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59017         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59018         [!POSIX] (posix_madvise): Likewise.
59019         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59020         && !UNIX98].
59021         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59022         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59023         (mode_t): Likewise.
59024         (posix_mem_offset): Likewise.
59025         (posix_typed_mem_get_info): Likewise.
59026         (posix_typed_mem_open): Likewise.
59028         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59029         Change condition to [XOPEN2K8].
59031         * conform/conformtest.pl: Preprocess allow-header data with -x c
59032         instead of from stdin.
59033         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59034         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59035         [C99-based standards] (cerfc): Likewise.
59036         [C99-based standards] (cexp2): Likewise.
59037         [C99-based standards] (cexpm1): Likewise.
59038         [C99-based standards] (clog10): Likewise.
59039         [C99-based standards] (clog1p): Likewise.
59040         [C99-based standards] (clog2): Likewise.
59041         [C99-based standards] (clgamma): Likewise.
59042         [C99-based standards] (ctgamma): Likewise.
59043         [C99-based standards] (cerff): Likewise.
59044         [C99-based standards] (cerfcf): Likewise.
59045         [C99-based standards] (cexp2f): Likewise.
59046         [C99-based standards] (cexpm1f): Likewise.
59047         [C99-based standards] (clog10f): Likewise.
59048         [C99-based standards] (clog1pf): Likewise.
59049         [C99-based standards] (clog2f): Likewise.
59050         [C99-based standards] (clgammaf): Likewise.
59051         [C99-based standards] (ctgammaf): Likewise.
59052         [C99-based standards] (cerfl): Likewise.
59053         [C99-based standards] (cerfcl): Likewise.
59054         [C99-based standards] (cexp2l): Likewise.
59055         [C99-based standards] (cexpm1l): Likewise.
59056         [C99-based standards] (clog10l): Likewise.
59057         [C99-based standards] (clog1pl): Likewise.
59058         [C99-based standards] (clog2l): Likewise.
59059         [C99-based standards] (clgammal): Likewise.
59060         [C99-based standards] (ctgammal): Likewise.
59061         * conform/data/inttypes.h-data [C99-based standards]: Include
59062         stdint.h-data.  Remove all expectations for stdint.h contents.
59063         [C99-based standards] (PRI*): Do not allow.
59064         [C99-based standards] (SCN*): Likewise.
59065         [C99-based standards] (*_t): Likewise.
59066         [C99-based-standards] (PRId8): Expect macro.
59067         [C99-based-standards] (PRIi8): Likewise.
59068         [C99-based-standards] (PRIo8): Likewise.
59069         [C99-based-standards] (PRIu8): Likewise.
59070         [C99-based-standards] (PRIx8): Likewise.
59071         [C99-based-standards] (PRIX8): Likewise.
59072         [C99-based-standards] (SCNd8): Likewise.
59073         [C99-based-standards] (SCNi8): Likewise.
59074         [C99-based-standards] (SCNo8): Likewise.
59075         [C99-based-standards] (SCNu8): Likewise.
59076         [C99-based-standards] (SCNx8): Likewise.
59077         [C99-based-standards] (PRIdLEAST8): Likewise.
59078         [C99-based-standards] (PRIiLEAST8): Likewise.
59079         [C99-based-standards] (PRIoLEAST8): Likewise.
59080         [C99-based-standards] (PRIuLEAST8): Likewise.
59081         [C99-based-standards] (PRIxLEAST8): Likewise.
59082         [C99-based-standards] (PRIXLEAST8): Likewise.
59083         [C99-based-standards] (SCNdLEAST8): Likewise.
59084         [C99-based-standards] (SCNiLEAST8): Likewise.
59085         [C99-based-standards] (SCNoLEAST8): Likewise.
59086         [C99-based-standards] (SCNuLEAST8): Likewise.
59087         [C99-based-standards] (SCNxLEAST8): Likewise.
59088         [C99-based-standards] (PRIdFAST8): Likewise.
59089         [C99-based-standards] (PRIiFAST8): Likewise.
59090         [C99-based-standards] (PRIoFAST8): Likewise.
59091         [C99-based-standards] (PRIuFAST8): Likewise.
59092         [C99-based-standards] (PRIxFAST8): Likewise.
59093         [C99-based-standards] (PRIXFAST8): Likewise.
59094         [C99-based-standards] (SCNdFAST8): Likewise.
59095         [C99-based-standards] (SCNiFAST8): Likewise.
59096         [C99-based-standards] (SCNoFAST8): Likewise.
59097         [C99-based-standards] (SCNuFAST8): Likewise.
59098         [C99-based-standards] (SCNxFAST8): Likewise.
59099         [C99-based-standards] (PRId16): Likewise.
59100         [C99-based-standards] (PRIi16): Likewise.
59101         [C99-based-standards] (PRIo16): Likewise.
59102         [C99-based-standards] (PRIu16): Likewise.
59103         [C99-based-standards] (PRIx16): Likewise.
59104         [C99-based-standards] (PRIX16): Likewise.
59105         [C99-based-standards] (SCNd16): Likewise.
59106         [C99-based-standards] (SCNi16): Likewise.
59107         [C99-based-standards] (SCNo16): Likewise.
59108         [C99-based-standards] (SCNu16): Likewise.
59109         [C99-based-standards] (SCNx16): Likewise.
59110         [C99-based-standards] (PRIdLEAST16): Likewise.
59111         [C99-based-standards] (PRIiLEAST16): Likewise.
59112         [C99-based-standards] (PRIoLEAST16): Likewise.
59113         [C99-based-standards] (PRIuLEAST16): Likewise.
59114         [C99-based-standards] (PRIxLEAST16): Likewise.
59115         [C99-based-standards] (PRIXLEAST16): Likewise.
59116         [C99-based-standards] (SCNdLEAST16): Likewise.
59117         [C99-based-standards] (SCNiLEAST16): Likewise.
59118         [C99-based-standards] (SCNoLEAST16): Likewise.
59119         [C99-based-standards] (SCNuLEAST16): Likewise.
59120         [C99-based-standards] (SCNxLEAST16): Likewise.
59121         [C99-based-standards] (PRIdFAST16): Likewise.
59122         [C99-based-standards] (PRIiFAST16): Likewise.
59123         [C99-based-standards] (PRIoFAST16): Likewise.
59124         [C99-based-standards] (PRIuFAST16): Likewise.
59125         [C99-based-standards] (PRIxFAST16): Likewise.
59126         [C99-based-standards] (PRIXFAST16): Likewise.
59127         [C99-based-standards] (SCNdFAST16): Likewise.
59128         [C99-based-standards] (SCNiFAST16): Likewise.
59129         [C99-based-standards] (SCNoFAST16): Likewise.
59130         [C99-based-standards] (SCNuFAST16): Likewise.
59131         [C99-based-standards] (SCNxFAST16): Likewise.
59132         [C99-based-standards] (PRId32): Likewise.
59133         [C99-based-standards] (PRIi32): Likewise.
59134         [C99-based-standards] (PRIo32): Likewise.
59135         [C99-based-standards] (PRIu32): Likewise.
59136         [C99-based-standards] (PRIx32): Likewise.
59137         [C99-based-standards] (PRIX32): Likewise.
59138         [C99-based-standards] (SCNd32): Likewise.
59139         [C99-based-standards] (SCNi32): Likewise.
59140         [C99-based-standards] (SCNo32): Likewise.
59141         [C99-based-standards] (SCNu32): Likewise.
59142         [C99-based-standards] (SCNx32): Likewise.
59143         [C99-based-standards] (PRIdLEAST32): Likewise.
59144         [C99-based-standards] (PRIiLEAST32): Likewise.
59145         [C99-based-standards] (PRIoLEAST32): Likewise.
59146         [C99-based-standards] (PRIuLEAST32): Likewise.
59147         [C99-based-standards] (PRIxLEAST32): Likewise.
59148         [C99-based-standards] (PRIXLEAST32): Likewise.
59149         [C99-based-standards] (SCNdLEAST32): Likewise.
59150         [C99-based-standards] (SCNiLEAST32): Likewise.
59151         [C99-based-standards] (SCNoLEAST32): Likewise.
59152         [C99-based-standards] (SCNuLEAST32): Likewise.
59153         [C99-based-standards] (SCNxLEAST32): Likewise.
59154         [C99-based-standards] (PRIdFAST32): Likewise.
59155         [C99-based-standards] (PRIiFAST32): Likewise.
59156         [C99-based-standards] (PRIoFAST32): Likewise.
59157         [C99-based-standards] (PRIuFAST32): Likewise.
59158         [C99-based-standards] (PRIxFAST32): Likewise.
59159         [C99-based-standards] (PRIXFAST32): Likewise.
59160         [C99-based-standards] (SCNdFAST32): Likewise.
59161         [C99-based-standards] (SCNiFAST32): Likewise.
59162         [C99-based-standards] (SCNoFAST32): Likewise.
59163         [C99-based-standards] (SCNuFAST32): Likewise.
59164         [C99-based-standards] (SCNxFAST32): Likewise.
59165         [C99-based-standards] (PRId64): Likewise.
59166         [C99-based-standards] (PRIi64): Likewise.
59167         [C99-based-standards] (PRIo64): Likewise.
59168         [C99-based-standards] (PRIu64): Likewise.
59169         [C99-based-standards] (PRIx64): Likewise.
59170         [C99-based-standards] (PRIX64): Likewise.
59171         [C99-based-standards] (SCNd64): Likewise.
59172         [C99-based-standards] (SCNi64): Likewise.
59173         [C99-based-standards] (SCNo64): Likewise.
59174         [C99-based-standards] (SCNu64): Likewise.
59175         [C99-based-standards] (SCNx64): Likewise.
59176         [C99-based-standards] (PRIdLEAST64): Likewise.
59177         [C99-based-standards] (PRIiLEAST64): Likewise.
59178         [C99-based-standards] (PRIoLEAST64): Likewise.
59179         [C99-based-standards] (PRIuLEAST64): Likewise.
59180         [C99-based-standards] (PRIxLEAST64): Likewise.
59181         [C99-based-standards] (PRIXLEAST64): Likewise.
59182         [C99-based-standards] (SCNdLEAST64): Likewise.
59183         [C99-based-standards] (SCNiLEAST64): Likewise.
59184         [C99-based-standards] (SCNoLEAST64): Likewise.
59185         [C99-based-standards] (SCNuLEAST64): Likewise.
59186         [C99-based-standards] (SCNxLEAST64): Likewise.
59187         [C99-based-standards] (PRIdFAST64): Likewise.
59188         [C99-based-standards] (PRIiFAST64): Likewise.
59189         [C99-based-standards] (PRIoFAST64): Likewise.
59190         [C99-based-standards] (PRIuFAST64): Likewise.
59191         [C99-based-standards] (PRIxFAST64): Likewise.
59192         [C99-based-standards] (PRIXFAST64): Likewise.
59193         [C99-based-standards] (SCNdFAST64): Likewise.
59194         [C99-based-standards] (SCNiFAST64): Likewise.
59195         [C99-based-standards] (SCNoFAST64): Likewise.
59196         [C99-based-standards] (SCNuFAST64): Likewise.
59197         [C99-based-standards] (SCNxFAST64): Likewise.
59198         [C99-based-standards] (PRIdMAX): Likewise.
59199         [C99-based-standards] (PRIiMAX): Likewise.
59200         [C99-based-standards] (PRIoMAX): Likewise.
59201         [C99-based-standards] (PRIuMAX): Likewise.
59202         [C99-based-standards] (PRIxMAX): Likewise.
59203         [C99-based-standards] (PRIXMAX): Likewise.
59204         [C99-based-standards] (SCNdMAX): Likewise.
59205         [C99-based-standards] (SCNiMAX): Likewise.
59206         [C99-based-standards] (SCNoMAX): Likewise.
59207         [C99-based-standards] (SCNuMAX): Likewise.
59208         [C99-based-standards] (SCNxMAX): Likewise.
59209         [C99-based-standards] (PRIdPTR): Likewise.
59210         [C99-based-standards] (PRIiPTR): Likewise.
59211         [C99-based-standards] (PRIoPTR): Likewise.
59212         [C99-based-standards] (PRIuPTR): Likewise.
59213         [C99-based-standards] (PRIxPTR): Likewise.
59214         [C99-based-standards] (PRIXPTR): Likewise.
59215         [C99-based-standards] (SCNdPTR): Likewise.
59216         [C99-based-standards] (SCNiPTR): Likewise.
59217         [C99-based-standards] (SCNoPTR): Likewise.
59218         [C99-based-standards] (SCNuPTR): Likewise.
59219         [C99-based-standards] (SCNxPTR): Likewise.
59220         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59221         allow.
59222         * conform/data/stdint.h-data: Update comments to clarify
59223         requirements.
59224         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59225         type.
59226         [C99-based standards] (INT8_MAX): Likewise.
59227         [C99-based standards] (INT16_MIN): Likewise.
59228         [C99-based standards] (INT16_MAX): Likewise.
59229         [C99-based standards] (INT32_MIN): Likewise.
59230         [C99-based standards] (INT32_MAX): Likewise.
59231         [C99-based standards] (INT64_MIN): Likewise.
59232         [C99-based standards] (INT64_MAX): Likewise.
59233         [C99-based standards] (UINT8_MAX): Likewise.
59234         [C99-based standards] (UINT16_MAX): Likewise.
59235         [C99-based standards] (UINT32_MAX): Likewise.
59236         [C99-based standards] (UINT64_MAX): Likewise.
59237         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59238         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59239         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59240         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59241         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59242         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59243         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59244         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59245         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59246         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59247         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59248         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59249         [C99-based standards] (INT_FAST8_MIN): Likewise.
59250         [C99-based standards] (INT_FAST8_MAX): Likewise.
59251         [C99-based standards] (INT_FAST16_MIN): Likewise.
59252         [C99-based standards] (INT_FAST16_MAX): Likewise.
59253         [C99-based standards] (INT_FAST32_MIN): Likewise.
59254         [C99-based standards] (INT_FAST32_MAX): Likewise.
59255         [C99-based standards] (INT_FAST64_MIN): Likewise.
59256         [C99-based standards] (INT_FAST64_MAX): Likewise.
59257         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59258         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59259         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59260         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59261         [C99-based standards] (INTPTR_MIN): Likewise.
59262         [C99-based standards] (INTPTR_MAX): Likewise.
59263         [C99-based standards] (UINTPTR_MAX): Likewise.
59264         [C99-based standards] (INTMAX_MIN): Likewise.
59265         [C99-based standards] (INTMAX_MAX): Likewise.
59266         [C99-based standards] (UINTMAX_MAX): Likewise.
59267         [C99-based standards] (PTRDIFF_MIN): Likewise.
59268         [C99-based standards] (PTRDIFF_MAX): Likewise.
59269         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59270         [C99-based standards] (SIZE_MAX): Likewise.
59271         [C99-based standards] (WCHAR_MAX): Likewise.
59272         [C99-based standards] (WINT_MAX): Likewise.
59273         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59274         constraint on value.
59275         [C99-based standards] (WCHAR_MIN): Likewise.
59276         [C99-based standards] (WINT_MIN): Likewise.
59277         [C99-based standards] (*_t): Allow.
59278         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59279         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59280         Include math.h-data and complex.h-data.  Remove all expectations
59281         of math.h and complex.h contents.
59282         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59283         at end of line.
59284         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59285         (struct tm): Expect tag.
59286         [C99-based-standards] (wcstof): Expect function.
59287         [C99-based-standards] (wcstold): Likewise.
59288         [C99-based-standards] (wcstoll): Likewise.
59289         [C99-based-standards] (wcstoull): Likewise.
59290         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59291         macro-int-constant.  Specify type.
59292         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59293         constraint on value.
59294         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59295         Specify type.
59296         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59297         Specify value.
59298         [ISO C standards]: Do not allow headers.
59299         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59300         wcs[abcdefghijklmnopqrstuvwxyz]*.
59301         [ISO C standards] (*_t): Do not allow.
59302         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59303         Expect function.
59304         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59305         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59306         Specify type.
59307         [ISO C standards]: Do not allow headers.
59308         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59309         is[abcdefghijklmnopqrstuvwxyz]*.
59310         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59311         to[abcdefghijklmnopqrstuvwxyz]*.
59312         [ISO C standards] (*_t): Do not allow.
59313         * conform/data/stdalign.h-data: New file.
59314         * conform/data/stdbool.h-data: Likewise.
59315         * conform/data/stdnoreturn.h-data: Likewise.
59317 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59319         [BZ #14815]
59320         * manual/filesys.texi (Directory Entries): Typo fix.
59321         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59323 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59325         * elf/elf.h (EM_AARCH64): New macro.
59326         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59327         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59328         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59329         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59330         (R_AARCH64_TLSDESC): Likewise.
59331         (NT_ARM_TLS): Likewise.
59332         (NT_ARM_HW_BREAK): Likewise.
59333         (NT_ARM_HW_WATCH): Likewise.
59335 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59337         [BZ #14811]
59338         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59339         (__ieee754_powl): Saturate nonzero exponents with absolute value
59340         below 0x1p-79 to +/- 0x1p-79.
59341         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59342         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59343         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59344         nonzero exponents with absolute value below 0x1p-32 to +/-
59345         0x1p-32.
59346         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59347         (__ieee754_powl): Saturate nonzero exponents with absolute value
59348         below 0x1p-79 to +/- 0x1p-79.
59349         * math/libm-test.inc (pow_test): Add more tests.
59351 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59353         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59354         _dl_s390_cap_flags with kernel. Increase string length.
59355         (_dl_s390_platforms): Add z196 and zEC12.
59357 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59359         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59360         Change XOPEN21K to XOPEN2K.
59362 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59364         * string/memmove.c: Use memcpy when possible.
59366 2012-11-06  Andreas Jaeger  <aj@suse.de>
59368         * po/eo.po: Update from translation team.
59370 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59372         [BZ #14793]
59373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59374         exponent and small x and y exponents, scale x or y up.  Increase
59375         by 2 the exponent used in scaling up.
59376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59378         * math/libm-test.inc (fma_test): Add more tests.
59379         (fma_test_towardzero): Likewise.
59380         (fma_test_downward): Likewise.
59381         (fma_test_upward): Likewise.
59383 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59385         [BZ #14805]
59386         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59387         fenv_t *.
59389         [BZ #14801]
59390         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59391         namespace for names of struct fields.
59392         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59393         fenv_t fields.
59394         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59395         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59397 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59399         [BZ #3665]
59400         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59402 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59404         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59405         PTR_DEMANGLE.
59407         [BZ #5246]
59408         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59409         PTR_DEMANGLE.
59411 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59413         [BZ #14797]
59414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59415         definitely overflow as x * y not x * y + z.
59416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59418         * math/libm-test.inc (fma_test): Add more tests.
59419         (fma_test_towardzero): Likewise.
59420         (fma_test_downward): Likewise.
59421         (fma_test_upward): Likewise.
59423 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59425         [BZ #157]
59427         * include/stub-tag.h: Remove file.
59428         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59429         '#include' of it.
59430         * manual/maint.texi (Porting): Don't reference it.
59431         * Makerules ($(objpfx)stubs): Likewise.
59432         * dirent/closedir.c: Don't include <stub-tag.h>.
59433         * dirent/dirfd.c: Likewise.
59434         * dirent/fdopendir.c: Likewise.
59435         * dirent/getdents.c: Likewise.
59436         * dirent/getdents64.c: Likewise.
59437         * dirent/opendir.c: Likewise.
59438         * dirent/readdir.c: Likewise.
59439         * dirent/readdir64.c: Likewise.
59440         * dirent/readdir64_r.c: Likewise.
59441         * dirent/readdir_r.c: Likewise.
59442         * dirent/rewinddir.c: Likewise.
59443         * dirent/seekdir.c: Likewise.
59444         * dirent/telldir.c: Likewise.
59445         * gmon/profil.c: Likewise.
59446         * grp/setgroups.c: Likewise.
59447         * inet/if_index.c: Likewise.
59448         * io/access.c: Likewise.
59449         * io/chdir.c: Likewise.
59450         * io/chmod.c: Likewise.
59451         * io/chown.c: Likewise.
59452         * io/close.c: Likewise.
59453         * io/dup.c: Likewise.
59454         * io/dup2.c: Likewise.
59455         * io/dup3.c: Likewise.
59456         * io/euidaccess.c: Likewise.
59457         * io/faccessat.c: Likewise.
59458         * io/fchdir.c: Likewise.
59459         * io/fchmod.c: Likewise.
59460         * io/fchmodat.c: Likewise.
59461         * io/fchown.c: Likewise.
59462         * io/fchownat.c: Likewise.
59463         * io/fcntl.c: Likewise.
59464         * io/flock.c: Likewise.
59465         * io/fstatfs.c: Likewise.
59466         * io/fstatfs64.c: Likewise.
59467         * io/fstatvfs.c: Likewise.
59468         * io/fstatvfs64.c: Likewise.
59469         * io/futimens.c: Likewise.
59470         * io/fxstat.c: Likewise.
59471         * io/fxstat64.c: Likewise.
59472         * io/fxstatat.c: Likewise.
59473         * io/fxstatat64.c: Likewise.
59474         * io/getcwd.c: Likewise.
59475         * io/isatty.c: Likewise.
59476         * io/lchmod.c: Likewise.
59477         * io/lchown.c: Likewise.
59478         * io/link.c: Likewise.
59479         * io/linkat.c: Likewise.
59480         * io/lseek.c: Likewise.
59481         * io/lseek64.c: Likewise.
59482         * io/lxstat64.c: Likewise.
59483         * io/mkdir.c: Likewise.
59484         * io/mkdirat.c: Likewise.
59485         * io/mkfifo.c: Likewise.
59486         * io/mkfifoat.c: Likewise.
59487         * io/open.c: Likewise.
59488         * io/open64.c: Likewise.
59489         * io/openat.c: Likewise.
59490         * io/openat64.c: Likewise.
59491         * io/pipe.c: Likewise.
59492         * io/pipe2.c: Likewise.
59493         * io/poll.c: Likewise.
59494         * io/posix_fadvise.c: Likewise.
59495         * io/posix_fadvise64.c: Likewise.
59496         * io/posix_fallocate.c: Likewise.
59497         * io/posix_fallocate64.c: Likewise.
59498         * io/read.c: Likewise.
59499         * io/readlink.c: Likewise.
59500         * io/readlinkat.c: Likewise.
59501         * io/rmdir.c: Likewise.
59502         * io/sendfile.c: Likewise.
59503         * io/sendfile64.c: Likewise.
59504         * io/statfs.c: Likewise.
59505         * io/statfs64.c: Likewise.
59506         * io/statvfs.c: Likewise.
59507         * io/statvfs64.c: Likewise.
59508         * io/symlink.c: Likewise.
59509         * io/symlinkat.c: Likewise.
59510         * io/ttyname.c: Likewise.
59511         * io/ttyname_r.c: Likewise.
59512         * io/umask.c: Likewise.
59513         * io/unlink.c: Likewise.
59514         * io/unlinkat.c: Likewise.
59515         * io/utime.c: Likewise.
59516         * io/utimensat.c: Likewise.
59517         * io/write.c: Likewise.
59518         * io/xmknod.c: Likewise.
59519         * io/xmknodat.c: Likewise.
59520         * io/xstat.c: Likewise.
59521         * io/xstat64.c: Likewise.
59522         * login/getpt.c: Likewise.
59523         * login/grantpt.c: Likewise.
59524         * login/unlockpt.c: Likewise.
59525         * math/e_acoshl.c: Likewise.
59526         * math/e_acosl.c: Likewise.
59527         * math/e_asinl.c: Likewise.
59528         * math/e_atan2l.c: Likewise.
59529         * math/e_atanhl.c: Likewise.
59530         * math/e_coshl.c: Likewise.
59531         * math/e_expl.c: Likewise.
59532         * math/e_fmodl.c: Likewise.
59533         * math/e_gammal_r.c: Likewise.
59534         * math/e_hypotl.c: Likewise.
59535         * math/e_j0l.c: Likewise.
59536         * math/e_j1l.c: Likewise.
59537         * math/e_jnl.c: Likewise.
59538         * math/e_lgammal_r.c: Likewise.
59539         * math/e_log10l.c: Likewise.
59540         * math/e_log2l.c: Likewise.
59541         * math/e_logl.c: Likewise.
59542         * math/e_powl.c: Likewise.
59543         * math/e_rem_pio2l.c: Likewise.
59544         * math/e_sinhl.c: Likewise.
59545         * math/e_sqrtl.c: Likewise.
59546         * math/fclrexcpt.c: Likewise.
59547         * math/fedisblxcpt.c: Likewise.
59548         * math/feenablxcpt.c: Likewise.
59549         * math/fegetenv.c: Likewise.
59550         * math/fegetexcept.c: Likewise.
59551         * math/fegetround.c: Likewise.
59552         * math/feholdexcpt.c: Likewise.
59553         * math/fesetenv.c: Likewise.
59554         * math/fesetround.c: Likewise.
59555         * math/feupdateenv.c: Likewise.
59556         * math/fgetexcptflg.c: Likewise.
59557         * math/fraiseexcpt.c: Likewise.
59558         * math/fsetexcptflg.c: Likewise.
59559         * math/ftestexcept.c: Likewise.
59560         * math/k_cosl.c: Likewise.
59561         * math/k_rem_pio2l.c: Likewise.
59562         * math/k_sinl.c: Likewise.
59563         * math/k_tanl.c: Likewise.
59564         * math/s_asinhl.c: Likewise.
59565         * math/s_atanl.c: Likewise.
59566         * math/s_cbrtl.c: Likewise.
59567         * math/s_erfl.c: Likewise.
59568         * math/s_expm1l.c: Likewise.
59569         * math/s_log1pl.c: Likewise.
59570         * math/s_tanhl.c: Likewise.
59571         * misc/acct.c: Likewise.
59572         * misc/brk.c: Likewise.
59573         * misc/chflags.c: Likewise.
59574         * misc/chroot.c: Likewise.
59575         * misc/fchflags.c: Likewise.
59576         * misc/fgetxattr.c: Likewise.
59577         * misc/flistxattr.c: Likewise.
59578         * misc/fremovexattr.c: Likewise.
59579         * misc/fsetxattr.c: Likewise.
59580         * misc/fsync.c: Likewise.
59581         * misc/ftruncate.c: Likewise.
59582         * misc/futimes.c: Likewise.
59583         * misc/futimesat.c: Likewise.
59584         * misc/getdomain.c: Likewise.
59585         * misc/getdtsz.c: Likewise.
59586         * misc/gethostid.c: Likewise.
59587         * misc/gethostname.c: Likewise.
59588         * misc/getloadavg.c: Likewise.
59589         * misc/getpagesize.c: Likewise.
59590         * misc/getsysstats.c: Likewise.
59591         * misc/getxattr.c: Likewise.
59592         * misc/gtty.c: Likewise.
59593         * misc/ioctl.c: Likewise.
59594         * misc/lgetxattr.c: Likewise.
59595         * misc/listxattr.c: Likewise.
59596         * misc/llistxattr.c: Likewise.
59597         * misc/lremovexattr.c: Likewise.
59598         * misc/lsetxattr.c: Likewise.
59599         * misc/lutimes.c: Likewise.
59600         * misc/madvise.c: Likewise.
59601         * misc/mincore.c: Likewise.
59602         * misc/mlock.c: Likewise.
59603         * misc/mlockall.c: Likewise.
59604         * misc/mmap.c: Likewise.
59605         * misc/mprotect.c: Likewise.
59606         * misc/msync.c: Likewise.
59607         * misc/munlock.c: Likewise.
59608         * misc/munlockall.c: Likewise.
59609         * misc/munmap.c: Likewise.
59610         * misc/preadv.c: Likewise.
59611         * misc/preadv64.c: Likewise.
59612         * misc/ptrace.c: Likewise.
59613         * misc/pwritev.c: Likewise.
59614         * misc/pwritev64.c: Likewise.
59615         * misc/readv.c: Likewise.
59616         * misc/reboot.c: Likewise.
59617         * misc/remap_file_pages.c: Likewise.
59618         * misc/removexattr.c: Likewise.
59619         * misc/revoke.c: Likewise.
59620         * misc/select.c: Likewise.
59621         * misc/setdomain.c: Likewise.
59622         * misc/setegid.c: Likewise.
59623         * misc/seteuid.c: Likewise.
59624         * misc/sethostid.c: Likewise.
59625         * misc/sethostname.c: Likewise.
59626         * misc/setregid.c: Likewise.
59627         * misc/setreuid.c: Likewise.
59628         * misc/setxattr.c: Likewise.
59629         * misc/sstk.c: Likewise.
59630         * misc/stty.c: Likewise.
59631         * misc/swapoff.c: Likewise.
59632         * misc/swapon.c: Likewise.
59633         * misc/sync.c: Likewise.
59634         * misc/syncfs.c: Likewise.
59635         * misc/syscall.c: Likewise.
59636         * misc/truncate.c: Likewise.
59637         * misc/ualarm.c: Likewise.
59638         * misc/usleep.c: Likewise.
59639         * misc/ustat.c: Likewise.
59640         * misc/utimes.c: Likewise.
59641         * misc/vhangup.c: Likewise.
59642         * misc/writev.c: Likewise.
59643         * posix/_exit.c: Likewise.
59644         * posix/alarm.c: Likewise.
59645         * posix/execve.c: Likewise.
59646         * posix/fexecve.c: Likewise.
59647         * posix/fork.c: Likewise.
59648         * posix/fpathconf.c: Likewise.
59649         * posix/getaddrinfo.c: Likewise.
59650         * posix/getegid.c: Likewise.
59651         * posix/geteuid.c: Likewise.
59652         * posix/getgid.c: Likewise.
59653         * posix/getgroups.c: Likewise.
59654         * posix/getlogin.c: Likewise.
59655         * posix/getlogin_r.c: Likewise.
59656         * posix/getpgid.c: Likewise.
59657         * posix/getpid.c: Likewise.
59658         * posix/getppid.c: Likewise.
59659         * posix/getresgid.c: Likewise.
59660         * posix/getresuid.c: Likewise.
59661         * posix/getsid.c: Likewise.
59662         * posix/getuid.c: Likewise.
59663         * posix/glob64.c: Likewise.
59664         * posix/nanosleep.c: Likewise.
59665         * posix/pathconf.c: Likewise.
59666         * posix/pause.c: Likewise.
59667         * posix/posix_madvise.c: Likewise.
59668         * posix/pread.c: Likewise.
59669         * posix/pread64.c: Likewise.
59670         * posix/pwrite.c: Likewise.
59671         * posix/pwrite64.c: Likewise.
59672         * posix/sched_getaffinity.c: Likewise.
59673         * posix/sched_getp.c: Likewise.
59674         * posix/sched_gets.c: Likewise.
59675         * posix/sched_primax.c: Likewise.
59676         * posix/sched_primin.c: Likewise.
59677         * posix/sched_rr_gi.c: Likewise.
59678         * posix/sched_setaffinity.c: Likewise.
59679         * posix/sched_setp.c: Likewise.
59680         * posix/sched_sets.c: Likewise.
59681         * posix/sched_yield.c: Likewise.
59682         * posix/setgid.c: Likewise.
59683         * posix/setlogin.c: Likewise.
59684         * posix/setpgid.c: Likewise.
59685         * posix/setresgid.c: Likewise.
59686         * posix/setresuid.c: Likewise.
59687         * posix/setsid.c: Likewise.
59688         * posix/setuid.c: Likewise.
59689         * posix/sleep.c: Likewise.
59690         * posix/spawni.c: Likewise.
59691         * posix/sysconf.c: Likewise.
59692         * posix/times.c: Likewise.
59693         * posix/wait.c: Likewise.
59694         * posix/wait3.c: Likewise.
59695         * posix/wait4.c: Likewise.
59696         * posix/waitpid.c: Likewise.
59697         * resolv/gai_sigqueue.c: Likewise.
59698         * resource/getpriority.c: Likewise.
59699         * resource/getrlimit.c: Likewise.
59700         * resource/getrusage.c: Likewise.
59701         * resource/nice.c: Likewise.
59702         * resource/setpriority.c: Likewise.
59703         * resource/setrlimit.c: Likewise.
59704         * resource/ulimit.c: Likewise.
59705         * rt/aio_cancel.c: Likewise.
59706         * rt/aio_fsync.c: Likewise.
59707         * rt/aio_read.c: Likewise.
59708         * rt/aio_sigqueue.c: Likewise.
59709         * rt/aio_suspend.c: Likewise.
59710         * rt/aio_write.c: Likewise.
59711         * rt/clock_getres.c: Likewise.
59712         * rt/clock_gettime.c: Likewise.
59713         * rt/clock_nanosleep.c: Likewise.
59714         * rt/clock_settime.c: Likewise.
59715         * rt/lio_listio.c: Likewise.
59716         * rt/mq_close.c: Likewise.
59717         * rt/mq_getattr.c: Likewise.
59718         * rt/mq_notify.c: Likewise.
59719         * rt/mq_open.c: Likewise.
59720         * rt/mq_receive.c: Likewise.
59721         * rt/mq_send.c: Likewise.
59722         * rt/mq_setattr.c: Likewise.
59723         * rt/mq_timedreceive.c: Likewise.
59724         * rt/mq_timedsend.c: Likewise.
59725         * rt/mq_unlink.c: Likewise.
59726         * rt/shm_open.c: Likewise.
59727         * rt/shm_unlink.c: Likewise.
59728         * rt/timer_create.c: Likewise.
59729         * rt/timer_delete.c: Likewise.
59730         * rt/timer_getoverr.c: Likewise.
59731         * rt/timer_gettime.c: Likewise.
59732         * rt/timer_settime.c: Likewise.
59733         * setjmp/__longjmp.c: Likewise.
59734         * setjmp/setjmp.c: Likewise.
59735         * signal/kill.c: Likewise.
59736         * signal/killpg.c: Likewise.
59737         * signal/raise.c: Likewise.
59738         * signal/sigaction.c: Likewise.
59739         * signal/sigaltstack.c: Likewise.
59740         * signal/sigblock.c: Likewise.
59741         * signal/sigignore.c: Likewise.
59742         * signal/sigintr.c: Likewise.
59743         * signal/signal.c: Likewise.
59744         * signal/sigpause.c: Likewise.
59745         * signal/sigpending.c: Likewise.
59746         * signal/sigqueue.c: Likewise.
59747         * signal/sigreturn.c: Likewise.
59748         * signal/sigset.c: Likewise.
59749         * signal/sigsetmask.c: Likewise.
59750         * signal/sigstack.c: Likewise.
59751         * signal/sigsuspend.c: Likewise.
59752         * signal/sigtimedwait.c: Likewise.
59753         * signal/sigvec.c: Likewise.
59754         * signal/sigwait.c: Likewise.
59755         * signal/sigwaitinfo.c: Likewise.
59756         * signal/sysv_signal.c: Likewise.
59757         * socket/accept.c: Likewise.
59758         * socket/accept4.c: Likewise.
59759         * socket/bind.c: Likewise.
59760         * socket/connect.c: Likewise.
59761         * socket/getpeername.c: Likewise.
59762         * socket/getsockname.c: Likewise.
59763         * socket/getsockopt.c: Likewise.
59764         * socket/isfdtype.c: Likewise.
59765         * socket/listen.c: Likewise.
59766         * socket/recv.c: Likewise.
59767         * socket/recvfrom.c: Likewise.
59768         * socket/recvmsg.c: Likewise.
59769         * socket/send.c: Likewise.
59770         * socket/sendmsg.c: Likewise.
59771         * socket/sendto.c: Likewise.
59772         * socket/setsockopt.c: Likewise.
59773         * socket/shutdown.c: Likewise.
59774         * socket/sockatmark.c: Likewise.
59775         * socket/socket.c: Likewise.
59776         * socket/socketpair.c: Likewise.
59777         * stdio-common/ctermid.c: Likewise.
59778         * stdio-common/cuserid.c: Likewise.
59779         * stdio-common/remove.c: Likewise.
59780         * stdio-common/rename.c: Likewise.
59781         * stdio-common/renameat.c: Likewise.
59782         * stdio-common/tempname.c: Likewise.
59783         * stdlib/getcontext.c: Likewise.
59784         * stdlib/makecontext.c: Likewise.
59785         * stdlib/setcontext.c: Likewise.
59786         * stdlib/swapcontext.c: Likewise.
59787         * stdlib/system.c: Likewise.
59788         * streams/fattach.c: Likewise.
59789         * streams/fdetach.c: Likewise.
59790         * streams/getmsg.c: Likewise.
59791         * streams/getpmsg.c: Likewise.
59792         * streams/putmsg.c: Likewise.
59793         * streams/putpmsg.c: Likewise.
59794         * sysdeps/unix/bsd/getpt.c: Likewise.
59795         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59796         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59797         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59799         Likewise.
59800         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59801         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59802         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59803         * sysvipc/msgctl.c: Likewise.
59804         * sysvipc/msgget.c: Likewise.
59805         * sysvipc/msgrcv.c: Likewise.
59806         * sysvipc/msgsnd.c: Likewise.
59807         * sysvipc/semctl.c: Likewise.
59808         * sysvipc/semget.c: Likewise.
59809         * sysvipc/semop.c: Likewise.
59810         * sysvipc/semtimedop.c: Likewise.
59811         * sysvipc/shmat.c: Likewise.
59812         * sysvipc/shmctl.c: Likewise.
59813         * sysvipc/shmdt.c: Likewise.
59814         * sysvipc/shmget.c: Likewise.
59815         * termios/tcdrain.c: Likewise.
59816         * termios/tcflow.c: Likewise.
59817         * termios/tcflush.c: Likewise.
59818         * termios/tcgetattr.c: Likewise.
59819         * termios/tcgetpgrp.c: Likewise.
59820         * termios/tcsendbrk.c: Likewise.
59821         * termios/tcsetattr.c: Likewise.
59822         * termios/tcsetpgrp.c: Likewise.
59823         * time/adjtime.c: Likewise.
59824         * time/clock.c: Likewise.
59825         * time/getitimer.c: Likewise.
59826         * time/gettimeofday.c: Likewise.
59827         * time/setitimer.c: Likewise.
59828         * time/settimeofday.c: Likewise.
59829         * time/stime.c: Likewise.
59830         * time/time.c: Likewise.
59832 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59834         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59835         /usr/old/bin.
59837         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59838         instead of spaces.
59839         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59841 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59843         [BZ #14796]
59844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59845         FE_TONEAREST before applying Dekker multiplication and Knuth
59846         addition.  Clear inexact exceptions and check for exact zero
59847         results afterwards.
59848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59849         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59850         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59851         * math/libm-test.inc (fma_test): Add more tests.
59852         (fma_test_towardzero): Likewise.
59853         (fma_test_downward): Likewise.
59854         (fma_test_upward): Likewise.
59855         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59856         function.
59857         (libc_fesetround): New macro.
59858         (libc_fesetroundf): Likewise.
59859         (libc_fesetroundl): Likewise.
59860         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59861         function.
59862         (libc_fesetround_387): Likewise.
59863         (libc_fesetroundf): New macro.
59864         (libc_fesetround): Likewise.
59865         (libc_fesetroundl): Likewise.
59866         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59867         function.
59868         (libc_fesetroundf): New macro.
59869         (libc_fesetround): Likewise.
59870         (libc_fesetroundl): Likewise.
59871         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59872         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59873         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59874         libm_hidden_ver.
59875         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59876         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59877         libm_hidden_def.
59878         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59879         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59880         libm_hidden_ver.
59881         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59882         libm_hidden_def.
59884         [BZ #3439]
59885         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59886         integer constant usable in #if and use that to give value to enum
59887         constant.
59888         (FE_DIVBYZERO): Likewise.
59889         (FE_UNDERFLOW): Likewise.
59890         (FE_OVERFLOW): Likewise.
59891         (FE_INVALID): Likewise.
59892         (FE_INVALID_SNAN): Likewise.
59893         (FE_INVALID_ISI): Likewise.
59894         (FE_INVALID_IDI): Likewise.
59895         (FE_INVALID_ZDZ): Likewise.
59896         (FE_INVALID_IMZ): Likewise.
59897         (FE_INVALID_COMPARE): Likewise.
59898         (FE_INVALID_SOFTWARE): Likewise.
59899         (FE_INVALID_SQRT): Likewise.
59900         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59901         (FE_TONEAREST): Likewise.
59902         (FE_TOWARDZERO): Likewise.
59903         (FE_UPWARD): Likewise.
59904         (FE_DOWNWARD): Likewise.
59905         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59906         (FE_DIVBYZERO): Likewise.
59907         (FE_OVERFLOW): Likewise.
59908         (FE_UNDERFLOW): Likewise.
59909         (FE_INEXACT): Likewise.
59910         (FE_TONEAREST): Likewise.
59911         (FE_DOWNWARD): Likewise.
59912         (FE_UPWARD): Likewise.
59913         (FE_TOWARDZERO): Likewise.
59914         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59915         (FE_UNDERFLOW): Likewise.
59916         (FE_OVERFLOW): Likewise.
59917         (FE_DIVBYZERO): Likewise.
59918         (FE_INVALID): Likewise.
59919         (FE_TONEAREST): Likewise.
59920         (FE_TOWARDZERO): Likewise.
59921         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59922         (FE_OVERFLOW): Likewise.
59923         (FE_UNDERFLOW): Likewise.
59924         (FE_DIVBYZERO): Likewise.
59925         (FE_INEXACT): Likewise.
59926         (FE_TONEAREST): Likewise.
59927         (FE_TOWARDZERO): Likewise.
59928         (FE_UPWARD): Likewise.
59929         (FE_DOWNWARD): Likewise.
59930         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59931         (FE_DIVBYZERO): Likewise.
59932         (FE_OVERFLOW): Likewise.
59933         (FE_UNDERFLOW): Likewise.
59934         (FE_INEXACT): Likewise.
59935         (FE_TONEAREST): Likewise.
59936         (FE_DOWNWARD): Likewise.
59937         (FE_UPWARD): Likewise.
59938         (FE_TOWARDZERO): Likewise.
59940 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59942         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59944 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59946         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59947         commands.  Quote $PWD.
59948         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59949         -x" by "export".
59950         (remove_newlines): Remove.
59952 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59954         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59955         * stdlib/stdlib.h (atof): Moved to ...
59956         * include/bits/stdlib-float.h: Here.  New file.
59957         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59958         * stdlib/bits/stdlib-float.h: New file.
59959         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59960         -mno-sse -mno-mmx.
59961         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59962         <xmmintrin.h>.
59964 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59966         * conform/conformtest.pl (@headers): Add fenv.h.
59967         * conform/data/fenv.h-data: New file.
59968         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59969         include of <math/fenv.h>.
59971         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59972         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59973         && !UNIX98].  Enables tests for XOPEN2K8.
59974         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59975         POSIX2008]: Likewise.
59977         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59978         (struct rusage): Do not expect type or its members.
59980         [BZ #3439]
59981         * math/math.h (FP_NAN): Define macro to integer constant usable in
59982         #if and use that to give value to enum constant.
59983         (FP_INFINITE): Likewise.
59984         (FP_ZERO): Likewise.
59985         (FP_SUBNORMAL): Likewise.
59986         (FP_NORMAL): Likewise.
59988 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59990         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59991         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59992         arguments.
59994 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59996         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59997         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59998         autoconf-time if not.
59999         * configure.in: Remove AC_PREREQ.
60001 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60003         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60004         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60005         of the internal implementation.
60007 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60009         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60010         except include of <misc/sys/syslog.h>.
60012 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60015         function returns with a NULL context exit with zero.
60017 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60019         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60021 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60023         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60024         (run_program_cmd): This.
60025         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60026         (tst_langinfo): New variable.  Use it.
60028 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60030         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60031         floating point opcodes.
60033 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60035         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60036         variable.
60038         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60040         * sysdeps/mach/hurd/powerpc: Remove directory.
60041         * sysdeps/mach/powerpc: Likewise.
60043 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60045         * scripts/check-local-headers.sh: Ignore c++ headers.
60047 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60049         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60050         __libc_cleanup_region_start argument.
60052 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60054         [BZ #14784]
60055         [BZ #14785]
60056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60057         x * y using scaling, not as x * y + z.
60058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60060         * math/libm-test.inc (fma_test): Add more tests.
60061         (fma_test_towardzero): Likewise.
60062         (fma_test_downward): Likewise.
60063         (fma_test_upward): Likewise.
60065 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60067         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60069 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60071         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60072         New variable.
60074 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60076         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60078 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60081         Fix sort order.
60082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60083         Likewise.
60085 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60088         Fix the order of the list for glibc 2.17.
60089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60090         Likewise.
60092 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60096 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60098         [BZ #14610]
60099         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60100         for low part of x being zero before using __atanl (y).
60101         * math/libm-test.inc (atan2_test): Add another test.
60103         * manual/install.texi (Configuring and compiling): Document
60104         general use of test-wrapper and test-wrapper-env.
60105         * INSTALL: Regenerated.
60107         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60108         (__fma): Do not extract and scale down low bits on after-rounding
60109         systems when result rounded to normal precision would have normal
60110         exponent.
60111         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60112         (__fmal): Do not extract and scale down low bits on after-rounding
60113         systems when result rounded to normal precision would have normal
60114         exponent.
60115         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60116         (__fmal): Do not extract and scale down low bits on after-rounding
60117         systems when result rounded to normal precision would have normal
60118         exponent.
60119         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60120         macro.
60121         (fma_test): Add more tests.
60122         (fma_test_towardzero): Likewise.
60123         (fma_test_downward): Likewise.
60124         (fma_test_upward): Likewise.
60126 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60128         * sysdeps/i386/tininess.h: Renamed to ...
60129         * sysdeps/x86/tininess.h: This.
60130         * sysdeps/x86_64/tininess.h: Removed.
60132 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60134         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60135         input.  Use $(build-program-cmd).
60136         ($(objpfx)tst-array1-static.out): Likewise.
60137         ($(objpfx)tst-array2.out): Likewise.
60138         ($(objpfx)tst-array3.out): Likewise.
60139         ($(objpfx)tst-array4.out): Likewise.
60140         ($(objpfx)tst-array5.out): Likewise.
60141         ($(objpfx)tst-array5-static.out): Likewise.
60143 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60145         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60146         if defined.
60148         * nss/nsswitch.h (nss_interface_function): Provide new
60149         macro for use with NSS functions.
60150         * grp/initgroups.c: Use new macro.
60151         * nss/getXXbyYY.c: Likewise.
60152         * nss/getXXbyYY_r.c: Likewise.
60153         * nss/getXXent.c: Likewise.
60154         * nss/getXXent_r.c: Likewise.
60155         * sysdeps/posix/getaddrinfo.c: Likewise.
60157 2012-10-30  Andreas Jaeger  <aj@suse.de>
60159         * po/ru.po: Update Russion translation from translation project.
60161 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60163         [BZ #14152]
60164         [BZ #14783]
60165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60166         result and shift together with sticky bit instead of replicating
60167         round-to-nearest rounding.
60168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60169         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60170         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60171         missing underflow exceptions.
60172         (fma_test_towardzero): Add more tests.
60173         (fma_test_downward): Likewise.
60174         (fma_test_upward): Likewise.
60176         [BZ #14047]
60177         * sysdeps/generic/tininess.h: New file.
60178         * sysdeps/i386/tininess.h: Likewise.
60179         * sysdeps/sh/tininess.h: Likewise.
60180         * sysdeps/x86_64/tininess.h: Likewise.
60181         * stdlib/tst-strtod-underflow.c: Likewise.
60182         * stdlib/tst-tininess.c: Likewise.
60183         * stdlib/strtod_l.c: Include <tininess.h>.
60184         (round_and_return): Do not set errno for exact underflow cases.
60185         Force an underflow exception when setting errno for underflow.
60186         Determine underflow based on rounding to normal precision if
60187         TININESS_AFTER_ROUNDING.
60188         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60189         ERANGE for exact underflow cases.
60190         * stdlib/Makefile (tests): Add tst-tininess and
60191         tst-strtod-underflow.
60192         ($(objpfx)tst-tininess): Use $(link-libm).
60193         ($(objpfx)tst-strtod-underflow): Likewise.
60195 2012-10-30  Andreas Jaeger  <aj@suse.de>
60197         [BZ#14767]
60198         * elf/Makefile (tests): Remove conditional for have-initfini-array
60199         since this is now always required and the variable does not exist
60200         anymore.
60201         (tests-static): Likewise.
60202         (modules-names): Likewise.
60204         * po/eo.po: Add Esperanto translation from translation project.
60206         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60207         merged with constructor/destructor.
60208         (init_array): Likewise.
60209         * elf/tst-array2dep.c (fini_array): Likewise.
60210         (init_array): Likewise.
60212 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60214         * manual/message.texi: Delete @cartouche tags.
60216 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60218         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60219         EOPNOTSUPP.
60220         * sysdeps/mach/hurd/fsync.c: Likewise.
60222         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60223         [_POSIX_REALTIME_SIGNALS]: Change condition to
60224         [_POSIX_REALTIME_SIGNALS > 0].
60226 2012-10-27  Andreas Jaeger  <aj@suse.de>
60228         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60229         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60231         [__WORDSIZE != 64]: Likewise.
60233 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60235         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60236         *  iconvdata/tst-tables.sh: Likewise.
60238 2012-10-25  David S. Miller  <davem@davemloft.net>
60240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60241         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60242         of strtoull.
60244         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60245         ifunc-impl-list.c
60246         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60247         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60248         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60249         file.
60251 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60254         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60255         __getdirentries.
60257 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60258             Jim Blandy  <jimb@codesourcery.com>
60260         * scripts/cross-test-ssh.sh: New file.
60261         * manual/install.texi (Configuring and compiling): Document use of
60262         cross-test-ssh.sh.
60263         * INSTALL: Regenerated.
60265 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60267         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60268         EOPNOTSUPP.
60270 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60272         * Makeconfig (run-program-prefix): Fix comment.
60274 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60275             Jim Blandy  <jimb@codesourcery.com>
60277         * Makeconfig (test-wrapper): New variable,
60278         (test-wrapper-env): Likewise.
60279         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60280         (run-built-tests): Define to yes.
60281         (run-program-prefix): Use $(test-wrapper).
60282         (built-program-cmd): Likewise.
60283         * Rules (make-test-out): Use $(test-wrapper-env) and
60284         $(host-built-program-cmd).
60285         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60286         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60287         tst-pathopt.sh.
60288         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60289         $(test-wrapper-env) to tst-rtld-load-self.sh.
60290         ($(objpfx)order2.out): Use $(test-wrapper).
60291         ($(objpfx)tst-initorder.out): Likewise.
60292         ($(objpfx)tst-initorder2.out): Likewise.
60293         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60294         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60295         (test_wrapper_env): New variable.  Use it to run ld.so.
60296         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60297         Use it to run ld.so.
60298         (test_wrapper_env): Likewise.
60299         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60300         $(test-wrapper) to run-iconv-test.sh.
60301         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60302         (ICONV): Use $test_wrapper.
60303         * posix/Makefile ($(objpfx)globtest.out): Pass
60304         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60305         globtest.sh, not $(run-program-prefix).
60306         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60307         (test_wrapper): Likewise.
60308         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60309         set together with run_via_rtld_prefix.
60310         (run_program_prefix): Define in terms of test_wrapper and
60311         run_via_rtld_prefix.
60313 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60315         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60316         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60317         Targets removed.
60319         [BZ #14743]
60320         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60321         Declare __clock_getres, __clock_gettime, __clock_settime,
60322         __clock_nanosleep, and __clock_getcpuclockid.
60323         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60324         Remove librt_hidden_def (clock_gettime).
60325         * sysdeps/unix/clock_gettime.c: Likewise.
60326         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60327         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60328         * rt/clock_getres.c: Define __clock_getres as an alias.
60329         * sysdeps/posix/clock_getres.c: Likewise.
60330         * rt/clock_settime.c: Define __clock_settime as an alias.
60331         * sysdeps/unix/clock_settime.c: Likewise.
60332         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60333         * sysdeps/unix/clock_nanosleep.c: Likewise.
60334         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60335         * rt/clock-compat.c: New file.
60336         * rt/Makefile (librt-routines): Add clock-compat and move
60337         $(clock-routines) to ...
60338         (routines): ... here, new variable.
60339         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60340         Don't add get_clockfreq here.
60341         * rt/Versions (libc: GLIBC_2.17): New version set.
60342         Add clock_* symbols here.
60343         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60344         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60345         (GLIBC_2.17): Add clock_* symbols.
60346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60348         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60350         Likewise.
60351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60352         Likewise.
60353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60357         * NEWS: Mention the move.
60359         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60360         Use __open, __read, __close rather than their public counterparts.
60361         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60362         (__get_clockfreq_via_cpuinfo): Likewise.
60363         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60364         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60366         * config.h.in (HAVE_IFUNC): New #undef.
60367         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60368         was successful.
60369         * configure: Regenerated.
60371 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60373         * configure.in: Move READELF check to start of file.
60374         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60375         libc_cv_asm_gnu_indirect_function in the process.
60376         * configure: Regenerated.
60378 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60380         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60381         send the output to /dev/null.
60382         (libc_cv_cc_with_libunwind): Likewise.
60383         (libc_cv_as_noexecstack): Likewise.
60384         * configure: Regenerate.
60386 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60388         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60390         * posix/globtest.sh (TMPDIR): Do not set.
60391         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60392         (testout): Likewise.
60394 2012-10-24  Andreas Jaeger  <aj@suse.de>
60396         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60397         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60398         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60399         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60400         posix_fadvise64, posix_fallocate64.
60402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60403         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60404         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60405         Likewise.
60406         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60407         Likewise.
60408         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60410         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60411         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60412         <bits/fcntl-linux.h>.
60413         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60415         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60416         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60417         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60418         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60419         [__WORDSIZE != 64]: Likewise.
60421 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60423         * Makeconfig (run-built-tests): New variable.
60424         * Rules [$(cross-compiling) = yes]: Change condition to
60425         [$(run-built-tests) = no].
60426         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60427         to [$(run-built-tests) = yes].
60428         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60429         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60430         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60431         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60432         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60433         * io/Makefile [$(cross-compiling) = no]: Likewise.
60434         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60435         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60436         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60437         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60438         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60439         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60440         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60441         * string/Makefile [$(cross-compiling) = no]: Likewise.
60443         * posix/Makefile ($(objpfx)globtest.out): Pass
60444         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60445         $(rtld-installed-name).
60446         * posix/globtest.sh (elf_objpfx): Remove variable.
60447         (rtld_installed_name): Likewise.
60448         (library_path): Likewise.
60449         (run_program_prefix): New variable.  Use for running globtest
60450         binary.
60452 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60453             Joseph Myers  <joseph@codesourcery.com>
60455         * Makeconfig (host-built-program-cmd): New variable.
60456         * elf/Makefile (tst-stackguard1-ARGS): Use
60457         $(host-built-program-cmd).
60458         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60459         (tst-spawn-ARGS): Likewise.
60460         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60462 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60463             Jim Blandy  <jimb@codesourcery.com>
60465         * Makeconfig (run-via-rtld-prefix): New variable.
60466         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60467         (built-program-cmd): Likewise.
60469 2012-10-22  Andreas Jaeger  <aj@suse.de>
60471         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60472         __O_RSYNC if it exists, otherwise to O_SYNC.
60474 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60475             Joseph Myers  <joseph@codesourcery.com>
60477         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60478         /dev/null.
60479         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60480         from /dev/null
60481         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60482         /dev/null.
60484 2012-10-22  Andreas Jaeger  <aj@suse.de>
60486         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60487         Define always.
60488         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60490         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60491         bits/fcntl-linux.h.
60493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60494         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60497         to __O_LARGEFILE.
60498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60499         to __O_LARGEFILE.
60501 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60502             Joseph Myers  <joseph@codesourcery.com>
60504         * config.make.in (NM): New variable.
60506 2012-10-21  Andreas Jaeger  <aj@suse.de>
60508         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60509         definitions and declarations that are provided by
60510         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60512 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60514         [BZ #14683]
60515         * elf/Makefile (tests-static): Add tst-leaks1-static.
60516         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60517         ($(objpfx)tst-leaks1-static): New rule.
60518         ($(objpfx)tst-leaks1-static-mem): Likewise.
60519         (tst-leaks1-static-ENV): New macro.
60520         * elf/dl-open.c (dl_open_worker): Check the main application
60521         only if SHARED is defined.
60522         * elf/tst-leaks1-static.c: New file.
60524 2012-10-20  Andreas Jaeger  <aj@suse.de>
60526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60527         generic values for Linux.
60528         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60529         and declarations that are provided by <bits/fcntl-linux.h> and
60530         include <bits/fcntl-linux.h>.
60531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60534 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60536         * io/fcntl.h: Move include of <bits/types.h> to the top and
60537         include it unconditionally.
60539 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60541         * wcsmbs/Makefile (tests-ifunc): New variable.
60542         (tests): Add $(tests-ifunc).
60543         * wcsmbs/test-wcschr-ifunc.c: New file.
60544         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60545         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60546         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60547         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60548         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60550         * string/Makefile (tests-ifunc): New variable.
60551         (tests): Add $(tests-ifunc).
60552         * string/test-memccpy.c (TEST_NAME): New macro.
60553         * string/test-memchr.c (TEST_NAME): Likewise.
60554         * string/test-memcmp.c (TEST_NAME): Likewise.
60555         * string/test-memcpy.c (TEST_NAME): Likewise.
60556         * string/test-memmem.c (TEST_NAME): Likewise.
60557         * string/test-memmove.c (TEST_NAME): Likewise.
60558         * string/test-memset.c (TEST_NAME): Likewise.
60559         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60560         * string/test-stpcpy.c (TEST_NAME): Likewise.
60561         * string/test-stpncpy.c (TEST_NAME): Likewise.
60562         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60563         * string/test-strcasestr.c (TEST_NAME): Likewise.
60564         * string/test-strcat.c (TEST_NAME): Likewise.
60565         * string/test-strchr.c (TEST_NAME): Likewise.
60566         * string/test-strcmp.c(TEST_NAME): Likewise.
60567         * string/test-strcpy.c (TEST_NAME): Likewise.
60568         * string/test-strcspn.c (TEST_NAME): Likewise.
60569         * string/test-strlen.c (TEST_NAME): Likewise.
60570         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60571         * string/test-strncmp.c (TEST_NAME): Likewise.
60572         * string/test-strncpy.c (TEST_NAME): Likewise.
60573         * string/test-strnlen.c (TEST_NAME): Likewise.
60574         * string/test-strpbrk.c (TEST_NAME): Likewise.
60575         * string/test-strrchr.c (TEST_NAME): Likewise.
60576         * string/test-strspn.c (TEST_NAME): Likewise.
60577         * string/test-strstr.c (TEST_NAME): Likewise.
60578         * string/test-bcopy-ifunc.c: New file.
60579         * string/test-bzero-ifunc.c: Likewise.
60580         * string/test-memccpy-ifunc.c: Likewise.
60581         * string/test-memchr-ifunc.c: Likewise.
60582         * string/test-memcmp-ifunc.c: Likewise.
60583         * string/test-memcpy-ifunc.c: Likewise.
60584         * string/test-memmem-ifunc.c: Likewise.
60585         * string/test-memmove-ifunc.c: Likewise.
60586         * string/test-mempcpy-ifunc.c: Likewise.
60587         * string/test-memset-ifunc.c: Likewise.
60588         * string/test-rawmemchr-ifunc.c: Likewise.
60589         * string/test-stpcpy-ifunc.c: Likewise.
60590         * string/test-stpncpy-ifunc.c: Likewise.
60591         * string/test-strcasecmp-ifunc.c: Likewise.
60592         * string/test-strcasestr-ifunc.c: Likewise.
60593         * string/test-strcat-ifunc.c: Likewise.
60594         * string/test-strchr-ifunc.c: Likewise.
60595         * string/test-strchrnul-ifunc.c: Likewise.
60596         * string/test-strcmp-ifunc.c: Likewise.
60597         * string/test-strcpy-ifunc.c: Likewise.
60598         * string/test-strcspn-ifunc.c: Likewise.
60599         * string/test-strlen-ifunc.c: Likewise.
60600         * string/test-strncasecmp-ifunc.c: Likewise.
60601         * string/test-strncat-ifunc.c: Likewise.
60602         * string/test-strncmp-ifunc.c: Likewise.
60603         * string/test-strncpy-ifunc.c: Likewise.
60604         * string/test-strnlen-ifunc.c: Likewise.
60605         * string/test-strpbrk-ifunc.c: Likewise.
60606         * string/test-strrchr-ifunc.c: Likewise.
60607         * string/test-strspn-ifunc.c: Likewise.
60608         * string/test-strstr-ifunc.c: Likewise.
60610         * debug/Makefile (tests-ifunc): New variable.
60611         (tests): Add $(tests-ifunc).
60612         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60613         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60614         * debug/test-stpcpy_chk-ifunc.c: New file.
60615         * debug/test-strcpy_chk-ifunc.c: Likewise.
60617 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60619         [BZ #13601]
60620         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60621         header is not read in.
60623 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60625         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60626         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60627         directly.  Pass built executable to script as
60628         $(built-program-cmd).
60629         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60630         $testprogram without using LD_LIBRARY_PATH and $ldso.
60632         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60633         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60634         $(rtld-installed-name).
60635         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60636         (rtld_installed_name): Likewise.
60637         (library_path): Likewise.
60638         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60639         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60640         $(run-program-prefix) to tst-tables.sh.
60641         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60642         it to run tst-table-from and tst-table-to.
60643         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60644         Pass it to tst-table.sh.
60645         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60646         $(run-program-prefix) to tst-gettext.sh.
60647         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60648         tst-translit.sh.
60649         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60650         tst-gettext2.sh.
60651         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60652         to run tst-gettext.
60653         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60654         to run tst-gettext2.
60655         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60656         to run tst-translit.
60657         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60658         $(run-program-prefix) to tst-mtrace.sh.
60659         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60660         to run tst-mtrace.
60661         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60662         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60663         $(rtld-installed-name).
60664         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60665         (rtld_installed_name): Likewise.
60666         (run_program_prefix): New variable.  Use it to run wordexp-test.
60668         * Makeconfig (ARCH): Remove all definitions.
60669         (machine): Likewise.
60670         [ARCH]: Remove conditional code.
60671         [!objdir]: Give error.
60672         [!objdir] (objpfx): Remove.
60673         [!objdir] (common-objpfx): Likewise.
60674         [!objdir] (common-objdir): Likewise.
60675         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60676         AC_CONFIG_FILES call.
60677         * configure: Regenerated.
60679         [BZ #13888]
60680         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60681         or TMPDIR.
60682         (testout): Likewise.
60684         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60685         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60686         $(rtld-installed-name).
60687         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60688         (rtld_installed_name): Likwise.
60689         (runit): Remove function.
60690         (run_getconf): New variable,  Use it for running getconf binary.
60692 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60694         [BZ #14716]
60695         * string/test-memmem.c (check_result): New function.
60696         (do_one_test): Use it.
60697         (check1): New function.
60698         (test_main): Use it.
60700 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60702         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60704 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60706         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60707         (_G_LSEEK64): Likewise.
60708         (_G_MMAP64): Likewise.
60709         (_G_FSTAT64): Likewise.
60710         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60711         (_G_LSEEK64): Likewise.
60712         (_G_MMAP64): Likewise.
60713         (_G_FSTAT64): Likewise.
60714         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60715         unconditional.  Call __mmap64 directly.
60716         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60717         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60718         __lseek64 directly.
60719         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60720         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60721         __mmap64 directly.
60722         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60723         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60724         __lseek64 directly.
60725         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60726         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60727         __lseek64 directly.
60728         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60729         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60730         __lseek64 directly.
60731         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60732         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60733         __fxstat64 directly.
60734         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60735         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60736         unconditional.
60737         (freopen64) [!_G_OPEN64]: Remove conditional code.
60738         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60739         unconditional.
60740         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60741         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60742         unconditional.
60743         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60744         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60745         unconditional.
60746         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60747         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60748         unconditional.
60749         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60750         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60751         unconditional.
60752         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60753         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60754         unconditional.
60755         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60756         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60757         unconditional.
60758         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60760 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60762         [BZ #12140]
60763         * manual/memory.texi (Malloc Tunable Parameters): Add note
60764         about free list pointers overwriting some perturb bytes.
60765         Wording suggested by Roland McGrath.
60767 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60769         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60770         (lgamma_test): Likewise.
60771         (tgamma_test): Likewise.
60773 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60775         [BZ #14700]
60776         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60777         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60779 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60781         * NEWS: Mention BZ #14716.
60782         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60783         when removing AVAILABLE1_USES_J macro.
60785 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60787         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60788         (__bswap_64): __uint64_t for unsigned 64-bit int.
60790 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60792         * include/string.h (memmem): Declare libc hidden alias.
60793         * string/memmem.c (memmem): Define libc hidden alias.
60794         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60795         __read, __close instead of open, read, close.
60797 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60799         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60800         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60801         global and hidden.
60802         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60803         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60804         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60805         Likewise.
60806         (__rawmemchr_sse2): Likewise.
60807         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60808         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60809         (__strchr_sse2): Likewise.
60810         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60811         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60812         (__strcasecmp_sse2): Likewise.
60813         (__strncasecmp_sse2): Likewise.
60814         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60815         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60816         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60817         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60818         (__strrchr_sse2): Likewise.
60819         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60820         ifunc-impl-list.c.
60821         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60822         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60823         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60824         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60825         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60826         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60827         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60828         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60829         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60830         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60831         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60832         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60833         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60834         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60835         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60836         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60837         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60838         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60839         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60840         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60841         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60842         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60843         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60844         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60845         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60846         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60847         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60848         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60849         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60850         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60852         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60853         global and hidden.
60854         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60855         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60856         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60857         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60858         Likewise.
60859         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60860         Likewise.
60861         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60862         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60863         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60864         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60865         ifunc-impl-list.c.
60866         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60867         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60868         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60869         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60870         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60871         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60872         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60873         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60874         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60875         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60876         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60877         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60878         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60879         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60880         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60881         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60882         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60883         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60884         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60885         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60886         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60887         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60888         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60889         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60890         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60891         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60892         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60893         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60894         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60895         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60896         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60897         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60898         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60899         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60900         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60901         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60902         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60903         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60904         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60905         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60906         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60908         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60909         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60910         * include/ifunc-impl-list.h: New file.
60911         * misc/ifunc-impl-list.c: Likewise.
60912         * misc/Makefile (routines): Add ifunc-impl-list.
60913         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60914         * string/test-string.h: Include <ifunc-impl-list.h>.
60915         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60916         TEST_NAME]: New variables.
60917         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60918         are defined.
60919         (test_init): Call __libc_ifunc_impl_list to initialize
60920         func_list if TEST_IFUNC and TEST_NAME are defined.
60922         * string/Makefile (strop-tests): Add bcopy and bzero.
60923         * string/test-bcopy.c: New file.
60924         * string/test-bzero.c: Likewise.
60925         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60926         defined.
60927         * string/test-memset.c: Support bzero test if TEST_BZERO is
60928         defined.
60929         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60930         __libc_memmove.
60931         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60932         __libc_memset.
60933         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60934         of memset.
60936 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60938         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60939         * configure: Regenerated.
60941         * Makeconfig (+link-static-before-libc): Don't include
60942         $(link-static-libc).
60944         * libio/libio.h (_IO_pos_t): Remove.
60946 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60948         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60949         McGrath.
60951 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60953         * crypt/crypt-entry.c: Include fips-private.h.
60954         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60955         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60956         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60957         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60959 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60961         * crypt/crypt-private.h: Include stdbool.h.
60962         (_ufc_setup_salt_r): Return bool.
60963         * crypt/crypt-entry.c: Include errno.h.
60964         (__crypt_r): Return NULL with EINVAL for bad salt.
60965         * crypt/crypt_util.c (bad_for_salt): New.
60966         (_ufc_setup_salt_r): Check that salt is long enough and within
60967         the specified alphabet.
60968         * crypt/badsalttest.c: New file.
60969         * crypt/Makefile (tests): Add it.
60970         ($(objpfx)badsalttest): New.
60972 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60974         * NEWS: Add entry for BZ #14602.
60976 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60978         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60979         type-generic.
60980         * math/libm-test.inc: Update comment listing what functions and
60981         macros are tested.
60982         (isgreater_test): New function.
60983         (isgreaterequal_test): Likewise.
60984         (isless_test): Likewise.
60985         (islessequal_test): Likewise.
60986         (islessgreater_test): Likewise.
60987         (isunordered_test): Likewise.
60988         (main): Call the new functions.
60990 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60992         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60993         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60994         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60995         * sysdeps/i386/configure: Regenerated.
60996         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60997         * sysdeps/mach/configure: Regenerated.
60998         * sysdeps/mach/hurd/configure: Regenerated.
60999         * sysdeps/powerpc/configure: Regenerated.
61000         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61001         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61002         * sysdeps/s390/s390-32/configure: Regenerated.
61003         * sysdeps/s390/s390-64/configure: Regenerated.
61004         * sysdeps/sh/configure: Regenerated.
61005         * sysdeps/sparc/configure: Regenerated.
61006         * sysdeps/unix/sysv/linux/configure: Regenerated.
61007         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61008         * sysdeps/x86_64/configure: Regenerated.
61010         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61011         defined.  Don't check if MAP is NULL.
61013 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61015         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61016         (_G_stat64): Likewise.
61017         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61018         (_G_stat64): Likewise.
61019         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61020         instead of struct _G_stat64.
61021         * libio/fileops.c (mmap_remap_check): Likewise.
61022         (decide_maybe_mmap): Likewise.
61023         (_IO_new_file_seekoff): Likewise.
61024         (_IO_file_stat): Likewise.
61025         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61026         _G_off64_t.
61027         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61028         instead of struct _G_stat64.
61029         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61031 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61033         [BZ #14602]
61034         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61035         Replace with ...
61036         (CHECK_EOL): New macro.
61037         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61038         CHECK_EOL.
61039         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61040         Replace with CHECK_EOL.
61041         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61042         Replace with CHECK_EOL.
61044 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61046         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61047         type-generic.
61048         * math/libm-test.inc: Update comment listing what functions and
61049         macros are tested.
61050         (finite_test): New function.
61051         (isinf_test): Likewise.
61052         (isnan_test): Likewise.
61053         (fpclassify_test): Test subnormal input.
61054         (isfinite_test): Likewise.
61055         (isnormal_test): Likewise.
61056         (main): Call the new functions.
61058 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61060         [BZ #14660]
61061         * Makerules (%.dynsym): Force C locale when running
61062         $(OBJDUMP) --dynamic-syms.
61064 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61066         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61067         <stdint.h>.
61069 2012-10-06  David S. Miller  <davem@davemloft.net>
61071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61072         upper 32-bits of the length value in %o2 since we use branch-on-register
61073         tests which consider the entire 64-bit register.
61075 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61077         * string/test-strstr.c (check2): Add a test for page boundary.
61079 2012-10-05  David S. Miller  <davem@davemloft.net>
61081         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61082         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61083         file.
61084         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61085         sysdep_routines.
61086         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61087         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61088         and bzero when HWCAP_SPARC_CRYPTO is present.
61090 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61092         [BZ #14602]
61093         * string/test-strstr.c (check2): New function.
61094         (test_main): Call check2.
61096         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61097         and bug-strchr1.
61098         * string/bug-strcasestr1.c (do_test): Moved to ...
61099         * string/test-strcasestr.c (check1): Here.  New function.
61100         (do_one_test): Break out result checking code into ...
61101         (check_result): This.  New function.
61102         (do_one_test): Call check_result.
61103         (test_main): Call check1.
61104         * string/bug-strchr1.c (do_test): Moved to ...
61105         * string/test-strchr.c (check1): Here.  New function.
61106         (do_one_test): Break out result checking code into ...
61107         (check_result): This.  New function.
61108         (do_one_test): Call check_result.
61109         (test_main): Call check1.
61110         * string/bug-strstr1.c (main): Moved to ...
61111         * string/test-strstr.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-strcasestr1.c: Removed.
61117         * string/bug-strchr1.c: Likewise.
61118         * string/bug-strstr1.c: Likewise.
61120         * elf/Makefile (dl-routines): Add hwcaps.
61121         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61122         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61123         (_dl_important_hwcaps): Moved to ...
61124         * elf/dl-hwcaps.c: Here.  New file.
61125         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61127         [BZ #14557]
61128         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61129         if IS_IN_rtld isn't defined.
61131         * elf/dl-support.c (_dl_sysinfo_map): New.
61132         Include "get-dynamic-info.h" and "setup-vdso.h".
61133         (_dl_non_dynamic_init): Call setup_vdso.
61134         * elf/dynamic-link.h: Don't include <assert.h>.
61135         (elf_get_dynamic_info): Moved to ...
61136         * elf/get-dynamic-info.h: Here.  New file.
61137         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61138         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61139         * elf/setup-vdso.h: Here.  New file.
61140         * elf/rtld.c: Include "setup-vdso.h".
61141         (dl_main): Call setup_vdso.
61143 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61145         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61146         creal in comment listing functions tested.  List finite, isinf,
61147         isnan, isless, islessequal, isgreater, isgreaterequal,
61148         islessgreater, isunordered, lgamma_r and pow10 as functions and
61149         macros not tested.  Mention which functions not tested are aliases
61150         for other functions.  Fix typo.  Note that signs of NaNs are not
61151         tested.
61153         * scripts/config.guess: Update from config.git.
61154         * scripts/config.sub: Likewise.
61156 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61158         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61159         * misc/madvise.c (madvise): Renamed to __madvise.
61160         Make madvise a weak alias.
61161         * include/sys/mman.h: Declare __madvise.
61162         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61163         * sysdeps/unix/syscalls.list
61164         (madvise): Make __madvise the strong name, and madvise a weak alias.
61165         * sysdeps/unix/sysv/linux/syscalls.list
61166         (madvise, mmap): Remove redundant entries.
61167         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61168         * malloc/malloc.c (mtrim): Likewise.
61169         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61171 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61173         * sysdeps/mach/hurd/dl-cache.c: File removed.
61174         * config.h.in (USE_LDCONFIG): New #undef.
61175         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61176         * configure: Regenerated.
61177         * elf/Makefile (dl-routines): Add dl-cache only under
61178         [$(use-ldconfig) = yes].
61179         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61180         cache on [USE_LDCONFIG].
61181         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61182         [USE_LDCONFIG].
61183         * elf/rtld.c (dl_main): Likewise.
61185 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61187         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61188         _SC_LEVEL4_CACHE_LINESIZE.
61190 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61192         * sysdeps/unix/bsd/confstr.h: File removed.
61194 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61196         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61197         sys/sdt-config.h.
61199 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61201         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61202         Make 'mapoff' field ElfW(Off) rather than off_t.
61204 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61206         * nscd/Makefile: Remove nscd-cflags and all its users.
61207         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61208         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61210         [BZ #10631]
61211         * malloc.c (malloc_printerr): Clarify error message.
61213 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61215         [BZ #14648]
61216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61217         Set bit_FMA_Usable if FMA is supported.
61218         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61219         macro.
61220         (bit_FMA4_Usable): Updated.
61221         (index_FMA_Usable): New macro.
61222         (CPUID_FMA): Likewise.
61223         (HAS_FMA): Defined with bit_FMA_Usable.
61225 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61227         * bits/types.h (__swblk_t): Type removed.
61228         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61229         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61231         (__SWBLK_T_TYPE): Likewise.
61232         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61233         (__SWBLK_T_TYPE): Likewise.
61234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61235         (__SWBLK_T_TYPE): Likewise.
61236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61237         (__SWBLK_T_TYPE): Likewise.
61239 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61240             Honza Horak <hhorak@redhat.com>
61242         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61243         (xdr_mapname): Use YPMAXMAP as maxsize.
61244         (xdr_peername): Use YPMAXPEER as maxsize.
61245         (xdr_keydat): Use YPAXRECORD as maxsize.
61246         (xdr_valdat): Use YPMAXRECORD as maxsize.
61248 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61250         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61252         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61253         * csu/init-first.c: ... here.
61254         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61255         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61256         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61257         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61258         * sysdeps/i386/init-first.c: File removed.
61259         * sysdeps/sh/init-first.c: File removed.
61261 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61263         [BZ #14645]
61264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61265         if x * y might underflow to zero and z is zero.
61266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61268         * math/libm-test.inc (min_subnorm_value): New variable.
61269         (fma_test): Add more tests.
61270         (fma_test_towardzero): Likewise.
61271         (fma_test_downward): Likewise.
61272         (fma_test_upward): Likewise.
61273         (initialize): Set min_subnorm_value.
61275 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61277         [BZ #14638]
61278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61279         0 + 0.
61280         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61281         mode for addition resulting in exact zero.
61282         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61284         exact 0 + 0.
61285         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61287         * math/libm-test.inc (fma_test): Add more tests.
61288         (fma_test_towardzero): New function.
61289         (fma_test_downward): Likewise.
61290         (fma_test_upward): Likewise.
61291         (main): Call the new functions.
61293 2012-09-28  David S. Miller  <davem@davemloft.net>
61295         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61297 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61299         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61300         instead of SIGALRM.
61302         * sysdeps/gnu/_G_config.h: Moved to ...
61303         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61304         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61305         * sysdeps/generic/_G_config.h: ... here.
61307         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61309         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61311         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61312         Conditionalize target on [libnss_test1.so-version].
61314         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61316         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61317         (elfobjdir): Move out of conditionals.
61319         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61320         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61321         (__nss_lookup_function): Conditionalize label remove_from_tree on
61322         [!DO_STATIC_NSS || SHARED], matching its only use.
61324 2012-09-28  David S. Miller  <davem@davemloft.net>
61326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61327         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61328         file.
61329         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61330         sysdep_routines.
61331         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61333         when HWCAP_SPARC_CRYPTO is present.
61335 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61337         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61339 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61341         [BZ #6530]
61342         * stdio-common/vfprintf.c (process_string_arg): Revert
61343         2000-07-22 change.
61345 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61347         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61348         for testcase.
61349         * stdio-common/tst-sprintf.c: Include <locale.h>
61350         (main): Test sprintf's handling of incomplete multibyte
61351         characters.
61353 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61355         * elf/dl-runtime.c (VERSYMIDX): Removed.
61356         * elf/dl-version.c (VERSYMIDX): Likewise.
61357         * elf/do-rel.h (VERSYMIDX): Likewise.
61358         (VALIDX): Likewise.
61359         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61360         * elf/rtld.c (VALIDX): Likewise.
61361         (ADDRIDX): Likewise.
61362         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61363         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61364         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61365         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61366         (VALIDX): Likewise.
61367         (ADDRIDX): Likewise.
61369 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61371         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61373 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61375         [BZ #11438]
61376         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61377         to global scope.
61378         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61379         addresses are in the same scope as 192.0.2/24.
61380         * posix/gai.conf: Document new scope table defaults.
61382 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61384         [BZ #5298]
61385         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61386         for ftell.  Compute offsets from write pointers instead.
61387         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61389 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61391         [BZ #14543]
61392         * libio/Makefile (tests): New test case tst-fseek.
61393         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61394         combination works in wide mode.
61395         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61396         state when the external buffer state changes.
61398 2012-09-27  David S. Miller  <davem@davemloft.net>
61400         [BZ #14376]
61401         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61402         pass reloc->r_addend in as the 'high' argument to
61403         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61407 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61409         * rt/tst-aio2.c: Include <pthread.h>.
61410         * rt/tst-aio3.c: Likewise.
61412 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61414         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61416 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61418         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61419         contents on [SHARED].
61421 2012-09-26  Marek Polacek  <polacek@redhat.com>
61423         [BZ #14530]
61424         [BZ #13741]
61425         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61426         for C++ and GCC <4.3 as well as for non GCC compilers.
61428 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61432 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61434         * Makefile.in (all, install): Declare with .PHONY.
61435         Reported by Michael Hope <michael.hope@linaro.org>.
61437 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61439         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61440         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61441         system header.
61442         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61443         Likewise.
61444         (sydep_routines): Add the new and the internal functions.
61445         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61446         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61448         (GLIBC_2.17): Add the new function.
61449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61450         (GLIBC_2.17): Likewise.
61451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61452         (GLIBC_2.17): Likewise.
61453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61454         (GLIBC_2.17): Likewise.
61455         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61457 2012-09-25  Alan Modra  <amodra@gmail.com>
61459         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61460         Add release barrier before setting once_control to say
61461         initialisation is done.  Add hints on lwarx.  Use macro in
61462         place of isync.
61463         (clear_once_control): Add release barrier.
61465 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61467         [BZ #13629]
61468         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61469         specially.
61470         * math/s_clog10.c (__clog10): Likewise.
61471         * math/s_clog10f.c (__clog10f): Likewise.
61472         * math/s_clog10l.c (__clog10l): Likewise.
61473         * math/s_clogf.c (__clogf): Likewise.
61474         * math/s_clogl.c (__clogl): Likewise.
61475         * math/Makefile (libm-calls): Add x2y2m1.
61476         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61477         (__x2y2m1): Likewise.
61478         (__x2y2m1l): Likewise.
61479         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61480         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61481         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61482         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61483         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61484         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61485         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61486         * sysdeps/i386/fpu/libm-test-ulps: Update.
61487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61489         [BZ #14621]
61490         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61491         int as type of variable DEPTH.
61492         (glob): Use size_t instead of int as type of variables NEWCOUNT
61493         and OLD_PATHC.
61495 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61497         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61498         Add s_sincosf-sse2.
61499         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61500         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61501         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61502         macros for using routine as __sincosf_ia32.
61503         Use macro for function declaration and weak_alias.
61504         * sysdeps/i386/fpu/libm-test-ulps: Update.
61506         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61509         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61510         subnormal argument.
61511         * math/s_cexpf.c (__cexpf): Likewise.
61512         * math/s_csinf.c (__csinf): Likewise.
61513         * math/s_csinhf.c (__csinhf): Likewise.
61514         * math/s_ctanf.c (__ctanf): Likewise.
61515         * math/s_ctanhf.c (__ctanhf): Likewise.
61516         * math/s_ccosh.c (__ccoshf): Likewise.
61517         * math/s_cexp.c (__cexpl): Likewise.
61518         * math/s_csin.c (__csin): Likewise.
61519         * math/s_csinh.c (__csinh): Likewise.
61520         * math/s_ctan.c (__ctan): Likewise.
61521         * math/s_ctanh.c (ctanh): Likewise.
61522         * math/s_ccoshl.c (__ccoshl): Likewise.
61523         * math/s_cexpl.c (__cexpl): Likewise.
61524         * math/s_csinl.c (__csinl): Likewise.
61525         * math/s_csinhl.c (__csinhl): Likewise.
61526         * math/s_ctanl.c (__ctanl): Likewise.
61527         * math/s_ctanhl.c (__ctanhl): Likewise.
61529 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61531         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61532         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61533         (_IO_off_t): Define to __off_t, not _G_off_t.
61534         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61535         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61536         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61537         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61538         type of __dummy and __dummy2 fields.
61539         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61540         (_G_ssize_t): Likewise.
61541         (_G_off_t): Likewise.
61542         (_G_pid_t): Likewise.
61543         (_G_uid_t): Likewise.
61544         (_G_wchar_t): Likewise.
61545         (_G_wint_t): Likewise.
61546         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61547         (_G_ssize_t): Likewise.
61548         (_G_off_t): Likewise.
61549         (_G_pid_t): Likewise.
61550         (_G_uid_t): Likewise.
61551         (_G_wchar_t): Likewise.
61552         (_G_wint_t): Likewise.
61553         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61554         (_G_ssize_t): Likewise.
61555         (_G_off_t): Likewise.
61556         (_G_pid_t): Likewise.
61557         (_G_uid_t): Likewise.
61558         (_G_wchar_t): Likewise.
61559         (_G_wint_t): Likewise.
61561 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61563         * malloc/arena.c: Include malloc-sysdep.h.
61564         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61565         is sufficient to shrink the heap or an unmap is needed.
61566         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61567         new function check_may_shrink_heap.
61568         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61569         new function check_may_shrink_heap.
61571 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61573         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61574         comments.
61576 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61578         * catgets/test-gencat.sh: Add "set -e".
61579         * elf/tst-pathopt.sh: Likewise.
61580         * grp/tst_fgetgrent.sh: Likewise.
61581         * iconvdata/run-iconv-test.sh: Likewise.
61582         * intl/tst-gettext.sh: Likewise.
61583         * intl/tst-gettext2.sh: Likewise.
61584         * intl/tst-gettext4.sh: Likewise.
61585         * intl/tst-gettext6.sh: Likewise.
61586         * intl/tst-translit.sh: Likewise.
61587         * io/ftwtest-sh: Likewise.
61588         * libio/test-freopen.sh: Likewise.
61589         * malloc/tst-mtrace.sh: Likewise.
61590         * posix/globtest.sh: Likewise.
61591         * posix/tst-getconf.sh: Likewise.
61592         * posix/wordexp-tst.sh: Likewise.
61593         * stdio-common/tst-printf.sh: Likewise.
61594         * stdio-common/tst-unbputc.sh: Likewise.
61595         * stdlib/tst-fmtmsg.sh: Likewise.
61596         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61597         * catgets/Makefile: Do not specify -e option when running
61598         testsuite shell scripts.
61599         * elf/Makefile: Likewise.
61600         * grp/Makefile: Likewise.
61601         * iconvdata/Makefile: Likewise.
61602         * intl/Makefile: Likewise.
61603         * io/Makefile: Likewise.
61604         * libio/Makefile: Likewise.
61605         * malloc/Makefile: Likewise.
61606         * posix/Makefile: Likewise.
61607         * stdio-common/Makefile: Likewise.
61608         * stdlib/Makefile: Likewise.
61609         * sysdeps/x86_64/Makefile: Likewise.
61611         * io/ftwtest-sh: Add copyright header.
61612         * posix/globtest.sh: Likewise.
61613         * posix/tst-getconf.sh: Likewise.
61614         * posix/wordexp-tst.sh: Likewise.
61615         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61617 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61619         [BZ #13679]
61620         * Makeconfig (+link): Defined as $(+link-static) if
61621         $(build-shared) isn't yes.
61622         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61623         isn't yes.
61624         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61626         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61628         [BZ #14562]
61629         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61630         new chunk size with MALLOC_ALIGN_MASK.
61632 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61634         [BZ #5044]
61635         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61636         <rounding-mode.h>.
61637         (__printf_fphex): Determine rounding using get_rounding_mode and
61638         round_away.
61639         * stdio-common/tst-printf-round.c (struct hex_test): New
61640         structure.
61641         (hex_tests): New variable.
61642         (test_hex_in_one_mode): New function.
61643         (do_test): Also run tests for hex float output.
61645 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61647         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61648         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61649         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61650         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61651         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61652         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61653         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61654         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61656 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61658         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61659         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61660         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61661         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61663 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61665         [BZ #14579]
61666         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61667         mode only.
61668         * elf/tst-rtld-load-self.sh: New test.
61669         * elf/Makefile: Run it.
61671 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61673         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61674         (tst-writev-ENV): Remove.
61675         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61677 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61679         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61681 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61683         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61684         unconditional.
61685         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61686         Likewise.
61687         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61688         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61689         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61690         Likewise.
61692 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61694         [BZ #14587]
61695         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61696         * config.make.in (have-cpp-asm-debuginfo): Removed.
61697         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61698         * configure: Regenerated.
61700 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61702         [BZ #5044]
61703         * stdio-common/printf_fp.c: Include <stdbool.h> and
61704         <rounding-mode.h>.
61705         (___printf_fp): Determine rounding using get_rounding_mode and
61706         round_away.
61707         * stdio-common/tst-printf-round.c: New file.
61708         * stdio-common/Makefile (tests): Add tst-printf-round.
61709         (link-libm): New variable.
61710         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61712 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61714         [BZ #14576]
61715         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61716         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61717         Likewise.
61718         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61719         Likewise.
61721 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61723         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61724         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61725         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61726         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61728 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61730         [BZ #14518]
61731         * include/rounding-mode.h: New file.
61732         * sysdeps/generic/get-rounding-mode.h: Likewise.
61733         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61734         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61735         (MAX_VALUE): New macro.
61736         (MIN_VALUE): Likewise.
61737         (overflow_value): New function.
61738         (underflow_value): Likewise.
61739         (round_and_return): Use overflow_value and underflow_value to
61740         determine return values in overflow and underflow cases.  Use
61741         round_away to determine rounding depending on rounding mode.
61742         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61743         determine return values in overflow and underflow cases.
61744         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61745         (struct test_results): New structure.
61746         (struct test): Use struct test_results to store expected results
61747         for all rounding modes.
61748         (TEST): Include expected results for all rounding modes.
61749         (test_in_one_mode): New function.
61750         (do_test): Use test_in_one_mode to compute and check results.
61751         Check results for all rounding modes.
61752         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61753         $(link-libm).
61755 2012-12-09  Allan McRae  <allan@archlinux.org>
61757         * sysdeps/i386/fpu/libm-test-ulps: Update
61759 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61761         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61762         (_G_int32_t): Likewise.
61763         (_G_uint16_t): Likewise.
61764         (_G_uint32_t): Likewise.
61765         (_G_HAVE_BOOL): Likewise.
61766         (_G_HAVE_ATEXIT): Likewise.
61767         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61768         (_G_HAVE_IO_FILE_OPEN): Likewise.
61769         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61770         (_G_int32_t): Likewise.
61771         (_G_uint16_t): Likewise.
61772         (_G_uint32_t): Likewise.
61773         (_G_HAVE_BOOL): Likewise.
61774         (_G_HAVE_ATEXIT): Likewise.
61775         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61776         (_G_HAVE_IO_FILE_OPEN): Likewise.
61777         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61778         (_G_int32_t): Likewise.
61779         (_G_uint16_t): Likewise.
61780         (_G_uint32_t): Likewise.
61781         (_G_HAVE_BOOL): Likewise.
61782         (_G_HAVE_ATEXIT): Likewise.
61783         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61784         (_G_HAVE_IO_FILE_OPEN): Likewise.
61786 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61788         * csu/libc-tls.c: Update copyright years.
61790 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61792         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61793         [!_G_USING_THUNKS]: Remove conditional code.
61794         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61795         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61797         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61798         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61799         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61800         (_G_VTABLE_LABEL_PREFIX): Likewise.
61801         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61802         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61803         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61804         (_G_VTABLE_LABEL_PREFIX): Likewise.
61805         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61806         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61807         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61808         (_G_VTABLE_LABEL_PREFIX): Likewise.
61809         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61811 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61813         * libio/Makefile: Include ../Makeconfig before tests.
61814         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61815         only if $(build-shared) is yes.
61817         * iconv/gconv_db.c: Update copyright years.
61819 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61821         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61822         unwind info if defined PIC. Fix special cases description.
61823         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61825         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61826         DP_HI_MASK entry.
61827         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61829 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61831         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61833         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61834         is NULL.
61836         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61837         (LDLIBS-tst-chk4): This.
61838         (LDFLAGS-tst-chk5): Renamed to ...
61839         (LDLIBS-tst-chk5): This.
61840         (LDFLAGS-tst-chk6): Renamed to ...
61841         (LDLIBS-tst-chk6): This.
61842         (LDFLAGS-tst-lfschk4): Renamed to ...
61843         (LDLIBS-tst-lfschk4): This.
61844         (LDFLAGS-tst-lfschk5): Renamed to ...
61845         (LDLIBS-tst-lfschk5): This.
61846         (LDFLAGS-tst-lfschk6): Renamed to ...
61847         (LDLIBS-tst-lfschk6): This.
61849         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61850         on $(common-objpfx)soversions.mk.
61852 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61854         [BZ #10014]
61855         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61856         example host name.
61858 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61860         * malloc/arena.c (arena_get_retry): New function that gets
61861         another arena for the caller to try its request on.
61862         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61863         current arena cannot fulfill the request.
61864         (__libc_memalign): Likewise.
61865         (__libc_memalign): Likewise.
61866         (__libc_pvalloc): Likewise.
61867         (__libc_calloc): Likewise.
61869 2012-09-05  John Tobey  <john.tobey@gmail.com>
61871         [BZ #13542]
61872         * manual/arith.texi (Operations on Complex): Fix description
61873         of carg branch cut.
61875 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61877         [BZ #10014]
61878         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61879         host name.
61881         [BZ #10038]
61882         * manual/memory.texi (Memory): Make order of menu items match
61883         order of sections.
61885 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61887         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61888         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61889         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61891 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61893         * csu/libc-tls.c (static_dtv): Renamed to ...
61894         (_dl_static_dtv): This.  Make it global.
61895         (_dl_initial_dtv): Removed.
61896         (__libc_setup_tls): Updated.
61897         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61898         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61899         DL_INITIAL_DTV.
61901 2012-09-06  Petr Machata  <pmachata@redhat.com>
61903         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61904         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61905         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61906         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61908 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61910         [BZ #14545]
61911         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61912         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61913         freeing dtv[-1].
61915 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61917         [BZ #14544]
61918         * Makeconfig (link-static-before-libc): Replace $(+prector)
61919         with $(+prectorT).
61920         (link-static-after-libc): Replace $(+postctor) with
61921         $(+postctorT).
61922         (link-bounded): Replace $(+prector)/$(+postctor) with
61923         $(+prectorT)/$(+postctorT).
61924         (+prectorT): New macro.
61925         (+postctorT): Likewise.
61927 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61929         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61930         (round_str): Handle values above the maximum for IBM long double
61931         as inexact.
61932         * stdlib/tst-strtod-round.c (tests): Regenerated.
61934 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61936         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61937         assembler flag.
61938         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61939         zarch_nohighgprs around the zarch optimized routines.
61940         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61941         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61942         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61943         for zarch.
61945 2012-09-05  David S. Miller  <davem@davemloft.net>
61947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61949         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61950         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61951         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61952         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61953         entries.
61955 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61957         * malloc/arena.c: Fold copyright years.
61958         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61960 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61962         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61964 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61966         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61968 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61970         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61971         change internal state upon failure.
61973 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61975         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61976         * malloc/memusage.c (mmap): Likewise.
61977         (mmap64, mremap): Likewise.  Adjust name in comment.
61979 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61981         * libio/fileops.c: Fix typos in comments.
61982         * libio/oldfileops.c: Likewise.
61983         * libio/wfileops.c: Likewise.
61985 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61987         [BZ #1349]
61988         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61989         (tst-malloc-usable-ENV): Set environment for test case.
61990         * malloc/hooks.c (malloc_check_get_size): New function to get
61991         requested size.
61992         * malloc/malloc.c (musable): Use malloc_check_get_size.
61993         * malloc/tst-malloc-usable.c: New test case.
61995 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61997         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61999 2012-09-05  Allan McRae  <allan@archlinux.org>
62001         [BZ #13966]
62002         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62003         determine header location.
62004         * configure: Regenerated.
62006 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62008         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62009         float format.
62010         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62011         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62012         format.
62013         (test): Regenerate.
62015 2012-09-04  David S. Miller  <davem@davemloft.net>
62017         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62018         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62019         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62021 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62023         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62024         failures.
62026         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62028 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62030         [BZ #9914]
62031         * libio/iogetdelim.c: Include <limits.h>.
62032         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62033         + len + 1 would overflow.
62035 2012-09-03  Andreas Jaeger  <aj@suse.de>
62037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62038         * sysdeps/i386/fpu/libm-test-ulps: Update.
62040 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62042         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62043         Add s_sinf-sse2, s_conf-sse2.
62045         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62046         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62047         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62048         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62050         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62051         for using routine as __sinf_ia32.
62052         Use macro for function declaration and weak_alias.
62053         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62054         for using routine as __cosf_ia32.
62055         Use macro for function declaration and weak_alias.
62057         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62058         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62060         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62061         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62064         * math/libm-test.inc (cos_test): Add more test cases.
62065         (sin_test): Likewise.
62066         (sincos_test): Likewise.
62068 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62071         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62072         hidden.
62073         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62075 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62077         [BZ #14538]
62078         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62079         first element of the GOT.
62080         (elf_machine_load_address): Return the difference between
62081         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62083 2012-09-01  Allan McRae  <allan@archlinux.org>
62085         [BZ #13412]
62086         * configure.in (AWK): Require gawk version 3.0 or later.
62087         * configure: Regenerated.
62089 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62091         * sysdeps/unix/sysv/linux/kernel-features.h
62092         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62093         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62094         [__NR_clock_getres]: Make code unconditional.
62095         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62096         (clock_getcpuclockid): Remove code left unreachable by removal of
62097         conditionals.
62098         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62099         code unconditional.
62100         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62101         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62102         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62103         Make code unconditional.
62104         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62105         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62106         * sysdeps/unix/sysv/linux/clock_settime.c
62107         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62108         conditional code.
62109         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62110         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62112 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62114         [BZ #14476]
62115         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62116         scripts/test-installation.pl.
62118         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62119         and $ld_so_version if it is set.
62121 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62123         [BZ #14516]
62124         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62125         failure if reading from procfs failed.
62126         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62128 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62130         * sysdeps/unix/sysv/linux/kernel-features.h
62131         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62132         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62133         Remove conditional code.
62134         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62135         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62136         Remove conditional code.
62137         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62138         * sysdeps/unix/sysv/linux/i386/fxstat.c
62139         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62140         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62141         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62142         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62143         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62144         * sysdeps/unix/sysv/linux/i386/lxstat.c
62145         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62146         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62147         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62148         Remove conditional code.
62149         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62150         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62151         Remove conditional code.
62152         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62153         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62154         <kernel-features.h>.
62155         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62156         Remove.
62157         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62158         Remove conditional code.
62159         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62160         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62161         Remove conditional.
62163 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62165         [BZ #5400]
62166         * NEWS: Add fixed bug number.
62168 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62170         [BZ #14519]
62171         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62172         underflowing exponent in case of negative sign.
62173         * stdlib/tst-strtod-round-data: Add more tests.
62174         * stdlib/tst-strtod-round.c (tests): Regenerated.
62176         [BZ #3479]
62177         * stdlib/strtod_l.c (NDIG): Remove.
62178         (HEXNDIG): Likewise.
62179         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62180         smallest representable value.
62181         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62182         lie within an exact representation of 1/2 ulp of the result.
62183         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62184         unconditionally.
62185         (TENS_P9_IDX): Define unconditionally.
62186         (TENS_P9_SIZE): Likewise.
62187         (TENS_P10_IDX): Likewise.
62188         (TENS_P10_SIZE): Likewise.
62189         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62190         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62191         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62192         entries for 10^2^13 and 10^2^14.
62193         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62194         (TENS_P13_IDX): Define.
62195         (TENS_P13_SIZE): Likewise.
62196         (TENS_P14_IDX): Likewise.
62197         (TENS_P14_SIZE): Likewise.
62198         (_fpioconst_pow10): Change array size to
62199         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62200         unconditional.
62201         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62202         1024]: Add entries for 10^2^13 and 10^2^14.
62203         [LAST_POW10 > _LAST_POW10]: Remove #error.
62204         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62205         (_fpioconst_pow10): Change array size to
62206         FPIOCONST_POW10_ARRAY_SIZE.
62207         * stdlib/gen-fpioconst.c: New file.
62208         * stdlib/gen-tst-strtod-round.c: Likewise.
62209         * stdlib/tst-strtod-round-data: Likewise.
62210         * stdlib/tst-strtod-round.c: Likewise.
62211         * stdlib/Makefile (tests): Add tst-strtod-round.
62213         [BZ #14459]
62214         * stdlib/strtod_l.c: Include <stdint.h>.
62215         (NDEBUG): Do not define.
62216         (round_and_return): Change EXPONENT parameter to type intmax_t.
62217         Rearrange calculations to avoid internal overflow possibilities.
62218         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62219         Rearrange calculations to avoid internal overflow possibilities.
62220         Assert that number fits inside MPNSIZE limbs.
62221         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62222         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62223         calculations and add assertions to avoid internal overflow
62224         possibilities.  Add casts to avoid signed/unsigned operations.
62225         * stdlib/tst-strtod-overflow.c: New file.
62226         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62228 2012-08-25  Marek Polacek  <polacek@redhat.com>
62230         * time/time.h: Fix some typos in comments.
62232 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62234         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62235         * posix/tst-rfc3484-2.c: Likewise.
62236         * posix/tst-rfc3484-3.c: Likewise.
62238 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62240         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62241         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62243 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62245         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62246         #include of fxstatat64.c.
62248 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62250         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62251         * shadow/getspent_r.c: Likewise.
62252         * shadow/getspnam.c: Likewise.
62253         * shadow/getspnam_r.c: Likewise.
62254         * gshadow/getsgent.c: Likewise.
62255         * gshadow/getsgent_r.c: Likewise.
62256         * gshadow/getsgnam.c: Likewise.
62257         * gshadow/getsgnam_r.c: Likewise.
62258         * inet/getnetbyad.c: Likewise.
62259         * inet/getnetbyad_r.c: Likewise.
62260         * inet/getnetbynm.c: Likewise.
62261         * inet/getnetbynm_r.c: Likewise.
62262         * inet/getnetent.c: Likewise.
62263         * inet/getnetent_r.c: Likewise.
62264         * inet/getproto.c: Likewise.
62265         * inet/getproto_r.c: Likewise.
62266         * inet/getprtent.c: Likewise.
62267         * inet/getprtent_r.c: Likewise.
62268         * inet/getprtname.c: Likewise.
62269         * inet/getprtname_r.c: Likewise.
62270         * inet/getrpcbyname.c: Likewise.
62271         * inet/getrpcbyname_r.c: Likewise.
62272         * inet/getrpcbynumber.c: Likewise.
62273         * inet/getrpcbynumber_r.c: Likewise.
62274         * inet/getrpcent.c: Likewise.
62275         * inet/getrpcent_r.c: Likewise.
62276         * inet/getaliasent.c: Likewise.
62277         * inet/getaliasent_r.c: Likewise.
62278         * inet/getaliasname.c: Likewise.
62279         * inet/getaliasname_r.c: Likewise.
62280         * nscd/getgrgid_r.c: Likewise.
62281         * nscd/getgrnam_r.c: Likewise.
62282         * nscd/gethstbyad_r.c: Likewise.
62283         * nscd/gethstbynm3_r.c: Likewise.
62284         * nscd/getpwnam_r.c: Likewise.
62285         * nscd/getpwuid_r.c: Likewise.
62286         * nscd/getsrvbynm_r.c: Likewise.
62287         * nscd/getsrvbypt_r.c: Likewise.
62288         * nscd/gai.c: Likewise.
62290         * configure.in (build_nscd): New substituted variable, set
62291         by --disable-build-nscd and defaults to $use_nscd.
62292         * configure: Regenerated.
62293         * config.make.in (build-nscd): New substituted variable.
62294         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62295         Change conditional to require [$(build-nscd) = yes] as well.
62296         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62298         [BZ# 13696]
62299         * configure.in (use_nscd): New substituted variable, set by
62300         --disable-nscd.  If enabled, define USE_NSCD.
62301         * configure: Regenerated.
62302         * config.h.in: Add USE_NSCD.
62303         * config.make.in (use-nscd): New substituted variable.
62304         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62305         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62306         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62307         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62308         (CFLAGS-getgrnam_r.c): Likewise.
62309         (CFLAGS-initgroups.c): Likewise.
62310         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62311         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62312         Variables removed.
62313         * inet/getnetgrent_r.c
62314         (nscd_setnetgrent): New function, broken out of ...
62315         (setnetgrent): ... here.  Call it.
62316         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62317         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62318         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62319         * nscd/Makefile (routines, aux): Move definitions after include of
62320         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62321         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62322         Conditionalize on [USE_NSCD].
62323         (is_nscd, nscd_init_cb): Likewise.
62324         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62325         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62326         * nss/nss_db/db-init.c: Likewise.
62327         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62328         [USE_NSCD].
62329         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62330         (make_request): Use it.
62331         (cache_valid_p): New function.
62332         (__check_pf): Use it.
62333         * NEWS: Add item for --disable-nscd.
62335 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62337         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62338         to support sed >= 4.2.1-20-ga9bf076.
62339         * configure: Regenerated.
62341 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62343         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62344         Conditionalize whole body on [IREL].
62346 2012-08-22  Jeff Law <law@redhat.com>
62348         [BZ #14505]
62349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62350         if the family is PF_UNSPEC.
62352 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62354         * Makerules (lib-version): Rename from V.
62355         (install-lib-nosubdir): Change V to lib-version.
62357 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62359         [BZ #14252]
62360         * powerpc32/power6/wcschr.c: New file.
62361         * powerpc32/power6/wcscpy.c: New file.
62362         * powerpc32/power6/wcsrchr.c: New file.
62363         * powerpc64/power6/wcschr.c: New file.
62364         * powerpc64/power6/wcscpy.c: New file.
62365         * powerpc64/power6/wcsrchr.c: New file.
62367 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62369         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62370         (two_way_short_needle): Use it.
62371         * string/strstr.c (AVAILABLE1_USES_J): Define.
62372         * string/strcasestr.c: Likewise.
62374         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62375         array references.
62376         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62378         [BZ #11607]
62379         * NEWS: Add an entry.
62380         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62381         define their defaults.
62382         (two_way_short_needle): Detect end-of-string on-the-fly.
62383         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62384         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62385         * string/bug-strcasestr1.c: New test.
62386         * string/Makefile: Run it.
62388 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62390         [BZ #11607]
62391         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62392         the first character.
62394 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62396         * csu/elf-init.c (__libc_csu_irel): Function removed.
62397         * csu/libc-start.c (apply_irel): New function.
62398         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62400 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62402         * sysdeps/unix/sysv/linux/kernel-features.h
62403         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62404         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62405         <kernel-features.h>.
62406         [__NR_fadvise64_64]: Make code unconditional.
62407         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62408         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62409         !__NR_fadvise64_64)]: Likewise.
62410         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62411         !__NR_fadvise64_64))]: Likewise.
62412         [__NR_fadvise64]: Make code unconditional.
62413         [!__NR_fadvise64]: Remove conditional code.
62414         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62415         <kernel-features.h>.
62416         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62417         unconditional.
62418         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62419         conditional code.
62420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62421         not include <kernel-features.h>.
62422         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62423         unconditional.
62424         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62425         conditional code.
62426         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62427         include <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.
62433 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62435         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62436         slight instruction rearrangements per scrollpipe analysis.
62437         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62439 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62441         * manual/syslog.texi (syslog; vsyslog, closelog):
62442         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62443         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62445         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62446         DSOCAPS to match condition on defining it.
62448 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62450         * sysdeps/unix/sysv/linux/kernel-features.h
62451         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62453         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62454         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62456         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62457         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62459         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62460         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62462         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62463         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62465         * sysdeps/unix/sysv/linux/kernel-features.h
62466         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62467         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62468         unconditional.
62469         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62470         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62471         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62472         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62473         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62474         Make code unconditional.
62475         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62476         (__mmap64) [!__NR_mmap2]: Likewise.
62477         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62478         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62479         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62480         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62481         [__NR_mmap2]: Make code unconditional.
62482         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62483         (__mmap64) [!__NR_mmap2]: Likewise.
62485 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62487         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62489 2012-08-18  Andreas Jaeger  <aj@suse.de>
62491         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62493 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62495         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62496         * include/unistd.h (__have_sock_cloexec): Likewise.
62497         (__have_pipe2): Likewise.
62498         (__have_dup3): Likewise.
62500 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62502         [BZ #9685]
62503         * include/unistd.h (__have_pipe2): Change define into an extern int.
62504         (__have_dup3): Likewise.
62505         * socket/have_sock_cloexec.c: Include fcntl.h.
62506         (__have_pipe2): New variable.
62507         (__have_dup3): Likewise.
62509 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62511         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62513 2012-08-17  Marek Polacek  <polacek@redhat.com>
62515         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62516         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62518 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62520         * configure.in: Add AC_SUBST for sysheaders.
62521         * configure: Regenerated.
62522         * config.make.in (sysheaders): New substituted variable.
62524         * sysdeps/unix/mkfifo.c: Moved ...
62525         * sysdeps/posix/mkfifo.c: ... here.
62526         * sysdeps/unix/mkfifoat.c: Moved ...
62527         * sysdeps/posix/mkfifoat.c: ... here.
62529         * sysdeps/unix/utime.c: Moved ...
62530         * sysdeps/posix/utime.c: ... here.
62532         * sysdeps/unix/time.c: Moved ...
62533         * sysdeps/posix/time.c: ... here.
62534         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62535         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62537         * sysdeps/unix/nice.c: Moved ...
62538         * sysdeps/posix/nice.c: ... here.
62540         * sysdeps/unix/alarm.c: Moved ...
62541         * sysdeps/posix/alarm.c: ... here.
62543         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62545 2012-08-17  Jeff Law <law@redhat.com>
62547         * intl/Makefile (codeset_mo): New variable.
62548         ($(codeset_mo)): New target.
62549         (tst-codeset.out): Depend on that.  Remove explicit rule.
62550         (tst-gettext3.out, tst-gettext5.out): Likewise.
62551         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62552         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62553         * intl/tst-codeset.sh: Remove.
62554         * intl/tst-gettext3.sh: Likewise.
62555         * intl/tst-gettext5.sh: Likewise.
62557 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62559         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62560         * sysdeps/unix/syscalls.list: ... here.
62562         * sysdeps/posix/getaddrinfo.c
62563         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62564         (gaiconf_init, gaiconf_reload): Use them.
62565         [!_STATBUF_ST_NSEC]
62566         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62567         Define using time_t rather than struct timespec.
62569         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62570         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62571         Macros removed.
62572         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62573         [!NO_THREADS].
62574         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62575         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62576         Likewise.
62578         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62579         __libc_cleanup_push argument.
62581         * bits/param.h: New file.
62582         * misc/sys/param.h: New file.
62583         * include/sys/param.h: New file.
62584         * misc/Makefile (headers): Add bits/param.h.
62585         * sysdeps/generic/sys/param.h: File removed.
62586         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62587         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62588         * sysdeps/mach/hurd/bits/param.h: New file.
62589         * sysdeps/mach/hurd/sys/param.h: File removed.
62591         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62592         last change.
62594         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62595         [_IO_MTSAFE_IO].
62596         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62597         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62598         New macros.
62600         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62601         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62602         rather than -D_IO_MTSAFE_IO conditionally.
62603         * stdio-common/Makefile (CPPFLAGS): Likewise.
62604         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62605         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62606         Use $(libio-mtsafe).
62607         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62608         of -D_IO_MTSAFE_IO.
62609         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62610         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62611         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62612         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62613         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62614         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62615         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62616         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62617         (CFLAGS-fread_u_chk.c): Likewise.
62618         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62619         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62620         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62621         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62622         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62623         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62624         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62625         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62626         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62628         * libio/Makefile: Test [$(libc-reentrant) = yes]
62629         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62631         * Makeconfig
62632         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62633         * sysdeps/pthread/configure: File removed.
62634         * sysdeps/pthread/Makeconfig: New file.
62635         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62636         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62638 2012-08-16  Gary Benson  <gbenson@redhat.com>
62640         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62641         unmapping the first object in a namespace.
62643 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62645         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62646         (__internal_setnetgrent): ... this.  Add internal_function to
62647         definition.  Add libc_hidden_def.
62648         (setnetgrent): Update caller.
62649         (internal_endnetgrent): Renamed to ...
62650         (__internal_endnetgrent): ... this.  Add internal_function to
62651         definition.  Add libc_hidden_def.
62652         (endnetgrent): Update caller.
62653         (internal_getnetgrent_r): Renamed to ...
62654         (__internal_getnetgrent_r): ... this.  Add internal_function to
62655         definition.  Add libc_hidden_def.
62656         (__getnetgrent_r): Update caller.
62657         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62659 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62661         * stdlib/longlong.h: Update from GCC.
62663 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62665         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62666         on _QL, which is set by umul_ppmm but never used.
62667         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62668         variables, which are set by GMP macros but never used.
62669         * stdio-common/_itowa.c (_itowa): Likewise.
62670         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62671         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62673 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62675         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62676         struct La_sh_regs is not constant.
62677         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62678         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62679         and struct La_sparc64_regs are not constant.
62681 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62683         * sysdeps/unix/sysv/linux/kernel-features.h
62684         (__ASSUME_POSIX_TIMERS): Remove.
62685         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62686         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62687         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62688         Make code unconditional.
62689         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62690         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62691         Make code unconditional.
62692         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62693         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62694         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62695         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62696         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62697         Make code unconditional.
62698         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62699         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62700         (__libc_missing_posix_timers): Remove.
62702 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62704         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62705         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62707         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62709         * elf/dl-sym.c: Include <stdlib.h>.
62711         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62712         constants, which avoids warnings in 32-bit builds.
62714         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62715         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62717         * misc/lseek.c: File moved to ...
62718         * io/lseek.c: ... here.
62720         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62722         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62723         shifting LEN more than 31 bits at once.
62725 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62727         [BZ #14195]
62728         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62729         segmentation fault for a case of two empty input strings.
62730         * string/test-strncasecmp.c (check1): Renamed to...
62731         (bz12205): ...this.
62732         (bz14195): Add new testcase for two empty input strings and N > 0.
62733         (test_main): Call new testcase, adapt for renamed function.
62735 2012-08-15  Andreas Jaeger  <aj@suse.de>
62737         [BZ #14090]
62738         * crypt/md5test2.c: New test, based on test supplied by Serge
62739         Belyshev <belyshev@depni.sinp.msu.ru>.
62740         * crypt/Makefile (xtests): Add md5test-giant..
62741         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62743 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62745         [BZ #14090]
62746         * crypt/md5.c (md5_process_block): Don't assume the buffer
62747         length is less than 2**32.
62748         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62749         length is less than 2**64.
62751 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62753         * string/str-two-way.h: Include <sys/param.h>.
62754         (MAX): Macro removed.
62756         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62757         Move #define and #undef of memmove to just before and after
62758         including <string.h>.
62760         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62761         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62762         and after including <string.h>.  Move declarations of
62763         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62764         to before #include "string/memmove.c".
62766         * include/dirent.h: Declare __getdirentries.
62768         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62769         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62771 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62773         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62774         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62775         * sysdeps/i386/configure: Regenerated.
62776         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62777         STABS_CURRENT_FILE, and STABS_FUN.
62778         (END): Remove call to STABS_FUN_END.
62779         (STABS_CURRENT_FILE1): Delete.
62780         (STABS_CURRENT_FILE): Likewise.
62781         (STABS_FUN): Likewise.
62782         (STABS_FUN_END): Likewise.
62783         (STABS_FUN2): Likewise.
62784         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62785         * sysdeps/x86_64/configure: Regenerated.
62787 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62789         * elf/dl-open.c: Include <atomic.h>.
62790         * elf/dl-lookup.c: Likewise.
62792 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62794         * sysdeps/unix/sysv/linux/kernel-features.h
62795         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62796         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62797         unconditionally.
62798         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62799         unconditionally.
62800         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62801         condition on __ASSUME_CLONE_THREAD_FLAGS.
62803 2012-08-14  Andreas Jaeger  <aj@suse.de>
62805         * sysdeps/i386/fpu/libm-test-ulps: Update.
62807 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62809         * include/atomic.h (atomic_exchange_and_add): Split into ...
62810         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62811         New atomic macros.
62813 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62817 2012-08-13  Jeff Law <law@redhat.com>
62819         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62820         null byte in the output string.
62822 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62824         * sysdeps/unix/sysv/linux/kernel-features.h
62825         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62826         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62827         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62828         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62829         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62830         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62831         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62833 2012-08-09  Jeff Law <law@redhat.com>
62835         [BZ #13939]
62836         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62837         When avoid_arena is set, don't retry in the that arena.  Pick the
62838         next one, whatever it might be.
62839         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62840         (arena_lock): Pass in new parameter to arena_get2.
62841         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62842         arena_get2.
62843         (__libc_malloc): Unify retrying after main arena failure with
62844         __libc_memalign version.
62845         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62847 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62849         [BZ #14166]
62850         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62851         to __redirect_strstr.
62852         (__strstr_sse42): Use typeof __redirect_strstr.
62853         (__strstr_ia32): Likewise.
62854         (__libc_strstr): New prototype.
62855         (strstr): Renamed to ...
62856         (__libc_strstr): This.
62857         (strstr): New strong alias of __libc_strstr.
62858         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62859         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62860         __redirect_time.
62861         Include <time.h>.
62862         (__libc_time): New prototype.
62863         (time_ifunc): Replace time with __libc_time.
62864         (time): New strong alias and hidden definition of __libc_time.
62865         (__GI_time): Remove strong alias.
62866         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62867         Include <stddef.h>.
62868         (memmove): Redefined to __redirect_memmove.
62869         (__memmove_sse2): Use typeof __redirect_memmove.
62870         (__memmove_ssse3): Likewise.
62871         (__memmove_ssse3_back): Likewise.
62872         (__libc_memmove): New prototype.
62873         (memmove): Renamed to ...
62874         (__libc_memmove): This.
62875         (memmove): New strong alias of __libc_memmove.
62877 2012-08-08  Mark Salter  <msalter@redhat.com>
62879         * elf/elf.h
62880         (R_MN10300_TLS_GD): Define.
62881         (R_MN10300_TLS_LD): Likewise.
62882         (R_MN10300_TLS_LDO): Likewise.
62883         (R_MN10300_TLS_GOTIE): Likewise.
62884         (R_MN10300_TLS_IE): Likewise.
62885         (R_MN10300_TLS_LE): Likewise.
62886         (R_MN10300_TLS_DTPMOD): Likewise.
62887         (R_MN10300_TLS_DTPOFF): Likewise.
62888         (R_MN10300_TLS_TPOFF): Likewise.
62889         (R_MN10300_SYM_DIFF): Likewise.
62890         (R_MN10300_ALIGN): Likewise.
62891         (R_MN10300_NUM): Update.
62893 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62895         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62896         Remove.
62898 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62900         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62902         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62903         sysdeps/unix -> sysdeps/posix move.
62904         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62906 2012-08-07      Allan McRae     <allan@archlinux.org>
62908         [BZ #14303]
62909         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62910         (SUNOS_CPP): Likewise.
62911         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62912         not found.
62913         (open_input): Call CPP using execvp.
62915 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62917         * sysdeps/unix/sysv/linux/kernel-features.h
62918         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62919         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62920         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62921         (__ASSUME_WAITID_SYSCALL): Likewise.
62922         * sysdeps/unix/sysv/linux/dl-execstack.c
62923         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62924         code unconditional.
62925         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62926         conditional code.
62927         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62928         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62929         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62930         code.
62931         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62932         unconditional.
62933         [__ASSUME_WAITID_SYSCALL]: Likewise.
62934         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62936 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62938         * sysdeps/unix/closedir.c: Renamed to ...
62939         * sysdeps/posix/closedir.c: ... here.
62940         * sysdeps/unix/dirfd.c: Renamed to ...
62941         * sysdeps/posix/dirfd.c: ... here.
62942         * sysdeps/unix/dirstream.h: Renamed to ...
62943         * sysdeps/posix/dirstream.h: ... here.
62944         * sysdeps/unix/fdopendir.c: Renamed to ...
62945         * sysdeps/posix/fdopendir.c: ... here.
62946         * sysdeps/unix/opendir.c: Renamed to ...
62947         * sysdeps/posix/opendir.c: ... here.
62948         * sysdeps/unix/readdir.c: Renamed to ...
62949         * sysdeps/posix/readdir.c: ... here.
62950         * sysdeps/unix/readdir_r.c: Renamed to ...
62951         * sysdeps/posix/readdir_r.c: ... here.
62952         * sysdeps/unix/rewinddir.c: Renamed to ...
62953         * sysdeps/posix/rewinddir.c: ... here.
62954         * sysdeps/unix/seekdir.c: Renamed to ...
62955         * sysdeps/posix/seekdir.c: ... here.
62956         * sysdeps/unix/telldir.c: Renamed to ...
62957         * sysdeps/posix/telldir.c: ... here.
62958         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62959         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62960         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62961         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62963         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62964         * bits/fcntl.h: ... here.
62966         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62967         not 0.
62968         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62969         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62970         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62971         (struct flock): Move l_start, l_len to the beginning.
62972         Use __pid_t for l_pid.
62973         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62974         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62975         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62976         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62977         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62978         [__USE_LARGEFILE64] (struct flock64): New type.
62979         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62981         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62982         * bits/dirent.h: ... here.
62984         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62985         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62987 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62989         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62990         Change from 2.6.0 to 2.6.16.
62991         * sysdeps/unix/sysv/linux/configure: Regenerated.
62992         * sysdeps/unix/sysv/linux/kernel-features.h
62993         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62994         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62995         version.
62996         (__ASSUME_UTIMES): Likewise.
62997         (__ASSUME_CLONE_STOPPED): Remove.
62998         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62999         architectures, not kernel version.
63000         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63001         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63002         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63003         (__ASSUME_WAITID_SYSCALL): Likewise.
63004         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63005         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63006         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63007         refer to older versions.
63009 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63011         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63012         Define alphasort64 as an alias.
63013         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63014         Define versionsort64 as an alias.
63015         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63016         Define scandir64 as an alias.
63017         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63018         Define scandirat64 as an alias.
63019         * dirent/alphasort64.c (alphasort64):
63020         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63021         * dirent/versionsort64.c: Likewise.
63022         * dirent/scandir64.c: Likewise.
63023         * dirent/scandirat64.c: Likewise.
63024         * sysdeps/wordsize-64/alphasort.c: File removed.
63025         * sysdeps/wordsize-64/alphasort64.c: File removed.
63026         * sysdeps/wordsize-64/scandir.c: File removed.
63027         * sysdeps/wordsize-64/scandir64.c: File removed.
63028         * sysdeps/wordsize-64/scandirat.c: File removed.
63029         * sysdeps/wordsize-64/scandirat64.c: File removed.
63030         * sysdeps/wordsize-64/versionsort.c: File removed.
63031         * sysdeps/wordsize-64/versionsort64.c: File removed.
63032         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63033         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63034         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63035         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63036         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63037         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63038         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63039         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63041         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63043         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63045         [defined __arch64__ || defined __sparcv9]
63046         (__INO_T_MATCHES_INO64_T): New macro.
63047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63048         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63049         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63050         * sysdeps/unix/sysv/linux/bits/dirent.h
63051         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63052         (_DIRENT_MATCHES_DIRENT64): New macro.
63054         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63055         Define lockf64 as an alias.
63056         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63057         Define fseeko64 as an alias.
63058         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63059         Define ftello64 as an alias.
63060         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63061         Define _IO_fgetpos64 and fgetpos64 as aliases.
63062         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63063         Define _IO_fsetpos64 and fsetpos64 as aliases.
63064         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63065         Conditionalize body on this.
63066         * libio/fseeko64.c: Likewise.
63067         * libio/ftello64.c: Likewise.
63068         * libio/iofgetpos64.c: Likewise.
63069         * libio/iofsetpos64.c: Likewise.
63070         * sysdeps/wordsize-64/lockf.c: File removed.
63071         * sysdeps/wordsize-64/lockf64.c: File removed.
63072         * sysdeps/wordsize-64/fseeko.c: File removed.
63073         * sysdeps/wordsize-64/fseeko64.c: File removed.
63074         * sysdeps/wordsize-64/ftello.c: File removed.
63075         * sysdeps/wordsize-64/ftello64.c: File removed.
63076         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63077         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63078         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63079         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63080         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63081         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63082         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63083         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63084         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63085         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63086         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63087         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63088         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63089         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63091         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63092         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63093         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63094         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63095         [defined __arch64__ || defined __sparcv9]
63096         (__OFF_T_MATCHES_OFF64_T): New macro.
63097         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63098         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63099         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63100         (__OFF_T_MATCHES_OFF64_T): New macro.
63102 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63104         * stdlib/secure-getenv.c (__secure_getenv): Replace
63105         GLIBC_2_16 with GLIBC_2_17.
63107 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63109         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63110         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63112 2012-08-03  David S. Miller  <davem@davemloft.net>
63114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63116 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63119         Remove.
63120         (__ASSUME_CORRECT_SI_PID): Likewise.
63121         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63122         (__ASSUME_TMPFS_NAME): Likewise.
63123         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63124         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63125         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63126         (HAVE_AUX_SECURE): Make definition unconditional.
63127         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63128         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63130 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63132         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63133         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63134         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63135         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63136         __eloop_threshold instead of SYMLOOP_MAX.
63138         * sysdeps/generic/eloop-threshold.h: New file.
63139         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63140         of MAXSYMLINKS.
63141         * elf/chroot_canon.c (chroot_canon): Likewise.
63143 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63145         [BZ #13717]
63146         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63147         Change to 2.6.0 everywhere.
63148         * sysdeps/unix/sysv/linux/configure: Regenerated.
63149         * sysdeps/unix/sysv/linux/kernel-features.h
63150         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63151         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63152         kernel versions.
63153         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63154         (__ASSUME_FUTEX_REQUEUE): Remove.
63155         (__ASSUME_STATFS64): Define unconditionally.
63156         (__ASSUME_AT_SECURE): Likewise.
63157         (__ASSUME_CORRECT_SI_PID): Likewise.
63158         (__ASSUME_TGKILL): Define without depending on kernel version for
63159         i386.
63160         (__ASSUME_UTIMES): Likewise.
63161         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63162         kernel version.
63163         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63164         (__ASSUME_TMPFS_NAME): Likewise.
63165         * README: Update reference to Linux kernel versions.
63167 2012-08-02  Marek Polacek  <polacek@redhat.com>
63169         [BZ# 14150]
63170         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63171         libc_cv_asm_type_prefix with %.
63172         * configure: Regenerated.
63173         * include/libc-symbols.h: Remove comment about
63174         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63175         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63176         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63177         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63178         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63179         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63180         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63181         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63182         * elf/tst-unique2mod1.c: Likewise.
63183         * elf/tst-unique1mod2.c: Likewise.
63184         * elf/tst-unique1mod1.c: Likewise.
63185         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63186         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63187         Replace ASM_TYPE_DIRECTIVE with .type.
63188         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63189         * sysdeps/i386/sysdep.h: Likewise.
63190         * sysdeps/x86_64/sysdep.h: Likewise.
63191         * sysdeps/sh/sysdep.h: Likewise.
63192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63193         Do not define ASM_TYPE_DIRECTIVE.
63194         * sysdeps/powerpc/sysdep.h: Likewise.
63195         * sysdeps/powerpc/powerpc32/sysdep.h:
63196         Replace ASM_TYPE_DIRECTIVE with .type.
63197         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63198         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63199         * sysdeps/i386/fpu/e_powf.S: Likewise.
63200         * sysdeps/i386/fpu/e_expl.S: Likewise.
63201         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63202         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63203         * sysdeps/i386/fpu/e_pow.S: Likewise.
63204         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63205         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63206         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63207         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63208         * sysdeps/i386/fpu/e_log2.S: Likewise.
63209         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63210         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63211         * sysdeps/i386/fpu/e_powl.S: Likewise.
63212         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63213         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63214         * sysdeps/i386/fpu/e_logl.S: Likewise.
63215         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63216         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63217         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63218         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63219         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63220         * sysdeps/i386/fpu/e_log.S: Likewise.
63221         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63222         * sysdeps/i386/fpu/e_logf.S: Likewise.
63223         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63224         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63225         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63226         * sysdeps/i386/fpu/e_log10.S: Likewise.
63227         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63228         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63229         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63230         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63231         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63232         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63233         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63234         * sysdeps/i386/i686/strtok.S: Likewise.
63235         * sysdeps/i386/i386-mcount.S: Likewise.
63236         * sysdeps/i386/strtok.S: Likewise.
63237         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63238         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63239         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63240         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63241         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63242         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63243         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63244         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63245         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63246         * sysdeps/x86_64/_mcount.S: Likewise.
63247         * sysdeps/x86_64/strtok.S: Likewise.
63248         * sysdeps/sh/_mcount.S: Likewise.
63250 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63252         * libio/iofopen.c: Include <fcntl.h>.
63253         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63254         (_IO_fopen64, fopen64): Define as aliases.
63255         * libio/iofopen64.c: Include <fcntl.h>.
63256         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63257         Conditionalize body on this.
63258         * sysdeps/wordsize-64/iofopen.c: File removed.
63259         * sysdeps/wordsize-64/iofopen64.c: File removed.
63261 2012-08-01  Marek Polacek  <polacek@redhat.com>
63263         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63264         Use dlfcn directly instead of a variable.
63265         (binfmt-subdir): Do not define.
63266         (dlfcn): Likewise.
63268 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63270         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63271         Remove all definitions.
63272         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63273         <kernel-features.h>.
63274         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63275         (miss_F_GETOWN_EX): Remove all definitions.
63276         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63277         macro definition.
63278         [!__ASSUME_FCNTL64]: Remove conditional code.
63279         [__ASSUME_FCNTL64]: Make code unconditional.
63280         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63281         <kernel-features.h>.
63282         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63283         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63284         (lockf64) [__NR_fcntl64]: Make code unconditional.
63285         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63287         * sysdeps/unix/sysv/linux/kernel-features.h
63288         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63289         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63290         Make code unconditional.
63291         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63292         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63294         [__NR_vfork]: Make code unconditional.
63295         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63296         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63298         [__NR_vfork]: Make code unconditional.
63299         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63300         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63302 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63304         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63305         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63307         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63308         Define mkstemp64 as an alias.
63309         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63310         Define mkstemps64 as an alias.
63311         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63312         Define mkostemp64 as an alias.
63313         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63314         Define mkostemps64 as an alias.
63315         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63316         Conditionalize body on this.
63317         * misc/mkostemp64.c: Likewise.
63318         * misc/mkostemps64.c: Likewise.
63319         * misc/mkstemps64.c: Likewise.
63320         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63321         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63322         * sysdeps/wordsize-64/mkostemp.c: File removed.
63323         * sysdeps/wordsize-64/mkstemp.c: File removed.
63324         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63325         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63326         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63327         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63329         [BZ #14138]
63330         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63331         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63332         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63333         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63335         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63336         compat_symbol macros from <shlib-compat.h> rather than the underlying
63337         default_symbol_version and symbol_version macros, so that DEFAULT
63338         lines in shlib-versions are respected.
63339         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63341 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63343         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63344         Declare with warn_unused_result.
63345         (setgid, setregid, setegid, setresgid): Likewise.
63346         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63347         Likewise.
63348         * WUR-REPORT: Remove set*id functions.
63350 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63352         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63354 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63356         [BZ #10191]
63357         * include/sys/socket.h (__libc_accept, __libc_accept4):
63358         Add attribute_hidden.
63359         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63361         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63362         use of PTR_MANGLE.
63363         * inet/getnetgrent_r.c (setup): Likewise.
63365         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63367 2012-07-31  David S. Miller  <davem@davemloft.net>
63369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63371 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63373         [BZ #13629]
63374         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63375         value between 1.0 and 2.0 and smaller part has absolute value less
63376         than 1.0.
63377         * math/s_clog10.c (__clog10): Likewise.
63378         * math/s_clog10f.c (__clog10f): Likewise.
63379         * math/s_clog10l.c (__clog10l): Likewise.
63380         * math/s_clogf.c (__clogf): Likewise.
63381         * math/s_clogl.c (__clogl): Likewise.
63382         * math/libm-test.inc (clog_test): Add more tests.
63383         (clog10_test): Likewise.
63384         * sysdeps/i386/fpu/libm-test-ulps: Update.
63385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63387 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63389         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63390         Exit with zero in case no suitable GID is found, and write a
63391         message to standard error.
63393 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63395         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63396         rather than to 1.
63397         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63398         (MAXPATHLEN): Removed.
63399         (NOGROUP, NODEV): New macros.
63400         (setbit, clrbit, isset, isclr): New macros.
63401         (howmany, roundup, powerof2): New macros.
63402         (DEV_BSIZE): New macro.
63404         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63405         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63407         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63408         definition on [!__NO_LONG_DOUBLE_MATH].
63410         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63411         PTR_MANGLE and PTR_DEMANGLE.
63413         * socket/accept4.c (accept4): Rename to __libc_accept4.
63414         Define accept4 as a weak alias.
63416         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63417         on [_DIRENT_HAVE_D_TYPE].
63418         * io/ftw.c (ftw_dir): Likewise.
63420         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63422         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63424         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63425         Use the BSD numbers rather than the arbitrary ones we had.
63426         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63427         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63428         (SIGXCPU, SIGXFSZ): New macros.
63429         (_NSIG): Now 32.
63431         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63432         initializer on [_LIBC_REENTRANT].
63434         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63435         definitions inside [_POSIX_MAPPED_FILES].
63437         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63439         * dirent/opendir.c: Include <fcntl.h>.
63441         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63442         (__libc_getspecific): Likewise.
63443         (__libc_key_create): Likewise.
63445         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63446         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63447         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63448         (tmpfile64): Define as alias.
63449         * sysdeps/wordsize-64/tmpfile.c: File removed.
63450         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63451         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63452         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63454         * stdio-common/vfscanf.c: Include <stdbool.h>.
63455         * nss/makedb.c: Likewise.
63456         * stdio-common/_i18n_number.h: Likewise.
63457         * argp/argp-help.c: Likewise.
63458         * posix/wordexp.c: Likewise.
63459         * sysdeps/posix/spawni.c: Likewise.
63460         * nss/nss_files/files-initgroups.c: Likewise.
63461         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63462         * nss/nss_files/files-initgroups.c: Likewise.
63463         * nss/nss_db/db-netgrp.c: Likewise.
63464         * nss/nss_db/db-initgroups.c: Likewise.
63465         * io/fchmodat.c: Include <sys/stat.h>.
63467         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63468         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63470         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63471         [HAVE_MMAP].
63473         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63474         Add multiple inclusion protection.
63476 2012-07-27  David S. Miller  <davem@davemloft.net>
63478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63480 2012-07-27  Gary Benson  <gbenson@redhat.com>
63482         [BZ #14298]
63483         * elf/rtld.c: Include <stap-probe.h>.
63484         (dl_main): Added static probes "init_start" and "init_complete".
63485         * elf/dl-load.c: Include <stap-probe.h>.
63486         (lose): Take new parameter "nsid".
63487         Added static probe "map_failed".
63488         (_dl_map_object_from_fd): Pass namespace id to lose.
63489         Added static probe "map_start".
63490         (open_verify): Pass namespace id to lose.
63491         * elf/dl-open.c: Include <stap-probe.h>.
63492         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63493         and "reloc_complete".
63494         * elf/dl-close.c: Include <stap-probe.h>.
63495         (_dl_close_worker): Added static probes "unmap_start" and
63496         "unmap_complete".
63497         * elf/rtld-debugger-interface.txt: New file documenting the above.
63499 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63501         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63502         rather than a string variable.
63503         * sunrpc/rpc_main.c (h_output): Likewise.
63504         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63506 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63508         * inet/check_native.c: New file.
63510 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63512         [BZ #13629]
63513         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63514         if larger part has absolute value 1.0.
63515         * math/s_clog10.c (__clog10): Likewise.
63516         * math/s_clog10f.c (__clog10f): Likewise.
63517         * math/s_clog10l.c (__clog10l): Likewise.
63518         * math/s_clogf.c (__clogf): Likewise.
63519         * math/s_clogl.c (__clogl): Likewise.
63520         * math/libm-test.inc (clog_test): Add more tests.
63521         (clog10_test): Likewise.
63522         * sysdeps/i386/fpu/libm-test-ulps: Update.
63523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63525         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63526         (pltexit): Likewise.
63527         (La_regs): Likewise.
63528         (La_retval): Likewise.
63529         (int_retval): Likewise.
63530         Update #error for removed macros to refer only to definitions in
63531         tst-audit.h.
63532         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63533         macro.
63534         (pltexit): Likewise.
63535         (La_regs): Likewise.
63536         (La_retval): Likewise.
63537         (int_retval): Likewise.
63538         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63539         macro.
63540         (pltexit): Likewise.
63541         (La_regs): Likewise.
63542         (La_retval): Likewise.
63543         (int_retval): Likewise.
63544         * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
63563         macro.
63564         (pltexit): Likewise.
63565         (La_regs): Likewise.
63566         (La_retval): Likewise.
63567         (int_retval): Likewise.
63568         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63569         macro definitions in tst-audit.h.
63570         * sysdeps/i386/tst-audit.h: New file.
63571         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63572         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63573         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63574         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63575         * sysdeps/sh/tst-audit.h: Likewise.
63576         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63577         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63578         * sysdeps/x86_64/tst-audit.h: Likewise.
63580 2012-07-26  Andreas Jaeger  <aj@suse.de>
63582         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63583         ptrace.
63585         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63586         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63587         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63588         PTRACE_O_MASK.
63589         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63590         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63591         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63593         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63594         value.
63596         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63597         _sigsys.
63598         (si_call_addr, si_syscall, si_arch): Define new macro.
63599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63600         _sigsys.
63601         (si_call_addr, si_syscall, si_arch): Define new marcro.
63602         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63603         _sigsys.
63604         (si_call_addr, si_syscall, si_arch): Define new macro.
63605         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63606         _sigsys.
63607         (si_call_addr, si_syscall, si_arch): Define new macro.
63609 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63611         [BZ #13717]
63612         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63613         Change to 2.4.21 where previously 2.4.1.
63614         * sysdeps/unix/sysv/linux/configure: Regenerated.
63615         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63616         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63617         Linux kernel version.
63618         (__ASSUME_STD_AUXV): Remove.
63619         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63620         kernel version.
63621         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63622         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63623         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63624         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63625         (__ASSUME_NETLINK_SUPPORT): Likewise.
63626         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63627         (__no_netlink_support): Remove conditional definition.
63628         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63629         Remove.
63630         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63631         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63632         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63633         (if_nameindex_ioctl): Remove.
63634         (if_nameindex_netlink): Do not handle __no_netlink_support.
63635         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63636         code.
63637         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63638         Remove conditional code.
63639         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63640         code.
63641         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63642         unconditional.
63643         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63644         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63645         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63646         Remove.
63647         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63648         [!__ASSUME_STD_AUXV]: Remove conditional code.
63649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63650         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63651         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63653         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63654         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63655         code.
63656         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63658         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63659         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63660         conditional code.
63661         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63663         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63664         code.
63665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63666         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63667         conditional code.
63668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63669         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63670         code unconditional.
63671         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63672         conditional code.
63673         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63674         unconditional.
63675         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63676         conditional code.
63677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63678         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63679         unconditional.
63680         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63681         conditional code.
63682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63683         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63684         code unconditional.
63685         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63686         conditional code.
63687         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63688         unconditional.
63689         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63690         conditional code.
63691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63692         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63693         code unconditional.
63694         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63695         conditional code.
63696         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63697         unconditional.
63698         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63699         conditional code.
63701 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63703         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63704         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63705         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63706         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63707         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63708         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63709         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63710         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63711         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63712         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63713         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63714         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63715         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63716         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63717         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63718         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63719         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63720         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63721         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63723         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63724         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63725         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63727 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63729         * Versions.def: Add GLIBC_2.17.
63730         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63731         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63732         Introduce __libc_secure_getenv.
63733         * stdlib/Versions (2.17): Add secure_getenv
63734         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63735         * stdlib/secure-getenv.c: Rename __secure_getenv to
63736         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63737         symbol __secure_getenv for GLIBC_2.0.
63738         * stdlib/tst-secure-getenv.c: New.
63739         * stdlib/Makefile (tests): Add testcase.
63740         * manual/startup.texi (Environment Access): Document
63741         secure_getenv.
63742         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63743         __libc_secure_getenv.
63744         * inet/ruserpass.c (ruserpass): Likewise.
63745         * malloc/mtrace.c (mtrace): Likewise.
63746         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63747         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63748         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63749         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63750         HAVE_SECURE_GETENV.
63751         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63752         __secure_getenv to __libc_secure_getenv.
63753         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63755         Likewise.
63756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63757         Likewise.
63758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63760         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63766 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63768         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63769         (struct La_i86_retval): Likewise.
63770         (struct La_x86_64_regs): Likewise.
63771         (struct La_x86_64_retval): Likewise.
63772         (struct La_x32_regs): Likewise.
63773         (struct La_x32_retval): Likewise.
63774         (struct La_ppc32_regs): Likewise.
63775         (struct La_ppc32_retval): Likewise.
63776         (struct La_ppc64_regs): Likewise.
63777         (struct La_ppc64_retval): Likewise.
63778         (struct La_sh_regs): Likewise.
63779         (struct La_sh_retval): Likewise.
63780         (struct La_s390_32_regs): Likewise.
63781         (struct La_s390_32_retval): Likewise.
63782         (struct La_s390_64_regs): Likewise.
63783         (struct La_s390_64_retval): Likewise.
63784         (struct La_sparc32_regs): Likewise.
63785         (struct La_sparc32_retval): Likewise.
63786         (struct La_sparc64_regs): Likewise.
63787         (struct La_sparc64_retval): Likewise.
63788         (struct audit_ifaces): Remove architecture-specific pltenter and
63789         pltexit members.
63790         * sysdeps/i386/ldsodefs.h: New file.
63791         * sysdeps/powerpc/ldsodefs.h: Likewise.
63792         * sysdeps/s390/ldsodefs.h: Likewise.
63793         * sysdeps/sh/ldsodefs.h: Likewise.
63794         * sysdeps/sparc/ldsodefs.h: Likewise.
63795         * sysdeps/x86_64/ldsodefs.h: Likewise.
63797 2012-07-25  Marek Polacek  <polacek@redhat.com>
63799         [BZ #6808]
63800         * math/libm-test.inc (yn_test): Add another test.
63801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63802         to ERANGE when the result is +-Inf.
63803         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63804         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63805         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63806         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63808 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63810         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63811         equal to 0.
63812         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63813         clock_t.
63814         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63816 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63818         * configure.in <sysdeps resolving>: Correct printing
63819         Implies_before.
63820         * configure: Regenerate.
63822 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63824         * math/w_ilogb.c: Include <limits.h>.
63825         * math/w_ilogbl.c: Likewise.
63827 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63829         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63830         va_copy.  Document allowing for unavailable va_copy only as
63831         pre-C99 compatibility.
63832         * manual/string.texi (Copying and Concatenation): Use va_copy
63833         instead of __va_copy in concat example.
63835 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63837         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63838         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63839         it if not null.
63841         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63842         with O_NOLINK passed to __file_name_lookup.
63844         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63845         with O_NOLINK passed to __file_name_lookup.
63847         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63848         negative N or less than NGIDS.
63850         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63851         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63852         enough.  Use memcpy instead of strncpy.
63854 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63856         * elf/Makefile (check-data): Remove.
63857         (localplt.data): New vpath directive.
63858         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63859         instead of $(check-data).
63860         * scripts/data/localplt-generic.data: Move to ...
63861         * sysdeps/generic/localplt.data: ... here.
63862         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63863         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63864         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63866         ... here.
63867         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63869         ... here.
63870         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63872         ... here.
63873         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63875         ... here.
63876         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63878         ... here.
63879         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63881         ... here.
63883 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63885         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63886         PPC32 and PPC64 files.
63887         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63888         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63890 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63892         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63893         __makecontext_ret to ...
63894         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63895         ... here and call exit if uc_link is NULL.  New file.
63896         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63897         __makecontext_ret.S.
63898         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63899         __makecontext_ret to ...
63900         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63901         ... here and call exit if uc_link is NULL.  New file.
63902         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63903         __makecontext_ret.S.
63905 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63907         * elf/elf.h (R_390_IRELATIVE): New definition.
63908         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63909         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63910         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63912         (elf_machine_lazy_rel): Likewise.
63913         * sysdeps/s390/dl-irel.h: New file.
63914         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63915         * sysdeps/s390/s390-64/memset.S: New asm code.
63916         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63917         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63918         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63919         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63920         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63921         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63922         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63923         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63924         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63925         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63926         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63927         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63928         * sysdeps/s390/s390-32/memset.S: New asm code.
63929         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63931 2012-07-17  Marek Polacek  <polacek@redhat.com>
63933         [BZ #14349]
63934         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63935         * sysdeps/s390/s390-64/configure.in: Likewise.
63936         * sysdeps/sparc/configure.in: Likewise.
63937         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63938         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63939         * sysdeps/i386/configure.in: Likewise.
63940         * sysdeps/x86_64/configure.in: Likewise.
63941         * sysdeps/sh/configure.in: Likewise.
63942         * sysdeps/s390/s390-32/configure: Regenerated.
63943         * sysdeps/s390/s390-64/configure: Likewise.
63944         * sysdeps/x86_64/configure: Likewise.
63945         * sysdeps/sh/configure: Likewise.
63946         * sysdeps/powerpc/powerpc64/configure: Likewise.
63947         * sysdeps/powerpc/powerpc32/configure: Likewise.
63948         * sysdeps/sparc/configure: Likwise.
63949         * sysdeps/i386/configure: Likewise.
63951         * elf/dl-open.c: Comment fixes.
63953 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63955         * Makefile [CXX] (check-data): Remove.
63956         [CXX] (c++-types.data): New vpath directive.
63957         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63958         vpath.  Do not allow for C++ type data being missing.
63959         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63960         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63961         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63962         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63963         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63964         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63965         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63967         ... here.
63968         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63970         ... here.
63971         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63973         ... here.
63974         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63976         ... here.
63977         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63979         ... here.
63980         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63982         ... here.
63983         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63985         ... here.
63986         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63989         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63990         definitions to architecture-specific files.
63991         (TLS_IE): Likewise.
63992         (TLS_LD): Likewise.
63993         (TLS_GD): Likewise.
63994         * sysdeps/i386/tls-macros.h: New file.
63995         * sysdeps/powerpc/tls-macros.h: Likewise.
63996         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63997         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63998         * sysdeps/sh/tls-macros.h: Likewise.
63999         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64000         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64001         * sysdeps/x86_64/tls-macros.h: Likewise.
64003 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64005         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64006         zero value for regular exit case.
64008         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64009         (__start_context): Preserve zero value for regular exit case.
64011 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64012             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64014         * manual/setjmp.texi (setcontext): Clarify normal process
64015         termination when uc_link is the null pointer.
64016         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64017         exit call.
64019 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64021         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64022         preprocessor.  Test for each exception mask separately.
64024 2012-07-16  Andreas Jaeger  <aj@suse.de>
64026         * po/ru.po: Update from translation team.
64028 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64030         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64031         equal to 0.
64032         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64033         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64034         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64035         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64036         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64038 2012-07-13  Andreas Jaeger  <aj@suse.de>
64040         * po/fr.po: Update from translation team.
64042 2012-07-12  Marek Polacek  <polacek@redhat.com>
64044         [BZ #14173]
64045         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64046         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64047         loop condition.
64049 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64051         [BZ #13717]
64052         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64053         Change to 2.4.1 where previously 2.4.0.
64054         * sysdeps/unix/sysv/linux/configure: Regenerated.
64055         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64056         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64057         version.
64058         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64059         (__ASSUME_AT_CLKTCK): Remove.
64060         (__ASSUME_AT_PAGESIZE): Likewise.
64061         (__ASSUME_AT_XID): Likewise.
64062         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64063         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64064         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64065         unconditionally.
64066         (HAVE_AUX_PAGESIZE): Likewise.
64067         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64068         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64069         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64071 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64073         [BZ #14307]
64074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64075         the temporary buffer used to invoke __gethostbyname2_r,
64076         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64077         host_data / struct gaih_addrtuple.
64078         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64079         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64080         header file nss/nsswitch.h.
64081         * nss/nsswitch.h (global scope): Add definition of implementation
64082         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64083         resolv/nss_dns/dns-host.c).
64085 2012-07-11  Andreas Jaeger  <aj@suse.de>
64087         * po/fr.po: Update from translation team.
64089         * po/sv.po: Update from translation team
64090         * po/fr.po: Another update from translation team.
64092 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64094         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64095         for subnormals or multiply small sinh result by itself.
64096         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64099 2012-07-11  David S. Miller  <davem@davemloft.net>
64101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64103 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64105         [BZ #14347]
64106         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64107         (INTERNAL_MARK): Shift it here.
64109 2012-07-10  Marek Polacek  <polacek@redhat.com>
64111         [BZ #14151]
64112         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64113         libc_cv_asm_global_directive with .globl.
64114         * configure: Regenerated.
64115         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64116         with .globl.
64117         * sysdeps/i386/configure: Regenerated.
64118         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64119         with .globl.
64120         * sysdeps/x86_64/configure: Regenerated.
64121         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64122         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64123         * elf/tst-unique2mod2.c: Likewise.
64124         * elf/tst-unique2mod1.c: Likewise.
64125         * elf/tst-unique1mod2.c: Likewise.
64126         * elf/tst-unique1mod1.c: Likewise.
64127         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64128         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64129         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64130         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64131         * sysdeps/mach/sysdep.h: Likewise.
64132         * sysdeps/i386/sysdep.h: Likewise.
64133         * sysdeps/i386/i386-mcount.S: Likewise.
64134         * sysdeps/x86_64/_mcount.S: Likewise.
64135         * sysdeps/x86_64/sysdep.h: Likewise.
64136         * sysdeps/sh/_mcount.S: Likewise.
64137         * sysdeps/sh/sysdep.h: Likewise.
64138         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64139         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64140         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64141         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64142         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64143         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64144         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64145         * locale/localeinfo.h: Likewise.
64146         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64147         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64149 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64151         [BZ #14336]
64152         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64153         system".
64154         * manual/message.texi (The Uniforum approach): Likewise.
64155         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64156         (glibc iconv Implementation): Likewise.
64158 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64160         [BZ #14337]
64161         * math/s_clog.c (__clog): Avoid scaling a value down where that
64162         could result in underflow.
64163         * math/s_clog10.c (__clog10): Likewise.
64164         * math/s_clog10f.c (__clog10f): Likewise.
64165         * math/s_clog10l.c (__clog10l): Likewise.
64166         * math/s_clogf.c (__clogf): Likewise.
64167         * math/s_clogl.c (__clogl): Likewise.
64168         * math/libm-test.inc (clog_test): Add more tests.
64169         (clog10_test): Likewise.
64170         * sysdeps/i386/fpu/libm-test-ulps: Update.
64171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64173 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64175         [BZ #14283]
64176         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64177         by 7 not 8 to examine high bit of fractional part.
64179         [BZ #14042]
64180         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64181         for call to __mcount_internal.
64182         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64183         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64184         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64186 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64188         [BZ #14154]
64189         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64190         approximation for values within 0x1p-13f of an odd multiple of
64191         pi/4.
64192         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64193         exception.  Add more tests.
64194         * sysdeps/i386/fpu/libm-test-ulps: Update.
64196         [BZ #6778]
64197         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64198         inputs and return -1 for them.  Do not check for +Inf in case not
64199         reachable for +Inf.
64200         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64201         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64202         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64203         and return -1 for them.  Do not check for +Inf in case not
64204         reachable for +Inf.
64205         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64206         define.
64207         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64208         and return -1 for them.  Do not check for +Inf in case not
64209         reachable for +Inf.
64210         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64211         spurious underflow.
64212         * sysdeps/i386/fpu/libm-test-ulps: Update.
64213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64215 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64217         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64219 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64221         [BZ #14157]
64222         [BZ #14331]
64223         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64224         could result in spurious underflow.  Scale down values above
64225         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64226         * math/s_csqrtf.c (__csqrtf): Likewise.
64227         * math/s_csqrtl.c (__csqrtl): Likewise.
64228         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64229         spurious underflow.
64230         * sysdeps/i386/fpu/libm-test-ulps: Update.
64231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64233 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64235         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64236         xopen-msg.sed.
64237         * catgets/xopen-msg.awk: New file.
64238         * catgets/xopen-msg.sed: Removed.
64240         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64241         po2text.sed.
64242         * intl/po2test.awk: New file.
64243         * intl/po2test.sed: Removed.
64245 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64247         [BZ #14328]
64248         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64249         or multiply small sinh result by itself.
64250         * math/s_ctanf.c (__ctanf): Likewise.
64251         * math/s_ctanh.c (__ctanh): Likewise.
64252         * math/s_ctanhf.c (__ctanhf): Likewise.
64253         * math/s_ctanhl.c (__ctanhl): Likewise.
64254         * math/s_ctanl.c (__ctanl): Likewise.
64255         * math/libm-test.inc (ctan_test_tonearest): New function.
64256         (ctan_test_towardzero): Likewise.
64257         (ctan_test_downward): Likewise.
64258         (ctan_test_upward): Likewise.
64259         (ctanh_test_tonearest): Likewise.
64260         (ctanh_test_towardzero): Likewise.
64261         (ctanh_test_downward): Likewise.
64262         (ctanh_test_upward): Likewise.
64263         (main): Call these new functions.
64264         * sysdeps/i386/fpu/libm-test-ulps: Update.
64265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64267 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64269         * .gitignore: Delete /ports entry.
64271 2012-07-03  Andreas Jaeger  <aj@suse.de>
64273         * po/bg.po: Update from translation team.
64274         * po/cs.po: Likewise.
64275         * po/de.po: Likewise.
64276         * po/hr.po: Likewise.
64277         * po/nl.pl: Likewise.
64278         * po/pl.po: Likewise.
64279         * po/vi.po: Likewise.
64281 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64283         * Makeconfig [!+link] (+link-before-libc): New variable.
64284         [!+link] (+link-after-libc): Likewise.
64285         [!+link] (+link-tests): Likewise.
64286         [!+link] (+link): Define in terms of $(+link-before-libc) and
64287         $(+link-after-libc).
64288         [!+link-static] (+link-static-before-libc): New variable.
64289         [!+link-static] (+link-static-after-libc): Likewise.
64290         [!+link-static] (+link-static-tests): Likewise.
64291         [!+link-static] (+link-static): Define in terms of
64292         $(+link-static-before-libc) and $(+link-static-after-libc).
64293         [build-shared] (link-libc-before-gnulib): New variable.
64294         [build-shared] (link-libc-tests): Likewise.
64295         [build-shared] (link-libc): Define in terms of
64296         $(link-libc-before-gnulib).
64297         [!build-shared] (link-libc-tests): New variable.
64298         (link-libc-static-tests): New variable.
64299         [!gnulib] (gnulib-arch): New variable.
64300         [!gnulib] (gnulib-tests): Likewise.
64301         [!gnulib] (static-gnulib-arch): Likewise.
64302         [!gnulib] (static-gnulib-tests): Likewise.
64303         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64304         Define with "=" instead of ":=".
64305         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64306         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64307         * Rules (binaries-all-notests): New variable.
64308         (binaries-all-tests): Likewise.
64309         (binaries-static-notests): Likewise.
64310         (binaries-static-tests): Likewise.
64311         (binaries-all): Define using $(binaries-all-notests) and
64312         $(binaries-all-tests).
64313         (binaries-static): Define using $(binaries-static-notests) and
64314         $(binaries-static-tests).
64315         (binaries-shared-tests): New variable.
64316         (binaries-shared-notests): Likewise.
64317         (binaries-shared): Remove variable.
64318         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64319         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64320         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64321         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64322         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64323         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64324         * elf/Makefile (sln-modules): New variable.
64325         (extra-objs): Add $(sln-modules:=.o).
64326         (ldconfig-modules): Add static-stubs.
64327         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64328         * elf/static-stubs.c: New file.
64330         [BZ #14283]
64331         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64332         by 7 not 8 to examine high bit of fractional part.  Use volatile
64333         variables when splitting into final array of floats if
64334         __FLT_EVAL_METHOD__ != 0.
64335         * math/libm-test.inc (cos_test): Add another test.
64336         (sin_test): Likewise.
64337         * sysdeps/i386/fpu/libm-test-ulps: Update.
64339         [BZ #14273]
64340         * math/libm-test.inc (cosh_test): Add more tests.
64342         * version.h (RELEASE): Set to "development".
64343         (VERSION): Set to "2.16.90".
64345 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64347         * NEWS: Update copyright. Remove last-updated date.
64348         Mention math library bug fixes and timezone data changes.
64349         * README: Mention GNU/Hurd, x32, and HPPA support status.
64351 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64353         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64355 2012-06-27  Andreas Jaeger  <aj@suse.de>
64357         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64359 2012-06-25  Andreas Jaeger  <aj@suse.de>
64361         * sysdeps/s390/fpu/libm-test-ulps: Update.
64363 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64364             Thomas Schwinge  <thomas@codesourcery.com>
64366         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64367         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64369         fanotify_mark.
64371 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64373         * sysdeps/mach/start.c: Remove file.
64374         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64375         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64376         * sysdeps/sh/init-first.c: Likewise.
64378         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64379         registers for frame unwinding purposes, add CFI directives.
64380         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64381         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64382         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64383         Likewise.
64385         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64386         __fortify_fail returning.
64387         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64389         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64390         sysdeps/sh/____longjmp_chk.S.
64391         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64392         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64393         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64394         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64396         * sysdeps/sh/abort-instr.h: New file.
64397         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64398         process in case exit returns.
64400         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64401         initialize the GOT register before use.
64403         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64404         calculation of ARGC > 4.
64406         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64407         meaningful names to some local labels.
64409 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64410             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64412         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64413         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64414         (__arch_compare_and_exchange_val_16_acq): Likewise.
64415         (__arch_compare_and_exchange_val_32_acq): Likewise.
64416         (atomic_exchange_and_add): Fix gUSA sequence.
64417         (atomic_add): Likewise.
64418         (atomic_add_negative): Likewise.
64419         (atomic_add_zero): Likewise.
64420         (atomic_bit_test_set): Likewise.
64422 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64424         [BZ #13579]
64425         * include/link.h (struct link_map): Add l_free_initfini.
64426         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64427         l_initfini.
64428         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64429         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64430         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64431         set.
64433 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64435         * configure.in: Use AC_LANG_SOURCE.
64436         * configure: Regenerate.
64438 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64440         * configure.in (libc_cv_localstatedir): New substituted variable.
64441         * configure: Regenerated.
64442         * config.make.in (localstatedir): New variable, substituted from
64443         libc_cv_localstatedir.
64444         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64445         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64446         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64447         * sysdeps/gnu/configure: Regenerated.
64449 2012-06-21  Jeff Law  <law@redhat.com>
64451         [BZ #14277]
64452         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64453         free.  Simplify list management for _LIBC case.
64455 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64457         [BZ #14273]
64458         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64459         Clear sign bit of 64-bit integer value before comparing against
64460         overflow value.
64462         * sysdeps/mach/configure: Regenerated.
64464 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64466         [BZ #14278]
64467         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64469 2012-06-21  Jeff Law  <law@redhat.com>
64471         [BZ #13882]
64472         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64473         uint16_t for elements in the "seen" array to avoid char overflows.
64474         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64475         * elf/dl-open.c (dl_open_worker): Likewise.
64477 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64479         * scripts/list-sources.sh: Scan PORTS for translations.
64480         * po/libc.pot: Regenerated.
64482 2012-06-21  Andreas Jaeger  <aj@suse.de>
64484         [BZ #12194]
64485         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64486         warning.
64487         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64488         * bits/byteswap-16.h (__bswap_16): Likewise.
64489         * bits/byteswap.h (__bswap_constant_16): Likewise.
64491 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64493         [BZ #14117]
64494         * sysdeps/i386/fpu_control.h: Removed.
64495         * sysdeps/x86_64/fpu_control.h: Moved to ...
64496         * sysdeps/x86/fpu_control.h: Here.
64498         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64499         (_FPU_SETCW): Likewise.
64501 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64503         [BZ #14117]
64504         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64505         * sysdeps/x86/fpu/bits/mathinline.h: This.
64506         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64508         [BZ #14050]
64509         [BZ #14117]
64510         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64511         functions if __x86_64__ is defined.
64513 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64515         * string/endian.h: Add !__ASSEMBLER__ condition for including
64516         conversion interfaces.
64518 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64520         [BZ #14241]
64521         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64522         of ABS(x) in calculating zero to negative powers other than odd
64523         integers.
64524         * math/libm-test.inc (pow_test): Add more tests.
64526 2012-06-15  Andreas Jaeger  <aj@suse.de>
64528         * manual/contrib.texi (Contributors): Update entry of Liubov
64529         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64530         Machado Filho.
64532 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64534         * string/string.h: Add __wur to GNU version of strerror_r.
64536 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64538         [BZ #14229]
64539         * string/Makefile (tests): Add tst-strtok_r.
64540         * string/tst-strtok_r.c: New file.
64541         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64542         RAX_LP/RDX_LP on SAVE_PTR.
64544 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64546         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64548 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64550         * libm_test.inc (csqrt_test): Allow more spurious underflow
64551         exceptions.
64552         (j0_test): Likewise.
64553         (j1_test): Likewise.
64554         (y0_test): Likewise.
64555         (y1_test): Likewise.
64557 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64559         * po/Makefile (libc.pot): Use UTF-8 charset.
64561 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64563         [BZ #14210]
64564         Suppress sign-conversion warning from FD_SET.
64565         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64566         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64567         not unsigned long int.
64568         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64570 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64572         [BZ #14050]
64573         [BZ #14117]
64574         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64575         __extern_always_inline instead of __extern_inline.
64576         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64577         (__signbit): Likewise.
64578         (__signbitl): Support C++ namespace.
64579         (lrintf): New inline function.
64580         (lrint): Likewise.
64581         (llrintf): Likewise.
64582         (llrint): Likewise.
64583         (fmaxf): Likewise.
64584         (fmax): Likewise.
64585         (fminf): Likewise.
64586         (fmin): Likewise.
64587         (rint): Likewise.
64588         (rintf): Likewise.
64589         (ceil): Likewise.
64590         (ceilf): Likewise.
64591         (floor): Likewise.
64592         (floorf): Likewise.
64593         (nearbyint): Likewise.
64594         (nearbyintf): Likewise.
64596 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64598         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64599         non-default versions.
64601 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64603         [BZ #14218]
64604         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64606 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64608         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64609         (FE_UPWARD, FE_DOWNWARD): Don't define.
64610         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64611         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64613         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64614         reading it.
64615         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64616         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64618 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64620         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64621         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64622         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64623         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64625 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64627         [BZ #14117]
64628         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64629         * sysdeps/i386/fpu/Implies: New file.
64630         * sysdeps/x86_64/fpu/Implies: Likewise.
64631         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64632         * sysdeps/x86/fpu/bits/fenv.h: This.
64634         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64635         __SSE_MATH__.
64637 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64639         [BZ #14134]
64640         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64641         character 0xffff that matches the last element of the
64642         conversion table.
64644 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64646         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64647         fmodl commit.
64649 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64651         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64652         values higher than 25.6283.
64654 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64656         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64657         subnormal exponent extraction and add some __builtin_expect.
64658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64659         Fix for subnormal mantissa calculation.
64661 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64663         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64664         cpu2 is -1 and errno is not ENOSYS.
64666 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64668         [BZ #14117]
64669         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64670         * sysdeps/x86/bits/string.h: This.
64671         * sysdeps/x86_64/bits/string.h: Removed.
64673         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64674         if not compiling for x86-64, but compiling for >= i486.
64676         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64677         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64679         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64680         New macro from Linux kernel 3.4.0.
64681         (FP_XSTATE_MAGIC2): Likewise.
64682         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64683         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64684         (struct _fpx_sw_bytes): New struct.
64685         (struct _xsave_hdr): Likewise.
64686         (struct _ymmh_state): Likewise.
64687         (struct _xstate): Likewise.
64689         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64690         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64692         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64693         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64694         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64696         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64697         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64698         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64699         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64700         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64701         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64703 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64705         [BZ #13743]
64706         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64707         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64708         (sysdep_headers): Include sys/platform/ppc.h.
64709         * sysdeps/powerpc/test-gettimebase.c: Test for
64710         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64711         * manual/Makefile (appendices): Include platform.texi.
64712         * manual/contrib.texi (Contributors): Update @node pointers.
64713         * manual/maint.texi (Maintenance): Likewise.
64714         (Platform): New node.
64715         * manual/platform.texi: New file.  Document the new features.
64717 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64718             Jakub Jelinek  <jakub@redhat.com>
64720         [BZ #14188]
64721         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64722         where __builtin_expect is unavailable.
64724 2012-06-03  David S. Miller  <davem@davemloft.net>
64726         * stdlib/longlong.h: Updated from GCC.
64728 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64730         [BZ #14042]
64731         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64732         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64733         __mcount_internal.
64734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64735         (GLIBC_2.16): Likewise.
64737 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64739         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64741 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64744         (default-abi): New variable.
64745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64746         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64747         variable.
64748         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64749         Likewise.
64750         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64751         Likewise.
64752         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64753         Likewise.
64755         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64756         definition.  Document in comment.
64758 2012-06-01  David S. Miller  <davem@davemloft.net>
64760         * stdlib/longlong.h: Updated from GCC.
64762 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64764         [BZ #14117]
64765         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64766         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64767         sys/debugreg.h sys/io.h here.
64768         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64769         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64770         sys/io.h.
64771         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64772         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64773         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64774         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64775         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64776         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64778         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64779         Define only if __x86_64__ is defined.
64781 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64783         [BZ #14048]
64784         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64785         Use int64_t for variable i.
64786         * math/libm-test.inc (fmod_test): Add more tests.
64788         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64789         z computation is not scheduled after fetestexcept.
64790         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64791         Use math_force_eval instead of asm to ensure calculation scheduled
64792         before exception test.
64793         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64794         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64796 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64799         computation is not scheduled after fetestexcept.
64801 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64803         [BZ #14117]
64804         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64805         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64807 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64809         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64810         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64812 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64814         [BZ #14117]
64815         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64816         <bits/wordsize.h>.
64817         (__WCHAR_MIN): Support __WORDSIZE == 64.
64818         (__WCHAR_MAX): Likewise.
64820         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64821         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64823         [BZ #14183]
64824         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64825         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64827         [BZ #14117]
64828         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64829         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64831         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64832         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64834         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64835         Defined to 1 if __x86_64__ isn't defined.
64836         (_STAT_VER_LINUX_OLD): New.
64837         (st_atime): Remove duplicate.
64838         (st_mtime): Likewise.
64839         (st_ctime): Likewise.
64841 2012-05-31  David S. Miller  <davem@davemloft.net>
64843         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64844         entries.
64846 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64848         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64849         gen-libm-test.pl.
64851         [BZ #14132]
64852         * elf/dl-reloc.c: Include <_itoa.h>.
64853         (_dl_reloc_bad_type): Remove use of INTUSE.
64854         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64855         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64856         * stdio-common/psiginfo.c (psiginfo): Likewise.
64857         * stdio-common/psignal.c (psignal): Likewise.
64858         * string/strsignal.c (strsignal): Likewise.
64859         * include/signal.h (_sys_siglist): Declare hidden proto.
64860         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64861         INTVARDEF with libc_hidden_data_def.
64862         * stdio-common/itoa-udigits.c: Likewise.
64863         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64864         (_itoa_lower_digits_internal): Remove declaration.
64865         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64866         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64867         (_sys_sigabbrev_internal): Remove aliases.
64868         (_sys_siglist): Define hidden alias.
64870 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64873         bits/sysctl.h.
64875 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64877         [BZ #14117]
64878         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64879         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64881         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64882         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64883         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64884         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64885         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64886         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64888         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64889         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64890         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64892         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64893         with __addr.
64894         (insw): Likewise.
64895         (insl): Likewise.
64896         (outsb): Likewise.
64897         (outsw): Likewise.
64898         (outsl): Likewise.
64900         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64901         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64902         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64904         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64905         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64906         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64907         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64908         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64909         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64911         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64912         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64914         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64915         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64917         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64918         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64919         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64921         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64922         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64923         to ...
64924         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64926         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64927         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64928         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64930         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64931         for x86-64.
64932         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64934 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64936         * math/math.h (M_El): Use two more decimal places.
64937         (M_LOG2El): Likewise.
64938         (M_LOG10El): Likewise.
64939         (M_LN2l): Likewise.
64940         (M_LN10l): Likewise.
64941         (M_PIl): Likewise.
64942         (M_PI_2l): Likewise.
64943         (M_PI_4l): Likewise.
64944         (M_1_PIl): Likewise.
64945         (M_2_PIl): Likewise.
64946         (M_2_SQRTPIl): Likewise.
64947         (M_SQRT2l): Likewise.
64948         (M_SQRT1_2l): Likewise.
64950 2012-05-31  David S. Miller  <davem@davemloft.net>
64952         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64953         values between float registers.
64954         * sysdeps/sparc/sparc64/memset.S: Likewise.
64955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64957 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64959         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64960         -D_FORTIFY_SOURCE=1.
64961         (CPPFLAGS-tst-longjmp_chk.c): Define.
64962         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64963         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64964         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64965         CFLAGS-tst-wchar-h.c.
64967 2012-05-31  Marek Polacek  <polacek@redhat.com>
64969         [BZ #14132]
64970         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64971         __endmntent_internal): Remove declaration.
64972         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64973         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64974         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64976 2012-05-30  David S. Miller  <davem@davemloft.net>
64978         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64979         (___Q_simulate_exceptions): Use real FP ops rather than writing
64980         into the %fsr.
64981         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64982         Likewise.
64984 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64986         [BZ #14117]
64987         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64988         * sysdeps/x86/bits/xtitypes.h: This.
64990         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64991         * sysdeps/x86/bits/wordsize.h: This.
64993         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64994         * sysdeps/x86/bits/huge_vall.h: This.
64996         * sysdeps/i386/bits/select.h: Removed.
64997         * sysdeps/x86_64/bits/select.h: Renamed to ...
64998         * sysdeps/x86/bits/select.h: This.
65000         * sysdeps/i386/bits/setjmp.h: Removed.
65001         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65002         * sysdeps/x86/bits/setjmp.h: This.
65004         * sysdeps/i386/bits/mathdef.h: Removed.
65005         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65006         * sysdeps/x86/bits/mathdef.h: This.
65008 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65010         [BZ #14132]
65011         * include/sys/socket.h (__connect_internal)
65012         (__libc_sa_len_internal): Remove declaration.
65013         (__connect, __libc_sa_len): Declare hidden_proto.
65014         (SA_LEN): Remove use of INTUSE.
65015         * socket/connect.c: Add libc_hidden_def.
65016         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65017         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65018         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65019         alias.
65020         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65021         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65022         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65023         of adding _internal alias.
65025 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65027         [BZ #14117]
65028         * sysdeps/i386/bits/link.h: Removed.
65029         * sysdeps/i386/bits/linkmap.h: Likewise.
65030         * sysdeps/x86_64/bits/link.h: Renamed to ...
65031         * sysdeps/x86/bits/link.h: This.
65032         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65033         * sysdeps/x86/bits/linkmap.h: This.
65035         * sysdeps/i386/bits/endian.h: Removed.
65036         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65037         * sysdeps/x86/bits/endian.h: This.
65039         * sysdeps/i386/bits/byteswap.h: Removed.
65040         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65041         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65042         * sysdeps/x86/bits/byteswap.h: This.
65043         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65044         * sysdeps/x86/bits/byteswap-16.h: This.
65045         * sysdeps/i386/Implies: Add x86.
65046         * sysdeps/x86_64/Implies: Likewise.
65048 2012-05-30  David S. Miller  <davem@davemloft.net>
65050         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65051         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65052         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65053         (FP_TRAPPING_EXCEPTIONS): Define.
65054         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65055         (FP_TRAPPING_EXCEPTIONS): Define.
65056         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65057         subnormals only when inexact has been signalled or underflow
65058         exceptions are enabled.
65059         (_FP_PACK_CANONICAL): Likewise.
65061 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65063         [BZ #14183]
65064         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65065         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65067 2012-05-30  Richard Henderson  <rth@twiddle.net>
65069         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65070         with #ifndef NOT_IN_libc.
65072         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65073         marked to avoid plt entry.
65075 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65077         [BZ #14112]
65078         * Makeconfig (default-abi): New macro.
65079         (abi-includes): Likewise.
65080         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65081         $(abi-$(default-abi)-lib-soname) for soname if defined.
65082         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65083         abi-variants.
65084         * Makefile (installed-stubs): Likewise.
65085         * include/stubs-biarch.h: Removed.
65086         * scripts/lib-names.awk: Only handle one library at a time.
65087         * scripts/soversions.awk: Remove WORDSIZE support.
65088         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65089         entries.
65090         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65091         Removed.
65092         (syscall-list-default-condition): Likewise.
65093         (syscall-list-default-condition): Likewise.
65094         (syscall-list-includes): Likewise.
65095         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65096         syscall-list-* with abi-*.  Handle undefined abi-variants.
65097         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65098         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65099         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65100         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65101         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65102         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65103         Removed.
65104         (syscall-list-32-options): Likewise.
65105         (syscall-list-32-condition): Likewise.
65106         (syscall-list-64-options): Likewise.
65107         (syscall-list-64-condition): Likewise.
65108         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65109         macro.
65110         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65111         Renamed to ...
65112         (abi-*): This.
65113         (abi-64-ld-soname): New macro.
65114         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65115         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65116         Renamed to ...
65117         (abi-*): This.
65118         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65119         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65121 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65123         * sysdeps/unix/sysv/linux/kernel-features.h
65124         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65125         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65126         include <kernel-features.h>.
65127         [!__NR_ftruncate64]: Remove conditional code.
65128         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65129         [__NR_ftruncate64]: Make code unconditional.
65130         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65131         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65132         include <kernel-features.h>.
65133         [!__NR_ftruncate64]: Remove conditional code.
65134         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65135         [__NR_ftruncate64]: Make code unconditional.
65136         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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.
65150         * configure.in (libc_cv_fpie): Weaken to a compile test using
65151         LIBC_TRY_CC_OPTION.
65152         * configure: Regenerated.
65154 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65160         Refreshed.
65161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65167         Refreshed.
65169 2012-05-27  David S. Miller  <davem@davemloft.net>
65171         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65172         (___Q_zero): New.
65173         (__Q_simulate_exceptions): Return void.  Change to simulate
65174         exceptions by writing into the %fsr.
65175         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65176         (__Qp_handle_exceptions): Likewise.
65177         (numbers): Delete.
65178         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65179         __Qp_handle_exceptions.
65180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65181         __Qp_handle_exceptions.
65182         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65183         as unused and give dummy FP_RND_NEAREST initializer.
65184         (FP_INHIBIT_RESULTS): Define.
65185         (___Q_simulate_exceptions): Update declaration.
65186         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65187         formatting.
65188         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65189         as unused and give dummy FP_RND_NEAREST initializer.
65190         (__Qp_handle_exceptions): Update declaration.
65191         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65192         formatting.
65194 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65196         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65197         the temporary FPU control word.
65198         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65199         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65200         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65201         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65202         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65203         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65204         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65205         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65206         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65207         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65208         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65210 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65212         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65213         fields.
65215 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65217         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65218         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65219         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65220         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65221         Likewise.
65222         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65223         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65224         Likewise.
65226 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65228         * po/h.po: Update from translation team.
65230 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65232         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65234         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65235         handling of denormals.
65236         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65237         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65238         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65239         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65243         Likewise.
65245 2012-05-26  Marek Polacek  <polacek@redhat.com>
65247         [BZ #14152]
65248         * math/libm-test.inc (fma_test): Don't always expect underflow
65249         exception.
65251 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65253         [BZ #12416]
65254         * elf/tst-execstack.c: Include stackinfo.h.
65255         (do_test): Adjust test case to ensure that pthread_getattr_np
65256         behaviour remains the same after marking stack executable.
65258 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65260         * sysdeps/unix/sysv/linux/kernel-features.h
65261         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65262         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65263         kernel-features.h.
65264         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65265         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65266         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65267         kernel-features.h.
65268         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65269         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65271 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65273         * configure.in: Define the default includes to being none.
65274         * configure: Regenerated.
65276 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65278         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65279         * sysdeps/x86_64/setjmp.S: Likewise.
65280         * sysdeps/i386/bsd-setjmp.S: Likewise.
65281         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65282         * sysdeps/i386/setjmp.S: Likewise.
65283         * sysdeps/i386/__longjmp.S: Likewise.
65284         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65285         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65287         * include/stap-probe.h: New file.
65288         * configure.in: Handle --enable-systemtap.
65289         * configure: Regenerated.
65290         * config.h.in (USE_STAP_PROBE): New #undef.
65291         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65292         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65293         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65295 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65297         [BZ #13717]
65298         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65299         to 2.4.0 where earlier.
65300         * sysdeps/unix/sysv/linux/configure: Regenerated.
65301         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65302         <kernel-features.h>.
65303         [__ASSUME_32BITUIDS]: Make code unconditional.
65304         [!__ASSUME_32BITUIDS]: Remove conditional code.
65305         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65306         <kernel-features.h>.
65307         [__ASSUME_32BITUIDS]: Make code unconditional.
65308         [!__ASSUME_32BITUIDS]: Remove conditional code.
65309         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65310         [__ASSUME_32BITUIDS]: Make code unconditional.
65311         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65312         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65313         <kernel-features.h>.
65314         [__ASSUME_32BITUIDS]: Make code unconditional.
65315         [!__ASSUME_32BITUIDS]: Remove conditional code.
65316         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65317         <kernel-features.h>.
65318         [__ASSUME_32BITUIDS]: Make code unconditional.
65319         [!__ASSUME_32BITUIDS]: Remove conditional code.
65320         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65321         <kernel-features.h>.
65322         [__ASSUME_32BITUIDS]: Make code unconditional.
65323         [!__ASSUME_32BITUIDS]: Remove conditional code.
65324         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
65353         <kernel-features.h>.
65354         [__NR_setresgid] (__setresgid): Do not declare.
65355         [__ASSUME_32BITUIDS]: Make code unconditional.
65356         [!__ASSUME_32BITUIDS]: Remove conditional code.
65357         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65358         <kernel-features.h>.
65359         [__NR_setresuid] (__setresuid): Do not declare.
65360         [__ASSUME_32BITUIDS]: Make code unconditional.
65361         [!__ASSUME_32BITUIDS]: Remove conditional code.
65362         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65363         <kernel-features.h>.
65364         [__ASSUME_32BITUIDS]: Make code unconditional.
65365         [!__ASSUME_32BITUIDS]: Remove conditional code.
65366         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65367         <kernel-features.h>.
65368         [__ASSUME_32BITUIDS]: Make code unconditional.
65369         [!__ASSUME_32BITUIDS]: Remove conditional code.
65370         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65371         <kernel-features.h>.
65372         [__ASSUME_32BITUIDS]: Make code unconditional.
65373         [!__ASSUME_32BITUIDS]: Remove conditional code.
65374         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
65403         (__ASSUME_SETRESUID_SYSCALL): Remove.
65404         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65405         (__ASSUME_32BITUIDS): Likewise.
65406         (__ASSUME_LDT_WORKS): Likewise.
65407         (__ASSUME_O_DIRECTORY): Likewise.
65408         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65409         architecture but not kernel version.
65410         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65411         (__ASSUME_MMAP2_SYSCALL): Likewise.
65412         (__ASSUME_STAT64_SYSCALL): Likewise.
65413         (__ASSUME_IPC64): Likewise.
65414         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65415         <kernel-features.h>.
65416         [__ASSUME_32BITUIDS]: Make code unconditional.
65417         [!__ASSUME_32BITUIDS]: Remove conditional code.
65418         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65419         <kernel-features.h>.
65420         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65421         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65422         132096]: Remove conditional code.
65423         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65424         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65425         <kernel-features.h>.
65426         [__ASSUME_32BITUIDS]: Make code unconditional.
65427         [!__ASSUME_32BITUIDS]: Remove conditional code.
65428         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65429         <kernel-features.h>.
65430         [__ASSUME_32BITUIDS]: Make code unconditional.
65431         [!__ASSUME_32BITUIDS]: Remove conditional code.
65432         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65433         <kernel-features.h>.
65434         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65435         unconditional.
65436         (__setresgid): Do not declare.
65437         [__ASSUME_32BITUIDS]: Make code unconditional.
65438         [!__ASSUME_32BITUIDS]: Remove conditional code.
65439         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65440         <kernel-features.h>.
65441         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65442         unconditional.
65443         (__setresuid): Do not declare.
65444         [__ASSUME_32BITUIDS]: Make code unconditional.
65445         [!__ASSUME_32BITUIDS]: Remove conditional code.
65446         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65447         <kernel-features.h>.
65448         [__ASSUME_32BITUIDS]: Make code unconditional.
65449         [!__ASSUME_32BITUIDS]: Remove conditional code.
65450         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65451         <kernel-features.h>.
65452         [__ASSUME_32BITUIDS]: Make code unconditional.
65453         [!__ASSUME_32BITUIDS]: Remove conditional code.
65455 2012-05-25  Richard Henderson  <rth@twiddle.net>
65457         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65458         dl_hwcap to ifunc resolver.
65459         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65460         elf_ifunc_invoke.
65461         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65462         dl_hwcap to ifunc resolver.
65463         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65465 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65467         [BZ #14153]
65468         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65469         for |x| <= 2**-26, not 2**-57.
65470         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65471         exception.
65473 2012-05-24  Jeff Law  <law@redhat.com>
65475         * stdio-common/Makefile (tests): Add bug25.
65476         * stdio-common/bug25.c: New test.
65478 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65480         [BZ #13576]
65481         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65482         multiple of MALLOC_ALIGNMENT in size.
65483         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65485 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65487         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65488         Require >= 256.
65489         (FILENAME_MAX): Use macro-int-constant.
65490         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65491         (_IOFBF): Use macro-int-constant.
65492         (_IOLBF): Likewise.
65493         (_IONBF): Likewise.
65494         (SEEK_CUR): Likewise.
65495         (SEEK_END): Likewise.
65496         (SEEK_SET): Likewise.
65497         (TMP_MAX): Likewise.
65498         (EOF): Use macro-int-constant.  Require < 0.
65499         (NULL): Use macro-constant.  Require == 0.
65500         (stdin): Require type to be FILE *.
65501         (stdout): Likewise.
65502         (stderr): Likewise.
65503         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65504         macro-int-constant.
65505         (EXIT_SUCCESS): Likewise.
65506         (NULL): Use macro-constant.  Require == 0.
65507         (RAND_MAX): Use macro-int-constant.
65508         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65509         [C99-based standards] (strtof): Require function.
65510         [C99-based standards] (strtold): Likewise.
65511         [C99-based standards] (strtoll): Likewise.
65512         [C99-based standards] (strtoull): Likewise.
65513         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65514         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65515         [ISO || ISO99 || ISO11] (math.h): Likewise.
65516         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65517         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65520 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65522         [BZ #14132]
65523         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65524         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65525         * intl/dgettext.c (DCGETTEXT): Likewise.
65526         * intl/gettext.c (DCGETTEXT): Likewise.
65527         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65528         * posix/regex_internal.h (gettext): Likewise.
65529         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65530         Remove declaration.
65531         * include/argz.h (__argz_count_internal)
65532         (__argz_stringify_internal): Remove declaration.
65533         (__argz_count, __argz_stringify): Declare hidden proto.
65534         * intl/dcgettext.c: Remove use of INTDEF.
65535         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65536         * string/argz-stringify.c: Likewise.
65537         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65538         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65539         Declare hidden proto.
65540         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65541         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65542         Declare hidden proto.
65543         * include/stdio.h (__asprintf_internal): Don't declare.
65544         (__asprintf): Don't define as macro.  Declare hidden proto.
65545         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65546         (__fsetlocking): Declare hidden proto.
65547         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65548         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65549         hidden proto.
65550         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65551         (_IO_setlinebuf): Remove use of INTUSE.
65552         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65553         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65554         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65555         Remove declaration.
65556         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65557         (_IO_do_flush): Remove use of INTUSE.
65558         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65559         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65560         (_IO_adjust_column, _IO_least_wmarker)
65561         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65562         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65563         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65564         (_IO_default_doallocate, _IO_wdefault_doallocate)
65565         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65566         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65567         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65568         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65569         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65570         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65571         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65572         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65573         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65574         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65575         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65576         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65577         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65578         proto.
65579         (_IO_flush_all_internal, _IO_adjust_column_internal)
65580         (_IO_default_uflow_internal, _IO_default_finish_internal)
65581         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65582         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65583         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65584         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65585         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65586         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65587         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65588         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65589         (_IO_file_close_internal, _IO_file_close_it_internal)
65590         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65591         (_IO_file_init_internal, _IO_file_attach_internal)
65592         (_IO_file_fopen_internal, _IO_file_read_internal)
65593         (_IO_file_sync_internal, _IO_file_seek_internal)
65594         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65595         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65596         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65597         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65598         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65599         (_IO_list_all_internal, _IO_link_in_internal)
65600         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65601         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65602         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65603         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65604         (_IO_do_write_internal, _IO_padn_internal)
65605         (_IO_getline_info_internal, _IO_getline_internal)
65606         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65607         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65608         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65609         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65610         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65611         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65612         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65613         with libc_hidden_ver, remove use of INTUSE.
65614         * libio/genops.c: Likewise.
65615         * libio/freopen.c: Likewise.
65616         * libio/freopen64.c: Likewise.
65617         * libio/iofclose.c: Likewise.
65618         * libio/iofdopen.c: Likewise.
65619         * libio/iofflush.c: Likewise.
65620         * libio/iofflush_u.c: Likewise.
65621         * libio/iofgets.c: Likewise.
65622         * libio/iofgets_u.c: Likewise.
65623         * libio/iofopen.c: Likewise.
65624         * libio/iofopncook.c: Likewise.
65625         * libio/iofread.c: Likewise.
65626         * libio/iofread_u.c: Likewise.
65627         * libio/ioftell.c: Likewise.
65628         * libio/iofwrite.c: Likewise.
65629         * libio/iogetline.c: Likewise.
65630         * libio/iogets.c: Likewise.
65631         * libio/iogetwline.c: Likewise.
65632         * libio/iopadn.c: Likewise.
65633         * libio/iopopen.c: Likewise.
65634         * libio/ioseekoff.c: Likewise.
65635         * libio/ioseekpos.c: Likewise.
65636         * libio/iosetbuffer.c: Likewise.
65637         * libio/iosetvbuf.c: Likewise.
65638         * libio/ioungetc.c: Likewise.
65639         * libio/ioungetwc.c: Likewise.
65640         * libio/iovdprintf.c: Likewise.
65641         * libio/iovsprintf.c: Likewise.
65642         * libio/iovsscanf.c: Likewise.
65643         * libio/memstream.c: Likewise.
65644         * libio/obprintf.c: Likewise.
65645         * libio/oldfileops.c: Likewise.
65646         * libio/oldiofclose.c: Likewise.
65647         * libio/oldiofdopen.c: Likewise.
65648         * libio/oldiofopen.c: Likewise.
65649         * libio/oldiopopen.c: Likewise.
65650         * libio/oldstdfiles.c: Likewise.
65651         * libio/putc.c: Likewise.
65652         * libio/setbuf.c: Likewise.
65653         * libio/setlinebuf.c: Likewise.
65654         * libio/stdfiles.c: Likewise.
65655         * libio/strops.c: Likewise.
65656         * libio/vasprintf.c: Likewise.
65657         * libio/vscanf.c: Likewise.
65658         * libio/vsnprintf.c: Likewise.
65659         * libio/vswprintf.c: Likewise.
65660         * libio/wfiledoalloc.c: Likewise.
65661         * libio/wfileops.c: Likewise.
65662         * libio/wgenops.c: Likewise.
65663         * libio/wmemstream.c: Likewise.
65664         * libio/wstrops.c: Likewise.
65665         * libio/__fpurge.c: Likewise.
65666         * libio/__fsetlocking.c: Likewise.
65667         * assert/assert.c: Likewise.
65668         * debug/fgets_chk.c: Likewise.
65669         * debug/fgets_u_chk.c: Likewise.
65670         * debug/fread_chk.c: Likewise.
65671         * debug/fread_u_chk.c: Likewise.
65672         * debug/gets_chk.c: Likewise.
65673         * debug/obprintf_chk.c: Likewise.
65674         * debug/vasprintf_chk.c: Likewise.
65675         * debug/vdprintf_chk.c: Likewise.
65676         * debug/vsnprintf_chk.c: Likewise.
65677         * debug/vsprintf_chk.c: Likewise.
65678         * malloc/mtrace.c: Likewise.
65679         * misc/error.c: Likewise.
65680         * misc/syslog.c: Likewise.
65681         * stdio-common/asprintf.c: Likewise.
65682         * stdio-common/fxprintf.c: Likewise.
65683         * stdio-common/getw.c: Likewise.
65684         * stdio-common/isoc99_fscanf.c: Likewise.
65685         * stdio-common/isoc99_scanf.c: Likewise.
65686         * stdio-common/isoc99_vfscanf.c: Likewise.
65687         * stdio-common/isoc99_vscanf.c: Likewise.
65688         * stdio-common/isoc99_vsscanf.c: Likewise.
65689         * stdio-common/printf-prs.c: Likewise.
65690         * stdio-common/printf_fp.c: Likewise.
65691         * stdio-common/printf_fphex.c: Likewise.
65692         * stdio-common/printf_size.c: Likewise.
65693         * stdio-common/putw.c: Likewise.
65694         * stdio-common/scanf.c: Likewise.
65695         * stdio-common/sprintf.c: Likewise.
65696         * stdio-common/tmpfile.c: Likewise.
65697         * stdio-common/vfprintf.c: Likewise.
65698         * stdio-common/vfscanf.c: Likewise.
65699         * stdlib/strfmon_l.c: Likewise.
65700         * sunrpc/openchild.c: Likewise.
65701         * sunrpc/xdr_stdio.c: Likewise.
65702         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65703         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65705 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65707         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65709         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65710         in the third column, to generate for the shared library an IFUNC
65711         that uses _dl_vdso_vsym.
65712         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65713         * Makeconfig (object-suffixes-noshared): New variable.
65715         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65716         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65717         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65718         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65720         [BZ #14132]
65721         * include/sys/time.h (__gettimeofday): Remove macro.
65722         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65723         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65724         Remove INTDEF.
65725         (__gettimeofday): Add libc_hidden_def.
65726         (gettimeofday): Add libc_hidden_weak.
65727         * sysdeps/mach/gettimeofday.c: Likewise.
65728         * sysdeps/posix/gettimeofday.c: Likewise.
65729         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65730         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65731         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65732         (__gettimeofday_internal): Remove strong_alias.
65733         (__gettimeofday): Add libc_hidden_def.
65734         (gettimeofday): Add libc_hidden_weak.
65735         * sysdeps/unix/syscalls.list (gettimeofday):
65736         Remove __gettimeofday_internal alias.
65738 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65739             H.J. Lu  <hongjiu.lu@intel.com>
65741         [BZ #12495]
65742         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65743         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65744         (largebin_index_32_big): New.
65745         (largebin_index): Use it for 16-byte alignment.
65746         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65747         correction with front_misalign.
65749 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65753         Likewise.
65754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65755         Likewise.
65756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65757         Likewise.
65758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65759         Likewise.
65760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65761         Likewise.
65762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65763         Likewise.
65764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65765         Likewise.
65766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65767         Likewise.
65768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65769         Likewise.
65770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65771         Likewise.
65772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65773         Likewise.
65774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65775         Likewise.
65777         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65778         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65780 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65782         [BZ #10846]
65783         [BZ #14036]
65784         * math/libm-test.inc (exp_test): Add test from bug 14036.
65785         (pow_test): Add test from bug 10846.
65787         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65788         and other flags.
65789         (special_function): Do not include flags in test name.
65790         (parse_args): Likewise.
65791         * sysdeps/i386/fpu/libm-test-ulps: Update.
65792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65793         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65794         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65797         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65798         exceptions.
65799         * math/libm-test.inc ("Philosophy"): Update comment about
65800         exception testing.
65801         (UNDERFLOW_EXCEPTION): New macro.
65802         (UNDERFLOW_EXCEPTION_OK): Likewise.
65803         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65804         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65805         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65806         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65807         (INVALID_EXCEPTION_OK): Update value.
65808         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65809         (OVERFLOW_EXCEPTION_OK): Likewise.
65810         (IGNORE_ZERO_INF_SIGN): Likewise.
65811         (test_exceptions): Handle underflow exceptions.
65812         (acos_test): Update for underflow exception expectations.
65813         (cexp_test): Likewise.
65814         (clog_test): Likewise.
65815         (clog10_test): Likewise.
65816         (csqrt_test): Likewise.
65817         (ctan_test): Likewise.
65818         (ctanh_test): Likewise.
65819         (exp_test): Likewise.
65820         (exp10_test): Likewise.
65821         (exp2_test): Likewise.
65822         (expm1_test): Likewise.
65823         (fma_test): Likewise.
65824         (j0_test): Likewise.
65825         (jn_test): Likewise.
65826         (nexttoward_test): Likewise.
65827         (pow_test): Likewise.
65828         (scalbn_test): Likewise.
65829         (scalbln_test): Likewise.
65830         (tan_test): Likewise.
65831         (y1_test): Likewise.
65832         * sysdeps/i386/fpu/libm-test-ulps: Update.
65833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65835 2012-05-23  David S. Miller  <davem@davemloft.net>
65837         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65838         (__libc_sigaction): Remove unused local variables.
65840 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65842         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65844 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65846         mktime: avoid signed integer overflow
65847         * time/mktime.c (__mktime_internal): Do not mishandle the case
65848         where diff == INT_MIN.
65850         mktime: simplify computation of average
65851         * time/mktime.c (ranged_convert): Use new time_t_avg function
65852         instead of rolling our own (probably-slower) code.
65854         mktime: do not assume signed right shift propagates sign bit
65855         * time/mktime.c (isdst_differ): New static function.
65856         (__mktime_internal): No need to normalize tm_isdst now.
65857         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65858         tm_isdst values.
65860         mktime: merge another wrapv change from gnulib
65861         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65862         from some compilers.
65864         mktime: remove incorrect attempt at unusual arithmetics
65865         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65866         The code didn't really work on such machines anyway.
65867         (TYPE_MINIMUM): Assume two's complement.
65868         (twos_complement_arithmetic): Verify that long_int and time_t
65869         are two's complement (or unsigned, in the latter case).
65871         mktime: check signed shifts on long_int and time_t, too
65872         * time/mktime.c (SHR): Check that shifts work as desired
65873         on the types long_int and time_t too, as SHR is used on
65874         such types.
65876         mktime: do not assume 'long' is wide enough
65877         * time/mktime.c (verify): Move decl up.
65878         (long_int): New type.
65879         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65880         to remove assumption in the code that 'long' is wide enough to
65881         store year values.  This assumption is not true on x32 and on
65882         some non-glibc platforms.
65884         mktime: merge wrapv change from gnulib
65885         * time/mktime.c (WRAPV): New macro.
65886         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65887         (guess_time_tm, __mktime_internal): Do not assume that signed
65888         integer overflow wraps around; modern compilers generate code
65889         where this assumption is no longer valid.
65891 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65893         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65894         Replace "jmp L(pseudo_end)" with "ret".
65895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65896         Likewise.
65898 2012-05-23  Andreas Jaeger  <aj@suse.de>
65900         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65901         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65903 2012-05-23  Andreas Jaeger  <aj@suse.de>
65904             Maximilian Attems  <max@stro.at>
65906         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65907         New macros.
65909 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65911         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65912         code so that pseudo_end is just ret and the stack pointer is
65913         correct also for static library in error case.
65915 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65917         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65918         move to syscalls.list.
65919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65924         * manual/install.texi (Running make install): Do not mention Linux
65925         kernel version for which pt_chown is not needed.
65926         (Linux): Do not mention problems with nscd with 2.0 kernels.
65927         * INSTALL: Regenerated.
65929 2012-05-23  Andreas Jaeger  <aj@suse.de>
65931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65932         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65933         macro.
65934         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65935         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65936         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65937         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65938         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65939         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65940         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65941         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65942         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65943         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65944         * sysdeps/unix/sysv/linux/bits/in.h
65945         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65947 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65949         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65950         (PREPARE_VERSION): Just use assert instead, it will be elided
65951         under [NDEBUG] anyway.
65953 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65955         * sysdeps/unix/sysv/linux/Makefile: Include
65956         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65957         (sysdep_routines): Remove sysctl.
65958         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65959         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65960         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65961         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65962         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65964 2012-05-22  Andreas Jaeger  <aj@suse.de>
65966         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65967         that pseudo_end is just ret and the stack pointer is correct also
65968         for static library in error case.
65970 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65972         [BZ #14122]
65973         * nss/nsswitch.c (defconfig_entries): New variable.
65974         (__nss_database_lookup): Don't leak defconfig entries.
65975         (nss_parse_service_list): Don't leak on error paths.
65976         (free_database_entries): New function.
65977         (free_defconfig): New function.
65978         (free_mem): Move common code to free_database_entries.
65980 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65982         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65983         Add arch_prctl.
65984         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65986         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65987         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65989         New macro.
65990         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65991         (INTERNAL_SYSCALL_TYPES): Likewise.
65992         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65993         (LOAD_REGS_TYPES_[1-6]): Likewise.
65994         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65995         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65997 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65999         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66000         copysignl for GLIBC_2_0.
66001         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66002         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66004         logbl for GLIBC_2_0.
66005         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66006         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66008 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66010         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66011         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66013         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66014         Use "neg %eax".
66016         * time/mktime.c: Update copyright years.
66018 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66020         mktime: merge comment-quoting-style change from gnulib
66021         * time/mktime.c: Quote 'like this' in comments.
66022         The GNU coding standards suggest that we no longer quote `like this',
66023         as "`" and "'" are typically rendered asymmetrically nowadays.
66024         The typical gnulib style is to quote 'like this' when quoting
66025         code, and "like this" when quoting English.
66027         * time/mktime.c (compile-command): Add "-I.".
66029         mktime: merge mktime-internal.h change from gnulib
66030         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66032         mktime: merge time_r change from gnulib
66033         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66035         mktime: merge DEBUG change from gnulib
66036         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66037         case system <time.h> has a #define.
66039         mktime: merge <sys/types.h> change from gnulib
66040         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66041         since <time.t> is now guaranteed to define time_t.
66043         mktime: merge HAVE_CONFIG_H change from gnulib
66044         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66046 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66049         Use "neg %eax".
66051         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66052         __rlim_t cast.
66053         (struct rusage): Use anonymous union to pad each field to
66054         __syscall_slong_t.
66056 2012-05-21  David S. Miller  <davem@davemloft.net>
66058         * Makefules (o-iterator): Remove .s cases.
66059         (compile-command.s): Delete.
66060         (COMPILE.s): Delete.
66061         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66063 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66065         * configure.in (libc_cv_predef_stack_protector): Only consider
66066         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66067         * configure: Regenerated.
66069 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66072         New macro.  Use R*LP on int and pointer.
66073         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66074         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66075         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66076         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66078         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66079         [__WORDSIZE_TIME64_COMPAT32] instead of
66080         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66081         (struct utmp): Likewise.
66082         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66083         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66084         Renamed to ...
66085         (__WORDSIZE_TIME64_COMPAT32): This.
66086         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66087         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66088         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66089         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66090         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66091         (__WORDSIZE_TIME64_COMPAT32): New macro.
66093 2012-05-21  Andreas Jaeger  <aj@suse.de>
66095         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66096         only if [SHARED]. Add prototype for __wcschr_ia32.
66098 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66100         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66101         of %rbp unmolested in the jmp_buf while mangling the low bits.
66102         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66103         unmolested high bits of %rbp while demangling the low bits.
66104         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66106 2012-05-21  Andreas Jaeger  <aj@suse.de>
66108         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66109         * sunrpc/svc_simple.c: Use it for registerrpc.
66110         * sunrpc/xcrypt.c: Use it for passwd2des.
66112         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66114 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66116         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66117         Don't define if [__SYSCALL_WORDSIZE != 32].
66118         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66119         New macro.
66121 2012-05-21  Bruno Haible  <bruno@clisp.org>
66122             Andreas Jaeger  <aj@suse.de>
66124         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66125         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66126         inptr and inend for must_buffer_ch.
66127         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66128         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66129         * stdio-common/Makefile (tests): Remove bug15.
66130         (bug15-ENV): Remove macro.
66131         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66132         anymore.
66134 2012-05-19  Andreas Jaeger  <aj@suse.de>
66135             Roland McGrath  <roland@hack.frob.com>
66137         * manual/contrib.texi: Completely rewritten. It contains now an
66138         alphabetical list of contributors and their contributions.
66140 2012-05-21  Richard Henderson  <rth@twiddle.net>
66142         * misc/getauxval.c (__getauxval): Use unsigned long int.
66143         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66144         (getauxval): Use unsigned long int.
66146 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66148         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66150 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66152         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66153         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66154         __alignof__ (long double).
66156 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66160 2012-05-20  Richard Henderson  <rth@twiddle.net>
66162         * misc/getauxval.c: New file.
66163         * misc/sys/auxv.h: New file.
66164         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66165         (routines): Add getauxval.
66166         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66167         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66168         * elf/dl-sysdep.c (_dl_auxv): Remove.
66169         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66170         * elf/dl-support.c (_dl_auxv): New variable.
66171         (_dl_aux_init): Initialize it.
66172         * manual/startup.texi (Auxiliary Vector): New node.
66173         * sysdeps/generic/bits/hwcap.h: New file.
66174         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66175         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66176         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66177         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66178         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66181         Update.
66182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66185         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66191 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66195 2012-05-19  David S. Miller  <davem@davemloft.net>
66197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66199 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66201         [BZ #14123]
66202         * math/s_ccosh.c: Include <float.h>
66203         (__ccosh): Avoid internal overflow calculating sinh and cosh
66204         values before multiplying by sin and cos values.
66205         * math/s_ccoshf.c: Likewise.
66206         * math/s_ccoshl.c: Likewise.
66207         * math/s_csin.c: Likewise.
66208         * math/s_csinf.c: Likewise.
66209         * math/s_csinl.c: Likewise.
66210         * math/s_csinh.c: Likewise.
66211         * math/s_csinhf.c: Likewise.
66212         * math/s_csinhl.c: Likewise.
66213         * math/libm-test.inc (ccos_test): Add more tests.
66214         (ccosh_test): Likewise.
66215         (csin_test): Likewise.
66216         (csinh_test): Likewise.
66217         * sysdeps/i386/fpu/libm-test-ulps: Update.
66218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66220 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66222         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66223         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66225         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66227 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66229         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66230         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66231         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66232         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66233         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66234         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66235         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66236         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66237         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66238         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66239         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66240         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66241         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66242         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66243         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66244         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66245         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66246         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66247         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66248         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66249         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66250         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66251         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66252         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66253         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66254         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66255         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66256         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66257         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66258         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66259         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66261 2012-05-18  Andreas Jaeger  <aj@suse.de>
66263         * csu/.gitignore: Delete.
66265 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66267         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66268         (timex): Use __syscall_slong_t.
66270 2012-05-18  Andreas Jaeger  <aj@suse.de>
66271             Carlos O'Donell  <carlos_odonell@mentor.com>
66273         * manual/install.texi (Configuring and compiling): Update
66274         description about files modified in the source directory.
66275         * INSTALL: Regenerated.
66277 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66279         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66280         value.  Use "or" to set return value to -1.
66281         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66282         negate return value.
66284 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66286         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66287         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66288         failure if the compiler has Graphite support disabled.
66289         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66290         Likewise.
66291         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66292         (CFLAGS-memmove.c): Likewise.
66293         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66294         Likewise.
66296 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66298         * sysdeps/x86_64/x32/_itoa.h: New file.
66300         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66301         getdents system call only if kernel and user dirents have the
66302         same d_ino and d_off.
66304         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66305         LLONG_MAX != LONG_MAX.
66306         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66307         (_fitoa_word): Likewise.
66309         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66310         years.
66311         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66312         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66313         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66315         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66316         include <bits/wordsize.h>.  Check __x86_64__ instead of
66317         __WORDSIZE.
66318         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66319         if __x86_64__ is defined.  Use anonymous union on fpstate.
66321         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66322         anonymous union.
66324 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66326         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66327         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66328         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66329         Refer to _rtld_local_ro instead of _rtld_global_ro.
66330         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66331         Likewise.
66332         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66333         Likewise.
66334         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66335         Likewise.
66336         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66337         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66338         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66340         [BZ #10882]
66341         * sysdeps/powerpc/powerpc32/dl-machine.c
66342         (__elf_machine_runtime_setup) [PROF]: Don't reference
66343         _dl_prof_resolve.
66345 2012-05-18  Andreas Jaeger  <aj@suse.de>
66347         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66348         function only available for GCCs before 3.4 since GCC 3.4
66349         introduced a builtin.
66350         (lrint): Likewise.
66351         (llrintf): Likewise.
66352         (llrint): Likewise.
66353         (fmaxf): Likewise.
66354         (fmax): Likewise.
66355         (fminf): Likewise.
66356         (fmin): Likewise.
66357         (rint): Likewise.
66358         (rintf): Likewise.
66359         (nearbyint): Likewise.
66360         (nearbyintf): Likewise.
66361         (ceil): Likewise.
66362         (ceilf): Likewise.
66363         (floor): Likewise.
66364         (floorf): Likewise.
66366 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66368         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66369         on both fields and cast pointer to __syscall_ulong_t.
66371         * bits/types.h (__fsword_t): New type.
66372         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66373         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66374         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66375         (__FSWORD_T_TYPE): Likewise.
66376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66377         (__FSWORD_T_TYPE): Likewise.
66378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66379         (__FSWORD_T_TYPE): Likewise.
66380         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66381         (__FSWORD_T_TYPE): Likewise.
66382         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66383         __SWORD_TYPE with __fsword_t.
66384         (statfs64): Likewise.
66386 2012-05-17  David S. Miller  <davem@davemloft.net>
66388         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66390 2012-05-17  Andreas Jaeger  <aj@suse.de>
66392         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66393         warning.
66395 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66397         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66399 2012-05-17  Andreas Jaeger  <aj@suse.de>
66401         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66402         when it is used.
66404 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66406         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66408 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66410         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66411         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66413 2012-05-17  Andreas Jaeger  <aj@suse.de>
66414             Carlos O'Donell  <carlos_odonell@mentor.com>
66416         [BZ #14059]
66417         * sysdeps/x86_64/multiarch/init-arch.h
66418         (bit_YMM_Usable): Rename to...
66419         (bit_AVX_Usable): ... this.
66420         (bit_FMA4_Usable): New macro.
66421         (bit_XMM_state): New macro.
66422         (bit_YMM_state): New macro.
66423         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66424         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66425         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66426         (CPUID_OSXSAVE): New macro.
66427         (CPUID_AVX): New macro.
66428         (CPUID_FMA4): New macro.
66429         (index_YMM_Usable): Rename to...
66430         (index_AVX_Usable): ... this.
66431         (HAS_AVX): Use HAS_ARCH_FEATURE.
66432         (HAS_FMA4): Likewise.
66433         (HAS_YMM_USABLE): Remove.
66434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66435         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66436         are present.
66437         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66438         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66439         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66440         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66441         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66443 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66445         * math/libm-test.c: Support platforms without multiple rounding modes.
66446         * math/bug-nextafter.c: Support platforms without FP exceptions.
66447         * math/bug-nexttoward.c: Likewise.
66448         * math/test-fenv.c: Likewise.
66449         * math/test-misc.c: Likewise.
66450         * stdlib/bug-getcontext.c: Likewise.
66452 2012-05-17  Andreas Jaeger  <aj@suse.de>
66454         * manual/examples/search.c (critter_cmp): Change signature to
66455         avoid warnings.
66456         * manual/string.texi (Collation Functions): Likewise.
66458 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66460         * bits/types.h: Fold copyright years.
66461         * bits/typesizes.h: Likewise.
66462         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66466         * time/time.h: Likewise.
66468 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66470         [BZ #208]
66471         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66472         in instead of returning them.  Return void.
66473         (__libc_mallinfo): Accumulate over all arenas.
66474         (__malloc_stats): Adjust for change in int_mallinfo interface.
66476 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66478         [BZ #10375]
66479         * configure.in (NM): Add AC_CHECK_TOOL for it.
66480         (libc_extra_cflags): New substituted variable.
66481         Check for -fstack-protector being used implicitly.
66482         * configure: Regenerated.
66483         * config.make.in (config-extra-cflags): New variable,
66484         gets @libc_extra_cflags@.
66485         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66487         [BZ #10375]
66488         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66489         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66490         * configure: Regenerated.
66491         * config.make.in (CPPUNDEFS): New substituted variable.
66492         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66493         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66494         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66498         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66499         (mq_attr): Use __syscall_slong_t.
66501 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66503         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66504         Check __x86_64__ instead of __WORDSIZE.
66505         (_STAT_VER_LINUX): Likewise.
66506         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66507         __syscall_ulong_t and __syscall_slong_t.
66508         (stat64): Likewise.
66510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66512         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66516         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66518 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66520         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66521         __syscall_ulong_t.
66523         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66524         include <bits/wordsize.h>.  Check __x86_64__ instead of
66525         __WORDSIZE.
66526         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66527         defined.
66528         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66531         include <bits/wordsize.h>.  Check __x86_64__ instead of
66532         __WORDSIZE.
66533         (user_regs_struct): Use "__extension__ unsigned long long"
66534         instead of "unsigned long" if __x86_64__ is defined.
66535         (user): Likewise.  Pad after pointer field if __ILP32__ is
66536         defined.
66538 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66540         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66541         versions 5 to 9.
66542         * configure: Regenerated.
66543         * manual/install.texi (texinfo): Increase version requirement to
66544         4.5 or later.
66545         * INSTALL: Regenerated.
66547         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66549 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66551         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66553         * sysdeps/x86_64/x32/ffs.c: New file.
66555         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66556         __syscall_ulong_t.
66557         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66558         defined.  Use __syscall_ulong_t.
66559         (shminfo): Use __syscall_ulong_t.
66560         (shm_info): Likewise.
66562         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66563         __syscall_ulong_t.
66565         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66566         <bits/wordsize.h>.
66567         (msgqnum_t): Use __syscall_ulong_t.
66568         (msglen_t): Likewise.
66569         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66570         __syscall_ulong_t.
66572         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66573         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66575         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66577         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66578         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66580         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66581         __syscall_slong_t.
66583         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66584         include <bits/wordsize.h>.  Check __x86_64__ instead of
66585         __WORDSIZE.
66587         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66588         "unsigned long long int" if __x86_64__ is defined.
66589         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66591         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66592         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66593         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66595         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66596         <stdint.h>.
66597         (GET_PC): Cast to uintptr_t first.
66598         (GET_FRAME): Likewise.
66599         (GET_STACK): Likewise.
66601         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66602         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66603         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66604         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66605         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66606         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66607         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66608         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66609         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66610         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66613         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66614         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66615         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66616         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66617         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66618         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66619         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66620         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66621         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66622         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66623         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66624         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66625         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66626         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66627         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66628         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66629         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66631 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66633         * Makerules (+depfiles): Also collect depfiles from .oS in
66634         $(extra-objs).
66635         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66636         .oS, $(libnldbl-routines)).
66638         * Makerules (native-compile-mkdep-flags): Define.
66639         * sunrpc/Makefile (extra-objs): Add $(addprefix
66640         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66641         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66642         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66643         calling $(make-target-directory).
66645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66647         * bits/types.h (__snseconds_t): Removed.
66648         * time/time.h (struct timespec): Replace __snseconds_t with
66649         __syscall_slong_t.
66650         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66651         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66652         Likewise.
66653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66654         (__SNSECONDS_T_TYPE): Likewise.
66655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66656         (__SNSECONDS_T_TYPE): Likewise.
66657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66658         (__SNSECONDS_T_TYPE): Likewise.
66660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66662         * sysdeps/mach/hurd/bits/typesizes.h
66663         (__SYSCALL_SLONG_TYPE): New macro.
66664         (__SYSCALL_ULONG_TYPE): Likewise.
66666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66668         * bits/types.h (__syscall_slong_t): New type.
66669         (__syscall_ulong_t): Likewise.
66671         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66672         (__SYSCALL_ULONG_TYPE): Likewise.
66673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66674         (__SYSCALL_SLONG_TYPE): Likewise.
66675         (__SYSCALL_ULONG_TYPE): Likewise.
66676         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66677         (__SYSCALL_SLONG_TYPE): Likewise.
66678         (__SYSCALL_ULONG_TYPE): Likewise.
66679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66680         (__SYSCALL_SLONG_TYPE): Likewise.
66681         (__SYSCALL_ULONG_TYPE): Likewise.
66683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66685         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66686         Add sigaltstack-offsets.sym.
66687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66688         <sigaltstack-offsets.h>.
66689         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66690         longjmp_msg pointer.
66691         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66692         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66693         signal stack.
66694         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66696 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66698         * elf/stackguard-macros.h: Remove file.
66699         * sysdeps/generic/stackguard-macros.h: New file.
66700         * sysdeps/i386/stackguard-macros.h: Likewise.
66701         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66702         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66703         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66704         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66705         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66706         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66707         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66708         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66709         <elf/stackguard-macros.h>.
66711         [BZ #14109]
66712         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66713         __aligned__ in attribute.
66714         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66715         (gregset_t): Likewise.
66717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66719         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66720         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66721         * sysdeps/x86_64/x32/Implies-after: New file.
66723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66725         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66726         and access return value for _dl_profile_fixup.  Use R10_LP to
66727         load frame size.
66729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66731         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66735         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66736         * sysdeps/x86_64/x32/sysdep.h: New file.
66738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66740         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66741         * sysdeps/x86_64/setjmp.S: Likewise.
66743 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66745         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66746         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66747         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66749         remove unused global constant.
66751 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66753         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66754         include of <not-cancel.h>.
66756 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66758         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66760 2012-05-15  Jeff Law  <law@redhat.com>
66761             Andreas Jaeger  <aj@suse.de>
66763         [BZ #13594]
66764         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66765         out from...
66766         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66767         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66768         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66769         code changing __hst_map_handle.map.
66771 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66773         * configure.in (sysnames): Look for Implies-before and Implies-after
66774         files.
66775         * configure: Regenerated.
66777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66779         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66780         8-byte data alignment with LP_SIZE alignment.
66782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66784         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66785         into R10_LP.
66787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66789         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66794         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66795         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66796         Likewise.
66797         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66801         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66802         (stackinfo_sub_sp): Likewise.
66804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66806         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66807         RAX_LP.
66809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66811         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66812         into R*_LP.
66814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66817         sizes into R*_LP.
66819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66821         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66825         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66826         into R11_LP and load __x86_64_shared_cache_size_half into
66827         R8_LP.
66829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66831         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66832         R8_LP.
66834 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66837         logb for POWER7.
66838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66839         logbf for POWER7.
66840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66841         logbl for POWER7.
66842         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66843         powerpc32/power7/fpu/s_logb.c via #include.
66844         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66845         powerpc32/power7/fpu/s_logbf.c via #include.
66846         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66847         powerpc32/power7/fpu/s_logbl.c via #include.
66849 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66851         * README.libm: Remove file.
66853 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66855         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66856         count for x32.  Use R*_LP and omit operand-size suffix.
66858 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66860         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66861         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66862         * sysdeps/x86_64/x32/shlib-versions: New file.
66864 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66866         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66867         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66868         Use _dl_fatal_printf instead.
66870 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66872         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66873         set if not set by the user.  Do not allow for being unset.
66874         * sysdeps/unix/sysv/linux/configure: Regenerated.
66876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66878         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66879         the `q' suffix from lea and replace .quad with ASM_ADDR.
66881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66884         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66885         instead of $17.
66886         (PTR_DEMANGLE): Likewise.
66888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66890         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66891         (LP_OP): Likewise.
66892         (ASM_ADDR): Likewise.
66893         (RAX_LP): Likewise.
66894         (RBP_LP): Likewise.
66895         (RBX_LP): Likewise.
66896         (RCX_LP): Likewise.
66897         (RDI_LP): Likewise.
66898         (RSI_LP): Likewise.
66899         (RSP_LP): Likewise.
66900         (R8_LP): Likewise.
66901         (R9_LP): Likewise.
66902         (R10_LP): Likewise.
66903         (R10_LP): Likewise.
66904         (R11_LP): Likewise.
66905         (R12_LP): Likewise.
66906         (R13_LP): Likewise.
66907         (R14_LP): Likewise.
66908         (R15_LP): Likewise.
66910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66912         * sysdeps/x86_64/x32/dl-machine.h: New file.
66914 2012-05-14  Andreas Jaeger  <aj@suse.de>
66916         * manual/Makefile (subdir): Remove export of subdir.
66917         (all): Remove target.
66918         (.PHONY): Remove all from list.
66919         (mkinstalldirs): Remove.
66920         (.PHONY): Remove installdirs from list.
66921         ($(inst_infodir)/libc.info): Use make-target-directory.
66922         (installdirs): Remove.
66923         (subdir_%): Remove.
66924         (glibc-targets): Remove.
66925         (lib): Remove.
66926         (stubs): Remove.
66927         ($(objpfx)stubs ../po/manual.pot): Remove.
66928         ($(objpfx)stamp%): Remove.
66929         (make-target-directory): Remove.
66930         (subdir_install): Remove.
66931         (routines): Remove.
66932         (aux): Remove.
66933         (sources): Remove.
66934         (objects): Remove.
66935         (headers): Remove.
66937         [BZ #13750]
66938         * manual/.gitignore: Remove, it's not needed anymore.
66939         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66940         all files in it.
66941         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66942         directory.
66943         (texis): Renamed to $(objpfx)texis.
66944         (texis-path): New, contains path to generated files.
66945         (chapters.%): Use texis-path for complete path, add extra argument
66946         libc-texinfo.sh.
66947         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66948         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66949         (summary,texi, stamp-summary): Use complete path of
66950         files. Generate files in build dir.
66951         (dir-add.texi): Build in build dir.
66952         (libm-err.texi,stamp-libm-err): Likewise.
66953         (version.texi, stamp-version): Likewise.
66954         (.%c.texi): Likewise.
66955         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66956         (mostlyclean): Remove target.
66957         (realclean): Remove target.
66958         (generated): Add new variable with contents from mostlyclean and
66959         realclean, remove entries duplicated in common-mostlyclean, add
66960         stamp-libm-err and stamp-version.
66961         (generated-dirs): Add libc directory.
66962         ($(inst_infodir)/libc.info): Install files from build dir.
66964         * manual/install.texi (Configuring and compiling): Adjust since
66965         the info files are not part of the tar ball anymore.
66967 2012-05-14  Andreas Jaeger  <aj@suse.de>
66969         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66970         variable.
66972 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66974         [BZ #13717]
66975         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66976         to 2.2.0 where earlier.
66977         * sysdeps/unix/sysv/linux/configure: Regenerated.
66978         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66979         Remove conditional code.
66980         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66981         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66982         Remove conditional code.
66983         [!__NR_lchown]: Likewise.
66984         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66985         [__NR_lchown]: Likewise.
66986         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66987         comment referencing __ASSUME_LCHOWN_SYSCALL.
66988         * sysdeps/unix/sysv/linux/i386/sigaction.c
66989         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66990         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66991         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66992         Remove conditional code.
66993         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66994         (__protocol_available): Remove #if 0 code.
66995         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66996         conditional code.
66997         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66998         * sysdeps/unix/sysv/linux/kernel-features.h
66999         (__ASSUME_GETCWD_SYSCALL): Don't define.
67000         (__ASSUME_REALTIME_SIGNALS): Likewise.
67001         (__ASSUME_PREAD_SYSCALL): Likewise.
67002         (__ASSUME_PWRITE_SYSCALL): Likewise.
67003         (__ASSUME_POLL_SYSCALL): Likewise.
67004         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67005         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67006         non-SPARC.
67007         (__ASSUME_SIOCGIFNAME): Don't define.
67008         (__ASSUME_MSG_NOSIGNAL): Likewise.
67009         (__ASSUME_SENDFILE): Define unconditionally.
67010         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67011         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67012         conditional code.
67013         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67014         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67015         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67016         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67017         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67018         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67019         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67021         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67024         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67027         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67030         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67033         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67036         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67039         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67044         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67045         Remove conditional code.
67046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67047         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67048         Remove conditional code.
67049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67050         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67051         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67052         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67053         Remove conditional code.
67054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67055         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67056         Remove conditional code.
67057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67058         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67059         Remove conditional code.
67060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67061         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67062         Remove conditional code.
67063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67064         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67065         Remove conditional code.
67066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67067         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67068         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67070         * sysdeps/unix/sysv/linux/sigaction.c
67071         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67072         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67073         * sysdeps/unix/sysv/linux/sigpending.c
67074         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67075         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67076         * sysdeps/unix/sysv/linux/sigprocmask.c
67077         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67078         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67079         * sysdeps/unix/sysv/linux/sigsuspend.c
67080         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67081         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67082         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67083         (__libc_missing_rt_sigs): Remove.
67084         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67085         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67086         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67087         Remove conditional code.
67088         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67089         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67090         return 1.
67091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67092         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67093         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67094         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67096 2012-05-14  Andreas Jaeger  <aj@suse.de>
67098         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67099         it's not used in glibc.
67100         (__coshm1): Likewise.
67101         (__acosh1p): Likewise.
67102         (__sgn): Likewise.
67104         * manual/string.texi (Copying and Concatenation): Add missing
67105         variable in concat example.
67106         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67108 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67110         [BZ #14103]
67111         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67112         __builtin_clzl with __builtin_clzll.
67114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67116         [BZ #14104]
67117         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67118         libc_freeres_ptr.
67120 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67122         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67123         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67124         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67125         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67127 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67129         * NEWS: Update ia64 info.
67131 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67133         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67134         used as bcopy.
67136 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67138         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67139         * sysdeps/unix/syscalls.list (dup3): Likewise.
67140         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67141         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67143 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67145         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67146         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67148 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67150         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67151         thread pointer.
67152         (TLS_IE): Use mov/add instead of movq/addq to load thread
67153         pointer.
67154         (TLS_GD_PREFIX): New.
67155         (TLS_GD): Use it.
67157 2012-05-11  David S. Miller  <davem@davemloft.net>
67159         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67160         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67161         (_FPU_SETCW): Likewise.
67163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67165         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67166         is 32-byte aligned.
67168 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67170         [BZ #11837]
67171         * iconvdata/gb18030.c: Update tables.
67172         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67173         characters specially.
67174         (BODY for TO_LOOP): Add encoding of missing ranges.
67176 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67178         [BZ #13673]
67179         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67180         * sysdeps/mach/hurd/dup3.c: Likewise.
67181         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67182         * sysdeps/powerpc/memmove.c:: Likewise.
67184 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67187         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67189 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67191         * elf/elf.h (R_X86_64_RELATIVE64): New.
67192         (R_X86_64_NUM): Updated.
67193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67194         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67195         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67196         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67197         tst-quad1pie tst-quad2pie
67198         (modules-names): Add tst-quadmod1 tst-quadmod2.
67199         ($(objpfx)tst-quad1): New dependency.
67200         ($(objpfx)tst-quad2): Likewise.
67201         ($(objpfx)tst-quad1pie): Likewise.
67202         ($(objpfx)tst-quad2pie): Likewise.
67203         * sysdeps/x86_64/tst-quad1.c: New file.
67204         * sysdeps/x86_64/tst-quad1pie.c: New file.
67205         * sysdeps/x86_64/tst-quad2.c: Likewise.
67206         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67207         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67208         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67209         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67210         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67212 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67214         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67215         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67216         * streams/stropts.h (t_scalar_t): Define type.
67218         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67219         (_PATH_PRESERVE): Set to "/var/lib".
67220         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67222         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67223         instead of int.
67225         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67226         if __dir_mkfile succeeded.
67228         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67229         checking for _hurd_dtablesize.  Unlock it right after having
67230         finished _hurd_dtable allocation.
67232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67234         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67235         * sysdeps/mach/hurd/configure: Regenerated.
67236         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67237         special-casing to...
67238         * sysdeps/gnu/configure.in: ... this new file.
67239         * sysdeps/unix/sysv/linux/configure: Regenerated.
67240         * sysdeps/gnu/configure: New generated file.
67242         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67243         for Linux: use nsec instead of usec, as well as:
67244         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67245         members of type struct timespec.
67246         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67247         New macros.
67248         (struct stat64): Likewise.
67249         (_STATBUF_ST_NSEC): New macro.
67250         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67252         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67253         __strtoul_internal rather than strtoul.
67255 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67257         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67258         and reject them.
67260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67262         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67263         which preserves existing values.
67264         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67266 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67268         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67269         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67270         greater than FD_SETSIZE.
67272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67274         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67275         allocated, call __vm_protect to finish enabling the existing space, and
67276         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67277         allocate the remainder.
67279 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67281         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67282         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67286         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67287         sysdeps/mach/hurd/readlink.c.
67289         * posix/tst-sysconf.c (posix_options): Only use
67290         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67291         _POSIX_SYNCHRONIZED_IO when they are defined
67292         * sysdeps/mach/hurd/bits/posix_opt.h:
67293         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67294         (_XOPEN_REALTIME): Undefine macro.
67295         (_XOPEN_REALTIME_THREADS): Undefine macro.
67296         (_XOPEN_SHM): Undefine macro.
67297         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67298         macro to -1.
67299         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67300         macro to -1.
67301         (_POSIX_ASYNC_IO): Undefine macro.
67302         (_POSIX_PRIORITIZED_IO): Undefine macro.
67303         (_POSIX_SPIN_LOCKS): Define macro to -1.
67305         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67306         SA_NODEFER, SA_RESETHAND.
67307         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67308         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67309         F_DUPFD_CLOEXEC.
67311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67313         * elf/Makefile (pldd-modules): Define unconditionally.
67315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67317         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67321         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67322         Return ENOENT when name is empty.
67323         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67327         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67329         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67333         Fix mlock in all cases except non-readable pages.
67334         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67335         instead of VM_PROT_ALL as parameter to __vm_wire function.
67337         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67338         (__mkdir): When path is `/', just fail with EEXIST.
67339         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67343         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67344         <sys/uio.h> (for writev).
67345         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67346         and <sys/param.h> (for MIN).
67348 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67350         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67351         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67352         if interrupted.
67354 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67356         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67357         Depend on against $(link-rpcuserlibs).
67359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67361         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67362         (__libc_stack_end): Do not use attribute_relro.
67363         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67364         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67365         to libthread-provided value.
67366         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67367         attribute_relro.
67369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67371         [BZ #3748]
67372         * bits/libc-lock.h (__libc_once_get): New macro.
67373         * sysdeps/mach/bits/libc-lock.h: Likewise.
67374         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67376         instead of using implementation details.
67378         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67379         * libio/freopen.c: Likewise.
67380         * libio/freopen64.c: Likewise.
67381         * misc/syslog.c: Likewise.
67382         * nscd/connections.c: Likewise.
67383         * nscd/netgroupcache.c: Likewise.
67384         * sysdeps/posix/getcwd.c: Likewise.
67386 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67388         * math/w_ilogbf.c: Add #include <limits.h>.
67390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67392         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67393         path instead of returning without unlocking.
67395         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67396         immediate-write ioctls.
67397         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67401         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67402         __builtin_frame_address instead of making assumptions about the
67403         location of the return address relative to DATA.  Force early load of
67404         the return address.
67405         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67406         __builtin_frame_address.
67408         dup3 for GNU Hurd.
67409         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67410         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67411         implement dup3 and do some further code clean-ups.
67412         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67413         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67417         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67419         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67420         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67421         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67422         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67423         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67424         d->port.lock.
67426         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67427         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67428         when handler == SIG_ERR, not when handler != SIG_ERR.
67430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67432         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67433         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67434         definitions.
67436         accept4 for GNU Hurd.
67437         * include/sys/socket.h (__libc_accept4): New prototype.
67438         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67439         to implement __libc_accept4.
67440         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67441         __libc_accept4.
67442         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67444         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67445         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67446         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67447         signal-defines.sym.
67449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67451         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67455         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67456         assertion on O_CLOEXEC flag.
67457         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67458         * hurd/intern-fd.c: Likewise.
67459         * hurd/port2fd.c: Likewise.
67461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67463         [BZ #3906]
67464         * bits/in.h (IPV6_PKTINFO): Define new macro.
67465         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67467 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67469         [BZ #13954]
67470         [BZ #13955]
67471         [BZ #13956]
67472         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67474         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67475         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67477         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67478         * math/libm-test.inc (logb_test) : Additional logb tests.
67480 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67481             Andreas Jaeger  <aj@suse.de>
67483         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67484         * configure: Regenerated.
67485         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67486         * config.make.in (link-obsolete-rpc): New substituted variable.
67487         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67488         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67489         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67490         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67491         so that libc.a contains the symbols.
67492         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67493         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67494         * sunrpc/auth_none.c: Likewise.
67495         * sunrpc/auth_unix.c: Likewise.
67496         * sunrpc/authdes_prot.c: Likewise.
67497         * sunrpc/authuxprot.c: Likewise.
67498         * sunrpc/clnt_gen.c: Likewise.
67499         * sunrpc/clnt_perr.c: Likewise.
67500         * sunrpc/clnt_raw.c: Likewise.
67501         * sunrpc/clnt_simp.c: Likewise.
67502         * sunrpc/clnt_tcp.c: Likewise.
67503         * sunrpc/clnt_udp.c: Likewise.
67504         * sunrpc/clnt_unix.c: Likewise.
67505         * sunrpc/des_crypt.c: Likewise.
67506         * sunrpc/des_soft.c: Likewise.
67507         * sunrpc/get_myaddr.c: Likewise.
67508         * sunrpc/key_call.c: Likewise.
67509         * sunrpc/key_prot.c: Likewise.
67510         * sunrpc/netname.c: Likewise.
67511         * sunrpc/pm_getmaps.c: Likewise.
67512         * sunrpc/pm_getport.c: Likewise.
67513         * sunrpc/pmap_clnt.c: Likewise.
67514         * sunrpc/pmap_prot.c: Likewise.
67515         * sunrpc/pmap_prot2.c: Likewise.
67516         * sunrpc/pmap_rmt.c: Likewise.
67517         * sunrpc/publickey.c: Likewise.
67518         * sunrpc/rpc_cmsg.c: Likewise.
67519         * sunrpc/rpc_common.c: Likewise.
67520         * sunrpc/rpc_dtable.c: Likewise.
67521         * sunrpc/rpc_prot.c: Likewise.
67522         * sunrpc/rpc_thread.c: Likewise.
67523         * sunrpc/rtime.c: Likewise.
67524         * sunrpc/svc.c: Likewise.
67525         * sunrpc/svc_auth.c: Likewise.
67526         * sunrpc/svc_raw.c: Likewise.
67527         * sunrpc/svc_run.c: Likewise.
67528         * sunrpc/svc_tcp.c: Likewise.
67529         * sunrpc/svc_udp.c: Likewise.
67530         * sunrpc/svc_unix.c: Likewise.
67531         * sunrpc/svcauth_des.c: Likewise.
67532         * sunrpc/xcrypt.c: Likewise.
67533         * sunrpc/xdr.c: Likewise.
67534         * sunrpc/xdr_array.c: Likewise.
67535         * sunrpc/xdr_float.c: Likewise.
67536         * sunrpc/xdr_intXX_t.c: Likewise.
67537         * sunrpc/xdr_mem.c: Likewise.
67538         * sunrpc/xdr_rec.c: Likewise.
67539         * sunrpc/xdr_ref.c: Likewise.
67540         * sunrpc/xdr_sizeof.c: Likewise.
67541         * sunrpc/xdr_stdio.c: Likewise.
67543 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67546         change.  Update copyright years.
67548 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67550         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67552 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67553             Joseph Myers  <joseph@codesourcery.com>
67554             Paul Pluzhnikov  <ppluzhnikov@google.com>
67556         [BZ #14012]
67557         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67558         requiring rpcgen.
67559         [cross-compiling] (extra-libs): Likewise.
67560         [cross-compiling] (extra-libs-others): Likewise.
67561         [cross-compiling] (librpcsvc-routines): Likewise.
67562         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67563         [cross-compiling] (omit-deps): Likewise.
67564         (sunrpc-CPPFLAGS): New variable.
67565         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67566         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67567         (cross-rpcgen-objs): New variable.
67568         (extra-objs): Append $(cross-rpcgen-objs).
67569         ($(cross-rpcgen-objs)): New rule.
67570         ($(objpfx)cross-rpcgen): Likewise.
67571         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67572         comment.
67573         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67574         ($(objpfx)x%.stmp): Likewise.
67575         * sunrpc/proto.h [IS_IN_build] (_): Define.
67576         [IS_IN_build] (_libc_intl_domainname): Likewise.
67578 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67581         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67582         and R_X86_64_TPOFF64.
67584 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67586         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67587         sysdeps/unix/sysv/syscalls.list.
67588         (stime): Likewise.
67589         (utime): Likewise.
67590         * sysdeps/unix/sysv/syscalls.list: Remove file.
67592 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67594         [BZ #3440]
67595         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67596         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67597         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67598         (__LC_IDENTIFICATION): Make these macros useful in #if
67599         expressions, as required by C99.
67601 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67603         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67604         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67605         after this.
67607 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67609         * stdlib/longlong.h: Updated from GCC.
67611 2012-05-09  Andreas Jaeger  <aj@suse.de>
67613         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67614         default is first entry.
67615         (run_mode): Set type.
67616         (main): Remove informal message about syslog.
67617         (options): Fix typo.
67619         [BZ #14053]
67620         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67621         to asm.
67622         (lrint): Likewise.
67623         (llrintf): Likewise.
67624         (llrint): Likewise.
67625         (rint): Likewise.
67626         (rintf): Likewise.
67627         (nearbyint): Likewise.
67628         (nearbyintf): Likewise.
67630 2012-05-09  Andreas Jaeger  <aj@suse.de>
67631             Pedro Alves  <palves@redhat.com>
67633         * nscd/nscd.c (run_mode): Use enum.
67634         (main): Cleanup coding style issue.
67636 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67637             Andreas Jaeger  <aj@suse.de>
67639         * nscd/nscd.c (go_background): Replaced with...
67640         (run_mode): ... this.
67641         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67642         (options): Add -F --foreground.
67643         (main): Implement it.
67644         (parse_opt): Parse it.
67646 2012-05-09  Andreas Jaeger  <aj@suse.de>
67648         [BZ #14083]
67649         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67650         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67651         -Wconversion warning.
67652         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67653         Likewise.
67655 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67657         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67658         == 0.
67659         (LC_ALL): Use macro-int-constant.
67660         (LC_COLLATE): Likewise.
67661         (LC_CTYPE): Likewise.
67662         (LC_MESSAGES): Likewise.
67663         (LC_MONETARY): Likewise.
67664         (LC_NUMERIC): Likewise.
67665         (LC_TIME): Likewise.
67666         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67667         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67669         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67670         Specify type.
67671         [C99-based standards] (float_t): Expect type.
67672         [C99-based standards] (double_t): Expect type.
67673         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67674         type.
67675         [C99-based standards] (HUGE_VALL): Likewise.
67676         [C99-based standards] (INFINITY): Likewise.
67677         [C99-based standards] (NAN): Likewise.
67678         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67679         [C99-based standards] (FP_NAN): Likewise.
67680         [C99-based standards] (FP_NORMAL): Likewise.
67681         [C99-based standards] (FP_SUBNORMAL): Likewise.
67682         [C99-based standards] (FP_ZERO): Likewise.
67683         [C99-based standards] (FP_FAST_FMA): Use
67684         optional-macro-int-constant.  Specify type.  Require == 1.
67685         [C99-based standards] (FP_FAST_FMAF): Likewise.
67686         [C99-based standards] (FP_FAST_FMAL): Likewise.
67687         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67688         [C99-based standards] (FP_ILOGBNAN): Likewise.
67689         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67690         Specify type.
67691         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67692         [C99-based standards] (math_errhandling): Specify type.
67693         [ISO99 || ISO11] (signgam): Do not allow.
67694         [non-C99-based standards] (copysignf): Do not allow.
67695         [non-C99-based standards] (exp2f): Likewise.
67696         [non-C99-based standards] (log2f): Likewise.
67697         [non-C99-based standards] (modff): Allow.
67698         [non-C99-based standards] (erff): Do not allow.
67699         [non-C99-based standards] (erfcf): Likewise.
67700         [non-C99-based standards] (gammaf): Likewise.
67701         [non-C99-based standards] (hypotf): Likewise.
67702         [non-C99-based standards] (j0f): Likewise.
67703         [non-C99-based standards] (j1f): Likewise.
67704         [non-C99-based standards] (jnf): Likewise.
67705         [non-C99-based standards] (lgammaf): Likewise.
67706         [non-C99-based standards] (tgammaf): Likewise.
67707         [non-C99-based standards] (y0f): Likewise.
67708         [non-C99-based standards] (y1f): Likewise.
67709         [non-C99-based standards] (ynf): Likewise.
67710         [non-C99-based standards] (isnanf): Likewise.
67711         [non-C99-based standards] (acoshf): Likewise.
67712         [non-C99-based standards] (asinhf): Likewise.
67713         [non-C99-based standards] (atanhf): Likewise.
67714         [non-C99-based standards] (cbrtf): Likewise.
67715         [non-C99-based standards] (expm1f): Likewise.
67716         [non-C99-based standards] (ilogbf): Likewise.
67717         [non-C99-based standards] (log1pf): Likewise.
67718         [non-C99-based standards] (logbf): Likewise.
67719         [non-C99-based standards] (nextafterf): Likewise.
67720         [non-C99-based standards] (remainderf): Likewise.
67721         [non-C99-based standards] (rintf): Likewise.
67722         [non-C99-based standards] (scalbf): Likewise.
67723         [non-C99-based standards] (copysignl): Likewise.
67724         [non-C99-based standards] (exp2l): Likewise.
67725         [non-C99-based standards] (log2l): Likewise.
67726         [non-C99-based standards] (modfl): Allow.
67727         [non-C99-based standards] (erfl): Do not allow.
67728         [non-C99-based standards] (erfcl): Likewise.
67729         [non-C99-based standards] (gammal): Likewise.
67730         [non-C99-based standards] (hypotl): Likewise.
67731         [non-C99-based standards] (j0l): Likewise.
67732         [non-C99-based standards] (j1l): Likewise.
67733         [non-C99-based standards] (jnl): Likewise.
67734         [non-C99-based standards] (lgammal): Likewise.
67735         [non-C99-based standards] (tgammal): Likewise.
67736         [non-C99-based standards] (y0l): Likewise.
67737         [non-C99-based standards] (y1l): Likewise.
67738         [non-C99-based standards] (ynl): Likewise.
67739         [non-C99-based standards] (isnanl): Likewise.
67740         [non-C99-based standards] (acoshl): Likewise.
67741         [non-C99-based standards] (asinhl): Likewise.
67742         [non-C99-based standards] (atanhl): Likewise.
67743         [non-C99-based standards] (cbrtl): Likewise.
67744         [non-C99-based standards] (expm1l): Likewise.
67745         [non-C99-based standards] (ilogbl): Likewise.
67746         [non-C99-based standards] (log1pl): Likewise.
67747         [non-C99-based standards] (logbl): Likewise.
67748         [non-C99-based standards] (nextafterl): Likewise.
67749         [non-C99-based standards] (remainderl): Likewise.
67750         [non-C99-based standards] (rintl): Likewise.
67751         [non-C99-based standards] (scalbl): Likewise.
67752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67753         [non-C99-based standards] (FP_*): Do not allow.
67754         [C99-based standards] (FP_*): Change to
67755         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67756         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67757         allow.
67758         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67759         (SIG_ERR): Likewise.
67760         [X/Open-based standards] (SIG_HOLD): Likewise.
67761         (SIG_IGN): Likewise.
67762         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67763         positive value.
67764         (SIGFPE): Likewise.
67765         (SIGILL): Likewise.
67766         (SIGINT): Likewise.
67767         (SIGSEGV): Likewise.
67768         (SIGTER): Likewise.
67769         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67770         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67771         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67772         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67773         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67774         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67775         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67776         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67777         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67778         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67779         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67780         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67781         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67782         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67783         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67784         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67785         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67786         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67787         [X/Open-based standards] (SIGTRAP): Likewise.
67788         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67789         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67790         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67791         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67792         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67793         allow.
67795 2012-05-08  Ian Wienand  <ianw@vmware.com>
67797         [BZ #14080]
67798         * time/tzset.c (__tzset_parse_tz): Update default rules for
67799         daylight time changes in the Energy Policy Act of 2005.
67801 2012-05-09  Andreas Jaeger  <aj@suse.de>
67803         [BZ #13983]
67804         * elf/ldconfig.c (parse_conf): Change string to make clear that
67805         ldconfig only issued a warning if ld.so.conf does not exist.
67807 2012-05-08  David S. Miller  <davem@davemloft.net>
67809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67810         movxtod instead of popping the value on the stack.
67812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67814 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67816         * config.h.in: Add HAVE_ARM_PCS_VFP.
67818 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67820         [BZ #13979]
67821         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67822         checking but the checks are disabled for any reason.
67824 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67826         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67827         and ELF64_R_TYPE with ELFW(R_TYPE).
67829 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67831         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67832         (ulimit): Likewise.
67834         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67835         (settimeofday): Likewise.
67837 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67839         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67840         a struct th_u2 inside the union, and move tu_block/tu_code into
67841         a new th_u3 union of tu_block/tu_code inside of that.  Move
67842         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67843         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67844         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67845         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67846         (th_stuff): Change to th_u1.tu_stuff.
67847         (th_data): Define.
67848         (th_msg): Change to th_u1.th_u2.tu_data.
67850 2012-05-07  David S. Miller  <davem@davemloft.net>
67852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67854         [BZ #14074]
67855         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67856         (SETUP_PIC_REG): Use it.
67857         (SETUP_PIC_REG_LEAF): Use it.
67859 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67861         [BZ #13885]
67862         [BZ #13923]
67863         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67864         USE_AS_EXPM1L.
67865         (EXPL_FINITE): Likewise.
67866         (FLDLOG): Likewise.
67867         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67868         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67869         e_expl.S.
67870         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67871         USE_AS_EXPM1L.
67872         (EXPL_FINITE): Likewise.
67873         (FLDLOG): Likewise.
67874         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67875         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67876         e_expl.S.
67877         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67878         test of -max_value argument for long double.
67879         * sysdeps/i386/fpu/libm-test-ulps: Update.
67880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67882 2012-05-06  David S. Miller  <davem@davemloft.net>
67884         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67885         quad soft-float symbols whose references which are compiler
67886         generated.
67887         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67889 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67891         [BZ #13884]
67892         [BZ #13914]
67893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67894         USE_AS_EXP10L.
67895         (EXPL_FINITE): Likewise.
67896         (FLDLOG): Likewise.
67897         (c0): Likewise.
67898         (c1): Likewise.
67899         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67900         Adjust comments for base varying.
67901         (__expl_finite): Change alias to EXPL_FINITE.
67902         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67903         e_expl.S.
67904         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67905         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67906         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67907         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67909         USE_AS_EXP10L.
67910         (EXPL_FINITE): Likewise.
67911         (FLDLOG): Likewise.
67912         (c0): Likewise.
67913         (c1): Likewise.
67914         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67915         Adjust comments for base varying.
67916         (__expl_finite): Change alias to EXPL_FINITE.
67917         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67918         tests for bugs.
67919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67921         [BZ #14064]
67922         * math/libm-test.inc (check_float_internal): Correct ulp
67923         calculation for subnormal expected results.
67925 2012-05-06  Andreas Jaeger  <aj@suse.de>
67927         * Makeconfig (+math-flags): New, set to -frounding-math.
67928         (+cflags): Add +math-flags so that all of glibc gets compiled with
67929         it.
67931         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67933 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67935         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67936         Disable one test.
67938         [BZ #13787]
67939         [BZ #13922]
67940         [BZ #14036]
67941         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67942         (__ieee754_expl): Allow for and saturate large arguments.
67943         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67944         (u_threshold): Likewise.
67945         (__exp): Call __ieee754_exp before checking for overflow and
67946         underflow.
67947         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67948         (u_threshold): Likewise.
67949         (__expf): Call __ieee754_expf before checking for overflow and
67950         underflow.
67951         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67952         (u_threshold): Likewise.
67953         (__expl): Call __ieee754_expl before checking for overflow and
67954         underflow.
67955         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67956         (__ieee754_expl): Allow for and saturate large arguments.
67957         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67958         missing overflow exception on overflow.
67959         (expm1_test): Do not allow missing overflow exception on overflow.
67961         * sysdeps/i386/fpu/e_expl.c: Move to ...
67962         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67963         rather than using inline asm.
67964         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67965         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67966         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67968         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67969         (nice): Likewise.
67970         (poll): Likewise.
67971         (signal): Likewise.
67972         (time): Likewise.
67973         (times): Likewise.
67975 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67977         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67978         sysdeps/unix/common/syscalls.list.
67979         (fchmod): Likewise.
67980         (fchown): Likewise.
67981         (ftruncate): Likewise.
67982         (getrusage): Likewise.
67983         (gettimeofday): Likewise.
67984         (setpgid): Likewise.
67985         (setregid): Likewise.
67986         (setreuid): Likewise.
67987         (sigaction): Likewise.
67988         (truncate): Likewise.
67989         (vhangup): Likewise.
67990         * sysdeps/unix/common/syscalls.list: Remove file.
67991         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67992         * sysdeps/unix/sysv/linux/Implies: Likewise.
67994 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67996         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67998         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67999         Moved to ...
68000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68001         Here.
68002         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68003         to ...
68004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68005         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68006         to ...
68007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68008         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68009         to ...
68010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68011         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68012         to ...
68013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68014         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68015         to ...
68016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68017         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68018         to ...
68019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68020         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68021         to ...
68022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68023         Here.
68024         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68025         to ...
68026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68027         Here.
68028         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68029         to ...
68030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68031         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68032         Moved to ...
68033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68034         Here.
68035         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68036         to ...
68037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68039 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68041         * sysdeps/unix/common/bits/dirent.h: Remove file.
68042         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68044         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68045         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68046         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68047         * sysdeps/unix/bsd/isatty.c: Likewise.
68048         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68049         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68050         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68052 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68054         [BZ #13563]
68055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68056         long double comparison inaccuracies.
68057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68060 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68062         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68067         [BZ #14049]
68068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68069         nonzero digits before rounding a hex value.
68070         * stdlib/tst-strtod.c (tests): Add another test.
68072 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68074         * sysdeps/s390/fpu/libm-test-ulps: Update.
68076 2012-05-03  Andreas Jaeger  <aj@suse.de>
68078         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68079         does not get optimized out.
68080         (malloc_opt_barrier): New.
68082 2012-05-03  Andreas Jaeger  <aj@suse.de>
68083             Roland McGrath  <roland@hack.frob.com>
68085         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68086         intermediate file deletion.
68087         (generated): Add .symlist files.
68089 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68091         [BZ #13775]
68092         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68093         Redirect under this condition.
68094         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68095         [__USE_GNU] (__dprintf_chk): Not under this condition.
68096         [__USE_GNU] (__vdprintf_chk): Likewise.
68097         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68098         under this condition.
68099         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68100         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68101         [__USE_XOPEN2K8] (vdprintf): Likewise.
68102         [__USE_GNU] (__dprintf_chk): Not under this condition.
68103         [__USE_GNU] (__vdprintf_chk): Likewise.
68104         [__USE_GNU] (dprintf): Likewise.
68105         [__USE_GNU] (vdprintf): Likewise.
68107 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68109         * elf/Makefile (common-generated): Set this instead of generated for
68110         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68111         $(all-built-dso)-derived lists.
68113 2012-05-03  Andreas Jaeger  <aj@suse.de>
68115         * sysdeps/i386/fpu/libm-test-ulps: Update.
68117         * FAQ: Removed.
68118         * FAQ.in: Likewise.
68119         * scripts/gen-FAQ.pl: Likewise.
68120         * manual/install.texi (Installation): Point to online location of
68121         FAQ.
68122         * Makefile (files-for-dist): Remove FAQ.
68123         (FAQ): Remove.
68125 2012-05-02  Allan McRae  <allan@archlinux.org>
68127         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68128         (LDFLAGS-reldepmod5.so): Likewise.
68129         (LDFLAGS-reldep6mod1.so): Likewise.
68130         (LDFLAGS-reldep6mod4.so): Likewise.
68131         (LDFLAGS-reldep8mod3.so): Likewise.
68132         (LDFLAGS-unload4mod1.so): Likewise.
68133         (LDFLAGS-unload4mod2.so): Likewise.
68134         (LDFLAGS-tst-initorder): Likewise.
68135         (LDFLAGS-tst-initordera2.so): Likewise.
68136         (LDFLAGS-tst-initordera3.so): Likewise.
68137         (LDFLAGS-tst-initordera4.so): Likewise.
68138         (LDFLAGS-tst-initorderb2.so): Likewise.
68139         (LDFLAGS-noload): Likewise.
68140         (LDFLAGS-next): Likewise.
68141         (LDFLAGS-order2mod1.so): Likewise.
68142         (LDFLAGS-order2mod2.so): Likewise.
68143         (LDFLAGS-tst-initorder2): Likewise.
68144         (LDFLAGS-tst-initorder2a.so): Likewise.
68145         (LDFLAGS-tst-initorder2b.so): Likewise.
68146         (LDFLAGS-tst-initorder2c.so): Likewise.
68147         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68149 2012-05-02  David S. Miller  <davem@davemloft.net>
68151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68153 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68155         [BZ #14055]
68156         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68158 2012-05-02  Andreas Jaeger  <aj@suse.de>
68160         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68161         since we manipulate rounding mode.
68162         (CPPFLAGS-test-idouble.c): Likewise.
68163         (CPPFLAGS-test-ifloat.c): Likewise.
68164         (CFLAGS-test-ldouble.c): Likewise.
68165         (CFLAGS-test-double.c): Likewise.
68166         (CFLAGS-test-float.c): Likewise.
68167         (CFLAGS-test-misc.c): Likewise.
68168         (CFLAGS-test-test-fenv.c): Likewise.
68170 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68172         [BZ #2550]
68173         [BZ #2570]
68174         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68175         comparisons to determine direction to adjust input.
68177 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68179         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68180         output to the target.
68182         * scripts/localplt.awk: New file.
68183         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68184         (check-localplt-CFLAGS): Variable removed.
68185         ($(all-built-dso:=.jmprel)): New static pattern rule.
68186         (generated): Add those targets.
68187         (localplt-built-dso): New variable.
68188         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68190         * elf/check-localplt.c: File removed.
68192         * scripts/check-execstack.awk: New file.
68193         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68194         (check-execstack-CFLAGS): Variable removed.
68195         ($(objpfx)check-execstack.h): Target removed.
68196         ($(objpfx)execstack-default): New target.
68197         (generated): Add that instead of check-execstack.h.
68198         ($(all-built-dso:=.phdr)): New static pattern rule.
68199         (generated): Add those targets.
68200         * elf/check-execstack.c: File removed.
68202         * scripts/check-textrel.awk: New file.
68203         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68204         (check-textrel-CFLAGS): Variable removed.
68205         (all-built-dso): Use := to define.o
68206         ($(all-built-dso:=.dyn)): New static pattern rule.
68207         (generated): Add those targets.
68208         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68209         * config.make.in (READELF): New substituted variable.
68210         * elf/check-textrel.c: File removed.
68212 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68214         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68215         allow.
68216         * conform/data/ctype.h-data [C99-based standards] (isblank):
68217         Expect function.
68218         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68219         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68220         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68221         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68222         Specify type.  Require positive value.
68223         (EILSEQ): Likewise.
68224         (ERANGE): Likewise.
68225         [ISO || POSIX] (EILSEQ): Do not expect.
68226         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68227         Specify type.  Require positive value.
68228         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68229         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68230         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68231         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68232         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68233         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68234         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68235         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68236         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68237         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68238         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68239         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68240         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68241         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68242         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68243         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68244         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68245         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68246         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68247         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68248         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68249         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68250         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68251         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68252         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68253         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68254         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68255         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68256         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68257         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68258         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68259         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68260         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68261         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68262         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68263         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68264         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68265         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68266         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68267         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68268         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68269         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68270         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68271         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68272         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68273         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68274         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68275         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68276         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68277         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68278         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68279         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68280         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68281         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68282         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68283         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68284         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68285         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68286         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68287         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68288         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68289         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68290         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68291         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68292         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68293         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68294         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68295         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68296         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68297         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68298         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68299         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68300         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68301         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68302         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68303         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68304         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68305         Require >= 2.
68306         (FLT_ROUNDS): Expect as macro, not constant.
68307         (FLT_MANT_DIG): Use macro-int-constant.
68308         (DBL_MANT_DIG): Likewise.
68309         (LDBL_MANT_DIG): Likewise.
68310         (FLT_DIG): Likewise.
68311         (DBL_DIG): Likewise.
68312         (LDBL_DIG): Likewise.
68313         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68314         (DBL_MIN_EXP): Likewise.
68315         (LDBL_MIN_EXP): Likewise.
68316         (FLT_MAX_EXP): Use macro-int-constant.
68317         (DBL_MAX_EXP): Likewise.
68318         (LDBL_MAX_EXP): Likewise.
68319         (FLT_MAX_10_EXP): Likewise.
68320         (DBL_MAX_10_EXP): Likewise.
68321         (LDBL_MAX_10_EXP): Likewise.
68322         (FLT_MAX): Use macro-constant.
68323         (DBL_MAX): Likewise.
68324         (LDBL_MAX): Likewise.
68325         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68326         (DBL_EPSILON): Likewise.
68327         (LDBL_EPSILON): Likewise.
68328         (FLT_MIN): Likewise.
68329         (DBL_MIN): Likewise.
68330         (LDBL_MIN): Likewise.
68331         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68332         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68333         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68334         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68335         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68336         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68337         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68338         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68339         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68340         [ISO11] (FLT_TRUE_MIN): Likewise.
68341         [ISO11] (LDBL_TRUE_MIN): Likewise.
68342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68343         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68344         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68345         (SCHAR_MAX): Likewise.
68346         (UCHAR_MAX): Likewise.
68347         (CHAR_MIN): Likewise.
68348         (CHAR_MAX): Likewise.
68349         (MB_LEN_MAX): Use macro-int-constant.
68350         (SHRT_MIN): Use macro-int-constant.  Specify type.
68351         (SHRT_MAX): Likewise.
68352         (USHRT_MAX): Likewise.
68353         (INT_MAX): Likewise.
68354         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68355         bound negative.
68356         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68357         bound with "U".
68358         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68359         bound with "L".
68360         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68361         bound negative.  Suffix upper bound with "L".
68362         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68363         bound with "UL".
68364         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68365         Specify type.
68366         [C99-based standards] (LLONG_MAX): Likewise.
68367         [C99-based standards] (ULLONG_MAX): Likewise.
68368         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68369         == 0.
68370         [ISO11] (max_align_t): Require type.
68371         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68373         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68374         from $CFLAGS, without defining away __attribute__ calls.
68375         (checknamespace): Use $CFLAGS_namespace.
68377         * conform/conformtest.pl (@keywords): Only include C99 keywords
68378         for standards based on C99 or C11.
68380         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68381         Disable tests.
68382         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68383         UNIX98]: Likewise.
68385         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68386         usability of symbols in #if.
68388         * conform/conformtest.pl: If macro or constant types start
68389         "promoted:", expect the symbol to be of the following type
68390         promoted by the integer promotions.
68392         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68393         in one place.  Also handle "macro-constant".
68395         * conform/conformtest.pl: Only accept expected macro values with
68396         "==".  Parse all "macro" lines in one place.
68397         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68399         * conform/conformtest.pl: Handle braced types on "constant" lines
68400         instead of handling "typed-constant".
68401         * conform/data/signal.h-data: Use "constant" instead of
68402         "typed-constant".
68404         * conform/conformtest.pl: Handle "optional-" at start of lines in
68405         one place rather than duplicating several cases.  Handle each
68406         format of "macro" line with initial "optional-".
68408         * conform/conformtest.pl: Only accept expected constant or
68409         optional-constant values with "==".  Parse all "constant" lines in
68410         one place.  Parse all "optional-constant" lines in one place.
68411         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68412         * conform/data/fmtmsg.h-data: Likewise.
68413         * conform/data/netinet/in.h-data: Likewise.
68414         * conform/data/tar.h-data: Likewise.
68415         * conform/data/limits.h-data: Use "==" form on "constant" and
68416         "optional-constant" lines.
68418         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68419         Use -std=c99 for XOPEN2K.
68420         (@knownproblems): Remove.
68421         (newtoken): Don't check %isknown.
68423         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68424         Do not expect macro.
68425         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68426         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68427         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68428         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68429         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68430         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68431         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68432         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68433         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68434         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68435         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68436         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68437         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68438         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68439         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68440         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68441         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68442         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68443         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68444         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68445         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68446         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68447         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68448         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68449         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68450         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68451         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68452         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68453         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68454         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68455         [XPG3] (acosh): Likewise.
68456         [XPG3] (asinh): Likewise.
68457         [XPG3] (atanh): Likewise.
68458         [XPG3] (cbrt): Likewise.
68459         [XPG3] (expm1): Likewise.
68460         [XPG3] (ilogb): Likewise.
68461         [XPG3] (log1p): Likewise.
68462         [XPG3] (logb): Likewise.
68463         [XPG3] (nextafter): Likewise.
68464         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68465         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68466         [XPG3] (remainder): Likewise.
68467         [XPG3] (rint): Likewise.
68468         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68469         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68470         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68471         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68472         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68473         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68474         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68475         [UNIX98 || XOPEN2K] (scalb): Expect.
68476         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68477         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68478         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68479         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68480         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68481         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68482         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68483         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68484         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68485         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68486         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68487         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68488         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68489         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68490         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68491         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68492         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68493         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68494         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68495         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68496         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68497         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68498         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68499         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68500         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68501         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68502         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68503         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68504         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68505         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68506         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68507         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68508         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68509         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68510         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68511         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68512         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68513         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68514         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68515         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68516         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68517         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68518         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68519         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68520         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68521         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68522         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68523         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68524         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68525         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68526         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68527         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68528         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68529         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68530         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68531         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68532         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68533         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68534         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68535         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68536         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68537         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68538         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68539         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68540         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68541         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68542         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68543         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68544         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68545         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68546         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68547         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68548         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68549         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68550         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68551         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68552         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68553         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68554         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68555         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68556         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68557         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68558         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68559         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68560         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68561         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68562         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68563         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68564         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68565         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68566         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68567         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68568         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68569         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68570         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68571         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68572         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68573         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68574         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68575         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68576         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68577         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68578         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68579         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68580         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68581         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68582         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68583         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68584         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68585         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68586         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68587         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68588         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68589         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68590         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68591         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68592         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68593         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68594         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68595         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68596         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68597         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68598         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68599         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68600         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68601         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68602         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68603         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68604         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68605         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68606         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68607         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68608         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68609         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68610         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68611         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68612         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68614         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68615         _XOPEN_SOURCE_EXTENDED for XPG4.
68617         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68619         * Makeconfig (localtime): Remove variable.
68620         (inst_localtime-file): Likewise.
68622 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68625         Update.
68626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68627         Update.
68628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68629         Update.
68630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68631         Update.
68632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68633         Update.
68634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68635         Update.
68636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68637         Update.
68638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68639         Update.
68640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68641         Update.
68643 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68645         [BZ #2550]
68646         [BZ #2570]
68647         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68648         comparisons to determine direction to adjust input.
68649         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68650         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68651         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68652         Likewise.
68653         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68654         Likewise.
68655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68656         Likewise.
68657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68658         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68659         Likewise.
68660         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68661         Likewise.
68662         * math/libm-test.inc (nexttoward_test): Add more tests.
68664 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68666         [BZ #14040]
68667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68668         in version GLIBC_2.1, not GLIBC_2.0.
68669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68670         Likewise.
68672 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68674         [BZ #13942]
68675         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68676         (1 - x) * (1 + x).
68677         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68678         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68679         * math/libm-test.inc (acos_test): Add more tests.
68680         (asin_test): Likewise.
68681         * sysdeps/i386/fpu/libm-test-ulps: Update.
68682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68684         [BZ #14034]
68685         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68686         of square root.
68687         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68688         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68689         * math/libm-test.inc (acos_test_tonearest): New function.
68690         (acos_test_towardzero): Likewise.
68691         (acos_test_downward): Likewise.
68692         (acos_test_upward): Likewise.
68693         (asin_test_tonearest): Likewise.
68694         (asin_test_towardzero): Likewise.
68695         (asin_test_downward): Likewise.
68696         (asin_test_upward): Likewise.
68697         (main): Call the new functions.
68698         * sysdeps/i386/fpu/libm-test-ulps: Update.
68699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68701         [BZ #13884]
68702         [BZ #13924]
68703         * math/e_exp10.c: Include <float.h>.
68704         (__ieee754_exp10): Handle underflow here rather than multiplying
68705         large negative argument by M_LN10.
68706         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68707         of __ieee754_expf.
68708         * math/e_exp10l.c: Include <float.h>.
68709         (__ieee754_exp10l): Handle underflow here rather than multiplying
68710         large negative argument by M_LN10l.
68711         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68712         spurious overflow exception on underflow.
68714 2012-04-29  Marek Polacek  <polacek@redhat.com>
68716         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68717         (__fortify_function): New macro.
68718         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68719         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68720         __extern_always_inline.
68721         * libio/bits/stdio2.h: Likewise.
68722         * libio/bits/stdio.h: Likewise.
68723         * string/string.h: Likewise.
68724         * string/bits/string3.h: Likewise.
68725         * include/stdio.h: Likewise.
68726         * stdlib/bits/stdlib.h: Likewise.
68727         * stdlib/stdlib.h: Likewise.
68728         * rt/bits/mqueue2.h: Likewise.
68729         * rt/mqueue.h: Likewise.
68730         * posix/bits/unistd.h: Likewise.
68731         * posix/unistd.h: Likewise.
68732         * io/bits/poll2.h: Likewise.
68733         * io/bits/fcntl2.h: Likewise.
68734         * io/fcntl.h: Likewise.
68735         * io/sys/poll.h: Likewise.
68736         * misc/bits/syslog.h: Likewise.
68737         * misc/bits/syslog-ldbl.h: Likewise.
68738         * misc/sys/syslog.h: Likewise.
68739         * socket/bits/socket2.h: Likewise.
68740         * socket/sys/socket.h: Likewise.
68741         * debug/tst-chk1.c: Likewise.
68742         * wcsmbs/bits/wchar2.h: Likewise.
68743         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68744         * wcsmbs/wchar.h: Likewise.
68746 2012-04-29  Andreas Jaeger  <aj@suse.de>
68748         * Makerules (tests): Remove enable-check-abi protection.
68749         (check-abi-warn): Remove.
68750         (check-abi-%): Remove check-abi-warn usage.
68752         * configure.in: Remove check-abi configure option.
68753         * configure: Regenerated.
68754         * config.make.in (enable-check-abi): Remove.
68756 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68758         [BZ #14033]
68759         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68760         double functions to double *_finite functions.
68762         [BZ #13941]
68763         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68764         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68765         LDBL_MIN_EXP.
68766         * stdio-common/Makefile (tests): Add tst-sprintf3.
68767         * stdio-common/tst-sprintf3.c: New file.
68769         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68770         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68772 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68774         * conform/conformtest.pl: Remove duplicate typed-constant
68775         handling.
68777 2012-04-28  David S. Miller  <davem@davemloft.net>
68779         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68780         (check-abi-%): Remove AWK script prerequisite and explicit
68781         abilist directory.
68782         (check-abi): Rewrite to just diff the symlist with the abilist.
68783         (config-tls, config-abi-config): Delete, no longer used.
68784         (update-abi-%): Remove AWK script and explicit abilist directory.
68785         (update-abi): Rewrite to simply compare and conditionally copy the
68786         symlist and the sysdep abilist file.  Remove update-abi-config
68787         checks.
68788         * abilist/ld.abilist: Remove.
68789         * abilist/libBrokenLocale.abilist: Remove.
68790         * abilist/libanl.abilist: Remove.
68791         * abilist/libcrypt.abilist: Remove.
68792         * abilist/libdl.abilist: Remove.
68793         * abilist/librt.abilist: Remove.
68794         * abilist/libthread_db.abilist: Remove.
68795         * abilist/libutil.abilist: Remove.
68796         * scripts/extract-abilist.awk: Remove.
68797         * scripts/merge-abilist.awk: Remove.
68798         * sysdeps/generic/libcidn.abilist: New file.
68799         * sysdeps/generic/libnss_compat.abilist: New file.
68800         * sysdeps/generic/libnss_db.abilist: New file.
68801         * sysdeps/generic/libnss_dns.abilist: New file.
68802         * sysdeps/generic/libnss_files.abilist: New file.
68803         * sysdeps/generic/libnss_hesiod.abilist: New file.
68804         * sysdeps/generic/libnss_nis.abilist: New file.
68805         * sysdeps/generic/libnss_nisplus.abilist: New file.
68806         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68807         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68808         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68809         file.
68810         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68811         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68812         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68813         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68814         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68815         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68816         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68817         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68818         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68819         file.
68820         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68821         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68822         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68823         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68824         file.
68825         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68826         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68827         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68828         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68829         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68830         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68831         file.
68832         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68833         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68834         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68835         file.
68836         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68838         New file.
68839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68840         New file.
68841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68842         New file.
68843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68844         New file.
68845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68846         New file.
68847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68848         New file.
68849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68850         New file.
68851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68852         New file.
68853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68854         New file.
68855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68856         New file.
68857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68858         New file.
68859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68860         New file.
68861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68862         New file.
68863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68864         file.
68865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68866         New file.
68867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68868         New file.
68869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68870         file.
68871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68872         New file.
68873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68874         New file.
68875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68876         file.
68877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68878         New file.
68879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68880         New file.
68881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68882         New file.
68883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68884         New file.
68885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68886         New file.
68887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68888         New file.
68889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68891         file.
68892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68893         New file.
68894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68895         file.
68896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68897         file.
68898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68899         file.
68900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68901         file.
68902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68903         file.
68904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68905         New file.
68906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68907         file.
68908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68909         file.
68910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68911         New file.
68912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68913         file.
68914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68916         file.
68917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68918         New file.
68919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68920         file.
68921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68922         file.
68923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68924         file.
68925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68926         file.
68927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68928         file.
68929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68930         New file.
68931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68932         file.
68933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68934         file.
68935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68936         New file.
68937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68938         file.
68939         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68940         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68941         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68942         file.
68943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68944         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68945         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68946         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68947         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68948         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68949         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68950         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68951         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68952         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68955         file.
68956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68957         New file.
68958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68959         file.
68960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68961         file.
68962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68963         file.
68964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68965         file.
68966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68967         file.
68968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68969         New file.
68970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68971         New file.
68972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68973         file.
68974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68975         New file.
68976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68977         file.
68978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68980         file.
68981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68982         New file.
68983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68984         file.
68985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68986         file.
68987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68988         file.
68989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68990         file.
68991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68992         file.
68993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68994         New file.
68995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68996         New file.
68997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68998         file.
68999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69000         New file.
69001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69002         file.
69004 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69006         * conform/conformtest.pl: Fix typo in handling typed-constant from
69007         allow-header.
69009 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69011         * README: Cut down references to pre-2.6 Linux kernels and
69012         Linuxthreads.  Update lists of configurations in libc and ports
69013         and sort alphabetically.  Say "or newer" with Linux kernel version
69014         requirements.
69016         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69018 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69020         [BZ #887]
69021         * math/libm-test.inc (logb_test_downward): New test to expose
69022         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69023         rounding mode.
69025 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69027         [BZ #14027]
69028         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69029         to be done.
69030         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69031         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69033 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69035         * sysdeps/unix/i386/brk.S: Remove file.
69036         * sysdeps/unix/i386/dl-brk.S: Likewise.
69037         * sysdeps/unix/i386/pipe.S: Likewise.
69038         * sysdeps/unix/i386/sigreturn.S: Likewise.
69039         * sysdeps/unix/i386/syscall.S: Likewise.
69040         * sysdeps/unix/i386/vfork.S: Likewise.
69041         * sysdeps/unix/i386/wait.S: Likewise.
69043         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69044         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69046         * configure.in (arm*-none*): Do not allow without
69047         --enable-hacker-mode.
69048         (netbsd*): Remove case setting base_os.
69049         (386bsd*): Likewise.
69050         (freebsd*): Likewise.
69051         (bsdi*): Likewise.
69052         (osf*): Likewise.
69053         (sunos*): Likewise.
69054         (ultrix*): Likewise.
69055         (newsos*): Likewise.
69056         (dynix*): Likewise.
69057         (*bsd*): Likewise.
69058         (sysv*): Likewise.
69059         (isc*): Likewise.
69060         (esix*): Likewise.
69061         (sco*): Likewise.
69062         (minix*): Likewise.
69063         (irix4*): Likewise.
69064         (irix6*): Likewise.
69065         (solaris[2-9]*): Likewise.
69066         (none): Likewise.
69067         * configure: Regenerated.
69069 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69071         [BZ #11521]
69072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69073         overflow or cancellation in calculating denominator.
69074         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69076         down expression to avoid unexpected rounding in newer GCCs.
69077         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69079 2012-04-26  David S. Miller  <davem@davemloft.net>
69081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69082         long-double compat symbols.
69083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69097 2012-04-25  David S. Miller  <davem@davemloft.net>
69099         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69100         HWCAP_* values only after the memory barriers have been defined.
69101         (atomic_full_barrier): Define.
69102         (atomic_read_barrier): Define.
69103         (atomic_write_barrier): Define.
69105 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69107         * shlib-versions: Add libgcc_s version information.
69108         * sysdeps/generic/libgcc_s.h: Remove.
69109         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69110         libgcc_s.h.
69111         * sysdeps/gnu/unwind-resume.c: Likewise.
69112         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69114 2012-04-25  David S. Miller  <davem@davemloft.net>
69116         * sysdeps/unix/sparc/brk.S: Delete.
69117         * sysdeps/unix/sparc/dl-brk.S: Delete.
69118         * sysdeps/unix/sparc/pipe.S: Delete.
69119         * sysdeps/unix/sparc/sysdep.S: Delete.
69120         * sysdeps/unix/sparc/sysdep.h: Delete.
69121         * sysdeps/unix/sparc/vfork.S: Delete.
69122         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69123         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69125         (ret_ERRVAL, r0, r1, MOVE): Define.
69126         (JUMPTARGET): Remove.
69127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69128         sysdeps/unix/sparc/sysdep.h
69129         (ENTRY, END): Remove.
69130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69132 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69134         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69135         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69136         -DIS_IN_build.
69138         * timezone/README: Update upstream location and email address for
69139         tzcode and tzdata.
69140         * timezone/zdump.c: Update from tzcode 2012b.
69141         * timezone/zic.c: Likewise.
69143         * configure.in (libc_cv_as_needed): Remove test.
69144         * configure: Regenerated.
69145         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69146         conditional definition.
69147         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69148         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69149         * config.make.in (have-as-needed): Remove variable.
69151 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69152             Paul Pluzhnikov  <ppluzhnikov@google.com>
69154         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69155         strings correctly.
69157 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69159         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69160         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69161         * sysdeps/sh/strlen.S: Likewise.
69163 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69165         * sysdeps/unix/fork.S: Remove file.
69166         * sysdeps/unix/i386/fork.S: Likewise.
69167         * sysdeps/unix/sparc/fork.S: Likewise.
69169         * sysdeps/unix/system.c: Remove file.
69170         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69172         * sysdeps/unix/getegid.S: Remove file.
69173         * sysdeps/unix/geteuid.S: Likewise.
69175 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69177         * scripts/check-localplt.awk: New file.
69178         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69179         of diff.
69180         * scripts/data/localplt-generic.data: Add a comment.
69182         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69183         NODE when __dir_mkfile failed.
69184         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69185         Reported by Ludovic Courtès <ludo@gnu.org>.
69187 2012-04-24  Andreas Jaeger  <aj@suse.de>
69189         * Makerules (common-clean): Also remove gen-as-const-headers
69190         files.
69192 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69194         * Makerules (native-compile): Do not change working directory for
69195         build.  Use $(OUTPUT_OPTION) in command.
69196         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69198 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69200         [BZ #13886]
69201         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69202         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69203         * math/libm-test.inc (floor_test): Add more tests.
69204         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69206 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69208         * sysdeps/unix/getdents.c: Remove file.
69209         * sysdeps/unix/sysv/getdents.c: Likewise.
69210         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69212         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69213         sysdeps/unix/mman/syscalls.list.
69214         (mmap): Likewise.
69215         (mprotect): Likewise.
69216         (msync): Likewise.
69217         (munmap): Likewise.
69218         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69219         * sysdeps/unix/mman/syscalls.list: Remove.
69220         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69222         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69223         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69224         * configure: Regenerated.
69225         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69226         $(libgcc_s_suffix).
69227         * config.make.in (libgcc_s_suffix): Remove variable.
69229 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69231         * sysdeps/unix/sysv/gethostname.c: Move to ...
69232         * sysdeps/posix/gethostname.c: ... here.
69234         * sysdeps/unix/execve.S: Remove file.
69236         * sysdeps/unix/_exit.S: Remove file.
69238 2012-04-23  Andreas Jaeger  <aj@suse.de>
69240         [BZ #13739]
69241         * manual/Makefile: Remove make dist support, there's no
69242         need for a stand-alone documentation tar ball.
69243         (TEXI2DVI): Define always, it's not in Makeconfig.
69244         (dist): Removed.
69245         (tar-it): Removed.
69246         (edition): Removed.
69247         (glibc-doc-$(edition).tar): Removed
69248         (%.Z): Removed.
69249         (%.gz): Removed.
69250         (%.uu): Removed.
69251         (ETAGS): Remove, it's in Makeconfig.
69252         (move-if-change): Remove, it's in Makeconfig.
69254 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69256         [BZ #13970]
69257         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69258         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69259         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69260         (strtod_l, strtof_l, strtold_l): Remove __wur.
69261         It is not necessarily an error to ignore strtol's return value.
69262         One can reliably look at the stored endptr to decide whether
69263         the number had valid syntax.
69265 2012-04-21  Andreas Jaeger  <aj@suse.de>
69267         [BZ #13739]
69268         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69270 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69272         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69273         * sysdeps/unix/sysv/Versions: Remove file.
69275 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69277         [BZ #13927]
69278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69280 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69282         [BZ #7064]
69283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69284         version from __vm86.
69286 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69288         * sysdeps/unix/common/lxstat.c: Remove file.
69289         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69291         * sysdeps/unix/sysv/Makefile: Remove file.
69293         * sysdeps/unix/sysv/direct.h: Remove file.
69295         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69296         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69297         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69298         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69299         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69300         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69301         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69303         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69305         * sysdeps/unix/xmknod.c: Remove file.
69306         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69308         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69310         * sysdeps/unix/sysv/i386/time.S: Remove file.
69312         * sysdeps/unix/fxstat.c: Remove file.
69313         * sysdeps/unix/xstat.c: Likewise.
69314         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69316         * sysdeps/unix/sysv/sigaction.c: Remove file.
69318         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69319         (sysdep_headers): Remove variable.
69320         [termio.h not in sysdep_headers] (generated): Likewise.
69321         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69322         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69323         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69324         * sysdeps/unix/sysv/tcflow.c: Likewise.
69325         * sysdeps/unix/sysv/tcflush.c: Likewise.
69326         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69327         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69328         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69329         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69330         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69332         * sysdeps/unix/siglist.c: Remove file.
69334         * sysdeps/unix/getppid.S: Remove file.
69336         * sysdeps/unix/mkdir.c: Remove file.
69337         * sysdeps/unix/rmdir.c: Likewise.
69339 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69341         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69342         ERR_MAX value.
69343         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69344         errlist-compat value.
69346 2012-04-18  David S. Miller  <davem@davemloft.net>
69348         * sysdeps/generic/memcopy.h (reg_char): Delete.
69349         * debug/strcat_chk.c: Use char, not reg_char.
69350         * debug/strcpy_chk.c: Likewise.
69351         * debug/strncat_chk.c: Likewise.
69352         * debug/strncpy_chk.c: Likewise.
69353         * string/memchr.c: Likewise.
69354         * string/memrchr.c: Likewise.
69355         * string/rawmemchr.c: Likewise.
69356         * string/strcat.c: Likewise.
69357         * string/strchr.c: Likewise.
69358         * string/strchrnul.c: Likewise.
69359         * string/strcmp.c: Likewise.
69360         * string/strcpy.c: Likewise.
69361         * string/strncat.c: Likewise.
69362         * string/strncmp.c: Likewise.
69363         * string/strncpy.c: Likewise.
69365 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69367         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69368         __builtin_memcopy is called when src and dest ranges are known to not
69369         overlap.
69371 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69374         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69375         fwd_align_merge macro call.
69376         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69377         bwd_align_merge macro call.
69378         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69380 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69382         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69383         bwd_align_merge macros.
69384         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69385         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69386         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69388 2012-04-18  David S. Miller  <davem@davemloft.net>
69390         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69392 2012-04-18  Andreas Jaeger  <aj@suse.de>
69394         [BZ# 6794]
69395         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69396         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69397         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69399         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69400         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69401         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69403         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69404         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69405         Adjust for changed ldbl-128 files.
69407         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69408         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69409         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69411 2012-04-17  David S. Miller  <davem@davemloft.net>
69413         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69415 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69417         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69418         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69419         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69420         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69421         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69422         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69424 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69426         [BZ #6794]
69427         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69428         * math/libm-test.inc: Add ilogb errno and exception tests.
69429         * math/w_ilogb.c: New file: ilogb wrapper.
69430         * math/w_ilogbf.c: New file: ilogbf wrapper.
69431         * math/w_ilogbl.c: New file: ilogbl wrapper.
69432         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69433         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69434         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69435         exception being thrown with 0.0 as argument.
69436         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69437         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69438         exception being thrown with 0.0 as argument.
69439         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69440         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69441         exception being thrown with 0.0 as argument.
69442         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69443         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69444         exception being thrown with 0.0 as argument.
69445         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69446         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69447         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69448         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69449         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69450         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69451         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69452         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69453         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69455 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69457         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69458         with altivec.
69460 2012-04-16  Marek Polacek  <polacek@redhat.com>
69462         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69464 2012-04-16  Marek Polacek  <polacek@redhat.com>
69466         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69467         operands of fdivp instruction.
69469 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69471         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69472         * elf/tst-auditmod3b.c: Likewise.
69473         * elf/tst-auditmod4b.c: Likewise.
69474         * elf/tst-auditmod5b.c: Likewise.
69475         * elf/tst-auditmod6b.c: Likewise.
69476         * elf/tst-auditmod6c.c: Likewise.
69477         * elf/tst-auditmod7b.c: Likewise.
69478         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69479         * sysdeps/x86_64/preconfigure.in: Likewise.
69480         * sysdeps/x86_64/preconfigure: Regenerated.
69482 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69484         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69485         __ILP32__.
69487 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69489         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69490         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69492 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69494         [BZ #13973]
69495         * locale/iso-639.def: Fix gl language name. Spotted by
69496         Yaron Shahrabani.
69498 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69500         [BZ #2074]
69501         * libio/libio.h (__io_write_fn): Update comment.
69503 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69505         [BZ #2074]
69506         * stdio.texi (Hook Functions): The user provided writer function
69507         is not allowed to return -1.
69509 2012-04-11  David S. Miller  <davem@davemloft.net>
69511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69513 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69515         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69516         Add a leading slash to rtkaio.
69518 2012-04-11  Jim Meyering  <meyering@redhat.com>
69520         [BZ #11959]
69521         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69522         It is not necessarily an error to ignore fwrite's return
69523         value.  One can reliably use ferror to test for errors after
69524         the fact.
69526 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69528         * bits/types.h (__snseconds_t): New type.
69529         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69531         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69533         (__SNSECONDS_T_TYPE): Likewise.
69534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69535         (__SNSECONDS_T_TYPE): Likewise.
69536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69537         (__SNSECONDS_T_TYPE): Likewise.
69539 2012-04-10  Andreas Jaeger  <aj@suse.de>
69541         [BZ #2636]
69542         * manual/time.texi (Processor Time): Return type of times is
69543         elapsed real time since an arbitrary point in the past.
69544         (CPU Time): Move CLK_TCK from here...
69545         (Processor Time): ...to here.  Correct description.
69546         * manual/conf.texi (Constants for Sysconf): Correct description of
69547         _SC_CLK_TCK.
69549 2012-04-10  David S. Miller  <davem@davemloft.net>
69551         [BZ #13967]
69552         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69553         where the is a gap between DT_REL(A) and DT_JMPREL.
69555 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69557         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69558         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69559         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69561 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69563         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69564         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69565         (dl_main): Handle --inhibit-cache.
69566         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69567         _dl_inhibit_cache.
69568         * elf/dl-load.c (_dl_map_object): Use it.
69569         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69571 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69573         [BZ #13872]
69574         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69575         (__ieee754_powl): Saturate large exponents rather than testing for
69576         overflow of y*log2(x).
69577         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69578         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69579         exceptions.
69581         [BZ #11521]
69582         * math/s_ctan.c: Include <float.h>.
69583         (__ctan): Avoid internal overflow or cancellation in calculating
69584         denominator.
69585         * math/s_ctanf.c: Likewise.
69586         * math/s_ctanl.c: Likewise.
69587         * math/s_ctanh.c: Likewise.
69588         * math/s_ctanhf.c: Likewise.
69589         * math/s_ctanhl.c: Likewise.
69590         * math/libm-test.inc (ctan_test): Add more tests.
69591         (ctanh_test): Likewise.
69592         * sysdeps/i386/fpu/libm-test-ulps: Update.
69593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69595 2012-04-09  Andreas Jaeger  <aj@suse.de>
69597         [BZ #6894]
69598         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69599         is an optional BSD extension.
69601         [BZ #10254]
69602         * manual/stdio.texi (Opening Streams): Document additional fopen
69603         parameters.
69605 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69607         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69608         %eax without telling the compiler.
69610 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69612         [BZ # 13963]
69613         * manual/install.texi: Use sourceware.org.
69615 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69617         [BZ #13873]
69618         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69619         (__ieee754_pow): Generate overflow and underflow using huge*huge
69620         and tiny*tiny rather than just returning constant infinity or zero
69621         for large exponents.
69622         * math/libm-test.inc (pow_test): Require overflow exceptions for
69623         applicable cases of large exponents.
69625         [BZ #706]
69626         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69627         (__ieee754_pow): Use iterative multiplication algorithm only for
69628         integer exponents with absolute value below 1024.  Check for odd
69629         integer exponents when using algorithm for real exponents.
69630         * math/libm-test.inc (pow_test): Add more tests.
69631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69633 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69635         [BZ #13705]
69636         * math/libm-test.inc (exp_test): Do not allow overflow exception
69637         on underflow test.
69639 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69641         [BZ #13705]
69642         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69643         instead of __kernel_standard_f.
69645 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69647         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69648         * sysdeps/x86_64/memset_chk.S: Likewise.
69650 2012-04-08  Andreas Jaeger  <aj@suse.de>
69652         [BZ #10153]
69653         * manual/startup.texi (Environment Access): Describe return value
69654         for putenv and setenv.
69656         [BZ #6895]
69657         * manual/filesys.texi (Directory Entries): Add description for
69658         DT_LNK.
69660         [BZ #6890]
69661         * manual/filesys.texi (Directory Entries): Clarify that it's file
69662         system not operating system in the description of DT_UNKNOWN.
69664         [BZ #6578]
69665         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69667 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69669         [BZ #6649]
69670         * manual/llio.texi (Opening and Closing Files): Add cross
69671         reference to explain mode argument.
69673 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69675         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69676         * sysdeps/x86_64/memset_chk.S: Likewise.
69678 2012-04-07  David S. Miller  <davem@davemloft.net>
69680         * elf/elf.h (R_SPARC_WDISP10): Define.
69681         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69682         R_SPARC_SIZE32.
69683         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69684         R_SPARC_SIZE64 and R_SPARC_H34.
69686 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69688         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69689         conditions and remove no longer applicable assertion.
69691 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69693         * bits/byteswap.h: Include <features.h>.
69694         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69695         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69697 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69699         * bits/byteswap.h (__bswap_16): Removed.
69700         Include <bits/byteswap-16.h> to get __bswap_16.
69701         * sysdeps/i386/bits/byteswap.h: Likewise.
69702         * sysdeps/s390/bits/byteswap.h: Likewise.
69703         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69704         * bits/byteswap-16.h: New file.
69705         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69706         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69707         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69708         * string/Makefile (headers): Add bits/byteswap-16.h.
69710 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69712         [BZ #13895]
69713         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69714         extra indirection.
69715         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69716         * nss/tst-nss-static.c: New.
69718 2012-04-06  Robert Millan  <rmh@gnu.org>
69720         [BZ #6486]
69721         * manual/llio.texi (File Position Primitive): lseek
69722         refers to WHENCE when it really means OFFSET.
69724 2012-04-06  Andreas Jaeger  <aj@suse.de>
69726         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69727         strncmp declarations.
69729         * abilist/libc.abilist: Add __poll and __ppoll.
69731 2012-04-05  David S. Miller  <davem@davemloft.net>
69733         * scripts/check-local-headers.sh: Accept a host triplet in the
69734         path matched by the exclude regexp.
69736         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69737         definition.
69738         * sysdeps/powerpc/powerpc32/dl-machine.h
69739         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69740         * sysdeps/s390/s390-32/dl-machine.h
69741         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69742         * sysdeps/sparc/sparc32/dl-machine.h
69743         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69744         * sysdeps/sparc/sparc64/dl-machine.h
69745         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69747         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69748         lazy binding.
69749         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69750         undefined symbol errors.
69752         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69753         DT_NEEDED entries.
69755 2012-04-05  Michael Matz  <matz@suse.de>
69757         [BZ #13592]
69758         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69760 2012-04-05  Andreas Jaeger  <aj@suse.de>
69762         [BZ #13908]
69763         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69764         comment.
69766 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69768         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69769         which ROUND is no valid rounding mode.
69771 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69773         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69774         read again.
69775         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69777 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69779         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69780         an exception using FPU order intentionally.
69782 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69784         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69785         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69786         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69787         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69789 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69791         [BZ #12340]
69792         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69793         EINVAL when BUFLEN is too smal.
69795 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69797         [BZ #13553]
69798         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69799         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69801 2012-04-03  Andreas Jaeger  <aj@suse.de>
69803         [BZ #13938]
69804         * manual/setjmp.texi (System V contexts): Fix sentence.
69806         [BZ #13926]
69807         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69808         New macro for this case.
69809         [!__GNUC__] (__bswap_64): New inline function for this case.
69810         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69811         * bits/byteswap.h: Likewise.
69812         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69813         ull, guard with __GLIBC_HAVE_LONG_LONG.
69815         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69816         __GLIBC_HAVE_LONG_LONG.
69818         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69819         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69821 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69823         [BZ #13691]
69824         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69825         inptr and inend, rather than using last_ch.
69827 2012-04-02  David S. Miller  <davem@davemloft.net>
69829         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69830         * stdio-common/printf-parse.h (read_int): Change return type to
69831         'int', return -1 on INT_MAX overflow.
69832         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69833         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69834         overflows INT_MAX.  Check for overflow of in-format-string precision
69835         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69836         SIZE_MAX not INT_MAX for integer overflow test.
69837         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69838         skip the construct in the format string but do not record anything.
69839         * stdio-common/bug22.c: Adjust to test both width/prevision
69840         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69841         explicitly for proper errno values.
69843 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69845         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69846         CHAR_MAX.
69847         * string/test-strcmp.c [! WIDE]: Likewise.
69848         * time/tst-mktime2.c: Likewise for INT_MAX.
69849         * string/test-string.h: #include <sys/param.h> for MIN.
69851         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69852         * sysdeps/i386/init-first.c (init): Likewise.
69853         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69854         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69855         * sysdeps/sh/init-first.c (init): Likewise.
69857 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69859         * po/ru.po: Update from translation team.
69860         * po/vi.po: Likewise.
69862 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69864         * resolv/nss_dns/dns-host.c: Merge copyright years.
69866 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69869         Optimize memcpy with prefetch if
69870         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69871         src, dst pointers have unequal 16 byte alignments.
69873 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69875         [BZ #13928]
69876         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69877         from a CNAME entry and return the minimum ttl for the query.
69878         (gaih_getanswer_slice): Likewise.
69880 2012-03-30  Jeff Law  <law@redhat.com>
69882         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69883         due to long keys.
69884         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69885         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69887         * resolv/nss_dns/dns-host.c: Update copyright year.
69889 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69891         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69892         requests to save a system call.  Fix check that all bytes are sent.
69894         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69895         comments for sendmmsg.
69897 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69899         [BZ #13691]
69900         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69901         with only 1 character between 0x0041 and 0x01b0.
69902         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69903         * wcsmbs/tst-mbsnrtowcs.c: New file.
69905 2012-03-29  David S. Miller  <davem@davemloft.net>
69907         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69908         small copies by hand.
69910 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69912         [BZ #13761]
69913         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69914         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69915         group memberships.
69917 2012-03-28  David S. Miller  <davem@davemloft.net>
69919         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69920         that branches into memcpy.
69921         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69922         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69923         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69924         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69926         bits.
69927         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69928         implementation too.
69929         * sysdeps/sparc/mempcpy.S: New file.
69931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69932         the IFUNC routine in the libc case.
69933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69935         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69936         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69937         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69938         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69939         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69940         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69941         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69942         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69944         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69945         loop to 256 bytes instead of 64 bytes and fix test signedness.
69947         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69948         * sysdeps/sparc/sparc32/Makefile: rather than here...
69949         * sysdeps/sparc/sparc64/Makefile: and here.
69951 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69953         * malloc/mallocbug.c: Avoid warnings about unused variables.
69955 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69957         [BZ #13760]
69958         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69959         in the right place. Discard and retry query if response is
69960         larger than input buffer size.
69962 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69964         [BZ #369]
69965         [BZ #2678]
69966         [BZ #3866]
69967         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69968         x for large integer exponent.
69969         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69970         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69971         sign of result as needed afterwards.
69972         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69973         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69974         result for underflowing pow the same as for overflow.
69975         (__kernel_standard_l): Handle powl overflow and underflow here
69976         rather than calling __kernel_standard.
69977         * math/libm-test.inc (pow_test): Add more tests.
69979         [BZ #3868]
69980         [BZ #13879]
69981         [BZ #13910]
69982         [BZ #13911]
69983         [BZ #13912]
69984         [BZ #13913]
69985         [BZ #13915]
69986         [BZ #13916]
69987         [BZ #13917]
69988         [BZ #13918]
69989         [BZ #13919]
69990         [BZ #13920]
69991         [BZ #13921]
69992         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69993         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69994         (__kernel_standard_l): New function.
69995         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69996         __kernel_standard.
69997         * math/w_acosl.c (__acosl): Likewise.
69998         * math/w_asinl.c (__asinl): Likewise.
69999         * math/w_atan2l.c (__atan2l): Likewise.
70000         * math/w_atanhl.c (__atanhl): Likewise.
70001         * math/w_coshl.c (__coshl): Likewise.
70002         * math/w_exp10l.c (__exp10l): Likewise.
70003         * math/w_exp2l.c (__exp2l): Likewise.
70004         * math/w_fmodl.c (__fmodl): Likewise.
70005         * math/w_hypotl.c (__hypotl): Likewise.
70006         * math/w_j0l.c (__j0l, __y0l): Likewise.
70007         * math/w_j1l.c (__j1l, __y1l): Likewise.
70008         * math/w_jnl.c (__jnl, __ynl): Likewise.
70009         * math/w_lgammal.c (__lgammal): Likewise.
70010         * math/w_log10l.c (__log10l): Likewise.
70011         * math/w_log2l.c (__log2l): Likewise.
70012         * math/w_logl.c (__logl): Likewise.
70013         * math/w_powl.c (__powl): Likewise.
70014         * math/w_remainderl.c (__remainderl): Likewise.
70015         * math/w_scalbl.c (sysv_scalbl): Likewise.
70016         * math/w_sinhl.c (__sinhl): Likewise.
70017         * math/w_sqrtl.c (__sqrtl): Likewise.
70018         * math/w_tgammal.c (__tgammal): Likewise.
70019         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70020         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70021         * math/libm-test.inc (acos_test): Add more tests.
70022         (acosh_test): Likewise.
70023         (asin_test): Likewise.
70024         (atanh_test): Likewise.
70025         (exp_test): Likewise.
70026         (exp10_test): Likewise.
70027         (exp2_test): Likewise.
70028         (expm1_test): Likewise.
70029         (lgamma_test): Likewise.
70030         (log_test): Likewise.
70031         (log10_test): Likewise.
70032         (log1p_test): Likewise.
70033         (log2_test): Likewise.
70034         (pow_test): Do not allow some spurious overflow exceptions.
70035         (sqrt_test): Add more tests.
70036         (tgamma_test): Likewise.
70037         (y0_test): Likewise.
70038         (y1_test): Likewise.
70039         (yn_test): Likewise.
70041 2012-03-27  Anton Blanchard  <anton@samba.org>
70043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70044         MAP_HUGETLB.
70045         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70046         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70047         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70049 2012-03-27  David S. Miller  <davem@davemloft.net>
70051         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70053         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70054         have-as-vis3 check.
70056 2012-03-27  Andreas Jaeger  <aj@suse.de>
70058         * sysdeps/x86_64/elf/configure.in: Moved to ...
70059         * sysdeps/x86_64/configure.in: ... here.
70060         * sysdeps/x86_64/elf/start.S: Moved to ...
70061         * sysdeps/x86_64/start.S: ... here.
70062         * sysdeps/x86_64/elf/configure: Delete.
70064         * sysdeps/x86_64/configure.in: Merge contents from
70065         sysdeps/i386/configure.in (without i686 check).
70067         * sysdeps/i386/elf/Versions: Merge into ...
70068         * sysdeps/i386/Versions: ... this.
70069         * sysdeps/i386/elf/Versions: Delete file.
70070         * sysdeps/i386/elf/start.S: Moved to ...
70071         * sysdeps/i386/start.S: ...here.
70072         * sysdeps/i386/elf/configure.in: Merge into...
70073         * sysdeps/i386/configure.in: ...here.
70074         * sysdeps/i386/elf/configure.in: Delete file.
70075         * sysdeps/i386/elf/configure: Delete file.
70077         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70078         * debug/backtracesyms.c: ... here.
70079         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70080         * debug/backtracesymsfd.c: ... here.
70081         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70082         * sysdeps/generic/ifunc-sel.h: ... here.
70084         * sysdeps/unix/i386/start.c: Delete file.
70085         * sysdeps/unix/sparc/start.c: Delete file.
70086         * sysdeps/unix/start.c: Delete file.
70088         * sysdeps/sh/elf/configure.in: Moved to ...
70089         * sysdeps/sh/configure.in: ... here.
70090         * sysdeps/sh/elf/start.S: Moved to ...
70091         * sysdeps/sh/start.S: ... here.
70092         * sysdeps/sh/elf/configure: Delete file.
70094         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70095         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70096         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70097         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70098         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70099         * sysdeps/powerpc/powerpc64/start.S: here.
70100         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70101         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70102         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70103         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70104         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70106         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70107         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70108         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70109         * sysdeps/powerpc/powerpc32/start.S: ... here.
70110         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70111         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70112         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70114         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70115         * sysdeps/powerpc/ifunc-sel.h: ... here.
70116         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70117         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70119         * sysdeps/sparc/elf/configure.in: Moved to ...
70120         * sysdeps/sparc/configure.in: ... here.
70121         * sysdeps/sparc/elf/configure: Delete file.
70122         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70123         * sysdeps/sparc/sparc32/start.S: ... here.
70124         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70125         * sysdeps/sparc/sparc64/start.S: ... here.
70126         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70127         * sysdeps/sparc/sparc32/Makefile: ... this.
70128         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70129         * sysdeps/sparc/sparc64/Makefile: ... this.
70131         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70132         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70133         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70134         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70135         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70136         * sysdeps/s390/s390-32/setjmp.S: ... here.
70137         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70138         * sysdeps/s390/s390-32/configure.in: ... here.
70139         * sysdeps/s390/s390-32/elf/configure: Delete file.
70140         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70141         * sysdeps/s390/s390-32/start.S: ... here.
70143         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70144         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70145         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70146         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70147         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70148         * sysdeps/s390/s390-64/setjmp.S: ... here.
70149         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70150         * sysdeps/s390/s390-64/configure.in: ... here
70151         * sysdeps/s390/s390-64/elf/configure: Delete file.
70152         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70153         * sysdeps/s390/s390-64/start.S: ... here.
70154         * sysdeps/s390/s390-64/elf/configure: Delete.
70156         * configure.in: Remove support for elf directories in sysdeps.
70158         * configure: Regenerated.
70159         * sysdeps/i386/configure: Regenerated.
70160         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70161         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70162         * sysdeps/s390/s390-32/configure: Regenerated.
70163         * sysdeps/s390/s390-64/configure: Regenerated.
70164         * sysdeps/sh/configure: Regenerated.
70165         * sysdeps/sparc/configure: Regenerated.
70166         * sysdeps/x86_64/configure: Regenerated.
70168 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70173         denormal result into account.
70175 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70177         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70178         Reported by Allan McRae <allan@archlinux.org>.
70180 2012-03-23  Jeff Law  <law@redhat.com>
70182         * nss/getnssent.c (__nss_getent): Fix typo.
70184 2012-03-23  David S. Miller  <davem@davemloft.net>
70186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70188 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70190         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70191         to pad to uint64_t for each field.
70192         (dl_tls_index): Replace unsigned long with uint64_t.
70194 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70195         Paul Pluzhnikov  <ppluzhnikov@google.com>
70197         [BZ #6528]
70198         * grp/Makefile (otherlibs): Don't set it.
70199         * inet/Makefile (otherlibs): Likewise.
70200         * login/Makefile (otherlibs): Likewise.
70201         * nscd/Makefile (otherlibs): Likewise.
70202         * posix/Makefile (otherlibs): Likewise.
70203         * pwd/Makefile (otherlibs): Likewise.
70204         * rt/Makefile (otherlibs): Likewise.
70205         * sunrpc/Makefile (otherlibs): Likewise.
70206         * nss/Makefile (otherlibs): Likewise.
70207         Add libnss_files to routines and static-only-routines.
70208         ($(objpfx)getent): Remove rule.
70209         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70210         static-only-routines.
70212 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70214         [BZ #13892]
70215         * math/s_cexp.c: Include <float.h>.
70216         (__cexp): Handle exp result overflowing not necessarily
70217         overflowing both real and imaginary parts of result.
70218         * math/s_cexpf.c: Likewise.
70219         * math/s_cexpl.c: Likewise.
70220         * math/libm-test.inc (cexp_test): Add more tests.
70221         * sysdeps/i386/fpu/libm-test-ulps: Update.
70222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70224 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70226         * include/link.h (ELFW): New macro.
70227         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70228         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70230 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70232         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70233         with uint64_t.
70235 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70237         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70238         declaration.
70239         (struct La_x32_retval): Likewise.
70241 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70243         * sysdeps/x86_64/preconfigure.in: New file.
70244         * sysdeps/x86_64/preconfigure: New generated file.
70246 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70248         [BZ #13824]
70249         * math/e_exp2l.c: Include <float.h>.
70250         (__ieee754_exp2l): Handle overflow and underflow cases
70251         separately.  Only pass fractional part of argument to
70252         __ieee754_expl.
70253         * math/libm-test.inc (exp2_test): Add more tests.
70255         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70256         negating x to take absolute value.
70257         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70258         Likewise.
70259         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70261         Likewise.
70262         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70263         computing low part if x was negated.
70264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70266 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70268         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70269         la_x32_gnu_pltexit.
70270         (pltexit): Cast int_retval to ptrdiff_t.
70271         * elf/tst-auditmod3b.c: Likewise.
70272         * elf/tst-auditmod4b.c: Likewise.
70273         * elf/tst-auditmod5b.c: Likewise.
70274         * elf/tst-auditmod6b.c: Likewise.
70275         * elf/tst-auditmod6c.c: Likewise.
70276         * elf/tst-auditmod7b.c: Likewise.
70278         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70279         and x32_gnu_pltexit.
70281         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70282         __ELF_NATIVE_CLASS.
70283         (La_x32_regs): New macro.
70284         (La_x32_retval): Likewise.
70285         (la_x32_gnu_pltenter): New function prototype.
70286         (la_x32_gnu_pltexit): Likewise.
70288 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70291         exponent.
70293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70295         * configure.in (libc_cv_cc_nofma): Check for option to disable
70296         generation of FMA instructions.
70297         * configure: Regenerate.
70298         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70299         * sysdeps/ieee754/dbl-64/Makefile: New file.
70300         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70301         Remove brandred-fma4.
70302         (CFLAGS-brandred-fma4.c): Remove.
70303         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70304         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70305         define.
70306         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70307         define.
70309 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70311         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70312         LLONG_MAX != LONG_MAX.
70313         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70314         (_fitoa_word): Likewise.
70315         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70316         LLONG_MAX != LONG_MAX.
70317         * stdio-common/_itowa.h: Include <_itoa.h>.
70318         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70319         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70320         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70321         only if not defined.
70322         (_ITOA_WORD_TYPE): Likewise.
70323         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70324         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70326 2012-03-21  David S. Miller  <davem@davemloft.net>
70328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70330 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70332         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70333         of x86_64 when setting libc_cv_slibdir, libdir and
70334         libc_cv_localedir.
70335         * sysdeps/unix/sysv/linux/configure: Regenerated.
70337 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70339         * manual/lang.texi (Old Varargs): Remove section.
70340         (How Variadic): Update menu.
70341         (va_start): Do not mention varargs.h.
70343 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70344             Joseph Myers  <joseph@codesourcery.com>
70346         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70347         link test.
70348         * configure: Regenerated.
70350 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70352         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70353         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70354         conformtest.pl
70356 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70358         * NOTES: Remove.
70359         * Makefile (files-for-dist): Remove NOTES.
70360         (NOTES): Remove rule.
70361         * README: Don't refer to NOTES.
70362         * manual/creature.texi: Don't include macros.texi.
70363         * manual/intro.texi (creature.texi): Remove comment referring to
70364         NOTES.
70366         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70367         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70368         * configure: Regenerated.
70369         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70370         LIBC_TRY_CC_OPTION.
70371         (libc_cv_as_i686): Likewise.
70372         (libc_cv_cc_avx): Likewise.
70373         (libc_cv_cc_sse2avx): Likewise.
70374         (libc_cv_cc_fma4): Likewise.
70375         (libc_cv_cc_novzeroupper): Likewise.
70376         * sysdeps/i386/configure: Regenerated.
70378         [BZ #13883]
70379         * sysdeps/i386/fpu/s_cexp.S: Remove.
70380         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70381         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70382         * math/libm-test.inc (cexp_test): Add more tests.
70383         * sysdeps/i386/fpu/libm-test-ulps: Update.
70384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70386 2012-03-21  Allan McRae  <allan@archlinux.org>
70388         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70390 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70392         [BZ #13871]
70393         * math/w_exp2.c: Do not include <float.h>.
70394         (o_threshold, u_threshold): Remove.
70395         (__exp2): Calculate result before checking finiteness and calling
70396         __kernel_standard.
70397         * math/w_exp2f.c: Likewise.
70398         * math/w_exp2l.c: Likewise.
70399         * math/libm-test.inc (exp2_test): Require overflow exception for
70400         1e6 input.
70402         [BZ #3866]
70403         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70404         range of signed 64-bit integers before using fistpll.  Remove
70405         checks for whether integers fit in mantissa bits.
70406         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70407         the range of signed 32-bit integers before using fistpl.  Remove
70408         checks for whether integers fit in mantissa bits.
70409         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70410         (__ieee754_powl): Test for y outside the range of signed 64-bit
70411         integers before using fistpll.  Reduce 64-bit values to 63-bit
70412         ones as needed.
70413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70414         divide-by-zero is raised for zero to large negative powers.
70415         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70416         (__ieee754_powl): Test for y outside the range of signed 64-bit
70417         integers before using fistpll.  Reduce 64-bit values to 63-bit
70418         ones as needed.
70419         * math/libm-test.inc (pow_test): Add more tests.
70421 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70423         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70424         <stdio-common/_itoa.h>.
70425         * debug/segfault.c: Likewise.
70426         * elf/dl-cache.c: Likewise.
70427         * elf/dl-minimal.c: Likewise.
70428         * elf/dl-misc.c: Likewise.
70429         * elf/dl-sysdep.c: Likewise.
70430         * elf/dl-version.c: Likewise.
70431         * elf/rtld.c: Likewise.
70432         * hurd/hurdsock.c: Likewise.
70433         * hurd/lookup-retry.c: Likewise.
70434         * malloc/malloc.c: Likewise.
70435         * malloc/mtrace.c: Likewise.
70436         * nscd/nscd_getgr_r.c: Likewise.
70437         * nscd/nscd_getpw_r.c: Likewise.
70438         * nscd/nscd_getserv_r.c: Likewise.
70439         * posix/getopt_init.c: Likewise.
70440         * posix/wordexp.c: Likewise.
70441         * stdio-common/_itoa.c: Likewise.
70442         * stdio-common/printf_fphex.c: Likewise.
70443         * stdio-common/vfprintf.c: Likewise.
70444         * string/_strerror.c: Likewise.
70445         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70446         * sysdeps/i386/i686/hp-timing.h: Likewise.
70447         * sysdeps/mach/_strerror.c: Likewise.
70448         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70449         * sysdeps/mach/hurd/sethostid.c: Likewise.
70450         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70451         * sysdeps/mach/xpg-strerror.c: Likewise.
70452         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70453         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70454         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70455         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70456         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70457         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70458         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70459         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70460         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70461         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70462         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70463         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70464         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70465         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70466         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70467         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70468         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70469         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70470         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70471         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70472         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70474         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70476         * stdio-common/_itoa.h: Moved to ...
70477         * sysdeps/generic/_itoa.h: Here.
70479         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70481         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70482         instead of "_itoa.h" and "_itowa.h".
70483         * stdio-common/vfprintf.: Likewise.
70485 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70487         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70488         <bits/wordsize.h>.
70489         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70490         (__signbit): Likwise.
70491         (llrintf): Likwise.
70492         (llrint): Likwise.
70494 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70496         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70497         __WORDSIZE != 64.
70499 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70501         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70502         OVERFLOW_EXCEPTION_OK.
70503         * math/libm-test.inc ("Philosophy"): Update comment about
70504         exception testing.
70505         (OVERFLOW_EXCEPTION): Define.
70506         (OVERFLOW_EXCEPTION_OK): Likewise.
70507         (INVALID_EXCEPTION_OK): Renumber.
70508         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70509         (IGNORE_ZERO_INF_SIGN): Likewise.
70510         (test_exceptions): Handle FE_OVERFLOW.
70511         (exp10_test): Expect overflow exceptions.
70512         (exp2_test): Likewise.
70513         (expm1_test): Likewise.
70514         (nextafter_test): Likewise.
70515         (pow_test): Likewise.
70516         (scalbn_test): Likewise.
70517         (scalbln_test): Likewise.
70519 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70521         * sysdeps/x86_64/bits/atomic.h
70522         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70523         64bit integer.
70524         (atomic_exchange_acq): Likewise.
70525         (__arch_exchange_and_add_body): Likewise.
70526         (__arch_add_body): Likewise.
70527         (atomic_add_negative): Likewise.
70528         (atomic_add_zero): Likewise.
70530 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70532         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70533         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70535 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70537         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70538         Check __x86_64__ instead of __WORDSIZE.
70540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70542         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70544 2012-03-19  David S. Miller  <davem@davemloft.net>
70546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70548         * sysdeps/sparc/fpu/fenv_private.h: New file.
70549         * sysdeps/sparc/fpu/math_private.h: Use it.
70550         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70551         Remove.
70552         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70553         (libc_feholdexcept_setroundl): Remove.
70554         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70555         Remove.
70556         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70557         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70559 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70561         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70562         int64_t instead of long int.
70563         (INSERT_WORDS64): Likwise.
70565 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70567         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70568         _Unwind_GetCFA return to _Unwind_Ptr first.
70570 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70572         [BZ #13629]
70573         * math/s_clog.c: Include <float.h>.
70574         (__clog): Scale large or subnormal inputs.
70575         * math/s_clogf.c: Likewise.
70576         * math/s_clogl.c: Likewise.
70577         * math/s_clog10.c: Include <float.h>.
70578         (M_LOG10_2): Define.
70579         (__clog10): Scale large or subnormal inputs.
70580         * math/s_clog10f.c: Likewise.
70581         * math/s_clog10l.c: Likewise.
70582         * math/libm-test.inc (clog_test): Add more tests.
70583         (clog10_test): Likewise.
70584         * sysdeps/i386/fpu/libm-test-ulps: Update.
70585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70587         [BZ #11451]
70588         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70589         x and y.
70590         * math/libm-test.inc (atan2_test): Add another test.
70592         * Makerules (common-objdir-compile): Remove.
70593         * sysdeps/unix/Makefile (config-generated): Do not add
70594         $(unix-generated) to variable.
70595         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70596         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70597         Remove rule.
70598         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70599         Likewise.
70600         [generic bits/local_lim.h] (before-compile): Do not append to
70601         variable.
70602         [generic bits/local_lim.h] (common-generated): Likewise.
70603         [generic sys/param.h] (before-compile): Do not append to variable.
70604         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70605         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70606         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70607         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70608         include.
70609         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70610         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70611         [generic sys/param.h] ($(addprefix
70612         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70613         [generic sys/param.h] (common-generated): Do not append to
70614         variable.
70615         [generic sys/param.h] (sysdep_headers): Likewise.
70616         [generic bits/errno.h] (before-compile): Do not append to
70617         variable.
70618         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70619         rule.
70620         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70621         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70622         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70623         [generic bits/errno.h] (common-generated): Do not append to
70624         variable.
70625         [generic bits/ioctls.h] (before-compile): Do not append to
70626         variable.
70627         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70628         rule.
70629         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70630         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70631         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70632         rule.
70633         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70634         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70635         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70636         [generic bits/ioctls.h] (common-generated): Do not append to
70637         variable.
70638         [generic sys/syscall.h] (syscall.h): Remove variable.
70639         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70640         rule.
70641         [generic sys/syscall.h] (before-compile): Do not append to
70642         variable.
70643         [generic sys/syscall.h] (common-generated): Likewise.
70644         * sysdeps/unix/errnos-tmpl.c: Remove file.
70645         * sysdeps/unix/errnos.awk: Likewise.
70646         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70647         * sysdeps/unix/ioctls.awk: Likewise.
70648         * sysdeps/unix/mk-local_lim.c: Likewise.
70649         * sysdeps/unix/snarf-ioctls: Likewise.
70651 2012-03-19  Richard Henderson  <rth@twiddle.net>
70653         * sysdeps/i386/fpu/fenv_private.h: New file.
70654         * sysdeps/i386/fpu/math_private.h: Use it.
70655         (math_opt_barrier, math_force_eval): Remove.
70656         (libc_feholdexcept_setround_53bit): Remove.
70657         (libc_feupdateenv_53bit): Remove.
70658         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70659         (math_opt_barrier, math_force_eval): Remove.
70660         (libc_feholdexcept): Remove.
70661         (libc_feholdexcept_setround): Remove.
70662         (libc_fetestexcept, libc_fesetenv): Remove.
70663         (libc_feupdateenv_test): Remove.
70664         (libc_feupdateenv, libc_feholdsetround): Remove.
70665         (libc_feresetround): Remove.
70667         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70668         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70670         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70671         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70672         (libc_feupdateenv_testl): New.
70673         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70674         (libc_feupdateenv_testf): New.
70675         (libc_feupdateenv): Use libc_feupdateenv_test.
70676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70677         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70679         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70680         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70681         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70682         (libc_feresetround_noex): New.
70683         (libc_feresetround_noexf): New.
70684         (libc_feresetround_noexl): New.
70685         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70686         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70687         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70688         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70689         SET_RESTORE_ROUND.
70690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70692         (__cos): Likewise.
70693         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70694         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70695         SET_RESTORE_ROUND_NOEX.
70696         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70697         SET_RESTORE_ROUND_NOEXF.
70698         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70699         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70700         (libc_feholdsetroundf): New.
70701         (libc_feresetround, libc_feresetroundf): New.
70703         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70704         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70705         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70707         * sysdeps/generic/math_private.h: Include <fenv.h>.
70708         (default_libc_feholdexcept): New.
70709         (default_libc_feholdexcept_setround): New.
70710         (default_libc_fesetenv, default_libc_feupdateenv): New.
70711         (libc_feholdexcept): Only define if undefined.
70712         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70713         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70714         (libc_feholdexcept_setroundl): Likewise.
70715         (libc_feholdexcept_setround_53bit): Likewise.
70716         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70717         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70718         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70719         (libc_feupdateenv_53bit): Likewise.
70720         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70721         (libc_feholdexcept): Convert from macro to inline function.
70722         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70723         (libc_fesetenv, libc_feupdateenv): Likewise.
70725         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70726         not previously defined.
70727         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70728         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70729         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70730         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70731         * sysdeps/ieee754/flt-32/math_private.h: New file.
70732         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70733         math_private.h below SET_FLOAT_WORD.
70734         (__isnan, __isinf_ns, __finite): Remove.
70735         (__isnanf, __isinf_nsf, __finitef): Remove.
70737 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70741 2012-03-17  David S. Miller  <davem@davemloft.net>
70743         [BZ #6471]
70744         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70745         for 2.16.
70747 2012-03-16  David S. Miller  <davem@davemloft.net>
70749         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70750         warnings.
70752         [BZ #6471]
70753         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70754         properly.
70755         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70756         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70757         sysdep_routines when subdir is sysvipc.
70758         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70759         __getshmlba helper.
70761         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70765         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70766         [__LP64__].
70768 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70770         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70771         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70772         (__lround): Renamed to ...
70773         (__llround): This.  Replace long int with long long int.
70774         Define lround functions as aliases of llround functions.
70775         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70777 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70779         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70780         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70781         adresses to uintptr_t.  Replace "long int" and "unsigned long
70782         int" with "greg_t" on va_arg.
70784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70786         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70787         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70789         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70790         Move e_machine check before EI_CLASS check.  Handle x32
70791         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70792         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70793         SKIP_EM_IA_64 and include
70794         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70796         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70797         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70798         (add_system_dir): New macro.
70800         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70801         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70803 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70805         [BZ #2551]
70806         [BZ #2552]
70807         [BZ #2553]
70808         [BZ #2554]
70809         [BZ #2562]
70810         [BZ #2563]
70811         [BZ #2565]
70812         [BZ #2566]
70813         [BZ #2576]
70814         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70815         (y0): Likewise.
70816         * math/w_j0f.c (j0f): Likewise.
70817         (y0f): Likewise.
70818         * math/w_j0l.c (__j0l): Likewise.
70819         (__y0l): Likewise.
70820         * math/w_j1.c (j1): Likewise.
70821         (y1): Likewise.
70822         * math/w_j1f.c (j1f): Likewise.
70823         (y1f): Likewise.
70824         * math/w_j1l.c (__j1l): Likewise.
70825         (__y1l): Likewise.
70826         * math/w_jn.c (jn): Likewise.
70827         (yn): Likewise.
70828         * math/w_jnf.c (jnf): Likewise.
70829         (ynf): Likewise.
70830         * math/w_jnl.c (__jnl): Likewise.
70831         (__ynl): Likewise.
70832         * math/libm-test.inc (j0_test): Add more tests.
70833         (j1_test): Likewise.
70834         (jn_test): Likewise.  Add trailing semicolon to existing test.
70835         (y0_test): Likewise.
70836         (y1_test): Likewise.
70837         * sysdeps/i386/fpu/libm-test-ulps: Update.
70838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70840         [BZ #13851]
70841         [BZ #13854]
70842         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70843         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70844         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70846         (__tanl): Set errno for infinite argument.
70847         * sysdeps/i386/fpu/mptan.c: Remove.
70848         * sysdeps/i386/fpu/s_tan.S: Likewise.
70849         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70850         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70851         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70852         * math/libm-test.inc (tan_test): Add more tests and enable more
70853         tests for double and long double.
70854         * sysdeps/i386/fpu/libm-test-ulps: Update.
70855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70857 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70859         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70860         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70862 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70864         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70865         * configure.in: Use it for both main tree and add-ons.
70866         * configure: Regenerated.
70868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70870         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70872 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70874         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70875         in comment.
70877         [BZ #13851]
70878         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70879         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70880         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70881         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70882         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70883         infinite argument.
70884         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70886         != 0 for prec == 2.
70887         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70888         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70889         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70890         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70891         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70892         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70893         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70894         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70895         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70896         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70897         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70898         * math/libm-test.inc (cos_test): Add more tests and enable more
70899         tests for long double.
70900         (sin_test): Likewise.
70901         (sincos_test): Likewise.
70902         * sysdeps/i386/fpu/libm-test-ulps: Update.
70903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70905 2012-03-16  David S. Miller  <davem@davemloft.net>
70907         * sysdeps/sparc/fpu/math_private.h: New file.
70909 2012-03-15  David S. Miller  <davem@davemloft.net>
70911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70912         file.
70913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70915         file.
70916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70922         sysdep routines.
70923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70925         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70926         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70928         * sysdeps/sparc/sparc-ifunc.h: New file.
70929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70930         sparc-ifunc.h
70931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70933         Likewise.
70934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70935         Likewise.
70936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70940         Likewise.
70941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70946         Likewise.
70947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70948         Likewise.
70949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70955         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70956         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70966         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70969         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70971         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70972         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70974 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70976         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70977         scaling.
70978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70980 2012-03-15  Andreas Jaeger  <aj@suse.de>
70982         [BZ #13852]
70983         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70984         ieee754/flt-32 implementation for sin, cos and sincos.
70985         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70986         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70987         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70988         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70989         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70990         ieee754/flt-32 implementation for tan.
70992         * math/libm-test.inc (cos_test): Enable some large input tests for
70993         float as well
70994         (sin_test): Likewise.
70995         (sincos_test): Likewise.
70996         (tan_test): Add tests for large input.
70998         * sysdeps/i386/fpu/libm-test-ulps: Update.
71000 2012-03-15  Andreas Jaeger  <aj@suse.de>
71002         [BZ #13658]
71003         * math/libm-test.inc (cos_test): Add more test cases.
71004         (sin_test): Likewise.
71005         (sincos_test): Likewise.
71007 2012-03-15  Andreas Jaeger  <aj@suse.de>
71009         [BZ #13837]
71010         * math/libm-test.inc (cos_test): Add a test case for large input
71011         value.
71012         (sin_test): Likewise.
71013         (sincos_test): Likewise.
71015 2012-03-15  Andreas Jaeger  <aj@suse.de>
71016             Joseph Myers  <joseph@codesourcery.com>
71018         [BZ #13658]
71019         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71020         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71021         * sysdeps/i386/fpu/branred.c: Likewise.
71022         * sysdeps/i386/fpu/dosincos.c: Likewise.
71023         * sysdeps/i386/fpu/mpa.c: Likewise.
71024         * sysdeps/i386/fpu/s_cos.S: Likewise.
71025         * sysdeps/i386/fpu/s_sin.S: Likewise.
71026         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71027         * sysdeps/i386/fpu/sincos32.c: Likewise.
71029         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71030         Define.
71031         (libc_feupdateenv_53bit): Define.
71032         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71033         Define.
71034         (libc_feupdateenv_53bit): Define.
71036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71037         53 bit (without extend i386 double precision).
71039         * math/libm-test.inc (sincos_test): Add tests for large input.
71040         (sin): Likewise.
71041         (cos): Likewise.
71043         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71045 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71049 2012-03-15  David S. Miller  <davem@davemloft.net>
71051         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71052         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71053         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71054         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71067         file.
71068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71070         file.
71071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71073         file.
71074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71076         file.
71077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71079         fmin/fmax sysdep routines.
71080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71082 2012-03-14  David S. Miller  <davem@davemloft.net>
71084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71088         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71089         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71090         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71091         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71104         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71105         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71106         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71108         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71109         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71113         routines.
71114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71115         file.
71116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71118         file.
71119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71121         file.
71122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71124         file.
71125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71127         file.
71128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71130         file.
71131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71132         file.
71133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71134         file.
71135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71136         file.
71137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71138         New file.
71139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71140         file.
71141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71142         file.
71143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71145         file.
71146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71148         file.
71149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71151         file.
71152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71154         VIS3 routines.
71156         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71157         New file.
71159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71161         * sysdeps/sparc/configure.in: New file.
71162         * sysdeps/sparc/configure: Generate.
71163         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71164         * configure: Regenerate.
71165         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71166         * config.make.in (have-as-vis3): New.
71167         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71168         available use -Av9d instead of -Av9a.
71169         * sysdeps/sparc/sparc64/Makefile: Likewise.
71170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71172         New file.
71173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71174         file.
71175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71176         New file.
71177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71178         file.
71179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71182         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71183         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71185         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71186         fzeros/fnegs to load 0x80000000 into a float register instead of
71187         using the stack.
71188         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71190 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71193         bits/syscall.h.
71194         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71195         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71196         ($(inst_includedir)/bits/syscall.h): Remove rule.
71197         ($(objpfx)bits/syscall.d): Include instead of
71198         $(objpfx)syscall-list.d.
71199         (generated): Change syscall-list.h and syscall-list.d to
71200         bits/syscall.h and bits/syscall.d.
71202 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71204         [BZ #13846]
71205         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71207 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71209         [BZ #13841]
71210         * math/s_csqrt.c: Include <float.h>.
71211         (__csqrt): Scale large or subnormal inputs.
71212         * math/s_csqrtf.c: Likewise.
71213         * math/s_csqrtl.c: Likewise.
71214         * math/libm-test.inc (csqrt_test): Add more tests.
71215         * sysdeps/i386/fpu/libm-test-ulps: Update.
71216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71218         [BZ #13840]
71219         * math/libm-test.inc (hypot_test): Add more tests.
71221 2012-03-13  David S. Miller  <davem@davemloft.net>
71223         [BZ #13840]
71224         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71225         double-precision for the calculation instead of scaling.
71227 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71229         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71230         manipulate bits before adding and subtracting TWO52[sx].
71231         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71232         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71233         Likewise.
71234         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71236 2012-03-13  David S. Miller  <davem@davemloft.net>
71238         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71239         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71241         rtld-global-offsets.h
71242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71245         large parameters.
71247         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71249         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71250         'err' in the ifdef scope in which it is actually used.
71252         * nss/nss_db/db-init.c: Include string.h
71254 2012-03-12  David S. Miller  <davem@davemloft.net>
71256         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71257         masking out of the most significant byte of random value used.
71258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71259         Fix coding style in previous change.
71261         * sysdeps/unix/sysv/linux/kernel-features.h
71262         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71263         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71264         expression.
71265         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71266         later.
71268 2012-03-11  David S. Miller  <davem@davemloft.net>
71270         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71271         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71272         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71273         for 'resultvar' otherwise things get truncated on 64-bit.
71275         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71276         Fix masking out of the most significant byte of random value used.
71278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71280 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71284 2012-03-09  David S. Miller  <davem@davemloft.net>
71286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71287         variables with appropriate CPP guards.
71288         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71289         from the frame pointer, not the stack pointer.  Correct layout
71290         comments.  Fix test on resulting framesize and the management of
71291         the outregs buffer for pltexit.  Preserve floating point return
71292         values across _dl_call_pltexit call.
71293         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71294         framesize and the management of the outregs buffer for pltexit.
71295         Preserve floating point return values across _dl_call_pltexit
71296         call.
71297         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71298         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71299         (la_sparc64_gnu_pltexit): New functions.
71300         (print_exit): Fix format string for return register value.
71302 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71304         * sunrpc/Makefile (others): Add rpcgen.
71305         ($(objpfx)rpcgen): Remove special build rule and dependency on
71306         libc.
71307         * sunrpc/rpcgen.c: New file.
71309 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71311         [BZ #13673]
71312         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71313         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71314         * sysdeps/i386/crti.S: Likewise.
71315         * sysdeps/i386/crtn.S: Likewise.
71316         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71317         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71318         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71319         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71320         * sysdeps/sh/crti.S: Likewise.
71321         * sysdeps/sh/crtn.S: Likewise.
71322         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71324         [BZ #13673]
71325         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71326         with URL.
71327         * locale/programs/locfile-kw.gperf: Likewise.
71328         * locale/programs/charmap-kw.h: Regenerated.
71329         * locale/programs/locfile-kw.h: Likewise.
71331         [BZ #13673]
71332         * intl/plural.y: Replace FSF snail mail address with URL.
71333         * intl/plural.c: Regenerated.
71335 2012-03-09  Richard Henderson  <rth@twiddle.net>
71337         * include/math_private.h: Remove file.
71338         * math/math_private.h: Move file ...
71339         * sysdeps/generic/math_private.h: ... here.
71341         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71342         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71343         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71345         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71346         and <math_private.h>.
71347         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71348         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71349         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71350         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71351         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71352         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71353         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71355         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71356         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71358         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71359         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71360         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71361         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71362         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71363         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71364         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71365         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71368         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71369         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71371         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71372         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71373         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71374         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71376         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71377         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71378         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71379         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71381         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71383         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71384         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71385         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71386         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71387         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71388         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71389         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71390         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71391         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71392         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71393         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71394         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71395         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71396         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71397         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71398         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71399         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71400         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71401         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71402         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71403         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71404         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71405         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71406         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71408         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71410         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71411         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71412         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71413         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71414         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71415         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71416         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71417         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71418         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71419         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71420         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71421         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71423         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71424         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71426         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71427         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71428         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71429         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71430         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71431         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71432         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71434         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71435         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71436         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71437         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71438         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71439         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71440         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71441         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71442         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71443         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71444         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71447         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71448         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71449         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71450         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71451         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71452         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71453         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71454         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71455         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71457         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71458         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71459         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71460         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71461         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71462         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71463         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71464         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71465         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71466         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71467         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71468         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71469         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71470         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71471         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71472         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71473         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71474         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71475         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71476         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71477         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71478         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71479         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71480         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71481         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71482         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71483         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71484         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71485         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71486         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71487         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71488         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71489         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71490         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71491         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71492         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71493         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71494         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71495         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71496         * sysdeps/ieee754/k_standard.c: Likewise.
71497         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71498         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71499         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71500         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71501         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71502         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71503         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71504         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71509         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71510         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71511         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71512         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71513         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71514         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71515         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71516         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71517         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71518         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71520         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71521         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71522         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71523         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71524         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71525         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71526         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71527         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71528         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71529         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71530         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71531         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71532         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71533         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71534         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71535         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71536         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71537         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71538         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71539         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71540         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71541         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71542         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71543         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71544         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71545         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71547         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71548         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71549         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71550         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71551         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71552         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71553         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71554         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71555         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71556         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71557         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71558         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71559         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71561         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71563         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71564         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71567         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71570         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71571         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71573         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71574         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71575         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71576         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71577         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71578         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71579         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71580         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71581         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71582         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71583         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71584         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71587         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71588         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71589         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71590         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71592         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71593         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71594         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71595         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71596         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71597         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71598         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71601         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71602         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71604         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71605         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71606         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71607         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71608         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71609         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71610         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71611         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71612         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71613         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71614         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71615         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71616         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71617         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71618         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71619         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71620         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71621         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71622         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71623         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71624         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71625         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71626         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71627         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71628         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71629         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71630         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71631         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71632         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71633         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71634         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71635         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71636         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71637         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71638         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71639         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71640         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71641         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71642         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71643         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71644         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71645         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71646         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71647         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71648         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71649         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71650         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71651         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71652         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71653         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71654         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71655         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71656         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71657         * sysdeps/ieee754/s_lib_version.c: Likewise.
71658         * sysdeps/ieee754/s_matherr.c: Likewise.
71659         * sysdeps/ieee754/s_signgam.c: Likewise.
71660         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71661         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71662         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71663         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71664         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71665         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71666         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71667         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71668         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71669         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71670         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71671         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71672         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71673         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71674         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71675         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71676         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71677         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71679         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71680         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71682 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71684         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71685         * sunrpc/rpc_main.c: Likewise.
71686         * sunrpc/rpc_svcout.c: Likewise.
71688 2012-03-09  David S. Miller  <davem@davemloft.net>
71690         * include/math_private.h: New file.
71692 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71694         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71695         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71696         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71697         from <bits/socket_type.h>.
71698         (enum __socket_type): Don't define here.
71699         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71701         bits/socket_type.h.
71703         [BZ #13566]
71704         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71705         checking __USE_GNU.
71707         * Makerules ($(inst_includedir)/%.h): New rule.
71708         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71709         (install-others): Remove variable setting.
71710         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71712 2012-03-08  Richard Henderson  <rth@twiddle.net>
71714         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71715         from macro to inline function; merge with the
71716         !__LIBC_INTERNAL_MATH_INLINES version.
71717         (__ieee754_sqrtf): Likewise.
71719         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71720         to inline function.
71721         (__rintf, __floor, __floorf): Likewise.
71723         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71724         macro to inline function.
71725         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71727         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71728         not <math/math_private.h>.
71730 2012-03-08  David S. Miller  <davem@davemloft.net>
71732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71733         copyright year.
71734         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71736 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71738         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71739         normalization.
71740         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71741         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71743 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71745         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71746         be defined individually, they must be defined as a block.  Define
71747         S for printing a string instead of hidint the different by using a
71748         macro for adding the 'l'.
71749         * stdio-common/tst-fphex-wide.c: Adjust.
71751 2012-03-07  Marek Polacek  <polacek@redhat.com>
71753         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71755 2012-03-08  Marek Polacek  <polacek@redhat.com>
71757         [BZ #13806]
71758         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71759         * stdio-common/tst-fphex.c: Define a few macros to make the
71760         test reusable.  Use them.
71761         * stdio-common/tst-fphex-wide.c: New file.
71763 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71765         [BZ #6911]
71766         * manual/macros.texi (gnusystems): New macro.
71767         (nongnusystems): Likewise.
71768         (gnulinuxhurdsystems): Likewise.
71769         (gnuhurdsystems): Likewise..
71770         (gnulinuxsystems): Likewise.
71771         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71772         variants of the GNU system, not "GNU system".
71773         * manual/conf.texi: Likewise.
71774         * manual/errno.texi: Likewise.  Update example of errno macro
71775         expansion.
71776         * manual/filesys.texi: Likewise.
71777         (getumask): Document as specific to GNU/Hurd.
71778         * manual/install.texi: Likewise.  Reword some references to
71779         GNU/Linux.
71780         * manual/intro.texi: Likewise.
71781         * manual/io.texi: Likewise.
71782         (File Name Portability): Detail which constraints are inapplicable
71783         to all GNU systems and which are only inapplicable to GNU/Hurd.
71784         * manual/job.texi: Likewise.
71785         * manual/llio.texi: Likewise.
71786         (O_NOCTTY): Document as present on GNU/Linux.
71787         * manual/maint.texi: Likewise.
71788         * manual/memory.texi: Likewise.
71789         * manual/pattern.texi: Likewise.
71790         * manual/pipe.texi: Likewise.
71791         * manual/process.texi: Likewise.
71792         * manual/resource.texi: Likewise.
71793         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71794         child on GNU/Hurd.
71795         * manual/setjmp.texi: Likewise.
71796         * manual/signal.texi: Likewise.
71797         * manual/startup.texi: Likewise.
71798         * manual/stdio.texi: Likewise.
71799         * manual/terminal.texi: Likewise.
71800         (ONLCR): Document as POSIX.
71801         (OXTABS): Document availability on GNU/Linux as XTABS.
71802         (ONOEOT): Document availability separately from other bits.
71803         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71804         * manual/time.texi: Likewise.
71805         * manual/users.texi: Likewise.
71806         * INSTALL: Regenerated.
71807         * sysdeps/gnu/errlist.c: Regenerated.
71809         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71810         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71811         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71812         puts.
71813         * configure: Regenerated.
71815 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71817         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71818         default includes instead of AC_HEADER_CHECK.
71819         * sysdeps/i386/configure: Regenerated.
71821         [BZ #10716]
71822         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71823         * math/s_cacoshf.c (__cacoshf): Likewise.
71824         * math/s_cacoshl.c (__cacoshl): Likewise.
71825         * math/s_casinh.c (__casinh): Set signs of result from argument.
71826         * math/s_casinhf.c (__casinhf): Likewise.
71827         * math/s_casinhl.c (__casinhl): Likewise.
71828         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71829         (casinh_test): Add more tests.
71830         * sysdeps/i386/fpu/libm-test-ulps: Update.
71831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71833 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71835         * po/zh_TW.po: Update from translation team.
71837         * login/Makefile (distribute): Remove variable.
71838         * catgets/Makefile: Likewise.
71839         * mach/Makefile: Likewise.
71840         * malloc/Makefile: Likewise.
71841         * misc/Makefile: Likewise.
71842         * iconv/Makefile: Likewise.
71843         * nscd/Makefile: Likewise.
71844         * hurd/Makefile: Likewise.
71845         * manual/Makefile: Likewise.
71846         * locale/Makefile: Likewise.
71847         * intl/Makefile: Likewise.
71848         * conform/Makefile: Likewise.
71849         * nss/Makefile: Likewise.
71850         * time/Makefile: Likewise.
71851         * soft-fp/Makefile: Likewise.
71852         * dirent/Makefile: Likewise.
71853         * gmon/Makefile: Likewise.
71854         * po/Makefile: Likewise.
71855         * rt/Makefile: Likewise.
71856         * socket/Makefile: Likewise.
71857         * math/Makefile: Likewise.
71858         * signal/Makefile: Likewise.
71859         * debug/Makefile: Likewise.
71860         * elf/Makefile: Likewise.
71861         * timezone/Makefile: Likewise.
71862         * stdlib/Makefile: Likewise.
71863         * iconvdata/Makefile: Likewise.
71864         * sunrpc/Makefile: Likewise.
71865         * io/Makefile: Likewise.
71866         * argp/Makefile: Likewise.
71867         * inet/Makefile: Likewise.
71868         * hesiod/Makefile: Likewise.
71869         * grp/Makefile: Likewise.
71870         * csu/Makefile: Likewise.
71871         * wctype/Makefile: Likewise.
71872         * crypt/Makefile: Likewise.
71873         * libio/Makefile: Likewise.
71874         * string/Makefile: Likewise.
71875         * nis/Makefile: Likewise.
71876         * resolv/Makefile: Likewise.
71877         * stdio-common/Makefile: Likewise.
71878         * wcsmbs/Makefile: Likewise.
71879         * dlfcn/Makefile: Likewise.
71880         * posix/Makefile: Likewise.
71882         [BZ #6959]
71883         * timezone/Makefile: Don't install timezone files, just the programs
71884         and scripts.
71886 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71888         * nss/databases.def: Add missing gshadow entry.
71890         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71892 2012-03-06  Marek Polacek  <polacek@redhat.com>
71894         [BZ #13726]
71895         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71896         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71897         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71898         * stdio-common/tst-long-dbl-fphex.c: New file.
71900 2012-03-06  David S. Miller  <davem@davemloft.net>
71902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71903         (set_obp_int): New function.
71904         (get_obp_int): New function.
71905         (__get_clockfreq_via_dev_openprom): Likewise.
71906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71907         Avoid unused variable warnings on 'val' and use builtin_expect.
71908         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71909         __builtin_expect.
71910         (INLINE_CLONE_SYSCALL): Likewise.
71912 2012-03-05  David S. Miller  <davem@davemloft.net>
71914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71916 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71920         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71921         only for |x| >= 40.
71922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71924 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71926         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71927         Replace gettimeofday with __vdso_gettimeofday.
71929         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71930         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71931         __vdso_clock_gettime and __vdso_getcpu.
71933         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71934         time with __vdso_time.
71936 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71938         * manual/lang.texi (size_t): Note types to which size_t may be
71939         equivalent with the GNU C Library, but do not describe when
71940         differences between them are significant.
71942 2012-03-05  Andreas Jaeger  <aj@suse.de>
71944         * sysdeps/i386/fpu/libm-test-ulps: Update.
71946 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71948         [BZ #3976]
71949         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71950         (__ieee754_pow): Save and restore rounding mode and use
71951         round-to-nearest for main computations.
71952         * math/libm-test.inc (pow_test_tonearest): New function.
71953         (pow_test_towardzero): Likewise.
71954         (pow_test_downward): Likewise.
71955         (pow_test_upward): Likewise.
71956         (main): Call the new functions.
71957         * sysdeps/i386/fpu/libm-test-ulps: Update.
71958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71960         [BZ #3976]
71961         * math/libm-test.inc (cosh_test_tonearest): New function.
71962         (cosh_test_towardzero): Likewise.
71963         (cosh_test_downward): Likewise.
71964         (cosh_test_upward): Likewise.
71965         (sinh_test_tonearest): Likewise.
71966         (sinh_test_towardzero): Likewise.
71967         (sinh_test_downward): Likewise.
71968         (sinh_test_upward): Likewise.
71969         (main): Call the new functions.
71970         * sysdeps/i386/fpu/libm-test-ulps: Update.
71971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71973 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71975         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71976         default stack guard is set in last bytes.
71977         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71979 2012-03-05  Kees Cook  <keescook@chromium.org>
71981         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71983         [BZ #13656]
71984         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71985         possibly allocate from heap instead of stack.
71986         * stdio-common/bug-vfprintf-nargs.c: New file.
71987         * stdio-common/Makefile (tests): Add nargs overflow test.
71989 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71993 2012-03-03  Marek Polacek  <polacek@redhat.com>
71995         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71996         * math/math_private.h: Likewise.
71997         * stdlib/tst-strtod.c: Likewise.
71998         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71999         * sysdeps/x86_64/bits/atomic.h: Likewise.
72001 2012-03-02  David S. Miller  <davem@davemloft.net>
72003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72007         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72008         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72009         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72010         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72012 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72014         [BZ #13792]
72015         * manual/examples/README: New file, says the example source files
72016         can be used under GPL>=2.
72017         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72018         line containing just "*/".
72019         * manual/examples/add.c: Add copyright header (GPL>=2).
72020         * manual/examples/argp-ex1.c: Likewise.
72021         * manual/examples/argp-ex2.c: Likewise.
72022         * manual/examples/argp-ex3.c: Likewise.
72023         * manual/examples/argp-ex4.c: Likewise.
72024         * manual/examples/atexit.c: Likewise.
72025         * manual/examples/db.c: Likewise.
72026         * manual/examples/dir.c: Likewise.
72027         * manual/examples/dir2.c: Likewise.
72028         * manual/examples/execinfo.c: Likewise.
72029         * manual/examples/filecli.c: Likewise.
72030         * manual/examples/filesrv.c: Likewise.
72031         * manual/examples/fmtmsgexpl.c: Likewise.
72032         * manual/examples/genpass.c: Likewise.
72033         * manual/examples/inetcli.c: Likewise.
72034         * manual/examples/inetsrv.c: Likewise.
72035         * manual/examples/isockad.c: Likewise.
72036         * manual/examples/longopt.c: Likewise.
72037         * manual/examples/memopen.c: Likewise.
72038         * manual/examples/memstrm.c: Likewise.
72039         * manual/examples/mkfsock.c: Likewise.
72040         * manual/examples/mkisock.c: Likewise.
72041         * manual/examples/mygetpass.c: Likewise.
72042         * manual/examples/pipe.c: Likewise.
72043         * manual/examples/popen.c: Likewise.
72044         * manual/examples/rprintf.c: Likewise.
72045         * manual/examples/search.c: Likewise.
72046         * manual/examples/select.c: Likewise.
72047         * manual/examples/setjmp.c: Likewise.
72048         * manual/examples/sigh1.c: Likewise.
72049         * manual/examples/sigusr.c: Likewise.
72050         * manual/examples/stpcpy.c: Likewise.
72051         * manual/examples/strdupa.c: Likewise.
72052         * manual/examples/strftim.c: Likewise.
72053         * manual/examples/strncat.c: Likewise.
72054         * manual/examples/subopt.c: Likewise.
72055         * manual/examples/swapcontext.c: Likewise.
72056         * manual/examples/termios.c: Likewise.
72057         * manual/examples/testopt.c: Likewise.
72058         * manual/examples/testpass.c: Likewise.
72059         * manual/examples/timeval_subtract.c: Likewise.
72061         [BZ #13792]
72062         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72063         function to ...
72064         * manual/timeval_subtract.c.texi: ... here, new file.
72066 2012-03-02  David S. Miller  <davem@davemloft.net>
72068         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72070 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72072         [BZ #3976]
72073         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72074         (__sin): Save and restore rounding mode and use round-to-nearest
72075         for all computations.
72076         (__cos): Save and restore rounding mode and use round-to-nearest
72077         for all computations.
72078         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72079         <fenv.h>.
72080         (tan): Save and restore rounding mode and use round-to-nearest for
72081         all computations.
72082         * math/libm-test.inc (cos_test_tonearest): New function.
72083         (cos_test_towardzero): Likewise.
72084         (cos_test_downward): Likewise.
72085         (cos_test_upward): Likewise.
72086         (sin_test_tonearest): Likewise.
72087         (sin_test_towardzero): Likewise.
72088         (sin_test_downward): Likewise.
72089         (sin_test_upward): Likewise.
72090         (tan_test_tonearest): Likewise.
72091         (tan_test_towardzero): Likewise.
72092         (tan_test_downward): Likewise.
72093         (tan_test_upward): Likewise.
72094         (main): Call the new functions.
72095         * sysdeps/i386/fpu/libm-test-ulps: Update.
72096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72098         [BZ #10135]
72099         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72100         small n, then large n, before computing and testing k+n.
72101         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72103         Likewise.
72104         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72105         Likewise.
72106         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72107         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72108         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72109         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72110         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72111         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72113         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72114         * math/libm-test.inc (scalbn_test): Add more tests.
72115         (scalbln_test): Likewise.
72117         * manual/filesys.texi (mode_t): Describe constraints on size and
72118         signedness, not exact equivalence to a particular type.
72119         (ino_t): Likewise.
72120         (ino64_t): Likewise.
72121         (dev_t): Likewise.
72122         (nlink_t): Likewise.
72123         (blkcnt_t): Likewise.
72124         (blkcnt64_t): Likewise.
72125         * manual/llio.texi (off_t): Likewise.
72127         [BZ #3976]
72128         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72129         (__ieee754_exp): Save and restore rounding mode and use
72130         round-to-nearest for all computations.
72131         * math/libm-test.inc (exp_test_tonearest): New function.
72132         (exp_test_towardzero): Likewise.
72133         (exp_test_downward): Likewise.
72134         (exp_test_upward): Likewise.
72135         (main): Call the new functions.
72136         * sysdeps/i386/fpu/libm-test-ulps: Update.
72137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72139 2012-03-01  Chris Demetriou  <cgd@google.com>
72141         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72142         have predictable order.
72144 2012-03-01  David S. Miller  <davem@davemloft.net>
72146         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72148         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72149         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72150         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72151         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72153         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72154         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72155         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72157         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72158         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72159         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72160         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72161         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72165         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72166         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72167         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72169         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72170         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72171         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72172         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72173         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72174         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72175         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72176         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72177         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72178         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72179         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72180         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72181         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72182         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72183         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72185         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72186         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72187         * sysdeps/sparc/elf/configure: Regenerated.
72189 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72191         * configure.in (AS, LD): Require binutils 2.20 or later.
72192         * configure: Regenerated.
72193         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72194         as required minimum version.
72195         * INSTALL: Regenerated.
72197         [BZ #2541]
72198         [BZ #4108]
72199         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72200         before squaring exponent.
72201         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72202         bottom long double and 27 bits of top long double before squaring
72203         exponent.
72204         * math/libm-test.inc (erfc_test): Add more tests.
72205         * sysdeps/i386/fpu/libm-test-ulps: Update.
72206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72209 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72211         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72212         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72213         containing bit-fields.
72214         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72215         * soft-fp/single.h (_FP_UNION_S): Likewise.
72216         * soft-fp/double.h (_FP_UNION_D): Likewise.
72218 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72220         [BZ #13786]
72221         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72222         not include ../strcmp.S.
72223         [USE_AS_STRNCASECMP_L]: Likewise.
72224         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72225         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72226         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72227         (__strncasecmp_l_ia32): Define as alias to
72228         __strncasecmp_l_nonascii.
72230         [BZ #5794]
72231         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72232         * sysdeps/i386/fpu/libm-test-ulps: Update.
72233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72235         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72238 2012-02-29  Jeff Law  <law@redhat.com>
72240         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72241         out of bounds read.
72243 2012-02-29  Marek Polacek  <polacek@redhat.com>
72245         [BZ #13706]
72246         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72247         * elf/Makefile: Add rules to run tst-unused-dep.out.
72249 2012-02-28  David S. Miller  <davem@davemloft.net>
72251         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72252         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72253         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72254         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72255         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72256         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72258 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72260         * math/libm-test.inc (llround_test): Move one test from
72261         lround_test.  Use TEST_f_L in moved test.
72262         (lround_test): Move misplaced test to llround_test.  Add testcase
72263         from bug 2561.
72265 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72267         * sysdeps/x86_64/fpu/e_expf.S: New file.
72268         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72270 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72272         [BZ #13637]
72273         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72274         of remain_len that may cause incomplete multi-byte character and
72275         false match.
72276         * posix/bug-regex33.c: New file.
72277         * posix/Makefile (tests): Add bug-regex33.
72279 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72281         * manual/macros.texi: New file.
72282         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72283         * manual/libc.texinfo: Include macros.texi.
72284         * manual/creatute.texi: Likewise.
72285         * manual/install.texi: Likewise.
72286         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72287         @glibcadj{} in references to the GNU C Library.
72288         * manual/charset.texi: Likewise.
72289         * manual/conf.texi: Likewise.
72290         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72291         when not using those macros.
72292         * manual/creature.texi: Likewise.
72293         * manual/crypt.texi: Likewise.
72294         * manual/errno.texi: Likewise.
72295         * manual/filesys.texi: Likewise.
72296         * manual/header.texi: Likewise.
72297         * manual/install.texi: Likewise.
72298         * manual/intro.texi: Likewise.
72299         * manual/io.texi: Likewise.
72300         * manual/job.texi: Likewise.
72301         * manual/lang.texi: Likewise.
72302         * manual/libc.texiinfo: Likewise.
72303         * manual/llio.texi: Likewise.
72304         * manual/locale.texi: Likewise.
72305         * manual/maint.texi: Likewise.
72306         * manual/math.texi: Likewise.
72307         * manual/memory.texi: Likewise.
72308         * manual/message.texi: Likewise.
72309         * manual/nss.texi: Likewise.
72310         * manual/pattern.texi: Likewise.
72311         * manual/process.texi: Likewise.
72312         * manual/resource.texi: Likewise.
72313         * manual/search.texi: Likewise.
72314         * manual/setjmp.texi: Likewise.
72315         * manual/signal.texi: Likewise.
72316         * manual/socket.texi: Likewise.
72317         * manual/startup.texi: Likewise.
72318         * manual/stdio.texi: Likewise.
72319         * manual/string.texi: Likewise.
72320         * manual/sysinfo.texi: Likewise.
72321         * manual/syslog.texi: Likewise.
72322         * manual/terminal.texi: Likewise.
72323         * manual/time.texi: Likewise.
72324         * manual/users.texi: Likewise.
72325         * INSTALL: Regenerated.
72326         * NOTES: Regenerated.
72327         * sysdeps/gnu/errlist.c: Regenerated.
72329 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72331         * include/dirent.h: Include <dirstream.h> before
72332         <dirent/dirent.h>.
72334 2012-02-28  David S. Miller  <davem@davemloft.net>
72336         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72337         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72338         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72339         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72341 2012-02-27  David S. Miller  <davem@davemloft.net>
72343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72345         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72346         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72349         frame pointer instead of stack pointer relative arg slot.
72350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72351         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72352         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72354 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72356         [BZ #3992]
72357         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72359 2012-02-27  David S. Miller  <davem@davemloft.net>
72361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72365         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72366         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72367         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72368         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72370 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72372         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72373         later.  Allow versions 5-9.
72374         * configure: Regenerated.
72375         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72376         required minimum version and 4.6 as recommended version.  Do not
72377         mention bugs in GCC 2.7 and 2.8.
72378         * INSTALL: Regenerated.
72380 2012-02-27  David S. Miller  <davem@davemloft.net>
72382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72386         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72387         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72388         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72389         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72392         manipulate bits before adding and subtracting TWO112[sx].
72393         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72395 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72397         [BZ #13775]
72398         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72399         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72400         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72401         being in POSIX, because they are in 1003.1-2008.
72403         * rt/tst-aio.c: Include <fcntl.h>.
72404         * rt/tst-aio7.c: Likewise.
72405         * rt/tst-aio64.c: Likewise.
72407         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72409 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72411         * manual/install.texi (--with-headers): Describe headers as
72412         interface headers, not private headers.
72413         (Specific advice for GNU/Linux systems): Describe use of headers
72414         from "make headers_install", not private headers from older
72415         kernels.
72416         * INSTALL: Regenerated.
72417         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72418         Change to 2.6.19.
72419         * sysdeps/unix/sysv/linux/configure: Regenerated.
72421         * manual/llio.texi (fclean): Remove documentation.
72423         * manual/Makefile (libc-texi-generated): New variable.  Include
72424         version.texi.
72425         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72426         $(libc-texi-generated), not duplicated list of files.
72427         (version.texi, stamp-version): New rules.
72428         (realclean): Remove $(libc-texi-generated), not individual files
72429         from that list.  Do not remove dir-add.texinfo.
72430         * manual/libc.texinfo: Comment out uses of edition numbers and
72431         references to printed manual.  Remove last-updated dates.
72432         (EDITION): Comment out.
72433         (ISBN): Likewise.
72434         (VERSION, UPDATED): Remove.
72435         (version.texi): Include.
72437 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72439         * sysdeps/posix/spawni.c: Include <signal.h>.
72440         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72441         * sysdeps/pthread/aio_fsync.c: Likewise.
72443 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72445         * conform/Makefile (tests): Run only when not cross-compiling and
72446         when fast-check is not defined.
72448         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72449         * conform/data/limits.h-data: Fixes for POSIX2008.
72450         * conform/run-conformtest.sh: Run all tests.
72451         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72452         headers.
72453         * include/bits/dlfcn.h: Likewise.
72454         * include/langinfo.h: Likewise.
72455         * include/monetary.h: Likewise.
72456         * include/sys/poll.h: Likewise.
72458         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72459         for __USE_GNU.
72460         * posix/spawn.h: Define __need_sigset_t.
72461         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72462         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72463         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72464         to get sigevent_t only.
72465         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72466         only for __USE_GNU.
72467         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72468         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72469         process_vm_writev only for __USE_GNU.
72470         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72472         * conform/Makefile: For now ignore errors from run-conformtest.
72473         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72474         POSIX to avoid namespace pollution.  Don't prepend headers.
72475         * conform/data/aio.h-data: Fixes for POSIX testing.
72476         * conform/data/fcntl.h-data: Likewise.
72477         * conform/data/glob.h-data: Likewise.
72478         * conform/data/grp.h-data: Likewise.
72479         * conform/data/pthread.h-data: Likewise.
72480         * conform/data/pwd.h-data: Likewise.
72481         * conform/data/signal.h-data: Likewise.
72482         * conform/data/spawn.h-data: Likewise.
72483         * conform/data/stdio.h-data: Likewise.
72484         * conform/data/stdlib.h-data: Likewise.
72485         * conform/data/stropts.h-data: Likewise.
72486         * conform/data/sys/mman.h-data: Likewise.
72487         * conform/data/sys/stat.h-data: Likewise.
72488         * conform/data/sys/types.h-data: Likewise.
72489         * conform/data/sys/wait.h-data: Likewise.
72490         * conform/data/time.h-data: Likewise.
72491         * conform/data/unistd.h-data: Likewise.
72492         * conform/data/utime.h-data: Likewise.
72494         * io/sys/stat.h: fchmod was always in POSIX.
72495         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72496         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72497         * rt/aio.h: Define __need_timespec before including <time.h>.
72498         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72499         struct.  Add forward declaration of pthread_attr_t and use it in
72500         sigevent.
72501         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72502         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72503         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72504         always remove CLK_TCK definition.
72506 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72508         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72510 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72512         * conform/run-conformtest.sh: New file.
72513         * conform/Makefile: Run run-conformtest for tests.
72514         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72515         support.
72517         * conform/data/uchar.h-data: New file.
72518         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72519         * conform/data/arpa/inet.h-data: Likewise.
72520         * conform/data/assert.h-data: Likewise.
72521         * conform/data/complex.h-data: Likewise.
72522         * conform/data/cpio.h-data: Likewise.
72523         * conform/data/ctype.h-data: Likewise.
72524         * conform/data/dirent.h-data: Likewise.
72525         * conform/data/dlfcn.h-data: Likewise.
72526         * conform/data/errno.h-data: Likewise.
72527         * conform/data/fcntl.h-data: Likewise.
72528         * conform/data/float.h-data: Likewise.
72529         * conform/data/fmtmsg.h-data: Likewise.
72530         * conform/data/fnmatch.h-data: Likewise.
72531         * conform/data/ftw.h-data: Likewise.
72532         * conform/data/glob.h-data: Likewise.
72533         * conform/data/grp.h-data: Likewise.
72534         * conform/data/iconv.h-data: Likewise.
72535         * conform/data/inttypes.h-data: Likewise.
72536         * conform/data/langinfo.h-data: Likewise.
72537         * conform/data/libgen.h-data: Likewise.
72538         * conform/data/limits.h-data: Likewise.
72539         * conform/data/locale.h-data: Likewise.
72540         * conform/data/math.h-data: Likewise.
72541         * conform/data/monetary.h-data: Likewise.
72542         * conform/data/mqueue.h-data: Likewise.
72543         * conform/data/ndbm.h-data: Likewise.
72544         * conform/data/net/if.h-data: Likewise.
72545         * conform/data/netdb.h-data: Likewise.
72546         * conform/data/netinet/in.h-data: Likewise.
72547         * conform/data/nl_types.h-data: Likewise.
72548         * conform/data/poll.h-data: Likewise.
72549         * conform/data/pthread.h-data: Likewise.
72550         * conform/data/pwd.h-data: Likewise.
72551         * conform/data/regex.h-data: Likewise.
72552         * conform/data/sched.h-data: Likewise.
72553         * conform/data/search.h-data: Likewise.
72554         * conform/data/semaphore.h-data: Likewise.
72555         * conform/data/setjmp.h-data: Likewise.
72556         * conform/data/signal.h-data: Likewise.
72557         * conform/data/spawn.h-data: Likewise.
72558         * conform/data/stdarg.h-data: Likewise.
72559         * conform/data/stdio.h-data: Likewise.
72560         * conform/data/stdlib.h-data: Likewise.
72561         * conform/data/string.h-data: Likewise.
72562         * conform/data/strings.h-data: Likewise.
72563         * conform/data/stropts.h-data: Likewise.
72564         * conform/data/sys/ipc.h-data: Likewise.
72565         * conform/data/sys/mman.h-data: Likewise.
72566         * conform/data/sys/msg.h-data: Likewise.
72567         * conform/data/sys/resource.h-data: Likewise.
72568         * conform/data/sys/select.h-data: Likewise.
72569         * conform/data/sys/sem.h-data: Likewise.
72570         * conform/data/sys/shm.h-data: Likewise.
72571         * conform/data/sys/socket.h-data: Likewise.
72572         * conform/data/sys/stat.h-data: Likewise.
72573         * conform/data/sys/statvfs.h-data: Likewise.
72574         * conform/data/sys/time.h-data: Likewise.
72575         * conform/data/sys/timeb.h-data: Likewise.
72576         * conform/data/sys/times.h-data: Likewise.
72577         * conform/data/sys/types.h-data: Likewise.
72578         * conform/data/sys/uio.h-data: Likewise.
72579         * conform/data/sys/un.h-data: Likewise.
72580         * conform/data/sys/utsname.h-data: Likewise.
72581         * conform/data/sys/wait.h-data: Likewise.
72582         * conform/data/syslog.h-data: Likewise.
72583         * conform/data/tar.h-data: Likewise.
72584         * conform/data/termios.h-data: Likewise.
72585         * conform/data/utime.h-data: Likewise.
72586         * conform/data/utmpx.h-data: Likewise.
72587         * conform/data/varargs.h-data: Likewise.
72588         * conform/data/wchar.h-data: Likewise.
72589         * conform/data/wctype.h-data: Likewise.
72590         * conform/data/wordexp.h-data: Likewise.
72592         * include/stropts.h: New file.
72593         * include/uchar.h: New file.
72594         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72595         * include/assert.h: Likewise.
72596         * include/ctype.h: Likewise.
72597         * include/dirent.h: Likewise.
72598         * include/dlfcn.h: Likewise.
72599         * include/fcntl.h: Likewise.
72600         * include/fnmatch.h: Likewise.
72601         * include/glob.h: Likewise.
72602         * include/grp.h: Likewise.
72603         * include/libio.h: Likewise.
72604         * include/locale.h: Likewise.
72605         * include/math.h: Likewise.
72606         * include/net/if.h: Likewise.
72607         * include/netdb.h: Likewise.
72608         * include/netinet/in.h: Likewise.
72609         * include/pthread.h: Likewise.
72610         * include/pwd.h: Likewise.
72611         * include/regex.h: Likewise.
72612         * include/sched.h: Likewise.
72613         * include/search.h: Likewise.
72614         * include/setjmp.h: Likewise.
72615         * include/signal.h: Likewise.
72616         * include/stdio.h: Likewise.
72617         * include/stdlib.h: Likewise.
72618         * include/string.h: Likewise.
72619         * include/sys/cdefs.h: Likewise.
72620         * include/sys/mman.h: Likewise.
72621         * include/sys/msg.h: Likewise.
72622         * include/sys/resource.h: Likewise.
72623         * include/sys/select.h: Likewise.
72624         * include/sys/socket.h: Likewise.
72625         * include/sys/stat.h: Likewise.
72626         * include/sys/statvfs.h: Likewise.
72627         * include/sys/time.h: Likewise.
72628         * include/sys/times.h: Likewise.
72629         * include/sys/uio.h: Likewise.
72630         * include/sys/utsname.h: Likewise.
72631         * include/sys/wait.h: Likewise.
72632         * include/termios.h: Likewise.
72633         * include/time.h: Likewise.
72634         * include/ulimit.h: Likewise.
72635         * include/unistd.h: Likewise.
72636         * include/utime.h: Likewise.
72637         * include/wchar.h: Likewise.
72638         * include/wctype.h: Likewise.
72639         * include/wordexp.h: Likewise.
72641         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72643         * time/time.h: TIME_UTC must be a macro.
72644         Make timespec_get available for ISO C11 only as well.
72646 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72648         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72649         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72651 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72653         * configure.in: Use -o not -a in test for unsupported multi-arch.
72655 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72657         * manual/texinfo.tex: Update to version 2012-01-19.16.
72659 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72661         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72663 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72665         [BZ #13738]
72666         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72667         * manual/fdl-1.3.texi: New file.
72668         * manual/fdl-1.1.texi: File removed.
72670         [BZ #13738]
72671         * manual/libc.texinfo (FDL_VERSION): New @set.
72672         Use it for mention of FDL in cover text.
72673         (Documentation License): Use it in @include file name.
72675 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72676             Roland McGrath  <roland@hack.frob.com>
72678         [BZ #5461]
72679         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72680         (not LONG_LONG_MAX and LONG_LONG_MIN.
72681         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72682         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72683         name.
72684         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72686 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72688         [BZ #2547]
72689         [BZ #11365]
72690         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72691         manipulate bits before adding and subtracting TWO23[sx].
72692         * math/libm-test.inc (nearbyint_test): Add more tests.
72694 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72696         [BZ #2548]
72697         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72698         bits before adding and subtracting TWO23[sx].
72699         * math/libm-test.inc (rint_test): Add more tests.
72700         (rint_test_tonearest): Likewise.
72701         (rint_test_towardzero): Likewise.
72702         (rint_test_downward): Likewise.
72703         (rint_test_upward: Likewise.
72705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72707         [BZ #10110]
72708         * include/stdc-predef.h: New file.  Extracted from features.h.
72709         * include/features.h: Include stdc-predef.h.
72710         * Makefile (headers): Add stdc-predef.h.
72711         * CONFORMANCE (Compiler limitations): Update.
72713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72715         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72717 2012-02-21  David S. Miller  <davem@davemloft.net>
72719         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72720         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72722 2012-02-20  David S. Miller  <davem@davemloft.net>
72724         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72725         using a normal save/restore sequence, rather than allocating a
72726         dummy stack frame just to store a frame pointer and restore.
72727         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72729 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72731         * manual/install.texi: Fix stray word in line-wrapped comment.
72733 2012-02-20  David S. Miller  <davem@davemloft.net>
72735         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72736         both binutils and gcc support GOTDATA.
72738         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72739         "rd %pc" in the PIC register setup sequences.
72741         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72742         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72743         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72744         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72745         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72746         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72747         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72748         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72749         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72750         (SYSCALL_ERROR_HANDLER): Likewise.
72751         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72752         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72753         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72754         (SYSCALL_ERROR_HANDLER): Likewise.
72756         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72757         (HAVE_GCC_GOTDATA): New.
72758         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72759         relocation support in both binutils and gcc.
72760         * sysdeps/sparc/elf/configure: Regenerate.
72762         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72763         * sysdeps/sparc/sparc32/elf/configure: Delete.
72764         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72765         * sysdeps/sparc/sparc64/elf/configure: Delete.
72766         * sysdeps/sparc/elf/configure.in: New file.
72767         * sysdeps/sparc/elf/configure: Generate.
72769         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72770         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72771         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72772         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72773         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72775 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72777         * manual/install.texi: Do not mention specific glibc version
72778         numbers.
72779         * manual/libc.texinfo (VERSION, UPDATED): Update.
72780         (@copying): Use @copyright{} and range of years.
72782 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72784         [BZ #13695]
72785         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72786         [crti.S not in sysdirs] (generated): Do not append.
72787         [crti.S not in sysdirs] (omit-deps): Likewise.
72788         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72789         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72790         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72791         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72792         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72793         Likewise.
72794         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72795         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72796         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72797         * csu/defs.awk: Remove file.
72798         * sysdeps/generic/initfini.c: Likewise.
72799         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72800         variable.
72801         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72802         Likewise.
72804 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72806         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72807         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72808         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72809         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72810         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72811         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72812         <bits/epoll.h>.
72813         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72814         (__EPOLL_PACKED): Define to empty if not defined by
72815         <bits/epoll.h>.
72816         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72818         bits/epoll.h.
72820 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72822         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72823         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72824         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72825         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72826         <bits/timerfd.h>.
72827         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72829         bits/timerfd.h.
72831 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72833         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72834         in C locale.
72835         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72836         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72837         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72840 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72842         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72843         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72845 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72847         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72848         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72849         defined.
72850         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72851         Likewise.
72852         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72853         entry for 2.16.
72855 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72857         * math/w_acos.c: Use non-signaling floating-point comparisons.
72858         * math/w_acosf.c: Likewise.
72859         * math/w_acosh.c: Likewise.
72860         * math/w_acoshf.c: Likewise.
72861         * math/w_acoshl.c: Likewise.
72862         * math/w_acosl.c: Likewise.
72863         * math/w_asin.c: Likewise.
72864         * math/w_asinf.c: Likewise.
72865         * math/w_asinl.c: Likewise.
72866         * math/w_atanh.c: Likewise.
72867         * math/w_atanhf.c: Likewise.
72868         * math/w_atanhl.c: Likewise.
72869         * math/w_exp2.c: Likewise.
72870         * math/w_exp2f.c: Likewise.
72871         * math/w_exp2l.c: Likewise.
72872         * math/w_j0.c: Likewise.
72873         * math/w_j0f.c: Likewise.
72874         * math/w_j0l.c: Likewise.
72875         * math/w_j1.c: Likewise.
72876         * math/w_j1f.c: Likewise.
72877         * math/w_j1l.c: Likewise.
72878         * math/w_jn.c: Likewise.
72879         * math/w_jnf.c: Likewise.
72880         * math/w_log.c: Likewise.
72881         * math/w_log10.c: Likewise.
72882         * math/w_log10f.c: Likewise.
72883         * math/w_log10l.c: Likewise.
72884         * math/w_log2.c: Likewise.
72885         * math/w_log2f.c: Likewise.
72886         * math/w_log2l.c: Likewise.
72887         * math/w_logf.c: Likewise.
72888         * math/w_logl.c: Likewise.
72889         * math/w_sqrt.c: Likewise.
72890         * math/w_sqrtf.c: Likewise.
72891         * math/w_sqrtl.c: Likewise.
72892         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72893         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72894         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72895         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72896         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72898 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72900         [BZ #9739]
72901         * manual/string.texi (strnlen): Use correct parameter name in
72902         equivalent expression.
72904 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72906         [BZ #11174]
72907         * manual/users.texi (seteuid): Consistently use neweuid for
72908         argument name.
72910 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72912         [BZ #13704]
72913         * manual/nss.texi (Services in the NSS configuration): Correct
72914         list of services in example configuration file.
72916 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72918         [BZ #11322]
72919         * manual/arith.texi: Remove statements about negative zero
72920         behaving identically to zero.
72922 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72924         [BZ #5993]
72925         * manual/install.texi: Do not document upgrading from libc5.
72927 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72929         [BZ #4596]
72930         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72932 2012-02-18  David S. Miller  <davem@davemloft.net>
72934         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72935         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72936         %o7 across the call.
72937         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72938         instead.
72939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72940         SETUP_PIC_REG_LEAF.
72941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72942         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72943         * sysdeps/sparc/crtn.S: Likewise.
72945 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72947         * aout/Makefile: Remove.
72949 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72951         [BZ #13058]
72952         * manual/examples/argp-ex1.c (main): Format definition in GNU
72953         style.
72954         * manual/examples/argp-ex2.c (main): Likewise.
72955         * manual/examples/argp-ex3.c (main): Likewise.
72956         * manual/examples/argp-ex4.c (main): Likewise.
72957         * manual/examples/longopt.c (main): Use new-style prototype
72958         definition.
72959         * manual/examples/strncat.c (main): Specify return type and use
72960         (void) for arguments.
72961         * manual/examples/subopt.c (main): Use char **argv argument.
72963 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72965         [BZ #5077]
72966         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72967         rounding modes.
72969 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72971         [BZ #6907]
72972         * manual/string.texi (strchr): Change when strchrnul is
72973         recommended.
72975 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72977         [BZ #174]
72978         * manual/locale.texi (setlocale): Document LOCPATH.
72980 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72982         [BZ #10210]
72983         * manual/process.texi (execle): Move @dots{} before last argument.
72985 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72987         [BZ #12047]
72988         * manual/charset.texi (Generic Charset Conversion): Fix typo
72989         (LC_TYPE -> LC_CTYPE).
72991 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72993         [BZ #5805]
72994         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72995         (scalbnf): Likewise.
72996         (scalbnl): Likewise.
72997         (scalbln): Likewise.
72998         (scalblnf): Likewise.
72999         (scalblnl): Likewise.
73000         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73001         (vwarnx): Likewise.
73002         (verr): Likewise.
73003         (verrx): Likewise.
73004         * manual/filesys.texi (telldir): Use braces around return type.
73005         * manual/llio.texi (mmap): Add space after comma.
73006         (mmap64): Likewise.
73007         * manual/math.texi (jn): Use @var{} on parameter names.
73008         (jnf): Likewise.
73009         (jnl): Likewise.
73010         (yn): Likewise.
73011         (ynf): Likewise.
73012         (ynl): Likewise.
73013         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73014         line.
73015         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73016         "...".
73017         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73018         (sched_get_priority_max): Likewise.
73019         * manual/signal.texi (sigvec): Add space after comma.
73020         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73021         names.
73022         (if_indextoname): Likewise.
73023         (if_freenameindex): Likewise.
73024         (sendto): Use ',' instead of '.' in prototype.
73025         * manual/startup.texi (syscall): Use @dots{} instead of literal
73026         "...".
73027         * manual/stdio.texi (__fpending): Separate initial words of
73028         paragraph from @deftypefun line.
73029         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73030         "...".
73031         (vsyslog): Use @var{} on parameter names.
73032         * manual/terminal.texi (stty): Use @var{} on parameter names.
73033         * manual/users.texi (getutmp): Use @var{} on parameter names.
73034         (getutmpx): Likewise.
73036 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73038         [BZ #6884]
73039         * manual/stdio.texi (fopen): Fix typos in description of
73040         ",ccs=STRING".
73042 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73044         [BZ #4026]
73045         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73046         get clock_id definition.
73048 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73050         [BZ #4822]
73051         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73052         (madvise): Cast every argument to void on its own.
73054 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73056         [BZ #9902]
73057         * manual/startup.texi (Exit Status): Fix typo.
73059 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73061         [BZ #10140]
73062         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73063         * manual/examples/argp-ex2.c: Likewise.
73064         * manual/examples/argp-ex3.c: Likewise.
73066 2012-02-16  Richard Henderson  <rth@redhat.com>
73068         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73069         * sysdeps/s390/s390-32/initfini.c: Remove.
73070         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73071         * sysdeps/s390/s390-64/initfini.c: Remove.
73073 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73075         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73076         compiler output for sysdeps/generic/initfini.c.
73077         * sysdeps/sh/elf/initfini.c: Remove file.
73079 2012-02-16  David S. Miller  <davem@davemloft.net>
73081         [BZ #11494]
73082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73084         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73085         * sysdeps/sparc/crti.S: New file.
73086         * sysdeps/sparc/crtn.S: New file.
73087         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73088         * sysdeps/sparc/sparc64/Makefile: Likewise.
73090 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73092         [BZ #3335]
73093         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73095 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73097         [BZ #4822]
73098         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73100         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73101         (write, read, close): Likewise.
73102         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73104 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73106         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73107         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73108         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73109         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73110         <bits/signalfd.h>.
73111         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73113         bits/signalfd.h.
73115 2012-02-14  Marek Polacek  <polacek@redhat.com>
73117         * sysdeps/x86_64/crti.S: New file.
73118         * sysdeps/x86_64/crtn.S: New file.
73119         * sysdeps/x86_64/elf/initfini.c: Remove file.
73121 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73123         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73124         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73125         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73126         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73127         <bits/inotify.h>.
73128         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73129         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73130         bits/inotify.h.
73132 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73134         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73135         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73136         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73137         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73138         <bits/eventfd.h>.
73139         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73141         bits/eventfd.h.
73143 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73145         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73146         __feraiseexcept instead of feraiseexcept.
73148         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73149         nanosleep invocations.
73150         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73151         strings, and add error checking for a nanosleep invocations.
73153 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73155         Replace FSF snail mail address with URLs, as per GNU coding standards.
73156         Most of the snail mail addresses were wrong anyway, and omitting
73157         them makes the source code easier to maintain.  Almost all of the
73158         changes are to license notices and to locale LC_IDENTIFICATION
73159         addresses, except for this one:
73160         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73161         not its snail mail address.
73163 2012-02-09  Richard Henderson  <rth@twiddle.net>
73165         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73166         of kernel-features.h.
73168         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73170 2012-02-08  Marek Polacek  <polacek@redhat.com>
73172         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73173         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73174         * sysdeps/gnu/_G_config.h: Likewise.
73175         * sysdeps/generic/_G_config.h: Likewise.
73177 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73179         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73180         tests.
73181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73183         * sysdeps/powerpc/powerpc32/crti.S: New file.
73184         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73185         * sysdeps/powerpc/powerpc64/crti.S: New file.
73186         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73188         * Makeconfig (have-initfini): Don't set.
73189         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73190         * configure.in (nopic_initfini): Don't substitute.
73191         * config.h.in (HAVE_INITFINI): Don't #undef.
73192         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73193         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73195 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73197         Support crti.S and crtn.S provided directly by architectures.
73198         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73199         [crti.S in sysdirs] (omit-deps): Likewise.
73200         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73201         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73202         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73203         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73204         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73205         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73206         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73207         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73208         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73209         compiler output for sysdeps/generic/initfini.c.
73210         * sysdeps/i386/elf/Makefile: Remove file.
73211         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73213 2012-02-07  Marek Polacek  <polacek@redhat.com>
73215         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73216         * sysdeps/gnu/_G_config.h: Likewise.
73217         * sysdeps/mach/hurd/_G_config.h: Likewise.
73219 2012-02-07  Marek Polacek  <polacek@redhat.com>
73221         * math/Makefile (tests): Add tst-CMPLX2.
73222         * math/tst-CMPLX2.c: New file.
73224 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73226         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73228         * math/libm-test.inc (jn_test): Add missing L suffix.
73230 2012-02-06  Marek Polacek  <polacek@redhat.com>
73232         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73233         * sysdeps/i386/fpu/e_powf.S: Likewise.
73234         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73235         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73236         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73237         * sysdeps/i386/fpu/e_pow.S: Likewise.
73238         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73239         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73240         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73241         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73242         * sysdeps/i386/fpu/e_log2.S: Likewise.
73243         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73244         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73245         * sysdeps/i386/fpu/e_powl.S: Likewise.
73246         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73247         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73248         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73249         * sysdeps/i386/fpu/e_logl.S: Likewise.
73250         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73251         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73252         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73253         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73254         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73255         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73256         * sysdeps/i386/fpu/e_log.S: Likewise.
73257         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73258         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73259         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73260         * sysdeps/i386/fpu/e_logf.S: Likewise.
73261         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73262         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73263         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73264         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73265         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73266         * sysdeps/i386/fpu/e_log10.S: Likewise.
73267         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73268         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73269         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73270         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73271         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73272         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73273         * sysdeps/i386/asm-syntax.h: Likewise.
73274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73275         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73276         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73277         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73278         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73279         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73280         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73281         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73282         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73283         * sysdeps/powerpc/sysdep.h: Likewise.
73284         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73285         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73287 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73289         [BZ #411]
73290         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73292 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73294         * sysdeps/i386/sysdep.h: Include <features.h>.
73295         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73296         version.
73298 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73300         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73301         Define.
73302         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73303         LOAD_PIC_REG_STR.
73305 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73307         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73308         (SETUP_PIC_REG): Use GET_PC_THUNK.
73309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73310         macro.
73312 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73314         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73315         for non-PIC compilation.
73316         (SETUP_PIC_REG): Add .p2align directive.
73317         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73318         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73319         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73320         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73321         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73322         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73323         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73324         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73325         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73326         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73327         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73328         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73329         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73330         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73331         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73332         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73333         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73334         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73335         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73336         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73337         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73338         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73339         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73340         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73341         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73342         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73343         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73345         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73346         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73347         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73348         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73349         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73350         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73351         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73352         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73353         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73354         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73355         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73356         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73357         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73359 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73361         * math/tst-CMPLX.c: Include <stdio.h>.
73363 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73365         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73366         float.
73367         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73368         * sysdeps/sparc/bits/mathdef.h: Likewise.
73370 2012-01-31  Marek Polacek  <polacek@redhat.com>
73372         * libio/libio.h: Don't define _PARAMS.
73373         * locale/programs/config.h: Don't define PARAMS.
73374         * stdlib/strtol_l.c: Likewise.
73375         (__strtol_l): Remove PARAMS from the prototype.
73377 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73379         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73380         names.  Just use the correct names.  Remove unnecessary wrapper
73381         functions.
73382         * malloc/arena.c: Likewise.
73383         * malloc/hooks.c: Likewise.
73385         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73386         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73387         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73389 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73391         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73392         into tail calls.
73393         (update_get_addr): New function.
73394         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73395         GET_ADDR_MODULE parameter.
73397 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73399         * crypt/cert.c: Remove __STDC__ conditionals.
73400         * crypt/crypt-entry.c: Likewise.
73401         * crypt/crypt_util.c: Likewise.
73402         * libio/filedoalloc.c: Likewise.
73403         * libio/fileops.c: Likewise.
73404         * libio/genops.c: Likewise.
73405         * libio/iofclose.c: Likewise.
73406         * libio/iofdopen.c: Likewise.
73407         * libio/iofopen.c: Likewise.
73408         * libio/iofopen64.c: Likewise.
73409         * libio/iogetdelim.c: Likewise.
73410         * libio/iopopen.c: Likewise.
73411         * libio/obprintf.c: Likewise.
73412         * libio/oldfileops.c: Likewise.
73413         * libio/oldiofclose.c: Likewise.
73414         * libio/oldiofdopen.c: Likewise.
73415         * libio/oldiofopen.c: Likewise.
73416         * libio/oldiopopen.c: Likewise.
73417         * libio/wfiledoalloc.c: Likewise.
73418         * libio/wgenops.c: Likewise.
73419         * locale/programs/xmalloc.c: Likewise.
73420         * misc/syslog.c: Likewise.
73421         * stdio-common/xbug.c: Likewise.
73422         * string/memchr.c: Likewise.
73423         * string/memcmp.c: Likewise.
73424         * string/memrchr.c: Likewise.
73425         * string/rawmemchr.c: Likewise.
73426         * sysdeps/posix/getcwd.c: Likewise.
73427         * time/strftime_l.c: Likewise.
73429 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73431         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73432         * config.make.in (config-cflags-sse2avx): Define.
73433         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73434         Fix typo.
73436 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73438         * scripts/config.guess: Update from upstream config git repository.
73439         * scripts/config.sub: Likewise.
73441 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73443         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73444         (EM_NUM): Update.
73445         (R_TILEPRO_*, R_TILEGX_*): New macros.
73447         * scripts/firstversions.awk: Fix bug in version range handling.
73449         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73451         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73453         * include/sys/epoll.h: New file.
73454         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73455         libc_hidden_def.
73457 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73459         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73460         Avoid unnecessary __WORDSIZE == 64 test.
73461         (fmaxf): Use VEX format if possible.
73462         (fmax): Likewise.
73463         (fminf): Likewise.
73464         (fmin): Likewise.
73466         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73467         * math/math_private.h: Remove libc_fegetround* and
73468         libc_fesetround*.
73469         * sysdeps/i386/configure.in: Check for -msse2avx.
73470         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73471         also if SSE2AVX is defined.
73472         Remove libc_fegetround* and libc_fesetround*.
73473         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73474         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73476         of HAS_YMM_USABLE.
73477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73478         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73479         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73480         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73481         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73483         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73485 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73487         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73488         size is not set.
73489         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73491 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73493         [BZ #13618]
73494         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73495         relocation.
73496         * Makeconfig (libm): Define.
73497         * elf/Makefile: Add rules to build and run tst-relsort1.
73498         * elf/tst-relsort1.c: New file.
73499         * elf/tst-relsort1mod1.c: New file.
73500         * elf/tst-relsort1mod2.c: New file.
73502 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73504         * math/s_ldexp.c: Remove __STDC__ conditionals.
73505         * math/s_ldexpf.c: Likewise.
73506         * math/s_ldexpl.c: Likewise.
73507         * math/s_nextafter.c: Likewise.
73508         * math/s_nexttowardf.c: Likewise.
73509         * math/s_significand.c: Likewise.
73510         * math/s_significandf.c: Likewise.
73511         * math/s_significandl.c: Likewise.
73512         * math/w_jnl.c: Likewise.
73513         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73514         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73515         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73516         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73517         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73519         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73520         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73521         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73522         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73523         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73524         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73525         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73526         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73527         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73528         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73529         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73530         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73531         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73532         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73533         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73534         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73535         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73536         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73537         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73538         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73539         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73540         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73541         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73542         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73543         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73544         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73545         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73546         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73547         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73548         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73549         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73550         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73551         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73552         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73553         * sysdeps/ieee754/k_standard.c: Likewise.
73554         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73555         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73556         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73557         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73558         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73559         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73561         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73562         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73563         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73564         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73565         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73566         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73567         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73568         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73569         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73570         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73571         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73572         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73573         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73576         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73577         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73578         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73579         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73583         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73584         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73585         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73586         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73588         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73589         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73590         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73592         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73593         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73594         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73596         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73597         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73598         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73599         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73600         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73602         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73603         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73604         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73605         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73606         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73607         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73608         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73609         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73610         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73611         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73612         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73613         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73614         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73615         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73616         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73617         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73618         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73619         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73620         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73621         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73622         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73623         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73624         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73625         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73626         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73627         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73628         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73629         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73630         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73631         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73632         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73633         * sysdeps/ieee754/s_matherr.c: Likewise.
73634         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73635         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73636         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73637         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73639 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73641         * crypt/md5.h: Remove __STDC__ conditionals.
73642         * libio/libioP.h: Likewise.
73643         * locale/programs/config.h: Likewise.
73644         * sysdeps/generic/sysdep.h: Likewise.
73645         * sysdeps/i386/asm-syntax.h: Likewise.
73646         * sysdeps/s390/asm-syntax.h: Likewise.
73647         * sysdeps/unix/sysdep.h: Likewise.
73648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73651 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73653         * libio/libio.h: Remove __STDC__ conditionals.
73654         * malloc/obstack.h: Likewise.
73655         * math/complex.h: Likewise.
73656         * math/math.h: Likewise.
73657         * sysdeps/generic/_G_config.h: Likewise.
73658         * sysdeps/gnu/_G_config.h: Likewise.
73659         * sysdeps/mach/hurd/_G_config.h: Likewise.
73660         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73661         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73662         * sysdeps/sparc/bits/mathdef.h: Likewise.
73664 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73666         [BZ #13583]
73667         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73668         Clean up HAS_* macros.
73669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73670         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73671         possible.
73672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73673         HAS_AVX.
73674         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73675         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73678         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73680 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73682         * elf/tst-unique3.cc (gets): Remove declaration.
73683         * elf/tst-unique3lib.cc (gets): Likewise.
73684         * elf/tst-unique3lib2.cc (gets): Likewise.
73685         * elf/tst-unique4.cc (gets): Likewise.
73687 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73689         * include/stdio.h: Add C++ protection.  Add gets declarations and
73690         definitions.
73691         * debug/tst-chk1.c: Don't declare gets here.
73692         * stdio-common/tst-gets.c: Likewise.
73694 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73696         * posix/glob: Remove directory.
73698 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73700         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73702 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73704         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73705         of the non-standard EPFNOSUPPORT.
73707 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73709         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73710         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73711         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73713 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73715         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73717 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73719         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73720         transient errors.
73721         * nscd/grpcache.c (cache_addgr): Likewise.
73722         * nscd/hstcache.c (cache_addhst): Likewise.
73723         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73724         * nscd/pwdcache.c (cache_addpw): Likewise.
73725         * nscd/servicescache.c (cache_addserv): Likewise.
73727 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73729         * malloc/malloc.c: Various cleanups.
73730         * malloc/hooks.c: Likewise.
73732         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73733         * stdlib/bug-fmtmsg1.c: New file.
73735         * stdlib/fmtmsg.c (init): Add missing unlock.
73736         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73738 2012-01-12  Marek Polacek  <polacek@redhat.com>
73740         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73741         and _GNU_SOURCE.
73743 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73745         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73746         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73747         macro to ensure uniqueness of label name.
73748         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73749         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73751 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73753         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73755         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73756         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73757         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73758         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73760 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73762         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73764         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73765         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73766         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73768         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73770         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73771         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73772         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73773         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73775         * math/bits/math-finite.h: Add ldexp support.
73777 2012-01-10  Marek Polacek  <polacek@redhat.com>
73779         * locale/programs/localedef.h (show_archive_content): Add noreturn
73780         attribute.
73782 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73784         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73786 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73788         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73790         * io/Makefile (headers): Add bits/poll2.h.
73792 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73795         typo #include statement.
73797 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73799         * include/sys/cdefs.h: Define __attribute_alloc_size.
73800         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73801         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73802         * elf/pldd.c: Likewise.
73803         * iconv/iconv_charmap.c: Likewise.
73804         * iconv/iconvconfig.c: Likewise.
73805         * iconv/strtab.c: Likewise.
73806         * locale/programs/locale.c: Likewise.
73807         * locale/programs/localedef.h: Likewise.
73808         * locale/programs/simple-hash.c: Likewise.
73809         * nscd/nscd.h: Likewise.
73810         * nss/makedb.c: Likewise.
73811         * sysdeps/generic/ldconfig.h: Likewise.
73812         * locale/programs/localedef.c: Remove xmalloc prototype.
73813         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73815 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73817         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73818         appropriate.
73820 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73822         * math/Makefile (tests): Add tst-CMPLX.
73823         * math/tst-CMPLX.c: New file.
73825         * math/complex.h (CMPLXL): Fix typo.
73827         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73828         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73829         GLIBC_2.16.
73830         * debug/tst-chk1.c: Add poll and ppoll tests.
73831         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73832         * include/sys/poll.h: Add hidden proto for ppoll.
73833         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73834         * sysdeps/mach/hurd/ppoll.c: Likewise.
73835         * io/ppoll.c: Likewise.
73836         * debug/poll_chk.c: New file.
73837         * debug/ppoll_chk.c: New file.
73838         * include/bits/poll2.h: New file.
73839         * io/bits/poll2.h: New file.
73841         [BZ #1350]
73842         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73844         * configure.in: static is always set to yes.  Remove.
73845         * config.make.in: Don't set build-static.
73846         * Makeconfig: Remove use of build-static.
73847         * dlfcn/Makefile: Likewise.
73848         * elf/Makefile: Likewise.
73849         * math/Makefile: Likewise.
73850         * misc/Makefile: Likewise.
73851         * nptl/Makefile: Likewise.
73852         * sysdeps/mach/hurd/Makefile: Likewise.
73854         * configure.in: PWD_P is not used anymore.
73855         * config.make.in: Remove PWD_P entry.
73857         * configure.in: Remove last remnants of RANLIB.
73858         No need to check for signed size_t anymore.
73859         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73860         and IA-64.
73861         Remove __builtin_expect test because we require at least gcc 3.4.
73862         * aclocal.m4: Likewise.
73864         * wcsmbs/mbrtoc16.c: Implement using towc function.
73865         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73866         * wcsmbs/wcsmbsload.c: Likewise.
73867         * iconv/gconv_simple.c: Likewise.
73868         * iconv/gconv_int.h: Likewise.
73869         * iconv/gconv_builtin.h: Likewise.
73870         * iconv/iconv_prog.c: Remove CHAR16 handling.
73872         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73874         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73876         * configure.in: Remove --with-elf and --enable-bounded options.
73877         Dont set base_machine for ia64.  More non-ELF conditions removed.
73878         Remove testing and setting of leading underscore information.
73879         * config.make.in (build-bounded): Set to no.
73880         * config.h.in: Remove NO_UNDERSCORES entry.
73881         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73882         them.
73883         * csu/start.c: Remove !NO_UNDERSCORE code.
73884         * locale/localeinfo.h: Likewise.
73885         * sysdeps/generic/machine-gmon.h: Likewise.
73886         * sysdeps/generic/sysdep.h: Likewise.
73887         * sysdeps/i386/sysdep.h: Likewise.
73888         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73889         * sysdeps/mach/sysdep.h: Likewise.
73890         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73891         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73892         * sysdeps/sh/sysdep.h: Likewise.
73893         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73894         * sysdeps/unix/i386/sysdep.S: Likewise.
73895         * sysdeps/unix/sparc/start.c: Likewise.
73896         * sysdeps/unix/sparc/sysdep.S: Likewise.
73897         * sysdeps/unix/sparc/sysdep.h: Likewise.
73898         * sysdeps/unix/start.c: Likewise.
73899         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73900         * sysdeps/x86_64/sysdep.h: Likewise.
73902 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73904         [BZ #13553]
73905         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73906         for non-gcc.
73907         * argp/argp-fmtstream.h: Use const instead __const.
73908         * argp/argp.h: Likewise.
73909         * assert/assert.h: Likewise.
73910         * bits/fenv.h: Likewise.
73911         * bits/sched.h: Likewise.
73912         * bits/sigset.h: Likewise.
73913         * bits/sigthread.h: Likewise.
73914         * catgets/nl_types.h: Likewise.
73915         * conform/data/pthread.h-data: Likewise.
73916         * crypt/crypt-private.h: Likewise.
73917         * crypt/crypt.h: Likewise.
73918         * crypt/crypt_util.c: Likewise.
73919         * ctype/ctype.h: Likewise.
73920         * debug/execinfo.h: Likewise.
73921         * debug/mbsnrtowcs_chk.c: Likewise.
73922         * debug/mbsrtowcs_chk.c: Likewise.
73923         * debug/wcsnrtombs_chk.c: Likewise.
73924         * debug/wcsrtombs_chk.c: Likewise.
73925         * debug/wcstombs_chk.c: Likewise.
73926         * dirent/dirent.h: Likewise.
73927         * dlfcn/dlfcn.h: Likewise.
73928         * elf/neededtest4.c: Likewise.
73929         * grp/grp.h: Likewise.
73930         * gshadow/gshadow.h: Likewise.
73931         * iconv/gconv.h: Likewise.
73932         * iconv/gconv_int.h: Likewise.
73933         * iconv/gconv_simple.c: Likewise.
73934         * iconv/iconv.h: Likewise.
73935         * iconv/loop.c: Likewise.
73936         * iconv/skeleton.c: Likewise.
73937         * include/aio.h: Likewise.
73938         * include/aliases.h: Likewise.
73939         * include/argz.h: Likewise.
73940         * include/arpa/inet.h: Likewise.
73941         * include/assert.h: Likewise.
73942         * include/dirent.h: Likewise.
73943         * include/dlfcn.h: Likewise.
73944         * include/execinfo.h: Likewise.
73945         * include/fcntl.h: Likewise.
73946         * include/fenv.h: Likewise.
73947         * include/glob.h: Likewise.
73948         * include/grp.h: Likewise.
73949         * include/libintl.h: Likewise.
73950         * include/mntent.h: Likewise.
73951         * include/netdb.h: Likewise.
73952         * include/pwd.h: Likewise.
73953         * include/rpc/netdb.h: Likewise.
73954         * include/sched.h: Likewise.
73955         * include/search.h: Likewise.
73956         * include/shadow.h: Likewise.
73957         * include/signal.h: Likewise.
73958         * include/stdio.h: Likewise.
73959         * include/stdlib.h: Likewise.
73960         * include/string.h: Likewise.
73961         * include/sys/socket.h: Likewise.
73962         * include/sys/stat.h: Likewise.
73963         * include/sys/statfs.h: Likewise.
73964         * include/sys/statvfs.h: Likewise.
73965         * include/sys/syslog.h: Likewise.
73966         * include/sys/time.h: Likewise.
73967         * include/sys/uio.h: Likewise.
73968         * include/time.h: Likewise.
73969         * include/unistd.h: Likewise.
73970         * include/utmp.h: Likewise.
73971         * include/wchar.h: Likewise.
73972         * include/wctype.h: Likewise.
73973         * inet/aliases.h: Likewise.
73974         * inet/arpa/inet.h: Likewise.
73975         * inet/netinet/ether.h: Likewise.
73976         * inet/netinet/in.h: Likewise.
73977         * intl/libintl.h: Likewise.
73978         * io/bits/fcntl2.h: Likewise.
73979         * io/fcntl.h: Likewise.
73980         * io/ftw.h: Likewise.
73981         * io/sys/poll.h: Likewise.
73982         * io/sys/stat.h: Likewise.
73983         * io/sys/statfs.h: Likewise.
73984         * io/sys/statvfs.h: Likewise.
73985         * io/utime.h: Likewise.
73986         * libio/bits/stdio.h: Likewise.
73987         * libio/bits/stdio2.h: Likewise.
73988         * libio/libio.h: Likewise.
73989         * libio/libioP.h: Likewise.
73990         * libio/stdio.h: Likewise.
73991         * locale/lc-ctype.c: Likewise.
73992         * locale/locale.h: Likewise.
73993         * login/utmp.h: Likewise.
73994         * malloc/arena.c: Likewise.
73995         * malloc/malloc.c: Likewise.
73996         * malloc/malloc.h: Likewise.
73997         * malloc/mcheck.c: Likewise.
73998         * malloc/mtrace.c: Likewise.
73999         * math/bits/mathcalls.h: Likewise.
74000         * math/fenv.h: Likewise.
74001         * math/math_private.h: Likewise.
74002         * misc/bits/error.h: Likewise.
74003         * misc/bits/syslog.h: Likewise.
74004         * misc/err.h: Likewise.
74005         * misc/error.h: Likewise.
74006         * misc/fstab.h: Likewise.
74007         * misc/mntent.h: Likewise.
74008         * misc/regexp.h: Likewise.
74009         * misc/search.h: Likewise.
74010         * misc/sgtty.h: Likewise.
74011         * misc/sys/mman.h: Likewise.
74012         * misc/sys/syslog.h: Likewise.
74013         * misc/sys/uio.h: Likewise.
74014         * misc/sys/xattr.h: Likewise.
74015         * misc/ttyent.h: Likewise.
74016         * nis/rpcsvc/ypclnt.h: Likewise.
74017         * nss/nss.h: Likewise.
74018         * posix/bits/unistd.h: Likewise.
74019         * posix/fnmatch.h: Likewise.
74020         * posix/glob.h: Likewise.
74021         * posix/sched.h: Likewise.
74022         * posix/spawn.h: Likewise.
74023         * posix/sys/wait.h: Likewise.
74024         * posix/unistd.h: Likewise.
74025         * posix/wordexp.h: Likewise.
74026         * pwd/pwd.h: Likewise.
74027         * resolv/netdb.h: Likewise.
74028         * resource/sys/resource.h: Likewise.
74029         * rt/aio.h: Likewise.
74030         * rt/bits/mqueue2.h: Likewise.
74031         * rt/mqueue.h: Likewise.
74032         * shadow/shadow.h: Likewise.
74033         * signal/signal.h: Likewise.
74034         * socket/send.c: Likewise.
74035         * socket/sendto.c: Likewise.
74036         * socket/sys/socket.h: Likewise.
74037         * stdio-common/printf.h: Likewise.
74038         * stdlib/bits/stdlib.h: Likewise.
74039         * stdlib/fmtmsg.h: Likewise.
74040         * stdlib/monetary.h: Likewise.
74041         * stdlib/stdlib.h: Likewise.
74042         * stdlib/ucontext.h: Likewise.
74043         * streams/stropts.h: Likewise.
74044         * string/argz.h: Likewise.
74045         * string/bits/string2.h: Likewise.
74046         * string/string.h: Likewise.
74047         * string/strings.h: Likewise.
74048         * sunrpc/rpc/auth.h: Likewise.
74049         * sunrpc/rpc/auth_des.h: Likewise.
74050         * sunrpc/rpc/clnt.h: Likewise.
74051         * sunrpc/rpc/netdb.h: Likewise.
74052         * sunrpc/rpc/pmap_clnt.h: Likewise.
74053         * sunrpc/rpc/xdr.h: Likewise.
74054         * sysdeps/generic/inttypes.h: Likewise.
74055         * sysdeps/generic/net/if.h: Likewise.
74056         * sysdeps/generic/sys/swap.h: Likewise.
74057         * sysdeps/gnu/net/if.h: Likewise.
74058         * sysdeps/gnu/utmpx.h: Likewise.
74059         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74060         * sysdeps/i386/i486/bits/string.h: Likewise.
74061         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74062         * sysdeps/s390/bits/string.h: Likewise.
74063         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74064         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74065         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74066         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74067         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74068         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74069         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74070         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74071         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74072         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74073         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74074         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74075         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74076         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74077         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74078         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74079         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74081         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74082         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74083         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74084         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74085         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74086         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74087         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74088         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74089         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74090         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74091         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74092         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74093         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74094         * sysvipc/sys/ipc.h: Likewise.
74095         * sysvipc/sys/msg.h: Likewise.
74096         * sysvipc/sys/sem.h: Likewise.
74097         * sysvipc/sys/shm.h: Likewise.
74098         * termios/termios.h: Likewise.
74099         * time/sys/time.h: Likewise.
74100         * time/time.h: Likewise.
74101         * wcsmbs/bits/wchar2.h: Likewise.
74102         * wcsmbs/uchar.h: Likewise.
74103         * wcsmbs/wchar.h: Likewise.
74104         * wctype/wctype.h: Likewise.
74106         [BZ #13551]
74107         * Makeconfig: Remove all but ELF support including AIX support.
74108         * Makerules: Likewise.
74109         * config.h.in: Likewise.
74110         * config.make.in: Likewise.
74111         * configure: Likewise.
74112         * configure.in: Likewise.
74113         * csu/Makefile: Likewise.
74114         * csu/version.c: Likewise.
74115         * debug/Makefile: Likewise.
74116         * dlfcn/Makefile: Likewise.
74117         * elf/Makefile: Likewise.
74118         * extra-lib.mk: Likewise.
74119         * iconv/Makefile: Likewise.
74120         * include/libc-symbols.h: Likewise.
74121         * include/shlib-compat.h: Likewise.
74122         * resolv/Makefile: Likewise.
74123         * resolv/res_libc.c: Likewise.
74124         * rt/Makefile: Likewise.
74125         * sysdeps/i386/asm-syntax.h: Likewise.
74126         * sysdeps/i386/sysdep.h: Likewise.
74127         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74128         * sysdeps/mach/sysdep.h: Likewise.
74129         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74130         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74131         * sysdeps/s390/asm-syntax.h: Likewise.
74132         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74133         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74134         * sysdeps/sh/sysdep.h: Likewise.
74135         * sysdeps/unix/sparc/sysdep.h: Likewise.
74136         * sysdeps/wordsize-32/divdi3.c: Likewise.
74137         * sysdeps/x86_64/sysdep.h: Likewise.
74139         * argp/Versions: Remove _argp_unlock_xxx.
74141         [BZ #13559]
74142         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74143         * abilist/libBrokenLocale.abilist: Likewise.
74144         * abilist/libanl.abilist: Likewise.
74145         * abilist/libc.abilist: Likewise.
74146         * abilist/libcrypt.abilist: Likewise.
74147         * abilist/libdl.abilist: Likewise.
74148         * abilist/libm.abilist: Likewise.
74149         * abilist/libnsl.abilist: Likewise.
74150         * abilist/libpthread.abilist: Likewise.
74151         * abilist/libresolv.abilist: Likewise.
74152         * abilist/librt.abilist: Likewise.
74153         * abilist/libthread_db.abilist: Likewise.
74154         * abilist/libutil.abilist: Likewise.
74155         * abilist/libnss_db.abilist: New file.
74157         * scripts/abilist.awk: Add support for indirect functions.
74159         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74161         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74163         * shlib-versions: Remove entries for ports architectures.
74165         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74166         files in ports.
74167         * elf/stackguard-macros.h: Remove support for IA-64.
74168         * elf/tst-auditmod1.c: Likewise.
74169         * sysdeps/generic/ldsodefs.h: Likewise.
74171         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74172         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74173         configure files.
74175         [BZ #13552]
74176         * configure.in: Remove --enable-omitfp support.
74177         * FAQ.in: Adjust.
74178         * config.make.in: Likewise.
74179         * Makeconfig: Likewise.
74180         * manual/install.texi: Likewise.
74182         In case anyone cares, the IA-64 architecture could move to ports.
74183         * sysdeps/ia64/*: Removed.
74184         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74185         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74187         [BZ #13555]
74188         * configure.in: Remove entries for unsupported architectures.
74190         [BZ #13533]
74191         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74192         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74193         routines.
74194         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74195         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74196         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74197         fall back to using wcrtomb.
74198         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74199         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74200         renaming.
74201         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74202         * wcsmbs/tst-c16c32-1.c: New file.
74204         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74205         local variable.
74207         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74209         * elf/tst-unique3.cc: Add explicit declaration of gets.
74210         * elf/tst-unique3lib.cc: Likewise.
74211         * elf/tst-unique3lib2.cc: Likewise.
74212         * elf/tst-unique4.cc: Likewise.
74214         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74216 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74218         [BZ #13566]
74219         * assert/assert.h (static_assert): Don't define for C++.
74220         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74221         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74223 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74225         * iconv/loop.c (single loop): Fix assertion in storing of
74226         remaining bytes.
74228         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74230 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74232         * posix/getconf.c: Update copyright year.
74233         * nss/getent.c: Likewise.
74234         * nss/makedb.c: Likewise.
74235         * iconv/iconvconfig.c: Likewise.
74236         * iconv/iconv_prog.c: Likewise.
74237         * elf/ldconfig.c: Likewise.
74238         * elf/pldd.c: Likewise.
74239         * elf/sotruss.ksh: Likewise.
74240         * catgets/gencat.c: Likewise.
74241         * csu/version.c: Likewise.
74242         * elf/ldd.bash.in: Likewise.
74243         * elf/sprof.c (print_version): Likewise.
74244         * locale/programs/locale.c: Likewise.
74245         * locale/programs/localedef.c: Likewise.
74246         * login/programs/pt_chown.c: Likewise.
74247         * nscd/nscd.c (print_version): Likewise.
74248         * debug/xtrace.sh: Likewise.
74249         * malloc/memusage.sh: Likewise.
74250         * malloc/mtrace.pl: Likewise.
74251         * debug/catchsegv.sh: Likewise.
74253 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74255         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74256         pure attribute.
74258 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74260         [BZ #13533]
74261         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74262         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74263         transformations.
74264         * iconv/gconv_int.h: Likewise.
74265         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74266         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74267         from libc for GLIBC_2.16.
74268         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74269         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74270         * wcsmbs/uchar.h: Really define mbstate_t.
74271         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74272         * wcsmbs/c16rtomb.c: New file.
74273         * wcsmbs/mbrtoc16.c: New file.
74274         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74275         for C/POSIX locale.
74276         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74277         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74279         * wcsmbs/wchar.h: Add missing __restrict.
74281 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74283         [BZ #13532]
74284         * time/Makefile (routines): Add timespec_get.
74285         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74286         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74287         timespec for ISO C11.
74288         * time/timespec_get.c: New file.
74289         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74290         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74292         [BZ #13531]
74293         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74294         * stdlib/stdlib.h: Declare aligned_alloc.
74295         * Versions.def: Add GLIBC_2.16 for libc.
74296         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74298         [BZ 13527]
74299         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74300         ISO C11.
74302         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74303         code.
74305         [BZ #13528]
74306         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74308         [BZ #13529]
74309         * assert/assert.h (static_assert): Define.
74311         * version.h: Update for 2.16 development version.
74313         [BZ #13526]
74314         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74315         _ISOC11_SOURCE.
74317         * version.h (RELEASE): Bump for 2.15 release.
74318         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74320         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74321         Patch by Marek Polacek <mpolacek@redhat.com>.
74323         * bits/byteswap.h: Protect long long constants with __extension__.
74324         * sysdeps/i386/bits/byteswap.h: Likewise.
74325         * sysdeps/ia64/bits/byteswap.h: Likewise.
74326         * sysdeps/s390/bits/byteswap.h: Likewise.
74327         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74329 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74331         [BZ #13540]
74332         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74333         destination buffer.
74334         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74336 2011-12-23  Marek Polacek  <polacek@redhat.com>
74338         * elf/dl-addr.c (determine_info): Add inline keyword.
74339         * elf/tst-auditmod4b.c (check_avx): Likewise.
74340         * elf/tst-auditmod6b.c (check_avx): Likewise.
74341         * elf/tst-auditmod6c.c (check_avx): Likewise.
74342         * elf/tst-auditmod7b.c (check_avx): Likewise.
74344 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74346         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74347         !__SSE_MATH__.
74349 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74351         [BZ #13540]
74352         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74353         processing for last bytes.
74355 2011-08-06  Bruno Haible  <bruno@clisp.org>
74357         [BZ #13061]
74358         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74359         U+0385, not to U+1FEE.
74361         [BZ #13062]
74362         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74363         entry for U+00A5 U+0301.
74365 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74367         [BZ #13166]
74368         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74369         buffer for the output is too small.
74371         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74372         optimization.
74374         [BZ #13185]
74375         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74376         SSE flags if possible.
74378 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74380         [BZ #13540]
74381         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74382         processing for last bytes.
74384 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74386         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74387         (syscall-list-default-options, syscall-list-default-condition)
74388         (syscall-list-includes): Define.
74389         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74390         list of ABIs and options and #if conditions for each ABI.  Do not
74391         handle common syscalls between ABIs specially.
74392         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74393         Remove.
74394         (syscall-list-variants, syscall-list-32bit-options)
74395         (syscall-list-32bit-condition, syscall-list-64bit-options)
74396         (syscall-list-64bit-condition): Define.
74397         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74398         (syscall-list-variants, syscall-list-32bit-options)
74399         (syscall-list-32bit-condition, syscall-list-64bit-options)
74400         (syscall-list-64bit-condition): Define.
74401         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74402         Remove.
74403         (syscall-list-variants, syscall-list-32bit-options)
74404         (syscall-list-32bit-condition, syscall-list-64bit-options)
74405         (syscall-list-64bit-condition): Define.
74406         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74407         Remove.
74408         (syscall-list-variants, syscall-list-32bit-options)
74409         (syscall-list-32bit-condition, syscall-list-64bit-options)
74410         (syscall-list-64bit-condition): Define.
74412 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74414         * locale/iso-639.def: Add brx entry.
74416         [BZ #13328]
74417         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74418         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74420         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74421         __feraiseexcept_renamed.
74423 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74425         [BZ #13538]
74426         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74427         EPOLLET with unsigned values.
74428         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74429         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74431         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74432         to large cancellation.
74433         * math/s_cacoshf.c: Likewise.
74434         * math/s_cacoshl.c: Likewise.
74436 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74438         [BZ #13305]
74439         [BZ #12786]
74440         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74441         * math/s_cacoshf.c: Likewise.
74442         * math/s_cacoshl.c: Likewise.
74444 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74446         [BZ #13439]
74447         * iconv/gconv.h: Define __GCONV_SWAP.
74448         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74449         * iconvdata/utf-16.c: Likewise.
74450         * iconvdata/utf-32.c: Likewise.
74452 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74454         [BZ #13524]
74455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74456         numerator after shifting it by one limb.
74458 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74460         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74461         under [__USE_EXTERN_INLINES].
74463 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74465         [BZ #13446]
74466         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74468 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74470         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74471         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74472         optimized code.
74473         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74475         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74476         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74477         for strncasecmp/strncasecmp_l compilation.
74478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74479         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74481 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74483         [BZ #13484]
74484         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74485         of __asm__.
74487 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74489         [BZ #13506]
74490         * time/tzfile.c (__tzfile_read): Check values from file header.
74492 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74494         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74495         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74496         * powerpc/powerpc32/dl-start.S: Likewise.
74497         * powerpc/powerpc32/elf/start.S: Likewise.
74498         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74499         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74500         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74501         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74502         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74503         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74504         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74505         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74506         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74507         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74508         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74509         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74510         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74511         * powerpc/powerpc32/memset.S: Likewise.
74512         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74513         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74514         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74515         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74516         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74517         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74518         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74519         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74520         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74521         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74522         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74523         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74524         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74526 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74528         * math/libm-test.inc: Added more nearbyint tests.
74529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74530         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74531         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74532         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74534 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74536         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74537         FD_CLOEXEC.
74539 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74541         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74542         Add wcscpy-ssse3 wcscpy-c.
74543         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74544         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74545         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74546         * sysdeps/x86_64/wcschr.S: New file.
74547         * sysdeps/x86_64/wcsrchr.S: New file.
74548         * string/test-strcmp.c: Remove checking of wcscmp function for
74549         wrong alignments.
74550         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74551         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74552         wcsrchr-sse2 wcsrchr-c.
74553         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74554         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74555         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74556         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74557         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74558         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74559         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74560         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74562         * wcsmbc/wcschr.c (WCSCHR): New macro.
74564 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74566         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74567         * wcsmbs/test-wcsrchr.c: New file.
74568         * string/test-strrchr.c: Add wcsrchr support.
74569         (WIDE): New macro.
74570         * wcsmbs/test-wcscpy.c: New file.
74571         * string/test-strcpy.c: Add wcscpy support.
74572         (WIDE): New macro.
74574 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74576         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74577         the inner loop.
74579 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74581         [BZ #13472]
74582         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74584 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74586         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74587         Minor optimizations.
74589         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74590         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74591         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74593 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74595         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74596         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74597         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74598         for gcc to avoid warnings.
74599         * inet/Makefile (tests): Add tst-checks.
74600         * inet/tst-checks.c: New file.
74602         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74603         warning.
74605         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74606         __wmemcmp_sse2.
74608         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74609         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74611         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74613 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74615         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74616         problem.
74618         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74620 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74622         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74623         conditional on GCC version.
74624         (__arch_compare_and_exchange_val_8_acq)
74625         (__arch_compare_and_exchange_val_16_acq)
74626         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74627         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74628         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74630 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74632         * sysdeps/sh/backtrace.c: New file.
74634 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74636         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74637         parenthesis.
74639 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74641         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74642         falling back to utime.
74644 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74646         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74647         expectations for float.
74649 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74651         * locale/weight.h (findidx): Add parameter len.
74652         * locale/weightwc.h (findidx): Likewise.
74653         * posix/fnmatch_loop.c (FCT): Adjust caller.
74654         * posix/regcomp.c (build_equiv_class): Likewise.
74655         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74656         * posix/regexec.c (check_node_accept_bytes): Likewise.
74657         * string/strcoll_l.c (STRCOLL): Likewise.
74658         * string/strxfrm_l.c (STRXFRM): Likewise.
74660 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74662         * Makefile.in: Remove CVSOPT handling.
74663         * configure.in: Remove use of AC_REVISION.
74664         * iconvdata/Makefile (distribute): No need to filter out CVS.
74665         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74666         handling.
74668 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74671         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74672         [USE_AS_STRNCASECMP_L]: Likewise.
74673         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74674         NO_TLS_DIRECT_SEG_REFS.
74675         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74676         Fix argument offsets for non-PIC.
74677         [USE_AS_STRNCASECMP_L]: Likewise.
74678         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74679         NO_TLS_DIRECT_SEG_REFS.
74681 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74683         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74684         O_CLOEXEC.
74685         * locale/loadlocale.c (_nl_load_locale): Likewise.
74687 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74689         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74690         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74691         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74692         (SYSCALL_GETTIME): Set errno on error.
74694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74695         count references to noai6ai_cached.
74697 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74699         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74701         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74702         FD_CLOEXEC for /proc/self/maps.
74704         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74705         FD_CLOEXEC for /proc/meminfo.
74707         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74708         gai.conf.
74710         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74711         FD_CLOEXEC for given file.
74713         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74715         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74716         FD_CLOEXEC for /etc/hosts.
74717         (_gethtent): Likewise.
74719         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74721         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74722         cancellation and set FD_CLOEXEC for /etc/netgroup.
74724         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74725         reading /etc/publickey.
74727         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74728         allow cancellation when reading /etc/group.
74730         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74731         cancellation.
74732         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74734         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74735         when using data file.
74737         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74739         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74740         (write_nis_obj): Use "c" and "e" in fopen.
74742         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74744         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74746         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74748         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74750         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74751         locale.alias.
74753         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74755         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74757         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74759         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74760         file parsing and set FD_CLOEXEC.
74762 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74764         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74766 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74768         * malloc/arena.c (arena_get2): Don't call reused_arena when
74769         _int_new_arena failed.
74771 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74773         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74774         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74775         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74776         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74777         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74778         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74779         to compile strcasecmp and strncasecmp.
74780         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74781         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74785 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74787         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74788         locale-defines.sym to gen-as-const-headers.
74789         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74790         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74792         to compile strcasecmp and strncasecmp.
74793         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74794         strcasecmp_l and strncasecmp_l.
74795         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74796         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74797         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74798         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74799         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74800         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74801         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74802         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74803         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74804         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74805         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74807 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74809         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74810         result of SYSDEP_GETTIME_CPU to retval.
74811         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74812         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74814         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74815         variable.
74817         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74818         mantissa words.
74819         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74821         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74822         from unused variable.
74824         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74825         DWARF definitions.
74826         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74827         for assembling.
74829         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74830         over namespaces.
74832         * sunrpc/rpc_prot.c (rejected): Fix case value.
74834         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74835         unsigned long long int to avoid warnings in shift.
74837         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74838         of use of trans.
74839         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74840         variable tmp.
74842         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74843         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74844         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74846         * nis/nis_table.c (nis_list): Use variable of correct type for
74847         result of __follow_path call.
74849 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74851         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74852         of math functions ceil, trunc, floor, round, and sqrt, when
74853         avaliable on the platform.
74854         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74855         name clash.
74856         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74857         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74858         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74860 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74862         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74863         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74865 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74867         * include/unistd.h: Fix __readlink return type.
74868         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74870 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74872         * stdlib/ucontext.h: Undo last change for makecontext.
74874 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74876         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74878         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74879         * setjmp/setjmp.h: Mark functions as non-leaf.
74880         * setjmp/bits/setjmp2.h: Likewise.
74881         * stdlib/ucontext.h: Likewise.
74883 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74885         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74886         (reused_arena): Don't check arena limit.
74887         (arena_get2): Atomically check arena limit.
74889 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74891         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74892         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74895         instructions.
74897 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74899         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74900         handler when locking.
74902         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74903         Fix size of allocated buffer.
74905 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74907         [BZ #10103]
74908         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74909         declarations for long double functions.
74910         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74912         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74914 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74916         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74917         installed.
74919         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74920         is disabled.
74922 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74924         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74926 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74928         * include/alloca.h (stackinfo_alloca_round): Define.
74929         (extend_alloca): Use it.
74930         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74931         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74932         here.
74934         * scripts/check-local-headers.sh: Ignore libaudit.h.
74936         * nscd/Makefile (extra-objs): Make recursively expanded.
74938 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74940         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74941         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74943         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74944         * posix/tst-rfc3484-2.c: Likewise.
74945         * posix/tst-rfc3484-3.c: Likewise.
74947         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74948         process_vm_writev.
74949         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74950         process_vm_writev.
74951         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74952         process_vm_writev from libc using GLIBC_2.15 version.
74954         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74956 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74958         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74959         stack usage.
74961 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74963         [BZ #13367]
74964         * nss/getent.c (initgroups_keys): Show error message in case no group
74965         names are given.
74967         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74968         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74969         __bump_nl_timestamp.
74970         * nscd/connections (nscd_init): When host database is served open
74971         netlink socket and request notification about configuration changes.
74972         (main_loop_poll): Track netlink file descriptor and bump timestamp
74973         in case data becomes available.
74974         (main_loop_epoll): Likewise.
74975         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74976         (database_pers_head): Add extra_data fileds.
74977         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74978         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74979         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74980         Adjust caller.
74981         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74982         in6ai data, call __free_in6ai.
74983         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74984         Add -DHAVE_NETLINK.
74985         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74986         interface information.  Reuse previous data if netlink timestamp
74987         is not changed.
74988         (__bump_nl_timestamp): New function.
74989         (__free_in6ai): New function.
74991 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74993         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74994         close_not_cancel_no_status here.
74995         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74997 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74999         [BZ #13276]
75000         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75001         return value.
75003         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75004         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75005         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75007 2011-07-03  Andreas Jaeger  <aj@suse.de>
75009         [BZ #10709]
75010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75011         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75012         * math/libm-test.inc (sin_test): Add test case.
75014 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75016         [BZ #13337]
75017         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75018         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75020         * elf/chroot_canon.c (chroot_canon): Cleanups.
75022         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75024         [BZ #13335]
75025         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75026         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75028         * string/test-strchr.c: Make usable for strchrnul testing.
75029         * string/test-strchrnul.c: New file.
75030         * string/Makefile (strop-tests): Add strchrnul.
75032         * po/it.po: Update from translation team.
75033         * po/es.po: Likewise.
75035 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75037         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75038         the three constants needed as parameters.  Drop the others.
75039         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75040         __m128i_strloadu_tolower.
75041         Create and initialize variable zero and use it in all the places
75042         where _mm_setzero_si128 was used.
75044         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75045         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75046         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75047         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75048         anymore.
75049         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75050         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75051         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75052         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75053         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75054         __mpranred, __mptan.
75055         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75056         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75057         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75058         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75059         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75060         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75061         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75062         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75063         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75065 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75067         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75068         redefine if SHARED.
75069         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75072         wide char related routines to wcsmbs subdir.
75074 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75076         [BZ #13344]
75077         * misc/sys/cdefs.h (__THROWNL): Define.
75078         * posix/unistd.h: Use __THREADNL instead of __THREAD
75079         for memory synchronization functions.
75081 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75083         [BZ #13349]
75084         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75085         doesn't exist.
75086         * manual/stdio.texi (Obstack Streams): Node removed.
75088 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75090         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75091         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75092         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75094         * math/math_private.h (math_force_eval): Allow non-addressable
75095         arguments.
75096         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75098 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75100         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75101         file is not needed.
75103         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75105         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75106         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75107         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75108         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75109         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75110         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75111         Add AVX variants.
75112         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75113         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75114         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75115         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75116         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75117         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75118         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75119         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75120         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75121         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75122         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75123         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75124         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75125         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75126         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75127         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75128         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75129         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75130         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75132         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75133         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75135         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75136         place.  Use VEX encoding when compiling for AVX.
75138 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75140         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75141         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75143         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75145 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75147         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75148         useless if() expression.
75149         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75150         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75151         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75153         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75154         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75155         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75156         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75157         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75158         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75159         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75160         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75161         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75162         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75163         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75164         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75165         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75166         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75167         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75169         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75171 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75173         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75174         condition.
75175         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75177 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75179         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75180         .text section.  Avoid duplicate constants.
75181         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75183         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75185         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75187         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75189         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75190         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75191         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75192         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75193         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75194         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75195         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75196         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75197         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75198         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75199         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75200         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75201         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75202         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75203         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75204         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75205         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75206         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75207         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75208         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75209         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75210         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75211         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75212         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75213         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75214         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75215         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75216         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75217         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75218         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75219         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75220         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75221         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75222         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75223         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75224         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75225         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75227 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75229         * sysdeps/x86_64/dla.h: Move to ...
75230         * sysdeps/x86_64/fpu/dla.h: ...here.
75231         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75232         situations.  Use __builtin_fma only for gcc 4.6 and up.
75234         * config.make.in: Add have-mfma4 entry.
75235         * configure.in: Substitute libc_cv_cc_fma4.
75236         * math/Makefile (dbl-only-routines): Add sincostab.
75237         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75238         Use __sincostab not sincos.
75239         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75240         name is a macro.
75241         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75245         using __copysign.
75246         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75247         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75248         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75249         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75250         and __inv.
75251         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75252         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75253         __copysign.
75254         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75255         define aliases when function name is a macro.
75256         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75257         sysdeps/ieee754/dbl-64/sincos.tbl.
75258         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75259         fma4-enabled routines.
75260         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75261         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75262         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75263         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75264         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75265         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75266         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75267         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75268         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75269         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75270         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75271         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75272         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75273         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75274         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75275         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75276         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75277         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75278         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75279         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75280         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75281         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75282         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75283         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75284         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75285         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75286         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75287         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75288         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75289         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75291         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75292         rename.
75293         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75298         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75299         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75300         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75302 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75304         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75306 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75308         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75310         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75311         prediction.
75312         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75314         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75315         Remove unused variable magic_bits.
75316         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75318         * string/strnlen.c: Define and use STRNLEN macro.
75319         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75320         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75322         * wcsmbs/wcslen.c: Define and use WCSLEN.
75323         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75324         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75325         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75326         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75327         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75328         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75329         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75331 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75334         strnlen-sse2-no-bsf.
75335         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75336         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75337         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75338         Add strnlen support.
75339         (USE_AS_STRNLEN): New macro.
75340         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75341         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75342         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75343         * sysdeps/x86_64/wcslen.S: New file.
75345 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75348         XMM-moves are used for copying on small sizes.
75350 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75352         * wcsmbs/Makefile (strop-tests): Add wcschr.
75353         * wcsmbs/test-wcschr.c: New file.
75354         * string/test-strchr.c: Update.
75355         Add wcschr support.
75356         (WIDE): New macro.
75358 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75360         * wcsmbs/Makefile (strop-tests): Add wcslen.
75361         * wcsmbs/test-wcslen.c: New file.
75362         * string/test-strlen.c: Update.
75363         Add wcslen support.
75364         (WIDE): New macro.
75366 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75368         * po/it.po: Update from translation team.
75370 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75372         * sysdeps/x86_64/wcscmp.S: Update.
75373         Fix wrong comparison semantics.
75374         wcscmp shall use signed comparison not unsigned.
75375         Don't use substraction to avoid overflow bug.
75376         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75377         * wcsmbc/wcscmp.c: Likewise.
75378         * string/test-strcmp.c: Likewise.
75379         Add new tests to check cases with negative values.
75381 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75383         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75384         * sysdeps/x86_64/dla.h: ...here.  New file.
75385         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75387         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75388         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75390         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75391         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75392         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75393         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75395 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75398         __ynl_finite aliases.
75400 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75404         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75405         define DLA_FMA.
75406         [DLA_FMA] (EMULV): Use DLA_FMA.
75407         [DLA_FMA] (MUL12): Use EMULV.
75408         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75409         that are not needed.
75410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75411         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75415         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75416         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75418 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75420         * math/s_nan.c: Undef __nan.
75421         * math/s_nanf.c: Undef __nanf.
75422         * math/s_nanl.c: Undef __nanl.
75423         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75424         "math_private.h".
75426 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75428         * math/s_catan.c: Add branch predictions.
75429         * math/s_catanf.c: Likewise.
75430         * math/s_catanh.c: Likewise.
75431         * math/s_catanhf.c: Likewise.
75432         * math/s_catanhl.c: Likewise.
75433         * math/s_catanl.c: Likewise.
75434         * math/s_cexp.c: Likewise.
75435         * math/s_cexpf.c: Likewise.
75436         * math/s_cexpl.c: Likewise.
75437         * math/s_clog.c: Likewise.
75438         * math/s_clog10.c: Likewise.
75439         * math/s_clog10f.c: Likewise.
75440         * math/s_clog10l.c: Likewise.
75441         * math/s_clogf.c: Likewise.
75442         * math/s_clogl.c: Likewise.
75443         * math/s_csqrt.c: Likewise.
75444         * math/s_csqrtf.c: Likewise.
75445         * math/s_csqrtl.c: Likewise.
75446         * math/s_ctanf.c: Likewise.
75447         * math/s_ctanh.c: Likewise.
75448         * math/s_ctanhf.c: Likewise.
75449         * math/s_ctanhl.c: Likewise.
75450         * math/s_ctanl.c: Likewise.
75452         * math/math_private.h: Define __nan, __nanf, __nanl.
75453         * math/s_cacosh.c: Include <math_private.h>.
75454         * math/s_cacoshl.c: Likewise.
75455         * math/s_casinh.c: Likewise.
75456         * math/s_casinhf.c: Likewise.
75457         * math/s_casinhl.c: Likewise.
75458         * math/s_ccos.c: Rely entire on ccosh.
75459         * math/s_ccosf.c: Rely entire on ccoshf.
75460         * math/s_ccosl.c: Rely entirely on ccoshl.
75461         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75462         Remove tests for FE_INVALID.
75463         * math/s_ccoshf.c: Likewise.
75464         * math/s_ccoshl.c: Likewise.
75465         * math/s_csin.c: Likewise.
75466         * math/s_csinf.c: Likewise.
75467         * math/s_csinh.c Likewise.
75468         * math/s_csinhf.c: Likewise.
75469         * math/s_csinhl.c: Likewise.
75470         * math/s_csinl.c: Likewise.
75471         * math/s_ctan.c: Likewise.
75472         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75473         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75474         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75476 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75479         compilation problems.
75481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75482         __builtin_expect.
75484 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75486         * sysdeps/i386/configure.in: Test for -mfma4 option.
75487         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75488         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75489         COMMON_CPUID_INDEX_80000001.
75490         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75491         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75492         use it if FMA3 is not supported.
75493         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75495         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75496         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75498 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75500         [BZ #12892]
75501         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75502         it would create a cycle with a link time dependency.
75504 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75506         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75507         instruction.
75508         * string/Makefile (strop-tests): Add rawmemchr.
75509         * string/test-rawmemchr.c: New file.
75511         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75513         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75514         when compiling str{,n}casecmp and when AVX is available.  Hook up
75515         new optimized code in initializers.
75517 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75519         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75520         __feraiseexcept instead of feraiseexcept.
75522 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75524         * math/math_private.h: Define defaults for libc_fetestexcept and
75525         libc_feupdateenv.
75526         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75527         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75528         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75529         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75530         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75531         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75532         libc_fetestexcept and libc_feupdateenv.
75534         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75535         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75536         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75537         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75538         libc_feholdexcept_setround.
75540         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75541         Add s_nearbyint-c and s_nearbyintf-c.
75542         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75543         nearbyintf inlines.
75544         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75545         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75546         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75547         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75549         * math/math_private.h: Define defaults for libc_fegetround,
75550         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75551         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75552         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75553         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75554         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75555         standard functions.
75556         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75557         Remove comments and hacks for old compiler versions.
75558         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75559         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75560         libc_feholdexceptl.
75562 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75564         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75565         (__feraiseexcept_renamed): Add __NTH.
75566         (feraiseexcept): Add __NTH.  Rename local variables to fix
75567         namespace violations.
75569 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75571         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75573         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75575         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75576         recently added interfaces.
75577         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75579         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75580         about macro parameter expansion.
75582         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75583         __NO_MATH_INLINES is defined.  Cleanups.
75585         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75586         and __floorf is target has SSE4.1.
75587         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75588         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75589         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75590         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75592         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75593         name.
75594         (floorf): Likewise.
75596         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75598 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75600         * misc/sys/cdefs.h: Fix last change.
75602         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75603         database lookup.
75605 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75607         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75609         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75610         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75611         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75612         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75613         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75614         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75615         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75616         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75617         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75618         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75619         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75620         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75621         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75622         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75623         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75624         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75625         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75626         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75627         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75628         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75629         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75630         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75632         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75633         ceil, ceilf, floor, floorf.
75635         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75636         Perform IRELATIVE relocations last.
75638         * elf/do-rel.h: Add another parameter nrelative, replacing the
75639         local variable with the same name.  Change name of the function
75640         to end in Rel or Rela (uppercase).
75641         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75642         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75643         elf_dynamic_do_##reloc function.
75645 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75647         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75648         is sufficient, at least on modern CPUs.
75650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75652         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75653         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75655         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75656         __expl_finite.
75657         * math/bits/math-finite.h: Add entries for exp.
75658         * math/e_expl.c: Add __*_finite alias.
75659         * sysdeps/i386/fpu/e_exp.S: Likewise.
75660         * sysdeps/i386/fpu/e_expf.S: Likewise.
75661         * sysdeps/i386/fpu/e_expl.c: Likewise.
75662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75663         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75664         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75666         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75667         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75668         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75670         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75671         is sufficient, at least on modern CPUs.
75673         * ctype/ctype-info.c (__ctype_init): Define.
75674         * include/ctype.h (__ctype_init): Declare.
75675         (__ctype_b_loc): The variable is always initialized.
75676         (__ctype_toupper_loc): Likewise.
75677         (__ctype_tolower_loc): Likewise.
75678         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75679         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75681 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75683         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75685         * configure.in: Also look in $cxxmachine/include for C++ system
75686         headers.
75688 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75690         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75691         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75692         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75693         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75694         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75695         (USE_AS_WMEMCMP): New macro.
75696         Fixing indents.
75697         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75698         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75699         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75700         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75701         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75702         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75703         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75704         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75705         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75706         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75707         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75708         (USE_AS_WMEMCMP): New macro.
75709         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75710         * sysdeps/string/test-memcmp.c: Update.
75711         Fix simple_wmemcmp.
75712         Add new tests.
75713         * wcsmbs/wmemcmp.c: Update.
75714         (WMEMCMP): New macro.
75715         Fix overflow bug.
75717 2011-10-12  Andreas Jaeger  <aj@suse.de>
75719         [BZ #13268]
75720         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75722 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75724         * libio/iofwide.c (do_length): Avoid warning.
75726         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75728 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75730         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75732         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75733         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75734         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75735         * sysdeps/i386/i686/fpu/e_log.S: New file.
75736         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75737         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75739         * ctype/ctype.h: Add support for inlined isXXX functions when
75740         compiling C++ code.
75742 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75744         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75746         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75748 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75750         [BZ #13291]
75751         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75753 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75755         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75756         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75757         feraiseexcept.
75759         * sysdeps/x86_64/memrchr.S: Check for zero size.
75761         * string/stratcliff.c: Add memrchr tests.
75763 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75766         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75767         rawmemchr-sse2 rawmemchr-sse2-bsf.
75768         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75769         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75770         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75771         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75772         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75773         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75774         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75775         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75776         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75777         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75778         * string/memrchr.c (MEMRCHR): New macro.
75780 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75782         Add integration with gcc's -ffinite-math-only and optimize wrapper
75783         functions in libm.
75784         * Versions.def: Define GLIBC_2.15 version for libm.
75785         * math/Makefile (headers): Add bits/math-finite.h.
75786         * math/bits/math-finite.h: New file.
75787         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75788         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75789         * math/e_acoshl.c: Add __*_finite alias.
75790         * math/e_acosl.c: Likewise.
75791         * math/e_asinl.c: Likewise.
75792         * math/e_atan2l.c: Likewise.
75793         * math/e_atanhl.c: Likewise.
75794         * math/e_coshl.c: Likewise.
75795         * math/e_exp10.c: Likewise.
75796         * math/e_exp10f.c: Likewise.
75797         * math/e_exp10l.c: Likewise.
75798         * math/e_exp2l.c: Likewise.
75799         * math/e_fmodl.c: Likewise.
75800         * math/e_gammal_r.c: Likewise.
75801         * math/e_hypotl.c: Likewise.
75802         * math/e_j0l.c: Likewise.
75803         * math/e_j1l.c: Likewise.
75804         * math/e_jnl.c: Likewise.
75805         * math/e_lgammal_r.c: Likewise.
75806         * math/e_log10l.c: Likewise.
75807         * math/e_log2l.c: Likewise.
75808         * math/e_logl.c: Likewise.
75809         * math/e_powl.c: Likewise.
75810         * math/e_sinhl.c: Likewise.
75811         * math/e_sqrtl.c: Likewise.
75812         * math/e_scalb.c: Completely rewritten and optimized.
75813         * math/e_scalbf.c: Likewise.
75814         * math/e_scalbl.c: Likewise.
75815         * math/w_acos.c: Likewise.
75816         * math/w_acosf.c: Likewise.
75817         * math/w_acosl.c: Likewise.
75818         * math/w_acosh.c: Likewise.
75819         * math/w_acoshf.c: Likewise.
75820         * math/w_acoshl.c: Likewise.
75821         * math/w_asin.c: Likewise.
75822         * math/w_asinf.c: Likewise.
75823         * math/w_asinl.c: Likewise.
75824         * math/w_atan2.c: Likewise.
75825         * math/w_atan2f.c: Likewise.
75826         * math/w_atan2l.c: Likewise.
75827         * math/w_atanh.c: Likewise.
75828         * math/w_atanhf.c: Likewise.
75829         * math/w_atanhl.c: Likewise.
75830         * math/w_exp10.c: Likewise.
75831         * math/w_exp10f.c: Likewise.
75832         * math/w_exp10l.c: Likewise.
75833         * math/w_fmod.c: Likewise.
75834         * math/w_fmodf.c: Likewise.
75835         * math/w_fmodl.c: Likewise.
75836         * math/w_j0.c: Likewise.
75837         * math/w_j0f.c: Likewise.
75838         * math/w_j0l.c: Likewise.
75839         * math/w_j1.c: Likewise.
75840         * math/w_j1f.c: Likewise.
75841         * math/w_j1l.c: Likewise.
75842         * math/w_jn.c: Likewise.
75843         * math/w_jnf.c: Likewise.
75844         * math/w_log.c: Likewise.
75845         * math/w_logf.c: Likewise.
75846         * math/w_logl.c: Likewise.
75847         * math/w_log10.c: Likewise.
75848         * math/w_log10f.c: Likewise.
75849         * math/w_log10l.c: Likewise.
75850         * math/w_log2.c: Likewise.
75851         * math/w_log2f.c: Likewise.
75852         * math/w_log2l.c: Likewise.
75853         * math/w_pow.c: Likewise.
75854         * math/w_powf.c: Likewise.
75855         * math/w_powl.c: Likewise.
75856         * math/w_remainder.c: Likewise.
75857         * math/w_remainderf.c: Likewise.
75858         * math/w_remainderl.c: Likewise.
75859         * math/w_scalb.c: Likewise.
75860         * math/w_scalbf.c: Likewise.
75861         * math/w_scalbl.c: Likewise.
75862         * math/w_sqrt.c: Likewise.
75863         * math/w_sqrtf.c: Likewise.
75864         * math/w_sqrtl.c: Likewise.
75865         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75866         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75867         used.
75868         * math/math_private.h: Declare __kernel_standard_f.
75869         * math/w_cosh.c: Remove cruft and optimize a bit.
75870         * math/w_coshf.c: Likewise.
75871         * math/w_coshl.c: Likewise.
75872         * math/w_exp2.c: Likewise.
75873         * math/w_exp2f.c: Likewise.
75874         * math/w_exp2l.c: Likewise.
75875         * math/w_hypot.c: Likewise.
75876         * math/w_hypotf.c: Likewise.
75877         * math/w_hypotl.c: Likewise.
75878         * math/w_lgamma.c: Likewise.
75879         * math/w_lgamma_r.c: Likewise.
75880         * math/w_lgammaf.c: Likewise.
75881         * math/w_lgammaf_r.c: Likewise.
75882         * math/w_lgammal.c: Likewise.
75883         * math/w_lgammal_r.c: Likewise.
75884         * math/w_sinh.c: Likewise.
75885         * math/w_sinhf.c: Likewise.
75886         * math/w_sinhl.c: Likewise.
75887         * math/w_tgamma.c: Likewise.
75888         * math/w_tgammaf.c: Likewise.
75889         * math/w_tgammal.c: Likewise.
75890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75892         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75893         Minor optimizations.  Pretty printing.  Remove cruft.
75894         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75895         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75896         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75897         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75898         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75899         * sysdeps/i386/fpu/e_asin.S: Likewise.
75900         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75901         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75902         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75903         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75904         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75905         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75906         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75907         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75908         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75909         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75910         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75911         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75912         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75913         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75914         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75915         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75916         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75917         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75918         * sysdeps/i386/fpu/e_log.S: Likewise.
75919         * sysdeps/i386/fpu/e_log10.S: Likewise.
75920         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75921         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75922         * sysdeps/i386/fpu/e_log2.S: Likewise.
75923         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75925         * sysdeps/i386/fpu/e_logf.S: Likewise.
75926         * sysdeps/i386/fpu/e_logl.S: Likewise.
75927         * sysdeps/i386/fpu/e_pow.S: Likewise.
75928         * sysdeps/i386/fpu/e_powf.S: Likewise.
75929         * sysdeps/i386/fpu/e_powl.S: Likewise.
75930         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75931         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75932         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75933         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75934         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75935         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75936         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75937         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75938         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75939         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75940         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75942         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75943         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75944         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75945         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75946         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75947         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75948         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75949         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75950         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75951         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75952         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75953         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75954         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75955         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75956         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75957         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75958         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75959         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75960         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75961         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75962         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75963         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75964         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75965         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75966         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75967         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75968         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75969         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75970         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75971         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75972         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75973         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75974         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75975         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75976         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75977         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75978         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75979         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75980         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75981         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75982         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75983         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75984         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75985         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75986         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75987         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75988         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75989         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75990         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75991         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75992         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75993         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75994         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75995         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75996         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75997         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75998         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75999         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76000         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76003         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76004         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76006         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76007         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76008         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76010         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76011         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76012         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76013         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76014         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76015         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76016         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76017         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76018         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76019         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76020         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76021         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76022         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76023         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76024         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76025         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76026         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76027         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76028         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76029         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76030         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76031         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76032         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76033         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76034         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76035         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76036         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76037         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76038         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76039         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76040         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76041         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76042         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76043         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76044         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76045         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76046         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76047         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76048         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76049         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76050         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76051         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76052         (__isnanf): Likewise.
76053         (__isinf_ns): Likewise.
76054         (__isinf_nsf): Likewise.
76055         (__finite): Likewise.
76056         (__finitef): Likewise.
76057         (__ieee754_sqrt): Define as macro.
76058         (__ieee754_sqrtf): Define as macro.
76059         (__ieee754_sqrtl): Define as macro.
76060         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76061         inlined copy.
76062         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76063         __FINITE_MATH_ONLY__ consistent.
76064         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76066 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76068         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76069         of rawmemchr.
76071         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76073 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76075         * po/ja.po: Update from translation team.
76077 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76079         * locale/programs/locarchive.c (prepare_address_space): New function.
76080         (create_archive, enlarge_archive, open_archive): Use it.
76082         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76083         inside [SHARED], where it is used.
76085         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76087         * nss/getent.c (netgroup_keys): Remove unused variable.
76088         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76090 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76092         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76093         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76094         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76095         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76096         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76097         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76098         * math/Makefile (libm-calls): Add s_isinf_ns.
76099         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76100         * math/multc3.c: Likewise.
76101         * math/s_casin.c: Likewise.
76102         * math/s_casinf.c: Likewise.
76103         * math/s_casinl.c: Likewise.
76104         * math/s_ccos.c: Likewise.
76105         * math/s_ccosf.c: Likewise.
76106         * math/s_ccosl.c: Likewise.
76107         * math/s_ctan.c: Likewise.
76108         * math/s_ctanf.c: Likewise.
76109         * math/s_ctanh.c: Likewise.
76110         * math/s_ctanhf.c: Likewise.
76111         * math/s_ctanhl.c: Likewise.
76112         * math/s_ctanl.c: Likewise.
76113         * math/w_fmod.c: Likewise.
76114         * math/w_fmodf.c: Likewise.
76115         * math/w_fmodl.c: Likewise.
76116         * math/w_remainder.c: Likewise.
76117         * math/w_remainderf.c: Likewise.
76118         * math/w_remainderl.c: Likewise.
76119         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76120         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76121         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76123         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76124         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76125         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76126         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76128         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76129         of the number.
76130         * stdio-common/printf_fphex.c: Likewise.
76131         * stdio-common/printf_size.c: Likewise.
76133         * math/e_exp10.c: Include math_private.h using <...> not "...".
76134         * math/e_exp10f.c: Likewise.
76135         * math/e_exp10l.c: Likewise.
76136         * math/e_exp2l.c: Likewise.
76137         * math/e_j0l.c: Likewise.
76138         * math/e_j1l.c: Likewise.
76139         * math/e_jnl.c: Likewise.
76140         * math/e_lgammal_r.c: Likewise.
76141         * math/e_rem_pio2l.c: Likewise.
76142         * math/e_scalb.c: Likewise.
76143         * math/e_scalbf.c: Likewise.
76144         * math/e_scalbl.c: Likewise.
76145         * math/k_cosl.c: Likewise.
76146         * math/k_sinl.c: Likewise.
76147         * math/k_tanl.c: Likewise.
76148         * math/s_cacoshf.c: Likewise.
76149         * math/s_catan.c: Likewise.
76150         * math/s_catanf.c: Likewise.
76151         * math/s_catanh.c: Likewise.
76152         * math/s_catanhf.c: Likewise.
76153         * math/s_catanhl.c: Likewise.
76154         * math/s_catanl.c: Likewise.
76155         * math/s_ccosh.c: Likewise.
76156         * math/s_ccoshf.c: Likewise.
76157         * math/s_ccoshl.c: Likewise.
76158         * math/s_cexp.c: Likewise.
76159         * math/s_cexpf.c: Likewise.
76160         * math/s_cexpl.c: Likewise.
76161         * math/s_clog.c: Likewise.
76162         * math/s_clog10.c: Likewise.
76163         * math/s_clog10f.c: Likewise.
76164         * math/s_clog10l.c: Likewise.
76165         * math/s_clogf.c: Likewise.
76166         * math/s_clogl.c: Likewise.
76167         * math/s_csin.c: Likewise.
76168         * math/s_csinf.c: Likewise.
76169         * math/s_csinh.c: Likewise.
76170         * math/s_csinhf.c: Likewise.
76171         * math/s_csinhl.c: Likewise.
76172         * math/s_csinl.c: Likewise.
76173         * math/s_csqrt.c: Likewise.
76174         * math/s_csqrtf.c: Likewise.
76175         * math/s_csqrtl.c: Likewise.
76176         * math/s_ctan.c: Likewise.
76177         * math/s_ctanf.c: Likewise.
76178         * math/s_ctanh.c: Likewise.
76179         * math/s_ctanhf.c: Likewise.
76180         * math/s_ctanhl.c: Likewise.
76181         * math/s_ctanl.c: Likewise.
76182         * math/s_ldexp.c: Likewise.
76183         * math/s_ldexpf.c: Likewise.
76184         * math/s_ldexpl.c: Likewise.
76185         * math/s_significand.c: Likewise.
76186         * math/s_significandf.c: Likewise.
76187         * math/s_significandl.c: Likewise.
76188         * math/w_acos.c: Likewise.
76189         * math/w_acosf.c: Likewise.
76190         * math/w_acosh.c: Likewise.
76191         * math/w_acoshf.c: Likewise.
76192         * math/w_acoshl.c: Likewise.
76193         * math/w_acosl.c: Likewise.
76194         * math/w_asin.c: Likewise.
76195         * math/w_asinf.c: Likewise.
76196         * math/w_asinl.c: Likewise.
76197         * math/w_atan2.c: Likewise.
76198         * math/w_atan2f.c: Likewise.
76199         * math/w_atan2l.c: Likewise.
76200         * math/w_atanh.c: Likewise.
76201         * math/w_atanhf.c: Likewise.
76202         * math/w_atanhl.c: Likewise.
76203         * math/w_cosh.c: Likewise.
76204         * math/w_coshf.c: Likewise.
76205         * math/w_coshl.c: Likewise.
76206         * math/w_dremf.c: Likewise.
76207         * math/w_exp10.c: Likewise.
76208         * math/w_exp10f.c: Likewise.
76209         * math/w_exp10l.c: Likewise.
76210         * math/w_exp2.c: Likewise.
76211         * math/w_exp2f.c: Likewise.
76212         * math/w_fmod.c: Likewise.
76213         * math/w_fmodf.c: Likewise.
76214         * math/w_fmodl.c: Likewise.
76215         * math/w_hypot.c: Likewise.
76216         * math/w_hypotf.c: Likewise.
76217         * math/w_hypotl.c: Likewise.
76218         * math/w_j0.c: Likewise.
76219         * math/w_j0f.c: Likewise.
76220         * math/w_j0l.c: Likewise.
76221         * math/w_j1.c: Likewise.
76222         * math/w_j1f.c: Likewise.
76223         * math/w_j1l.c: Likewise.
76224         * math/w_jn.c: Likewise.
76225         * math/w_jnf.c: Likewise.
76226         * math/w_jnl.c: Likewise.
76227         * math/w_lgamma.c: Likewise.
76228         * math/w_lgamma_r.c: Likewise.
76229         * math/w_lgammaf.c: Likewise.
76230         * math/w_lgammaf_r.c: Likewise.
76231         * math/w_lgammal.c: Likewise.
76232         * math/w_lgammal_r.c: Likewise.
76233         * math/w_log.c: Likewise.
76234         * math/w_log10.c: Likewise.
76235         * math/w_log10f.c: Likewise.
76236         * math/w_log10l.c: Likewise.
76237         * math/w_log2.c: Likewise.
76238         * math/w_log2f.c: Likewise.
76239         * math/w_log2l.c: Likewise.
76240         * math/w_logf.c: Likewise.
76241         * math/w_logl.c: Likewise.
76242         * math/w_pow.c: Likewise.
76243         * math/w_powf.c: Likewise.
76244         * math/w_powl.c: Likewise.
76245         * math/w_remainder.c: Likewise.
76246         * math/w_remainderf.c: Likewise.
76247         * math/w_remainderl.c: Likewise.
76248         * math/w_scalb.c: Likewise.
76249         * math/w_scalbf.c: Likewise.
76250         * math/w_scalbl.c: Likewise.
76251         * math/w_sinh.c: Likewise.
76252         * math/w_sinhf.c: Likewise.
76253         * math/w_sinhl.c: Likewise.
76254         * math/w_sqrt.c: Likewise.
76255         * math/w_sqrtf.c: Likewise.
76256         * math/w_sqrtl.c: Likewise.
76257         * math/w_tgamma.c: Likewise.
76258         * math/w_tgammaf.c: Likewise.
76259         * math/w_tgammal.c: Likewise.
76261         * po/ja.po: Update from translation team.
76263 2011-09-29  Andreas Jaeger  <aj@suse.de>
76265         [BZ #13179]
76266         * sunrpc/netname.c (netname2host): Fix logic.
76268         [BZ #6779]
76269         [BZ #6783]
76270         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76271         correctly.
76272         * math/w_remainder.c (__remainder): Likewise.
76273         * math/w_remainderf.c (__remainderf): Likewise.
76274         * math/libm-test.inc (remainder_test): Add test cases.
76276 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76278         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76279         sdiv_qrnnd.
76281 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76283         * string/test-memcmp.c: Avoid unncessary #defines.
76284         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76286 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76288         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76289         Use new sse2 version for core i3 - i7 as it's faster
76290         than sse42 version.
76291         (bit_Prefer_PMINUB_for_stringop): New.
76292         * sysdeps/x86_64/rawmemchr.S: Update.
76293         Replace with faster SSE2 version.
76294         * sysdeps/x86_64/memrchr.S: New file.
76295         * sysdeps/x86_64/memchr.S: Update.
76296         Replace with faster SSE2 version.
76298 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76300         * elf/dl-load.c (lose): Add cast to avoid warning.
76302 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76304         * po/ca.po: Update from translation team.
76306         * inet/getnetgrent_r.c: Hook up nscd.
76307         * nscd/Makefile (routines): Add nscd_netgroup.
76308         (nscd-modules): Add netgroupcache.
76309         (CFLAGS-netgroupcache.c): Define.
76310         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76311         (cache_search): Add const to second parameter.
76312         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76313         INNETGR.
76314         (dbs): Add netgrdb entry.
76315         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76316         (verify_persistent_db): Handle netgrdb.
76317         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76318         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76319         GETFDNETGR.
76320         (netgroup_response_header): Define.
76321         (innetgroup_response_header): Define.
76322         (datahead): Add netgroup_response_header and innetgroup_response_header
76323         elements.
76324         * nscd/nscd.conf: Add entries for netgroup cache.
76325         * nscd/nscd.h (dbtype): Add netgrdb.
76326         (_PATH_NSCD_NETGROUP_DB): Define.
76327         (netgroup_iov_disabled): Declare.
76328         (xmalloc, xcalloc, xrealloc): Move declarations here.
76329         (cache_search): Adjust prototype.
76330         Add netgroup-related prototypes.
76331         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76332         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76333         (__nscd_innetgr): Declare.
76334         * nscd/selinux.c (perms): Use access_vector_t as element type and
76335         add netgroup-related initializers.
76336         * nscd/netgroupcache.c: New file.
76337         * nscd/nscd_netgroup.c: New file.
76338         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76339         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76340         For four parameters use innetgr.
76341         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76342         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76343         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76344         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76346         * nscd/connections.c (register_traced_file): Don't register file
76347         for disabled databases.
76349 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76351         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76353         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76354         from tree and freeing node.
76356 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76358         * nss/nsswitch.c (__nss_database_lookup): Handle
76359         nss_parse_service_list out of memory case.
76361 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76363         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76364         out of memory case.
76366 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76368         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76369         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76370         pass it down.
76371         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76372         elf_machine_rela, elf_machine_lazy_rel.
76373         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76374         (ELF_DYNAMIC_DO_REL): Likewise.
76375         (ELF_DYNAMIC_DO_RELA): Likewise.
76376         (ELF_DYNAMIC_RELOCATE): Likewise.
76377         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76378         to ELF_DYNAMIC_DO_REL.
76379         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76380         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76381         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76382         elf_machine_rela.
76383         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76384         skip_ifunc, don't call ifunc function if non-zero.
76385         (elf_machine_rela): Likewise.
76386         (elf_machine_lazy_rel): Likewise.
76387         (elf_machine_lazy_rela): Likewise.
76388         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76389         (elf_machine_lazy_rel): Likewise.
76390         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76391         Likewise.
76392         (elf_machine_lazy_rel): Likewise.
76393         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76394         Likewise.
76395         (elf_machine_lazy_rel): Likewise.
76396         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76397         (elf_machine_lazy_rel): Likewise.
76398         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76399         (elf_machine_lazy_rel): Likewise.
76400         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76401         (elf_machine_lazy_rel): Likewise.
76402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76403         (elf_machine_lazy_rel): Likewise.
76404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76405         (elf_machine_lazy_rel): Likewise.
76406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76407         (elf_machine_lazy_rel): Likewise.
76409 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76411         * nss/nss_files/files-init.c (_nss_files_init): Use static
76412         initialization for all the *_traced_file variables.
76414 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76416         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76418 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76420         [BZ #13226]
76421         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76423 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76425         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76426         Reread the line before reparsing it.
76428 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76430         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76432 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76433             Maxim Kuvyrkov  <maxim@codesourcery.com>
76434             Joseph Myers  <joseph@codesourcery.com>
76436         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76437         if needed for __stack_chk_guard.
76439 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76441         * sysdeps/posix/spawni.c (script_execute): Always define it.
76442         It will be optimized away if unused.
76443         (maybe_script_execute): New function.
76444         (__spawni): Call it.
76446         * Makerules: Don't include tls.make.
76447         (config-tls): Always set to thread.
76448         * tls.make.c: File removed.
76450 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76452         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76453         * config.make.in (CPPFLAGS-config): New substituted variable.
76455 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76457         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76459         [BZ #13192]
76460         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76461         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76463 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76465         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76466         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76468         (CALL_FAIL): Likewise.
76469         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76470         (CALL_FAIL): Macro removed.
76471         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76473 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76475         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76476         for __FINITE_MATH_ONLY__ == 1.
76478 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76480         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76481         __ieee754_sqrt instead of sqrt.
76482         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76483         __ieee754_sqrtf instead of sqrtf.
76484         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76485         __floorf instead of floorf.
76486         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76487         __floorf, __truncf instead of floorf, truncf.
76489 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76491         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76493         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76494         __extern_always_inline.
76495         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76496         32-bit.
76498 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76500         * elf/rtld.c (dl_main): Also relocate in dependency order when
76501         doing symbol dependency testing.
76503 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76505         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76506         Always define `refsym'.
76508 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76510         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76511         (__FD_ELT): Renamed from __FDELT.
76512         * misc/bits/select2.h (__FD_ELT): Likewise.
76513         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76514         __FD_MASK instead of __FDELT, __FDMASK.
76515         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76516         Likewise.
76517         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76518         Likewise.
76520         * elf/Makefile (gen-ldd): Fix pattern.
76522         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76523         (init_tls): Likewise.
76525 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76527         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76529 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76531         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76532         `struct cmsghdr *' instead of `void *'.
76533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76534         Likewise.
76536 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76538         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76539         if non-absolute.
76540         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76541         ldd_rewrite_script.
76543 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76545         * configure.in: Remove --with-tls option.
76546         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76547         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76548         out in case it is missing.
76549         * sysdeps/ia64/elf/configure.in: Likewise.
76550         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76551         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76552         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76553         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76554         * sysdeps/sh/elf/configure.in: Likewise.
76555         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76556         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76557         * sysdeps/x86_64/elf/configure.in: Likewise.
76558         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76559         * sysdeps/mach/hurd/tls.h: Likewise.
76561         [BZ #13067]
76562         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76564         [BZ #13090]
76565         * configure.in: Fix use of AC_INIT.
76567         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76569 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76571         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76572         __set_errno.
76573         * malloc/hooks.c: Likewise.
76575         [BZ #11929]
76576         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76577         variables statically.
76578         (narenas): Initialize.
76579         (list_lock): Initialize.
76580         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76581         initializtion of main_arena and list_lock.  Small cleanups.
76582         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76583         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76584         Add initializers to main_arena and mp_.
76585         (malloc_state): Remove pagesize member.  Change all users to use
76586         GLRO(dl_pagesize).
76588         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76589         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76590         is always initialized.
76592         * malloc/malloc.c: Removed unused configurations and dead code.
76593         * malloc/arena.c: Likewise.
76594         * malloc/hooks.c: Likewise.
76595         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76597         * include/tls.h: Removed.  USE___THREAD must always be defined.
76598         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76599         * elf/dl-libc.c: Likewise.
76600         * elf/dl-tsd.c: Likewise.
76601         * include/errno.h: Likewise.
76602         * include/netdb.h: Likewise.
76603         * include/resolv.h: Likewise.
76604         * inet/herrno-loc.c: Likewise.
76605         * inet/herrno.c: Likewise.
76606         * malloc/arena.c: Likewise.
76607         * malloc/hooks.c: Likewise.
76608         * malloc/malloc.c: Likewise.
76609         * resolv/res-state.c: Likewise.
76610         * resolv/res_libc.c: Likewise.
76611         * sysdeps/i386/dl-machine.h: Likewise.
76612         * sysdeps/ia64/dl-machine.h: Likewise.
76613         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76614         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76615         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76616         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76617         * sysdeps/sh/dl-machine.h: Likewise.
76618         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76619         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76620         * sysdeps/unix/i386/sysdep.S: Likewise.
76621         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76622         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76623         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76627         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76629         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76631         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76632         * sysdeps/x86_64/dl-machine.h: Likewise.
76633         * tls.make.c: Likewise.
76635         * configure.in: Remove --with-__thread option.  Make tests for
76636         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76637         tls_model attribute fail if no support is available.  Remove
76638         USE_IN_LIBIO.
76639         * Makeconfig: Adjust for dropped configure option.  All features are
76640         now mandatory.
76641         * Makerules: Likewise.
76642         * Versions.def: Likewise.
76643         * argp/argp-fmtstream.c: Likewise.
76644         * argp/argp-fmtstream.h: Likewise.
76645         * argp/argp-help.c: Likewise.
76646         * assert/assert.c: Likewise.
76647         * config.h.in: Likewise.
76648         * config.make.in: Likewise.
76649         * configure: Likewise.
76650         * configure.in: Likewise.
76651         * csu/Versions: Likewise.
76652         * csu/init.c: Likewise.
76653         * elf/tst-audit2.c: Likewise.
76654         * elf/tst-tls10.c: Likewise.
76655         * elf/tst-tls10.h: Likewise.
76656         * elf/tst-tls11.c: Likewise.
76657         * elf/tst-tls12.c: Likewise.
76658         * elf/tst-tls14.c: Likewise.
76659         * elf/tst-tlsmod11.c: Likewise.
76660         * elf/tst-tlsmod12.c: Likewise.
76661         * elf/tst-tlsmod13.c: Likewise.
76662         * elf/tst-tlsmod13a.c: Likewise.
76663         * elf/tst-tlsmod14a.c: Likewise.
76664         * elf/tst-tlsmod15b.c: Likewise.
76665         * elf/tst-tlsmod16a.c: Likewise.
76666         * elf/tst-tlsmod16b.c: Likewise.
76667         * elf/tst-tlsmod7.c: Likewise.
76668         * elf/tst-tlsmod8.c: Likewise.
76669         * elf/tst-tlsmod9.c: Likewise.
76670         * gmon/gmon.c: Likewise.
76671         * grp/fgetgrent_r.c: Likewise.
76672         * grp/putgrent.c: Likewise.
76673         * hurd/fopenport.c: Likewise.
76674         * include/libc-symbols.h: Likewise.
76675         * include/tls.h: Likewise.
76676         * intl/gettextP.h: Likewise.
76677         * intl/loadinfo.h: Likewise.
76678         * locale/global-locale.c: Likewise.
76679         * locale/localeinfo.h: Likewise.
76680         * mach/devstream.c: Likewise.
76681         * malloc/arena.c: Likewise.
76682         * malloc/set-freeres.c: Likewise.
76683         * misc/err.c: Likewise.
76684         * misc/getttyent.c: Likewise.
76685         * misc/mntent_r.c: Likewise.
76686         * posix/getopt.c: Likewise.
76687         * posix/wordexp.c: Likewise.
76688         * pwd/fgetpwent_r.c: Likewise.
76689         * resolv/Versions: Likewise.
76690         * resolv/res_hconf.c: Likewise.
76691         * shadow/fgetspent_r.c: Likewise.
76692         * shadow/putspent.c: Likewise.
76693         * stdio-common/printf_fphex.c: Likewise.
76694         * stdio-common/tmpfile.c: Likewise.
76695         * stdlib/abort.c: Likewise.
76696         * stdlib/fmtmsg.c: Likewise.
76697         * sunrpc/auth_unix.c: Likewise.
76698         * sunrpc/clnt_perr.c: Likewise.
76699         * sunrpc/clnt_tcp.c: Likewise.
76700         * sunrpc/clnt_udp.c: Likewise.
76701         * sunrpc/clnt_unix.c: Likewise.
76702         * sunrpc/openchild.c: Likewise.
76703         * sunrpc/svc_simple.c: Likewise.
76704         * sunrpc/svc_tcp.c: Likewise.
76705         * sunrpc/svc_udp.c: Likewise.
76706         * sunrpc/svc_unix.c: Likewise.
76707         * sunrpc/xdr.c: Likewise.
76708         * sunrpc/xdr_array.c: Likewise.
76709         * sunrpc/xdr_rec.c: Likewise.
76710         * sunrpc/xdr_ref.c: Likewise.
76711         * sunrpc/xdr_stdio.c: Likewise.
76713 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76715         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76717 2011-07-03  Andreas Jaeger  <aj@suse.de>
76719         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76720         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76721         regenerate with gen-libm-tests.pl.
76723 2010-05-12  Petr Baudis  <pasky@suse.cz>
76725         [BZ #11589]
76726         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76727         around j0() zero points by switching to j1().
76728         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76729         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76731         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76733 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76735         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76736         instead of 0.
76737         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76738         instead of 0.
76739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76740         Patch in part by Pavel Roskin <proski@gnu.org>.
76742         [BZ #13138]
76743         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76744         realloc.
76745         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76746         Free memory block if necessary.
76748         [BZ #12847]
76749         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76750         be NULL.  Don't lock in this case.
76752 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76754         * elf/elf.h (ELFOSABI_GNU): New macro.
76755         (ELFOSABI_LINUX): Define to that.
76757 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76759         * string/strncat.c (strncat): Undef the symbol in case it has been
76760         defined in bits/string.h.
76762 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76764         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76766         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76767         link map.
76769 2011-08-17  Andreas Jaeger  <aj@suse.de>
76771         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76773 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76774             Ian Lance Taylor  <iant@google.com>
76776         * math/libm-test.inc (lround_test): New testcase.
76777         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76779 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76781         * Makefile: Remove support for automatic cvs check-ins.
76782         * Makerules: Likewise.
76783         * config.make.in: Likewise.
76784         * configure.in: Likewise.
76785         * intl/Makefile: Likewise.
76786         * locale/Makefile: Likewise.
76787         * po/Makefile: Likewise.
76788         * posix/Makefile: Likewise.
76789         * sysdeps/gnu/Makefile: Likewise.
76790         * sysdeps/mach/hurd/Makefile: Likewise.
76791         * sysdeps/sparc/sparc32/Makefile: Likewise.
76793         [BZ #13118]
76794         * posix/Makefile (bug-regex32-ENV): Define.
76795         Patch by John Stanley <jpsinthemix@verizon.net>.
76797         * misc/Makefile (headers): Add bits/select2.h.
76798         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76799         * misc/bits/select2.h: New file.
76800         * include/bits/select2.h: New file.
76801         * debug/Makefile (routines): Add fdelt_chk.
76802         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76803         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76804         FD_ISSET.
76805         * debug/fdelt_chk.c: New file.
76807         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76808         * wcsmbs/test-wmemcmp.c: Likewise.
76809         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76810         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76812 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76814         * string/Makefile (strop-tests): Add memcmp.
76815         * string/test-wmemcmp.c: New file.
76816         * string/test-memcmp.c: Add wmemcmp support.
76818 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76820         [BZ #13153]
76821         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76822         2011-07-19 change.
76824         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76825         garbage value in a __mach_port_mod_refs call in the cases of the
76826         task-self and thread-self ports.
76828 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76830         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76832 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76834         * elf/dl-load.c (lose): Check for non-null L.
76836 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76838         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76840         * elf/dl-libc.c (dlerror_run): Pass back error code from
76841         dl_catch_error.
76843         [BZ #13123]
76844         * elf/dl-load.c (lose): Free l_origin if it is valid.
76846         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76847         names.
76848         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76849         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76850         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76851         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76852         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76853         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76855 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76857         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76858         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76859         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76860         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76861         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76862         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76863         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76864         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76865         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76866         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76868 2011-08-15  Alan Modra  <amodra@gmail.com>
76870         [BZ #13092]
76871         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76872         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76873         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76874         ppc_mcount to static-only-routines.
76875         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76876         __mcount_internal.
76877         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76878         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76880 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76882         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76883         for finite and infinity parameters.
76885 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76888         and add nop instructions for throughput optimization.
76889         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76891 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76893         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76894         aligned copy for power7 with vector-scalar instructions.
76895         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76897 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76900         AVX check.
76902 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76904         [BZ #13144]
76905         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76906         last change.
76908 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76910         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76911         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76912         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76913         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76914         clock_gettime.
76916 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76918         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76919         Forgot to demangle the pointer.
76921         * sysdeps/i386/sysdep.h: Define atom_text_section.
76922         * sysdeps/x86_64/sysdep.h: Likewise.
76923         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76924         section with atom_text_section.
76925         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76926         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76927         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76928         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76929         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76931         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76932         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76933         already be defined.  Change to take two parameters and don't assign
76934         result to variable.  Adjust all users.
76935         Define INTERNAL_GETTIME if not already defined.
76936         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76937         call.
76938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76939         HAVE_CLOCK_GETTIME_VSYSCALL.
76940         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76943         gettimeofday vsyscall, just use time.
76945 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76947         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76948         <errno.h>.
76950 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76952         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76953         syscall on x86-64.
76954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76955         syscall.
76956         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76957         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76958         syscall if possible.
76960 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76962         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76963         e_ident.  Don't pass to find_mapsXX.
76964         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76966 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76969         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76970         * sysdeps/x86_64/multiarch/strchr.S: Update.
76971         Check bit_slow_BSF bit.
76972         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76973         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76974         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76976 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76978         [BZ #13134]
76979         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76980         before glibc 2.15.
76981         (tryshell): Define.
76982         (__spawni): Change last parameter to be flag.  Test
76983         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76984         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76985         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76986         * posix/spawni.c: Likewise.
76987         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76988         * posix/spawnp.c: Likewise.  Change normal version to use
76989         SPAWN_XFLAGS_USE_PATH.
76990         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76991         SPAWN_XFLAGS_TRY_SHELL.
76993         [BZ #13150]
76994         * posix/glob.h: Remove gcc 1.x support.
76996         [BZ #13068]
76997         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76999 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77002         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77003         strrchr-sse2-bsf
77004         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77005         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77006         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77007         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77008         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77009         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77011 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77013         * sysdeps/x86_64/wcscmp.S: New file.
77015         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77016         wcscmp-c wcscmp-sse2
77017         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77018         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77019         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77020         * wcsmbs/wcscmp.c: Allow renaming.
77022 2011-09-05  David S. Miller  <davem@davemloft.net>
77024         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77025         stack slot, rather than the struct return pointer slot.
77026         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77027         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77029         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77031 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77033         * po/ja.po: Update from translation team.
77035         [BZ #13144]
77036         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77037         kernel in 64-bit binaries.
77039 2011-09-01  David S. Miller  <davem@davemloft.net>
77041         * elf/elf.h (HWCAP_SPARC_*): Move to..
77042         * sysdeps/sparc/sysdep.h: this new file and add new values.
77043         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77044         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77045         _DL_HWCAP_COUNT to 24.
77046         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77047         entries.
77048         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77049         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77050         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77052         instead of magic constants.
77053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77055 2011-08-31  David S. Miller  <davem@davemloft.net>
77057         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77059         Reimplement to do errno handling inline.
77060         (SYSCALL_ERROR_HANDLER): New macro.
77061         (__SYSCALL_STRING): Do not do errno handling in asm.
77062         (__CLONE_SYSCALL_STRING): Delete.
77063         (__INTERNAL_SYSCALL_STRING): Delete.
77064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77065         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77066         (PSEUDO): Reimplement to do errno handling inline.
77067         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77068         (SYSCALL_ERROR_HANDLER): New macro.
77069         (__SYSCALL_STRING): Do not do errno handling in asm.
77070         (__CLONE_SYSCALL_STRING): Delete.
77071         (__INTERNAL_SYSCALL_STRING): Delete.
77072         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77073         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77074         i386.
77075         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77076         (inline_syscall*): Add 'err' argument.
77077         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77078         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77079         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77080         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77082         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77083         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77085 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77087         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77089 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77091         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77092         directive.
77094 2011-08-24  David S. Miller  <davem@davemloft.net>
77096         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77098 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77100         * elf/Makefile: Add rules to build and run unload8 test.
77101         * elf/unload8.c: New file.
77102         * elf/unload8mod1.c: New file.
77103         * elf/unload8mod1x.c: New file.
77104         * elf/unload8mod2.c: New file.
77105         * elf/unload8mod3.c: New file.
77107         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77108         it wasn't used.
77110 2011-08-23  David S. Miller  <davem@davemloft.net>
77112         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77113         subtract stack bias.
77114         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77115         %sp not %fp in calculations.
77116         (_JMPBUF_UNWINDS_ADJ): Likewise.
77118         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77119         (aio_suspend): Call it to force an exception region around the
77120         AIO_MISC_WAIT() invocation.
77122 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77124         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77125         backslash.
77127 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77129         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77130         protection macro.
77131         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77132         and <dl-machine.h>.
77133         (Elf64_FuncDesc): Remove.
77135 2011-08-22  David S. Miller  <davem@davemloft.net>
77137         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77138         sigaltstack check, add missing cfi directives.
77139         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77140         missing cfi directives, and sigaltstack handling.
77142 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77144         [BZ #11724]
77145         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77146         object is seen twice.
77147         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77149         * elf/Makefile (distribute): Add tst-initorder2.c.
77150         (tests): Add tst-initorder2.
77151         (modules-names): Add tst-initorder2a tst-initorder2b
77152         tst-initorder2c tst-initorder2d.  Add rules to build them.
77153         ($(objpfx)tst-initorder2.out): New rule.
77154         * elf/tst-initorder2.c: New file.
77155         * elf/tst-initorder2.exp: New file.
77157 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77159         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77161         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77162         dependencies back to end of function.
77164         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77165         $(elfobjdir)/ld.so.
77167 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77170         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77171         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77172         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77173         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77174         of __vdso_gettimeofday.
77175         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77176         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77177         attribute_hidden.
77178         (_libc_vdso_platform_setup): Remove initialization of
77179         __vdso_gettimeofday and __vdso_time.
77181 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77183         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77184         and fgetc_unlocked.
77185         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77186         getc_unlocked.
77188         * elf/dl-open.c (add_to_global): Report additions to the global scope
77189         for LD_DEBUG=scopes.
77190         (dl_open_worker): Also print scope of newly loaded dependencies.
77191         (_dl_show_scope): Indicate if there is no scope.
77193         [BZ #13114]
77194         * stdio-common/Makefile (tests): Add bug24.
77195         * stdio-common/bug24.c: New file.
77197 2011-08-19  Andreas Jaeger  <aj@suse.de>
77199         [BZ #13114]
77200         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77201         non-existant file when using close-on-exec mode.
77203 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77206         the very first instruction.
77208         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77209         the CFI state in the end.
77210         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77211         inclusion of dl-trampoline.h.
77212         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77214 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77216         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77217         expectations for long double.
77219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77220         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77222 2011-08-14  David S. Miller  <davem@davemloft.net>
77224         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77225         artificual limit depends upon the system page size.
77227 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77229         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77230         * resolv/Makefile: Define CFLAGS-libresolv.
77232 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77234         * nss/makedb.c (compute_tables): Make variables used in nested
77235         function static.
77237 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77239         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77240         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77241         if buffer was too small.
77243         * elf/pldd.c (main): Attach to all threads in the process.
77244         Rewrite /proc handling to use *at functions.
77246 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77248         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77249         specifies first scope to show.
77250         (dl_open_worker): Update callers.  Move printing scope of new
77251         object to before the relocation.
77252         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77253         * sysdeps/generic/ldsodefs.h: Update declaration.
77255         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77256         string for the scope number.
77258 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77260         * nscd/servicescache.c (cache_addserv): Make sure written is always
77261         initialized.
77263 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77265         * sysdeps/i386/i486/bits/atomic.h
77266         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77267         statement expression, so as to suppress "set but not used" warning.
77268         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77270         * string/strncat.c (STRNCAT): Use prototype definition.
77272         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77273         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77274         -Iprograms here.
77275         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77276         (localedef-modules): Add localedef.
77277         (locale-modules): Add locale.
77279         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77280         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77281         to avoid a warning.
77283 2011-08-14  David S. Miller  <davem@davemloft.net>
77285         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77286         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77288 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77290         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77291         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77292         * elf/rtld.c (dl_main): Set l_name of vDSO.
77293         Call _dl_show_scope when DL_DEBUG_SCOPES.
77294         (process_dl_debug): Recognize scopes flag and also set it for all.
77295         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77296         Declare _dl_show_scope.
77298         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77299         (do_dlopen): Pass caller_dlopen to dl_open.
77300         (__libc_dlopen_mode): Initialize caller_dlopen.
77302         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77303         of libc.  Make tolower call locale-independent.  Optimize a bit by
77304         using isdigit instead of isalnum.
77305         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77307 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77309         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77310         was a dependency or dynamically loaded.
77312 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77314         * intl/l10nflist.c: Allow architecture-specific pop function.
77315         * sysdeps/x86_64/l10nflist.c: New file.
77317         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77318         classification.
77320 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77322         * include/dirent.h: Add libc_hidden_proto for scandirat and
77323         scandirat64.  Don't declare __scandirat64.
77324         * dirent/scandirat.c: Add libc_hidden_def.
77325         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77326         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77328 2011-08-10  David S. Miller  <davem@davemloft.net>
77330         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77331         enum.
77332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77336 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77338         * Versions.def [libc]: Add GLIBC_2.15.
77339         * dirent/Makefile (routines): Add scandirat and scandirat64.
77340         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77341         GLIBC_2.15.
77342         * dirent/dirent.h: Declare scandirat and scandirat64.
77343         * dirent/scandirat.c: New file.
77344         * dirent/scandirat64.c: New file.
77345         * sysdeps/wordsize-64/scandirat.c: New file.
77346         * sysdeps/wordsize-64/scandirat64.c: New file.
77347         * dirent/opendir.c: Define opendirat.
77348         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77349         using scandirat.
77350         * dirent/scandir64.c: Adjust for scandir.c change.
77351         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77352         __scandirat64, and __scandir_cancel_handler.
77353         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77354         additional parameter and use openat instead of open (outside of ld.so).
77355         Add new __opendir as wrapper around __opendirat.
77356         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77357         here without requiring old scandirat implementation.
77359 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77361         * dirent/scandir.c (cancel_handler): Renamed to
77362         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77363         defined.  Adjust users.
77364         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77365         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77367 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77369         * string/test-string.h (IMPL): Use __STRING to expand name and then
77370         stringify it.
77372         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77373         of cleanups.
77375 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77377         * string/Makefile: Update.
77378         (strop-tests): Append strncat.
77379         * string/test-wcscmp.c: New file.
77380         New comprehensive test for wcscmp.
77381         * string/test-strcmp.c: Update.
77382         (WIDE): New define.
77384 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77386         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77387         line.
77389 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77392         encoding to ACE if AI_IDN.
77394 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77397         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77399 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77401         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77402         Fix overflow bug in strncat.
77403         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77405         * string/test-strncat.c: Update.
77406         Add new tests for checking overflow bugs.
77408 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77411         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77412         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77413         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77414         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77415         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77416         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77417         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77418         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77420         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77421         (USE_AS_STRCAT): Define.
77422         Add strcat and strncat support.
77423         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77425 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77427         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77428         __n bigger than INT_MAX+1.
77429         (__strncmp_g): Likewise.
77431 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77433         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77434         * libio/stido.h: Likewise.
77436         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77437         (AF_NFC): Define.
77438         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77439         (AF_NFC): Define.
77441         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77442         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77443         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77444         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77445         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77447         [BZ #13021]
77448         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77449         installed.
77451         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77452         typo.
77453         (_dl_x86_64_save_sse): Likewise.
77455 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77458         OSXSAVE.
77459         (_dl_x86_64_save_sse): Likewise.
77461         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77463         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77465 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77468         change.
77469         (_dl_x86_64_save_sse): Use correct AVX check.
77471 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77474         bug in strncpy/strncat.
77475         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77477 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77479         * string/tester.c (test_strcat): Add tests for different alignments
77480         of source and destination.
77481         (test_strncat): Likewise.
77483 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77485         [BZ #12852]
77486         * posix/glob.c (glob): Check passed in values before using them in
77487         expressions to avoid some overflows.
77488         (glob_in_dir): Likewise.
77490         [BZ #13007]
77491         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77492         check for AVX enablement so that we don't crash with old kernels and
77493         new hardware.
77494         * elf/tst-audit4.c: Add same checks here.
77495         * elf/tst-audit6.c: Likewise.
77497         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77499 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77501         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77503 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77505         * po/cs.po: Update from translation team.
77506         * po/bg.po: Likewise.
77508 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77510         * misc/sys/cdefs.h: Add support for const attribute.
77511         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77512         to gnu_dev_{major,minor,makedev} functions.
77514 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77516         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77518 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77520         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77521         strlen results.
77523 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77526         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77527         register in order to avoid conflicts with the soft frame pointer
77528         being held in r11 when necessary.
77529         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77530         (INTERNAL_VSYSCALL_NCS): Likewise.
77532 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77534         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77535         * elf/dl-fini.c (_dl_fini): Adjust caller.
77536         * elf/dl-close.c (_dl_close_worker): Likewise.
77537         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77539 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77541         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77542         "aux_cache->nlibs < 0".
77544         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77545         in the reload-count case.
77547 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77550         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77551         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77552         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77553         * sysdeps/x86_64/multiarch/strcat.S: New file.
77554         * sysdeps/x86_64/multiarch/strncat.S: New file.
77555         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77556         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77557         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77558         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77559         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77560         (USE_AS_STRCAT): Define.
77561         Add strcat and strncat support.
77562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77563         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77564         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77565         * string/strncat.c: Update.
77566         (USE_AS_STRNCAT): Define.
77567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77568         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77569         and i7.
77570         * sysdeps/x86_64/multiarch/init-arch.h
77571         (bit_Prefer_PMINUB_for_stringop): New.
77572         (index_Prefer_PMINUB_for_stringop): Likewise.
77573         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77574         bit_Prefer_PMINUB_for_stringop.
77576 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77578         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77579         buffer64.
77580         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77581         of casting of buffer.
77582         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77583         buffer32 and buffer64.
77584         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77585         writes instead of casting of buffer.
77586         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77587         buffer32.
77588         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77589         casting of buffer.
77591 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77593         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77595 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77597         * nscd/nscd.c (termination_handler): Don't do anything for a database
77598         if it has not yet been initialized.
77600 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77602         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77604 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77606         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77608 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77610         * po/nl.po: Update from translation team.
77611         * po/sv.po: Likewise.
77613 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77615         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77616         now disallowed by GCC.
77618         * configure.in (use-default-link): Default to yes if a test -shared
77619         link meets our qualifications.
77620         * configure: Regenerated.
77622         * config.make.in (output-format): New variable.
77623         * configure.in: Check for ld --print-output-format support.
77624         * configure: Regenerated.
77625         * Makerules ($(common-objpfx)format.lds)
77626         [$(output-format) != unknown]: Just use $(output-format),
77627         instead of the linker-script munging.
77629 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77631         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77632         of $(common-objpfx)shlib.lds.
77633         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77635         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77636         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77638         * configure.in (-z relro check): Adjust test code to add a large
77639         writable data section after it.
77640         * configure: Regenerated.
77642 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77644         * configure.in (-z relro check): Fix test code to make the variable
77645         truly const.
77646         * configure: Regenerated.
77648 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77650         * nscd/nscd.h (struct traced_file): Define.
77651         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77652         elements.  Add traced_files.
77653         (inotify_fd): Declare.
77654         (register_traced_file): Declare.
77655         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77656         (inotify_fd): Export.
77657         (resolv_conf_descr): Remove.
77658         (nscd_init): Move inotify descriptor creation to main.
77659         Don't register files for notification here.
77660         (register_traced_file): New function.
77661         (invalidate_cache): Don't use reset_res to determine whether to call
77662         res_init, go through the list of registered files.
77663         (main_loop_poll): The inotify descriptors are now stored in the
77664         structures for the traced files.
77665         (main_loop_epoll): Likewise.
77666         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77667         to __nss_disable_nscd.
77668         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77669         for a database anymore.  Check the records for all the registered
77670         files instead.
77671         * nss/Makefile (libnss_files-routines): Add files-init.
77672         (libnss_db-routines): Add db-init.
77673         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77674         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77675         * nss/nss_db/db-init.c: New file.
77676         * nss/nss_files/files-init.c: New file.
77677         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77678         __nss_lookup_function.
77679         (__nss_lookup_function): Call nss_load_library.
77680         (nss_load_all_libraries): New function.
77681         (__nss_disable_nscd): Take parameter with callback function for files
77682         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77683         used for the cached services.
77684         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77685         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77686         options for features to all the files in nscd.
77688         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77690 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77692         * csu/elf-init.c (__libc_csu_init): Comment typo.
77694 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77696         * po/pl.po: Update from translation team.
77697         * po/ja.po: Likewise.
77698         * po/ru.po: Likewise.
77699         * po/ko.po: Likewise.
77700         * po/fr.po: Likewise.
77702 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77704         * configure.in (.ctors/.dtors header and trailer check):
77705         Use an empirical test on a built program.
77706         * configure: Regenerated.
77708         * configure.in (-z relro check): Use an empirical test on a built DSO.
77709         Detect, but do not require, on ia64.
77710         * configure: Regenerated.
77712         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77713         Update tests that use readelf to use $READELF instead.
77714         * configure: Regenerated.
77716 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77718         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77719         if the result is not used.
77721 2011-07-05  Andreas Jaeger  <aj@suse.de>
77723         [BZ#9696]
77724         * stdlib/tst-strtod.c: Add testcase.
77726 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77728         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77729         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77730         The latter has a higher limit.  Take additional parameter to pass to
77731         the new function.
77732         (__pathconf): Pass file to __statfs_link_max.
77733         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77734         __statfs_link_max.
77735         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77736         __statfs_link_max.
77738         [BZ #12868]
77739         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77740         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77741         Handle Lustre.
77742         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77743         (__statfs_filesize_max): Likewise.
77744         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77746 2011-07-05  Andreas Jaeger  <aj@suse.de>
77748         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77750 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77752         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77753         `status' variable.
77754         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77755         Likewise.
77757 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77759         * Makefile (strop-tests): Add strncat.
77760         * string/test-strncat.c: New file.
77762 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77764         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77766 2011-06-21  Andreas Jaeger  <aj@suse.de>
77768         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77769         Copy rule from iconvdata/Makefile.
77771 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77773         [BZ #12922]
77774         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77775         but no long options are defined, just return 'W'.
77777 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77779         [BZ #9696]
77780         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77782 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77784         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77785         netgroups to read.
77786         (innetgr): Likewise.
77788 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77790         * config.make.in (install_root): Default to $(DESTDIR).
77792 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77794         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77796 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77798         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77800         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77801         containing directory rather than embedding absolute directory names.
77803         * scripts/check-local-headers.sh: Rewritten using awk.
77804         Match by word, not by line.  Print error messages for matches.
77805         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77807         * Makerules [shlib-lds-flags empty]:
77808         ($(common-objpfx)libc_pic.opts): New target.
77809         ($(common-objpfx)libc_pic.os.clean): New target.
77810         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77812         * config.make.in (OBJCOPY): New variable.
77813         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77814         * configure: Regenerated.
77816         * config.make.in (use-default-link): New variable.
77817         * configure.in (use_default_link): Grok --with-default-link to set it.
77818         * configure: Regenerated.
77819         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77820         (shlib-lds, shlib-lds-flags): Define to empty.
77822         * Makerules (shlib-lds): New variable.
77823         (shlib-lds-flags): New variable.
77824         (build-shlib, build-moduile, build-module-asneeded): Use it.
77825         ($(common-objpfx)libc.so): Use $(shlib-lds).
77826         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77827         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77829         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77830         DT_FLAGS/DT_FLAGS_1 with zero flags.
77832         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77833         linker script munging.
77835 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77837         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77838         as 128-bit value.
77839         * crypt/sha512.c (sha512_process_block): Perform total addition using
77840         128-bit if possible.
77841         (__sha512_finish_ctx): Likewise.
77842         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77843         as 64-bit value.
77844         * crypt/sha256.c (SWAP64): Define.
77845         (sha256_process_block): Perform total addition using 64-bit if
77846         possible.
77847         (__sha256_finish_ctx): Likewise.
77849 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77851         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77852         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77853         * nscd/hstcache.c (cache_addhst): Likewise.
77854         * nscd/grpcache.c (cache_addgr): Likewise.
77855         * nscd/aicache.c (addhstaiX): Likewise.
77856         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77858 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77860         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77861         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77862         * nscd/hstcache.c (cache_addhst): Likewise.
77863         * nscd/grpcache.c (cache_addgr): Likewise.
77864         * nscd/aicache.c (addhstaiX): Likewise.
77866 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77868         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77869         domain only when needed.
77871 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77874         is always restored.
77876 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77878         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77879         are re-adding the entry.
77880         * nscd/servicescache.c (cache_addserv): Likewise.
77882 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77884         * sysdeps/generic/dl-irel.h: fix protection against multiple
77885         inclusions.
77886         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77888 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77890         [BZ #12935]
77891         * malloc/memusage.sh: Fix quoting in message.
77892         * debug/xtrace.sh: Likewise.
77894         * configure.in: Remove support for --experimental-malloc option, make
77895         it the default.
77896         * config.make.in: Likewise.
77897         * malloc/Makefile: Likewise.
77899 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77901         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77902         two-byte characters.
77904 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77906         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77907         AC_CACHE_CHECK invocation.
77908         * configure: Regenerated.
77910         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77912 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77914         [BZ #12350]
77915         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77916         bit from old_res_options.
77918         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77920         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77921         value type for setfct.
77923 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77926         __gettimeofday instead of gettimeofday.
77928 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77930         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77932 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77934         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77936         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77937         info.
77939 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77942         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77943         strcpy-sse2-unaligned strncpy-sse2-unaligned
77944         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77945         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77946         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77947         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77948         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77949         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77950         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77951         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77952         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77953         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77954         (STRCPY): Support SSE2 and SSSE3 versions.
77956 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77958         [BZ #12874]
77959         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77960         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77961         kernels which artificially limit size of requests.
77963 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77966         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77967         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77968         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77969         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77970         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77971         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77972         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77973         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77974         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77975         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77976         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77977         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77978         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77979         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77981         Enable unaligned load optimization for Intel Core i3, i5 and i7
77982         processors.
77983         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77984         Define.
77985         (index_Fast_Unaligned_Load): Define.
77986         (HAS_FAST_UNALIGNED_LOAD): Define.
77988 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77990         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77992 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77994         [BZ #12907]
77995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77996         until it is clear that the information is realy needed.
77997         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77999 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78003 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78005         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78006         /sys/devices/system/cpu/online if it is usable.
78008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78009         reading the information from the /proc filesystem to once a second.
78011 2011-06-21  Andreas Jaeger  <aj@suse.de>
78013         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78014         NULL after inclusion of kernel headers.
78016 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78018         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78019         calls to internal_setent.
78021         [BZ #12885]
78022         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78023         addresses using gethostbyname4_r ignore IPv4 addresses.
78025         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78026         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78028         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78030 2011-06-20  David S. Miller  <davem@davemloft.net>
78032         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78033         inclusions.
78034         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78036         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78037         (elf_irel): Use it.
78038         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78039         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78040         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78041         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78042         * sysdeps/x86_64/dl-irel.h: Likewise.
78044         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78045         * elf/dl-sym.c: Likewise.
78047 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78049         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78050         need to dereference resplen2.
78052 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78054         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78056 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78058         * Makeconfig: Define vardbdir and inst_vardbdir.
78059         * nss/Makefile: Add rules to install db-Makefile.
78061         * nss/nss_db/db-XXX.c: Cleanup.
78063         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78064         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78065         GLIBC_PRIVATE.
78066         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78067         * nss/makedb.c: Implement -g option to specify that value strings
78068         are generated and should not be added to table iterated over for
78069         get*ent calls.
78070         * nss/nss_db/db-initgroups.c: New file.
78072         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78073         interface.
78075         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78076         (internal_getgrouplist): Adjust to name change.
78077         Update use_initgroups_entry if this is not the first call.
78078         * nss/databases.def: Add initgroups entry.
78080         * nss/makedb.c (compute_tables): Check result of multiple hash table
78081         sizes to minimize maximum chain length.
78083 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78085         * Versions.def: Add entry for libnss_db.
78086         * shlib-versions: Likewise.
78087         * nss/Makefile: Add rules to build libnss_db.
78088         * nss/Versions: Add libnss_db information.  Organize libnss_files
78089         entries better.
78090         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78091         makedb progra.  Some minor improvements to generate smaller files.
78092         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78093         here from...
78094         * nss/makedb.c: ...here.
78095         Improve database format to be smaller and require less memory at
78096         runtime.
78097         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78098         db anymore.
78099         * nss/nss_db/db-netgrp.c: Likewise.
78100         * nss/nss_db/db-open.c: Likewise.
78101         * nss/nss_files/flies-XXX.x: Adjust comments.
78102         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78103         * nss/nss_files/files-grp.c: Likewise.
78104         * nss/nss_files/files-hosts.c: Likewise.
78105         * nss/nss_files/files-network.c: Likewise.
78106         * nss/nss_files/files-proto.c: Likewise.
78107         * nss/nss_files/files-pwd.c: Likewise.
78108         * nss/nss_files/files-rpc.c: Likewise.
78109         * nss/nss_files/files-service.c: Likewise.
78110         * nss/nss_files/files-sgrp.c: Likewise.
78111         * nss/nss_files/files-spwd.c: Likewise.
78112         * nss/nss_db/db-alias.c: Removed.
78113         * nss/nss_db/dummy-db.h: Removed.
78115 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78117         * nss/makedb.c: Rewritten to not use database library.
78118         * nss/Makefile: Update to build new makedb program.
78120 2011-06-14  Andreas Jaeger  <aj@suse.de>
78122         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78123         memset declaration.
78125 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78128         tmpbuf.
78130 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78132         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78133         * elf/Makefile ($(objpfx)ld.so): Likewise.
78135         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78136         Don't list ld.so twice in dependencies.
78138         * posix/bug-regex31.c: Include <stdlib.h>.
78140         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78142         * nis/nss_compat/compat-spwd.c
78143         (getspent_next_nss_netgr): Remove unused variable.
78144         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78146         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78147         nonmembers" output to use the right array.
78149         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78151         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78153         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78154         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78155         * catgets/gencat.c (read_input_file): Likewise.
78156         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78158         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78159         variable definition inside #if's controlling its use.
78161         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78163         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78165         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78167         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78168         unreachable code.
78170         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78172         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78173         * configure: Regenerated.
78175         * Makerules: Revert last change.
78176         * elf/Makefile: Likewise.
78178 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78180         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78181         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78182         (reloc-link): Likewise.
78184 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78186         * elf/Makefile: Add rules to build pldd.
78187         * elf/pldd.c: New file.
78188         * elf/pldd-xx.c: New file.
78190 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78192         * version.h: Update for 2.15 development version.
78194 2011-06-07  David S. Miller  <davem@davemloft.net>
78196         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78197         ifuncs.
78198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78199         elf_machine_lazy_rel): Likewise.
78200         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78201         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78202         elf_machine_lazy_rel): Likewise.
78203         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78204         dl_hwcap via passed in argument.
78205         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78206         Likewise.
78208 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78210         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78212 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78214         [BZ #12849]
78215         * manual/fdl-1.1.texi: New file, verbatim from:
78216         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78217         * manual/lgpl-2.1.texi: New file, verbatim from:
78218         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78219         * manual/Makefile (licenses): New variable, list those new file names.
78220         (texis): Use it.
78221         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78223         * manual/fdl.texi: File removed.
78224         * manual/lesser.texi: File removed.
78225         * manual/libc.texinfo (Copying, Documentation License):
78226         Use new @include file names, put @appendix directive before @include.
78228 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78230         [BZ #12841]
78231         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78232         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78233         (mq_open): Add __NTH.
78235 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78238         Assume Intel Core i3/i5/i7 processor if AVX is available.
78240 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78243         typo.
78245 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78247         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78248         memory.  Use alloca_account.  Fix memory leak when retrying.
78250 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78252         * version.h (RELEASE): Bump for 2.14 release.
78253         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78255         * config.make.in (RANLIB): Remove entry.
78257 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78259         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78260         (libc.pot): Work around missing support for .ksh extension in xgettext.
78262         [BZ #12684]
78263         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78264         if both request failed.
78265         (send_dg): In case of server errors clear resplen or *resplen2.
78267         [BZ #12454]
78268         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78269         when there are multiple maps.
78270         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78271         (_dl_fini): Remove test here.
78273         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78275 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78277         [BZ #12350]
78278         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78279         bit from old_res_options.
78280         (gaih_inet): Likewise.
78282         [BZ #11099]
78283         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78284         as signed.
78286         * resolv/res_init.c (res_setoptions): Make the code more compact.
78288         [BZ #11558]
78289         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78290         set RES_USEVC.
78292         [BZ #11634]
78293         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78295         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78297         [BZ #11781]
78298         * malloc/malloc.h: Declare malloc hook variables as volatile.
78300         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78301         in last patch.
78303         [BZ #11799]
78304         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78305         raise in the comment.
78306         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78307         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78308         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78310 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78312         [BZ #12811]
78313         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78314         grow the buffers more if it already has to be sufficient.
78315         (build_wcs_upper_buffer): Likewise.
78316         * posix/regexec.c (check_matching): Likewise.
78317         (clean_state_log_if_needed): Likewise.
78318         (extend_buffers): Don't enlarge buffers beyond size of the input
78319         buffer.
78320         Patches mostly by Emil Wojak <emil@wojak.eu>.
78321         * posix/bug-regex32.c: New file.
78322         * posix/Makefile (tests): Add bug-regex32.
78324         * locale/findlocale.c (_nl_find_locale): Return right away if
78325         _nl_explode_name failed.
78326         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78328         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78330         * debug/xtrace.sh: Unify messages.
78331         * malloc/memusage.sh: Likewise.
78333         [BZ #12813]
78334         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78335         time symbol from vDSO.  Substitute with vsyscall if not available.
78336         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78337         __vdso_time.
78339         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78340         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78341         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78342         Add sendmmsg and internal_sendmmsg.
78343         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78344         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78345         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78347         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78348         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78349         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78351 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78353         [BZ #12813]
78354         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78355         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78356         available.
78357         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78358         __vdso_getcpu.
78360         [BZ #12814]
78361         * iconvdata/Makefile (tests): Add bug-iconv9.
78362         * iconvdata/bug-iconv9.c: New file.
78364 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78366         [BZ #12814]
78367         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78369 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78371         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78372         (struct user_regs_struct): Change intcs field back to cs.
78374 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78376         * po/ja.po: Update from translation team.
78378 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78380         [BZ #12795]
78381         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78382         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78384 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78386         * stdlib/longlong.h: Update from GCC.
78388 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78390         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78391         parameter name.
78392         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78393         Add parameter name.
78394         (__sysconf): Pass it down.
78396 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78398         [BZ #12671]
78399         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78400         some situations.
78401         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78402         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78403         add in in __libc_use_alloca calls.  Adjust callers.
78404         (glob): Use malloc in some situations.
78406         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78407         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78408         pltexit.
78410 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78412         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78413         and CLOCK_BOOTTIME_ALARM.
78415         [BZ #12782]
78416         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78417         is returned.
78419         * string/_strerror.c (__strerror_r): Print negative errors as signed
78420         numbers.
78422         [BZ #12777]
78423         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78424         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78425         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78427         * configure.in: Fix typo in redirection and correct removal of test
78428         files in two cases.
78430         [BZ #12788]
78431         * locale/setlocale.c (new_composite_name): Fix test to check for
78432         identical name of all categories.
78434         [BZ #12792]
78435         * libio/filedoalloc.c (local_isatty): New function.
78436         (_IO_file_doallocate): Use local_isatty.
78437         * stdio-common/perror.c (perror): In case a new stream is used
78438         forward the stream error.
78439         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78440         error flag.
78442 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78444         [BZ #11884]
78445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78446         alloca.
78447         * include/alloca.h (extend_alloca_account): Define.
78449         [BZ #11857]
78450         * posix/regex.h: Fix comments with documentation of user-accessible
78451         fields after compilation and describe correct free'ing of pattern
78452         after re_compile_pattern.
78453         Patch by Reuben Thomas <rrt@sc3d.org>.
78455 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78457         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78458         and -mno-altivec to prevent the compiler from using Altivec and/or
78459         VSX instructions when the corresponding registers are not available.
78461 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78463         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78465 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78467         * libio/freopen.c (freopen): Use __dup2, not dup2.
78468         * libio/freopen64.c (freopen64): Likewise.
78470 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78472         [BZ #12775]
78473         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78474         * math/Makefile (tests): Add test-powl.
78475         (CFLAGS-test-powl.c): Define.
78476         * math/test-powl.c: New file.
78478 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78480         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78482 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78484         [BZ #11837]
78485         * iconvdata/gb18030.c: Update to GB18020-2005.
78487 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78489         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78490         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78491         Patch by Aharon Robbins <arnold@skeeve.com>.
78493         [BZ #11892]
78494         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78495         on the stack.
78497         [BZ #11895]
78498         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78499         through underflows.
78501         [BZ #12766]
78502         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78503         point to strings before performing equality test for error_one_per_line
78504         mode.
78506         [BZ #11697]
78507         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78509         [BZ #11820]
78510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78511         (struct user_fpregs_struct): Avoid __uint*_t types.
78513         [BZ #6420]
78514         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78515         symbol info.  Use it instead of calling _dl_addr locally.
78516         (lock_and_info): New function.
78517         (tr_freehook): Call lock_and_info and pass symbol info as additional
78518         parameter to tr_where.
78519         (tr_mallochook): Likewise.
78520         (tr_reallochook): Likewise.
78521         (tr_memalignhook): Likewise.
78523         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78524         used and couldn't be at all thread-safe.
78526 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78528         * libio/freopen.c (freopen): Don't close old file descriptor
78529         before the new one is opened.  Instead dup the new file descriptor
78530         to the old one after the new stream is created.
78531         * libio/freopen64.c (freopen64): Likewise.
78532         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78533         * libio/fileops.c (_IO_new_file_close_it): Handle new
78534         _IO_FLAGS2_NOCLOSE flag.
78535         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78536         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78537         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78538         _IO_FLAGS2_NOCLOSE flag.
78539         * include/unistd.h: Add hidden_proto for dup3.
78540         Define __have_dup3.
78541         * io/dup3.c: Define hidden symbol.
78542         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78544         [BZ #7101]
78545         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78546         when an incomplete long option is used.
78547         * posix/tst-getopt_long1.c: New file.
78548         * posix/Makefile (tests): Add tst-getopt_long1.
78550         [BZ #10138]
78551         * scripts/config.guess: Update from autoconf-2.68.
78552         * scripts/config.sub: Likewise.
78554         [BZ #10157]
78555         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78556         tests into ...
78557         (has_cpuclock): ...this.  New function.
78558         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78559         macro here based on has_cpuclock code.
78561         [BZ #10149]
78562         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78563         First byte (not low byte) is now always NUL.
78564         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78566         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78567         Use non-cancelable interfaces.
78569         [BZ #9809]
78570         * locale/iso-639.def: Add entry for Sorani.
78572         [BZ #11901]
78573         * include/stdlib.h: Move include protection to the right place.
78574         Define abort_msg_s.  Declare __abort_msg with it.
78575         * stdlib/abort.c (__abort_msg): Adjust type.
78576         * assert/assert.c (__assert_fail_base): New function.  Majority
78577         of code from __assert_fail.  Allocate memory for __abort_msg with
78578         mmap.
78579         (__assert_fail): Now call __assert_fail_base.
78580         * assert/assert-perr.c: Remove bulk of implementation.  Use
78581         __assert_fail_base.
78582         * include/assert.hL Declare __assert_fail_base.
78583         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78584         mmap.
78585         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78587 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78589         [BZ #11952]
78590         [BZ #12453]
78591         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78592         until all modules are registered in the DTV.
78593         * elf/Makefile: Add rules to build and run tst-tls19.
78594         * elf/tst-tls19.c: New file.
78595         * elf/tst-tls19mod1.c: New file.
78596         * elf/tst-tls19mod2.c: New file.
78597         * elf/tst-tls19mod3.c: New file.
78598         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78600         [BZ #12083]
78601         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78602         correctly.
78604         [BZ #12601]
78605         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78606         two-byte sequence errors.
78607         * iconvdata/Makefile (tests): Add bug-iconv8.
78608         * iconvdata/bug-iconv8.c: New file.
78610         [BZ #12626]
78611         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78612         buf2 definition.
78614         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78616         [BZ #12432]
78617         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78618         (dummy_getcfa): New function.
78619         (init): Get _Unwind_GetCFA address, use dummy if not found.
78620         (backtrace_helper): In recursion check, also check whether CFA changes.
78621         (__backtrace): Completely initialize arg.
78623         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78624         storing incomplete byte sequence in state object.  Avoid testing for
78625         guaranteed too small input if we know there is enough data available.
78627 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78629         * Makeconfig (+link-pie): Indent.
78630         * Rules (binaries-pie): Define if $(have-fpie) and
78631         $(build-shared).
78632         (binaries-shared): Also filter out $(binaries-pie).
78633         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78634         * nscd/Makefile (others-pie): Add nscd.
78635         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78636         ($(objpfx)nscd): Remove command override.
78637         * login/Makefile (others-pie): Add pt_chown.
78638         ($(objpfx)pt_chown): Remove command override.
78639         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78640         remove command overrides.
78642 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78644         * libio/tst_putwc.c: Fix error messages.
78646         [BZ #12724]
78647         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78648         currently writing and seek to current position when not.
78649         * libio/Makefile (tests): Add bug-fclose1.
78650         * libio/bug-fclose1.c: New file.
78652 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78654         [BZ #12511]
78655         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78656         don't set DF_1_NODELETE here.
78657         (do_lookup_x): When entering new entry test for copy relocation
78658         and if necessary set DF_1_NODELETE flag.
78659         * elf/tst-unique4.cc: New file.
78660         * elf/tst-unique4.h: New file.
78661         * elf/tst-unique4lib.cc: New file.
78662         * elf/Makefile: Add rules to build and run tst-unique4.
78663         Patch by Piotr Bury <pbury@goahead.com>.
78665 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78667         [BZ #12052]
78668         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78670         [BZ #12625]
78671         * misc/mntent_r.c (addmntent): Flush the stream after the output
78673         [BZ #12393]
78674         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78675         (is_trusted_path_normalize): Skip initial colon.  Append slash
78676         to empty buffer.  Duplicate is_trusted_path code but allow
78677         constructed patch to be prefix.
78678         (is_dst): Allow $ORIGIN followed by /.
78679         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78680         Correct testing of result of is_trusted_path_normalize
78681         (decompose_rpath): Fix warning.
78683 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78685         [BZ #11257]
78686         * grp/initgroups.c (internal_getgrouplist): When we found the service
78687         list through the initgroups entry in nsswitch.conf do not always
78688         continue on a successful lookup.  Don't always use the
78689         __nss_group_database value if it is set.
78690         * nss/nsswitch.conf (initgroups): Change action for successful db
78691         lookup to continue for compatibility.
78693 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78695         [BZ #11532]
78696         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78697         and CP774 modules.
78698         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78699         and CP774 modules.
78700         * iconvdata/tst-tables.sh: Likewise.
78701         * iconvdata/cp770.c: New file.
78702         * iconvdata/cp771.c: New file.
78703         * iconvdata/cp772.c: New file.
78704         * iconvdata/cp773.c: New file.
78705         * iconvdata/cp774.c: New file.
78706         * iconvdata/testdata/CP770: New file.
78707         * iconvdata/testdata/CP770..UTF8: New file.
78708         * iconvdata/testdata/CP771: New file.
78709         * iconvdata/testdata/CP771..UTF8: New file.
78710         * iconvdata/testdata/CP772: New file.
78711         * iconvdata/testdata/CP772..UTF8: New file.
78712         * iconvdata/testdata/CP773: New file.
78713         * iconvdata/testdata/CP773..UTF8: New file.
78714         * iconvdata/testdata/CP774: New file.
78715         * iconvdata/testdata/CP774..UTF8: New file.
78717         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78718         END CHARMAP line.
78719         * iconvdata/gen-8bit-gap.sh: Likewise.
78720         * iconvdata/gen-8bit.sh: Likewise.
78722         * locale/iso-639.def: Add ary entry.
78724         [BZ #11258]
78725         * locale/C-translit.h.in: Add U20A1 transliteration.
78727         [BZ #12178]
78728         * locale/iso-639.def: Add wae entry.
78729         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78731         [BZ #12545]
78732         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78733         for n.
78735         [BZ #12711]
78736         * locale/C-translit.h.in: Add entry for U20B9.
78737         Patch by pravin.d.s@gmail.com.
78739 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78741         [BZ #12713]
78742         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78743         ENAMETOOLONG use generic getcwd.
78744         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78745         in rtld.  Use *stat64.
78746         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78747         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78748         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78749         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78750         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78751         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78752         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78753         __fstatat64 macros.
78754         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78755         * dirent/rewinddir.c: Add libc_hidden_def.
78756         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78757         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78759         * include/dirent.h (__alloc_dir): Add flags parameter.
78760         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78761         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78762         __alloc_dir.
78763         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78764         from fdopendir if O_CLOEXEC is already set.
78766 2011-03-15  Alan Modra  <amodra@gmail.com>
78768         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78769         l_tls_firstbyte_offset non-zero.  Save padding offset in
78770         l_tls_firstbyte_offset for later use.
78771         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78772         freeing static tls block.
78774 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78776         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78777         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78778         being defined by the kernel headers.
78780 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78782         [BZ #12734]
78783         * resolv/resolv.h: Define RES_NOTLDQUERY.
78784         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78785         no-tld-query and set RES_NOTLDQUERY.
78786         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78787         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78788         modern BIND to search name as TLD unless forbidden.
78790 2011-05-07  Petr Baudis  <pasky@suse.cz>
78791             Ulrich Drepper  <drepper@gmail.com>
78793         [BZ #12393]
78794         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78795         (is_trusted_path): ...to here.
78796         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78797         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78798         using is_trusted_path_normalize() in setuid scripts.
78800 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78802         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78803         __BEGIN/__END_DECLS.
78805 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78807         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78808         NSS_STATUS_NOTFOUND if no record was found.
78810 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78812         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78813         (headers-not-in-tirpc): Remove rpc/netdb.h
78814         * resolv/netdb.h: Revert last change.
78816 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78818         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78819         circular dependency between libgcc.a and libc.a.
78821 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78823         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78824         * nis/Makefile: Don't install rpcsvc/*.
78825         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78826         instead of <rpc/types.h>.
78827         (MAXHOSTNAMELEN): Define.
78829 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78831         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78833 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78835         [BZ #12714]
78836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78837         gethostbyname4_r when IPv6 results are possible.
78839 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78841         [BZ #12723]
78842         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78843         _PC_PIPE_BUF handling.
78845 2011-04-30  Bruno Haible  <bruno@clisp.org>
78847         [BZ #12717]
78848         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78849         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78850         to 'int'.
78851         * inet/getnameinfo.c (getnameinfo): Likewise.
78853 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78855         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78856         to groups setting in database lookup.
78857         * nss/nsswitch.conf: Add initgroups entry.
78859 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78861         [BZ #12685]
78862         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78863         mode string.
78864         Patch by Eric Blake <eblake@redhat.com>.
78866 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78868         * sunrpc/Makefile (need-export-routines): Add svc_run.
78869         (routines): Remove svc_run.
78870         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78871         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78872         * sunrpc/svc_run.c (svc_run): Likewise.
78873         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78875 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78878         problem in reallocation in last patch.
78880 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78882         * sunrpc/Makefile: Move inclusion of Rules.
78884 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78886         * nss/nss_files/files-initgroups.c: New file.
78887         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78888         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78889         _nss_files_initgroups_dyn.
78891 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78893         * elf/elf.h (R_ARM_IRELATIVE): Define.
78895 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78897         * po/ru.po: Update from translation team.
78899 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78901         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78902         dependencies.
78904 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78906         [BZ #12653]
78907         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78908         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78909         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78910         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78913 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78915         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78916         differing bytes.
78917         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78919         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78921 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78923         [BZ #12420]
78924         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78925         storing it.
78926         * stdlib/bug-getcontext.c: New file.
78927         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78929 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78931         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78932         instructions into .machine "z9-109".
78933         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78934         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78936 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78938         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78939         between environment variables and auxiliary vector.
78941 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78943         * Makefile: Add rules to build linkobj/libc.so.
78944         * include/libc-symbols.h: Define libc_hidden_nolink.
78945         * include/rpc/auth.h: Mark functions which are to be hidden.
78946         * include/rpc/auth_des.h: Likewise.
78947         * include/rpc/auth_unix.h: Likewise.
78948         * include/rpc/clnt.h: Likewise.
78949         * include/rpc/des_crypt.h: Likewise.
78950         * include/rpc/key_prot.h: Likewise.
78951         * include/rpc/pmap_clnt.h: Likewise.
78952         * include/rpc/pmap_prot.h: Likewise.
78953         * include/rpc/pmap_rmt.h: Likewise.
78954         * include/rpc/rpc_msg.h: Likewise.
78955         * include/rpc/svc.h: Likewise.
78956         * include/rpc/svc_auth.h: Likewise.
78957         * include/rpc/xdr.h: Likewise.
78958         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78959         * nss/Makefile: Likewise.
78960         * sunrpc/Makefile: Don't install headers.  Build library with normal
78961         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78962         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78963         for the compat linking library.  Remove use of INTDEF/INTUSE.
78964         * sunrpc/auth_none.c: Likewise.
78965         * sunrpc/auth_unix.c: Likewise.
78966         * sunrpc/authdes_prot.c: Likewise.
78967         * sunrpc/authuxprot.c: Likewise.
78968         * sunrpc/clnt_gen.c: Likewise.
78969         * sunrpc/clnt_perr.c: Likewise.
78970         * sunrpc/clnt_raw.c: Likewise.
78971         * sunrpc/clnt_simp.c: Likewise.
78972         * sunrpc/clnt_tcp.c: Likewise.
78973         * sunrpc/clnt_udp.c: Likewise.
78974         * sunrpc/clnt_unix.c: Likewise.
78975         * sunrpc/des_crypt.c: Likewise.
78976         * sunrpc/des_soft.c: Likewise.
78977         * sunrpc/get_myaddr.c: Likewise.
78978         * sunrpc/key_call.c: Likewise.
78979         * sunrpc/key_prot.c: Likewise.
78980         * sunrpc/netname.c: Likewise.
78981         * sunrpc/pm_getmaps.c: Likewise.
78982         * sunrpc/pm_getport.c: Likewise.
78983         * sunrpc/pmap_clnt.c: Likewise.
78984         * sunrpc/pmap_prot.c: Likewise.
78985         * sunrpc/pmap_prot2.c: Likewise.
78986         * sunrpc/pmap_rmt.c: Likewise.
78987         * sunrpc/publickey.c: Likewise.
78988         * sunrpc/rpc_cmsg.c: Likewise.
78989         * sunrpc/rpc_common.c: Likewise.
78990         * sunrpc/rpc_dtable.c: Likewise.
78991         * sunrpc/rpc_prot.c: Likewise.
78992         * sunrpc/rpc_thread.c: Likewise.
78993         * sunrpc/rtime.c: Likewise.
78994         * sunrpc/svc.c: Likewise.
78995         * sunrpc/svc_auth.c: Likewise.
78996         * sunrpc/svc_authux.c: Likewise.
78997         * sunrpc/svc_raw.c: Likewise.
78998         * sunrpc/svc_run.c: Likewise.
78999         * sunrpc/svc_simple.c: Likewise.
79000         * sunrpc/svc_tcp.c: Likewise.
79001         * sunrpc/svc_udp.c: Likewise.
79002         * sunrpc/svc_unix.c: Likewise.
79003         * sunrpc/svcauth_des.c: Likewise.
79004         * sunrpc/xcrypt.c: Likewise.
79005         * sunrpc/xdr.c: Likewise.
79006         * sunrpc/xdr_array.c: Likewise.
79007         * sunrpc/xdr_float.c: Likewise.
79008         * sunrpc/xdr_intXX_t.c: Likewise.
79009         * sunrpc/xdr_mem.c: Likewise.
79010         * sunrpc/xdr_rec.c: Likewise.
79011         * sunrpc/xdr_ref.c: Likewise.
79012         * sunrpc/xdr_sizeof.c: Likewise.
79013         * sunrpc/xdr_stdio.c: Likewise.
79015 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79017         [BZ #12650]
79018         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79019         * sysdeps/ia64/dl-tls.h: Likewise.
79020         * sysdeps/powerpc/dl-tls.h: Likewise.
79021         * sysdeps/s390/dl-tls.h: Likewise.
79022         * sysdeps/sh/dl-tls.h: Likewise.
79023         * sysdeps/sparc/dl-tls.h: Likewise.
79024         * sysdeps/x86_64/dl-tls.h: Likewise.
79025         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79027 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79029         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79030         rpath element also skip the following colon.
79031         (expand_dynamic_string_token): Add is_path parameter and pass
79032         down to DL_DST_REQUIRED and _dl_dst_substitute.
79033         (decompose_rpath): Call expand_dynamic_string_token with
79034         non-zero is_path.  Ignore empty rpaths.
79035         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79036         with zero is_path.
79038 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79041         Make cancelable.
79043 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79045         [BZ #12655]
79046         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79047         Patch by Filipe David Manana <fdmanana@apache.org>.
79049 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79052         Maintain aligned stack.
79053         (CHECK_RSP): Remove unused macro.
79055 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79057         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79058         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79060 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79062         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79064         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79066 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79068         [BZ #12518]
79069         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79070         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79071         * sysdeps/x86_64/memmove.c: New file.
79072         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79073         (memcpy): Renamed to ...
79074         (__new_memcpy): This.
79075         (memcpy): Provide GLIBC_2_14 memcpy.
79076         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79077         (memcpy): Provide GLIBC_2_2_5 memcpy.
79079 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79081         [BZ #12631]
79082         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79084 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79086         * misc/syncfs.c: New file.
79087         * misc/Makefile (routines): Add syncfs.
79088         * posix/unistd.h: Declare syncfs.
79089         * sysdeps/unix/syscalls.list: Add syncfs.
79091 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79093         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79094         open_by_handle_at.
79095         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79096         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79098         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79100         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79103 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79105         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79106         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79107         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79108         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79109         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79113         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79114         sync_file_range.c with -fexceptions.
79115         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79116         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79117         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79118         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79119         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79120         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79121         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79122         sync_file_range as cancellation point
79123         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79124         now a wrapper around __call_sync_file_range with cancellation handling.
79125         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79126         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79127         function name to __call_sync_file_range.
79128         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79129         Add call_sync_file_range.
79131 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79134         bits/timex.h.
79136 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79138         * iconv/iconv.h: Fix typo in comment.
79139         * io/fcntl.h: Likewise.
79140         * libio/stdio.h: Likewise.
79141         * posix/spawn.h: Likewise.
79142         * posix/unistd.h: Likewise.
79143         * stdlib/stdlib.h: Likewise.
79144         * time/time.h: Likewise.
79145         * wcsmbs/wchar.h: Likewise.
79147         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79148         open_by_handle): Add.
79149         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79150         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79151         Augment a few comments.
79152         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79153         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79154         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79155         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79157         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79158         open_by_handle.
79160         * io/fcntl.h (AT_EMPTY_PATH): Define.
79162 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79164         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79165         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79166         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79167         to...
79168         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79169         * Versions.def: Add GLIBC_2.14.
79170         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79171         Export.
79173 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79175         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79176         round counter.
79177         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79179 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79181         [BZ #12597]
79182         * string/test-strncmp.c (do_page_test): New function.
79183         (check2): Likewise.
79184         (test_main): Call check2.
79185         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79187 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79189         [BZ #12587]
79190         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79191         Handle cache information in CPU leaf 4.
79192         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79194 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79196         [BZ #12583]
79197         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79198         character representation.
79199         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79201 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79203         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79204         END(__isnan) to END(__isnanf) to match function entry point/label
79205         EALIGN(__isnanf,...).
79207 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79209         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79211 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79213         [BZ #12510]
79214         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79215         copy from the symbol referenced in the relocation to initialize the
79216         used variable.
79217         Patch by Piotr Bury <pbury@goahead.com>.
79218         * elf/Makefile: Add rules to build and tst-unique3.
79219         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79220         * elf/tst-unique3.cc: New file.
79221         * elf/tst-unique3.h: New file.
79222         * elf/tst-unique3lib.cc: New file.
79223         * elf/tst-unique3lib2.cc: New file.
79225         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79227 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79229         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79230         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79231         to _start.
79233 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79235         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79236         to-be-loaded object along a path to loader is ld.so.
79238 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79239             Ulrich Drepper  <drepper@gmail.com>
79241         * sysdeps/x86_64/memset.S: After aligning destination, code
79242         branches to different locations depending on the value of
79243         misalignment, when multiarch is enabled. Fix this.
79245 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79247         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79248         Set _x86_64_preferred_memory_instruction for AMD processsors.
79249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79250         Set bit_Prefer_SSE_for_memop for AMD processors.
79252 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79254         * libio/fmemopen.c (fmemopen): Optimize a bit.
79256 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79258         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79260 2011-03-03  Roland McGrath  <roland@redhat.com>
79262         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79264 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79266         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79267         __bzero_ultra1 instead of __memset_ultra1.
79269 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79270             Ulrich Drepper  <drepper@gmail.com>
79272         [BZ #12509]
79273         * include/link.h (struct link_map): Add l_orig_initfini.
79274         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79275         returning unsuccessfully.
79276         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79277         close of a file loaded at startup, restore the original l_initfini
79278         list.
79279         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79280         list, store the pointer.
79281         * elf/Makefile ($(objpfx)noload-mem): New rule.
79282         (noload-ENV): Define.
79283         (tests): Add $(objpfx)noload-mem.
79284         * elf/noload.c: Include <memcheck.h>.
79285         (main): Call mtrace.  Close all opened handles.
79287 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79289         [BZ #12454]
79290         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79291         dependencies are missing.
79293 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79295         Fix __if_freereq crash: Unlike the generic version which uses free,
79296         Hurd needs munmap.
79297         * sysdeps/mach/hurd/ifreq.h: New file.
79299 2011-01-27  Petr Baudis  <pasky@suse.cz>
79300             Ulrich Drepper  <drepper@gmail.com>
79302         [BZ 12445]#
79303         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79304         to extend_alloca().
79305         * stdio-common/bug23.c: New file.
79306         * stdio-common/Makefile (tests): Add bug23.
79308 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79309             Ulrich Drepper  <drepper@gmail.com>
79311         [BZ #12489]
79312         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79313         before performing relro protection.  At old place add assertion
79314         to make sure nothing changed.
79316 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79317             Glauber de Oliveira Costa  <glommer@gmail.com>
79319         * elf/elf.h: Add new ARM TLS relocs.
79321 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79324         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79325         cast from r3.
79326         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79327         'tests' variable.
79328         * sysdeps/wordsize-64/tst-writev.c: New file.
79330 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79332         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79333         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79334         insns in _dl_start to prevent a TOC reference before relocs are
79335         resolved.
79337 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79339         [BZ #12469]
79340         * Makeconfig: Remove RANLIB definition.
79341         * Makerules: Don't use RANLIB.
79342         * aclocal.m4: Remove ranlib test.
79343         * configure.in: No need to check for ranlib.
79344         * elf/rtld-Rules: Don't use RANLIB.
79346 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79348         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79349         protection macro.
79350         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79351         inclusion protection macro.
79353         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79354         SIGRTMIN and SIGRTMAX and print information in that case only when
79355         SIGRTMIN is defined.
79357 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79359         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79360         arginfo fn returning -1.
79362         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79363         and thousands string is zero terminated.
79365 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79367         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79368         sysdeps/unix/sysv/linux/bits/socket.h.
79370 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79372         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79373         (__CPU_COUNT): Remove old macros.
79374         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79375         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79376         (__CPU_ALLOC, __CPU_FREE): Add macros.
79377         (__sched_cpualloc, __sched_cpufree): Add declarations.
79379 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79381         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79382         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79383         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79384         (readdhstai): Return value of addhstaiX call.
79385         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79386         (addgrbyX): Return value returned by cache_addgr.
79387         (readdgrbyname): Return value returned by addgrbyX.
79388         (readdgrbygid): Likewise.
79389         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79390         (addpwbyX): Return value returned by cache_addpw.
79391         (readdpwbyname): Return value returned by addhstbyX.
79392         (readdpwbyuid): Likewise.
79393         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79394         (addservbyX): Return value returned by cache_addserv.
79395         (readdservbyname): Return value returned by addservbyX:
79396         (readdservbyport): Likewise.
79397         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79398         (addhstbyX): Return value returned by cache_addhst.
79399         (readdhstbyname): Return value returned by addhstbyX.
79400         (readdhstbyaddr): Likewise.
79401         (readdhstbynamev6): Likewise.
79402         (readdhstbyaddrv6): Likewise.
79403         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79404         (readdinitgroups): Return value returned by addinitgroupsX.
79405         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79406         (prune_cache): Keep track of timeout value of re-added entries.
79407         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79408         * nscd/nscd.h: Adjust prototypes of readd* functions.
79410 2011-02-04  Roland McGrath  <roland@redhat.com>
79412         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79413         (nis_stats): Likewise.
79414         * nis/nis_modify.c (nis_modify): Likewise.
79415         * nis/nis_remove.c (nis_remove): Likewise.
79416         * nis/nis_add.c (nis_add): Likewise.
79418         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79420         * posix/fnmatch_loop.c: Add some consts.
79422         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79424 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79426         [BZ #12460]
79427         * config.make.in (config-cflags-novzeroupper): Define.
79428         * configure.in: Substitute libc_cv_cc_novzeroupper.
79429         * elf/Makefile (AVX-CFLAGS): Define.
79430         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79431         (CFLAGS-tst-auditmod4a.c): Likewise.
79432         (CFLAGS-tst-auditmod4b.c): Likewise.
79433         (CFLAGS-tst-auditmod6b.c): Likewise.
79434         (CFLAGS-tst-auditmod6c.c): Likewise.
79435         (CFLAGS-tst-auditmod7b.c): Likewise.
79436         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79438 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79440         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79441         function to the callback.
79442         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79444 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79446         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79447         of errno.
79449 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79451         [BZ #11724]
79452         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79453         of constructors.
79454         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79455         of destructors.
79456         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79458         [BZ #11724]
79459         * elf/Makefile: Add rules to build and run new test.
79460         * elf/tst-initorder.c: New file.
79461         * elf/tst-initorder.exp: New file.
79462         * elf/tst-initordera1.c: New file.
79463         * elf/tst-initordera2.c: New file.
79464         * elf/tst-initordera3.c: New file.
79465         * elf/tst-initordera4.c: New file.
79466         * elf/tst-initorderb1.c: New file.
79467         * elf/tst-initorderb2.c: New file.
79468         * elf/tst-order-a1.c: New file.
79469         * elf/tst-order-a2.c: New file.
79470         * elf/tst-order-a3.c: New file.
79471         * elf/tst-order-a4.c: New file.
79472         * elf/tst-order-b1.c: New file.
79473         * elf/tst-order-b2.c: New file.
79474         * elf/tst-order-main.c: New file.
79475         New test case by George Gensure <werkt0@gmail.com>.
79477 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79480         decoding ACE if AI_CANONIDN.
79482 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79484         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79486 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79488         * version.h (RELEASE): Bump for 2.13 release.
79489         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79491         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79493         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79494         MADV_NOHUGEPAGE.
79495         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79496         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79498         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79500         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79502         * posix/getconf.c: Update copyright year.
79503         * catgets/gencat.c: Likewise.
79504         * csu/version.c: Likewise.
79505         * debug/catchsegv.sh: Likewise.
79506         * debug/xtrace.sh: Likewise.
79507         * elf/ldconfig.c: Likewise.
79508         * elf/ldd.bash.in: Likewise.
79509         * elf/sprof.c (print_version): Likewise.
79510         * iconv/iconv_prog.c: Likewise.
79511         * iconv/iconvconfig.c: Likewise.
79512         * locale/programs/locale.c: Likewise.
79513         * locale/programs/localedef.c: Likewise.
79514         * malloc/memusage.sh: Likewise.
79515         * malloc/mtrace.pl: Likewise.
79516         * nscd/nscd.c (print_version): Likewise.
79517         * nss/getent.c: Likewise.
79519         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79520         PF_CAIF, and PF_ALG.
79521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79523 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79525         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79526         (modules-names): Use them.
79527         (ifunc-test-modules, ifunc-pie-tests): Define.
79528         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79529         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79530         (test-extras): Likewise.
79531         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79532         $(compile-command.c).
79533         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79534         (all-built-dso): Define.
79535         (check-textrel.out, check-execstack.out): Depend on it.
79537         * configure.in: Don't override --enable-multi-arch.
79539 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79541         [BZ #6812]
79542         * nscd/hstcache.c (tryagain): Define.
79543         (cache_addhst): Return tryagain not notfound for temporary errors.
79544         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79545         failed.
79547 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79549         [BZ #10563]
79550         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79551         to make the syscall.
79552         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79554         [BZ #12378]
79555         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79556         and fall back to matching as normal character if the string ends before
79557         the matching ']' is found.  This is what POSIX requires.
79558         * posix/testfnm.c: Adjust test result.
79559         * posix/globtest.sh: Adjust test result.  Add new test.
79560         * posix/tst-fnmatch.input: Likewise.
79561         * posix/tst-fnmatch2.c: Add new test.
79563 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79565         * elf/Makefile (check-execstack): Revert last change.  Depend on
79566         check-execstack.h.
79567         (check-execstack.h): New target.
79568         (generated): Add check-execstack.h.
79569         * elf/check-execstack.c: Include "check-execstack.h".
79570         (main): Revert last change.
79571         (handle_file): Return zero if GNU_STACK is absent and
79572         DEFAULT_STACK_PERMS doesn't include PF_X.
79574 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79576         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79577         in child fails because the descriptor is already closed.
79578         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79579         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79580         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79582         [BZ #12397]
79583         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79584         syscall.
79586         [BZ #10484]
79587         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79588         temporary buffer used to handle multi lookups locally.
79589         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79591 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79593         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79594         loader is ld.so.
79596 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79598         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79599         alignment for SSE2.
79601 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79603         [BZ #12394]
79604         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79605         characters.  When rounding increased number of integer digits recompute
79606         number of groups.
79607         * stdio-common/tst-grouping.c: New file.
79608         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79610 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79612         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79613         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79615         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79616         void.
79617         * bits/select.h: Likewise.
79619 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79621         * po/ja.po: Update from translation team.
79623 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79625         [BZ #11155]
79626         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79627         implementation just like for lxstat, fxstatat, et al.
79629 2010-12-27  Jim Meyering  <meyering@redhat.com>
79631         [BZ #12348]
79632         * posix/regexec.c (build_trtable): Return failure indication upon
79633         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79635 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79637         [BZ #12201]
79638         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79639         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79640         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79641         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79643         [BZ #12207]
79644         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79646         [BZ #12204]
79647         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79648         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79650 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79652         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79653         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79654         script has SORT_BY_INIT_PRIORITY.
79655         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79656         NO_CTORS_DTORS_SECTIONS is defined.
79657         * elf/soinit.c: Likewise.
79658         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79659         NO_CTORS_DTORS_SECTIONS is defined.
79660         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79661         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79662         * sysdeps/sh/init-first.c: Likewise.
79663         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79665 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79667         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79668         always use the slow path.
79670 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79672         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79673         similar rule which adds the sysdep directories to the header search in
79674         order to pick up the correct platform stackinfo.h.
79675         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79676         perform test if it is, otherwise return successfully without testing.
79677         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79678         DEFAULT_STACK_PERMS define in stackinfo.h.
79679         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79680         defined in stackinfo.h.
79681         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79682         DEFAULT_STACK_PERMS defined in stackinfo.h.
79683         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79684         * sysdeps/ia64/stackinfo.h: Likewise.
79685         * sysdeps/s390/stackinfo.h: Likewise.
79686         * sysdeps/sh/stackinfo.h: Likewise.
79687         * sysdeps/sparc/stackinfo.h: Likewise.
79688         * sysdeps/x86_64/stackinfo.h: Likewise.
79689         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79690         PF_X for powerpc64.  Retain PF_X for powerpc32.
79692 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79694         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79695         accurately.
79696         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79697         GETDENTS_64BIT_ALIGNED.
79699 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79701         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79703 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79705         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79706         _GNU_SOURCE.
79708         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79709         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79710         Remove __restrict.
79711         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79712         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79714 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79716         [BZ #11655]
79717         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79718         are initialized.
79720 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79722         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79724 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79726         * po/it.po: Update from translation team.
79728 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79730         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79731         unused codes.
79733 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79735         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79737 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79739         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79740         specially.
79741         (gaih_getanswer_slice): Likewise.
79743 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79747 2010-05-31  Petr Baudis  <pasky@suse.cz>
79749         [BZ #11149]
79750         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79751         silently even in the chroot mode.
79753 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79755         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79756         last patch a bit.  Pretty printing
79758 2010-05-31  Petr Baudis <pasky@suse.cz>
79760         [BZ #10085]
79761         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79762         initialization of skip_initgroups_dyn.
79764 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79766         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79767         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79769 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79771         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79773 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79775         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79776         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79777         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79778         ($(objpfx)tst-fnmatch-mem): New rule.
79779         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79780         * posix/tst-fnmatch.c (main): Call mtrace.
79782 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79785         Support Intel processor model 6 and model 0x2c.
79787 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79789         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79790           signed comparison.
79792 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79794         [BZ #12205]
79795         * string/test-strncasecmp.c (check_result): New function.
79796         (do_one_test): Use it.
79797         (check1): New function.
79798         (test_main): Use it.
79799         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79800         Support strcasecmp and strncasecmp.
79802 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79804         [BZ #12194]
79805         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79806         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79808 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79810         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79811         IFUNC support.
79812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79813         memset-x86-64.
79814         * sysdeps/x86_64/multiarch/bzero.S: New file.
79815         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79816         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79817         * sysdeps/x86_64/multiarch/memset.S: New file.
79818         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79820         Set bit_Prefer_SSE_for_memop for Intel processors.
79821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79822         Define.
79823         (index_Prefer_SSE_for_memop): Define.
79824         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79826 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79828         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79829         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79831 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79833         [BZ #12191]
79834         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79835         (__x86_64_raw_data_cache_size_half): Likewise.
79836         (__x86_64_raw_shared_cache_size): Likewise.
79837         (__x86_64_raw_shared_cache_size_half): Likewise.
79839         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79840         (__x86_64_raw_data_cache_size_half): Likewise.
79841         (__x86_64_raw_shared_cache_size): Likewise.
79842         (__x86_64_raw_shared_cache_size_half): Likewise.
79843         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79844         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79845         and __x86_64_raw_shared_cache_size_half.  Round
79846         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79847         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79848         to multiple of 256 bytes.
79850 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79852         [BZ #12167]
79853         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79854         of inacessible symlinks.  Verify result of symlink before returning it.
79855         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79856         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79858 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79860         * math/math.h (isinf): Fix typo in comment.
79862 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79864         * po/da.po: Update from translation team.
79866 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79868         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79869         is added to the list.
79871 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79872             Ulrich Drepper  <drepper@gmail.com>
79874         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79875         the global list here.  Move code to...
79876         (_dl_add_to_namespace_list): ...here.  New function.
79877         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79878         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79879         * elf/dl-load.c (lose): Don't remove the element from the list.
79880         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79881         (_dl_map_object): Likewise.
79883 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79885         [BZ #12159]
79886         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79887         into all bytes of SSE register.
79888         Patch by Richard Li <richardpku@gmail.com>.
79890 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79892         [BZ #12140]
79893         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79894         perturbing.
79896 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79898         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79899         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79900         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79901         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79903         submachine.
79904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79906 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79908         * include/dlfcn.h (__RTLD_SECURE): Define.
79909         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79910         mode & __RTLD_SECURE instead.
79911         (open_path): Rename preloaded parameter to secure.
79912         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79913         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79914         * elf/dl-deps.c (openaux): Likewise.
79915         * elf/rtld.c (struct map_args): Remove is_preloaded.
79916         (map_doit): Don't use it.
79917         (dl_main): Likewise.
79918         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79919         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79921 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79923         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79924         (sysd-rules-targets): Remove duplicates.
79925         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79926         rtld-%.$o dependency.
79928 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79930         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79931         _dl_map_object do it.
79933 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79935         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79936         fast fma builtins, define the macros in the C99 standard.
79937         (FP_FAST_FMAF): Likewise.
79938         (FP_FAST_FMAL): Likewise.
79939         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79941         * bits/mathdef.h: Update copyright year.
79942         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79944 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79946         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79947         builtins, define the macros in the C99 standard.
79948         (FP_FAST_FMAF): Likewise.
79949         (FP_FAST_FMAL): Likewise.
79950         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79951         multiply/add.
79952         (FP_FAST_FMAF): Likewise.
79954 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79956         [BZ #3268]
79957         * math/libm-test.inc (fma_test): Some new testcases.
79958         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79959         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79960         y and infinite z.  Do multiplication by C already in long double.
79961         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79963         y and infinite z.  Do bitwise or of inexact bit into u.d.
79964         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79965         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79966         * sysdeps/i386/fpu/s_fma.S: Removed.
79967         * sysdeps/i386/fpu/s_fmal.S: Removed.
79969 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79971         [BZ #3268]
79972         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79974         computation is not scheduled after fetestexcept.  Fix value
79975         of minimum denormal long double.
79977 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79979         [BZ #3268]
79980         * math/libm-test.inc (fma_test): Add some more tests.
79981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79982         correctly.
79984 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79986         * scripts/data/localplt-s390-linux-gnu.data: New file.
79987         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79989 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79991         [BZ #3268]
79992         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79993         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79994         instead of dbl-64.
79995         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79996         inlines.
79997         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79999         if one of x and y is very large and the other is subnormal.
80000         * sysdeps/s390/fpu/s_fmaf.c: New file.
80001         * sysdeps/s390/fpu/s_fma.c: New file.
80002         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80003         * sysdeps/powerpc/fpu/s_fma.S: New file.
80004         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80005         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80006         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80008 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80010         [BZ #3268]
80011         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80012         fma tests.
80013         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80014         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80015         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80016         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80017         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80018         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80019         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80021 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80023         [BZ #12078]
80024         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80025         * posix/bug-regex31.input: Add test case.
80027 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80029         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80030         * posix/bug-regex31.input: New file.
80032         [BZ #12078]
80033         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80034         (parse_sub_exp): Fix last change, use postorder.
80036         * posix/bug-regex31.c: New file.
80037         * posix/Makefile: Add rules to build and run bug-regex31.
80039         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80041         [BZ #12078]
80042         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80044         [BZ #12108]
80045         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80046         to have entries in sys_siglist.
80048         [BZ #12093]
80049         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80050         be NULL.
80052 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80054         [BZ #3268]
80055         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80056         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80057         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80058         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80059         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80060         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80061         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80062         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80063         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80064         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80065         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80066         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80067         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80068         * math/ftestexcept.c (fetestexcept): Likewise.
80069         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80070         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80071         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80072         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80073         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80074         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80075         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80077 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80079         [BZ #12107]
80080         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80081         newline.
80083 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80085         * string/bug-strstr1.c: New file.
80086         * string/Makefile: Add rules to build and run bug-strstr1.
80088 2010-10-05  Eric Blake  <eblake@redhat.com>
80090         [BZ #12092]
80091         * string/str-two-way.h (two_way_long_needle): Always clear memory
80092         when skipping input due to the shift table.
80094 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80096         [BZ #12005]
80097         * malloc/mcheck.c: Handle large requests.
80099         [BZ #12077]
80100         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80101         for strncmp and strncasecmp.
80102         * string/stratcliff.c: Add tests for strcmp and strncmp.
80103         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80105 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80107         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80108         __set_fpscr.
80110 2010-09-30  Andreas Jaeger  <aj@suse.de>
80112         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80113         (CGROUP_SUPER_MAGIC): Define.
80114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80115         Handle btrfs and cgroup file systems.
80116         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80117         Likewise.
80119 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80121         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80122         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80124 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80126         [BZ #12067]
80127         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80128         trying to locate the ELF header.
80130 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80132         [BZ #11611]
80133         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80134         Mask out sign-bit copies when constructing f_fsid.
80136 2010-09-24  Petr Baudis <pasky@suse.cz>
80138         * debug/stack_chk_fail_local.c: Add missing licence exception.
80139         * debug/warning-nop.c: Likewise.
80141 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80143         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80144         implementing getdents64 using getdents syscall, set d_type if
80145         __ASSUME_GETDENTS32_D_TYPE.
80147 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80149         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80150         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80152 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80154         [BZ #12037]
80155         * posix/unistd.h: Undo change of feature selection for ftruncate from
80156         2010-01-11.
80158 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80160         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80161         detection.
80163 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80165         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80166         fanotify_mark.
80167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80169 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80171         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80172         variables after CHECK_SP call.
80173         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80175 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80176             Ulrich Drepper  <drepper@redhat.com>
80178         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80179         re-relocationg ld.so.
80180         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80181         _dl_init_paths call.
80182         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80183         here anymore.
80185 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80187         * resolv/res_init.c (__res_vinit): Count the default server we added.
80189 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80190             Ulrich Drepper  <drepper@redhat.com>
80192         [BZ #11968]
80193         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80194         (____longjmp_chk): Use %ebx for saving value across system call.
80195         Add unwind info.
80197 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80199         * manual/Makefile: Don't mix pattern rules with normal rules.
80201 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80203         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80204         operation.
80205         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80206         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80207         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80208         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80210         Likewise.
80212 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80214         [BZ #11979]
80215         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80216         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80218 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80220         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80221         * sysdeps/x86_64/addmul_1.S: Likewise.
80222         * sysdeps/x86_64/lshift.S: Likewise.
80223         * sysdeps/x86_64/mul_1.S: Likewise.
80224         * sysdeps/x86_64/rshift.S: Likewise.
80225         * sysdeps/x86_64/sub_n.S: Likewise.
80226         * sysdeps/x86_64/submul_1.S: Likewise.
80228 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80230         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80231         Define __sched_param instead of SCHED_* and sched_param when
80232         <bits/sched.h> is included with __need_schedparam defined.
80233         * bits/sched.h [__need_schedparam]
80234         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80235         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80236         (__defined_schedparam): Define to 1.
80237         (__sched_param): New structure, identical to sched_param.
80238         (__need_schedparam): Undefine.
80240 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80242         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80243         (epoll_create1): Declare.
80245         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80247 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80249         [BZ #7066]
80250         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80251         shifting retval into place.
80253 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80255         * nis/rpcsvc/nis.h: Update copyright notice.
80256         * nis/rpcsvc/nis.x: Likewise.
80257         * nis/rpcsvc/nis_callback.h: Likewise.
80258         * nis/rpcsvc/nis_callback.x: Likewise.
80259         * nis/rpcsvc/nis_object.x: Likewise.
80260         * nis/rpcsvc/nis_tags.h: Likewise.
80261         * nis/rpcsvc/yp.h: Likewise.
80262         * nis/rpcsvc/yp.x: Likewise.
80263         * nis/rpcsvc/ypupd.h: Likewise.
80264         * nis/yp_xdr.c: Likewise.
80265         * nis/ypupdate_xdr.c: Likewise.
80267         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80268         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80269         (pmap_getport): Use __libc_rpc_getport.
80270         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80271         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80272         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80274 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80277         fanotify_mark.
80279 2010-08-27  Roland McGrath  <roland@redhat.com>
80281         * sysdeps/i386/i686/multiarch/Makefile
80282         (CFLAGS-varshift.c): New variable.
80284 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80286         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80287         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80289         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80291         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80293 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80295         * sysdeps/x86_64/strlen.S: Unroll the loop.
80296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80297         strlen-sse2 strlen-sse2-bsf.
80298         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80299         __strlen_no_bsf if bit_Slow_BSF is set.
80300         (__strlen_sse42): Removed.
80301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80302         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80304 2010-08-25  Roland McGrath  <roland@redhat.com>
80306         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80307         * sysdeps/x86_64/multiarch/varshift.c: New file.
80308         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80309         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80310         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80311         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80313 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80315         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80316         strlen-sse2 strlen-sse2-bsf.
80317         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80318         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80319         (__strlen_sse2): Removed.
80320         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80323         bit_Slow_BSF for Atom.
80324         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80325         (index_Slow_BSF): Define.
80326         (HAS_SLOW_BSF): Define.
80328 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80330         [BZ #10851]
80331         * resolv/res_init.c (__res_vinit): When no server address at all
80332         is given default to loopback.
80334 2010-08-24  Roland McGrath  <roland@redhat.com>
80336         * configure.in: Remove config-name.h generation.
80337         * configure: Regenerated.
80338         * config-name.in: File removed.
80339         * scripts/config-uname.sh: New file.
80340         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80341         ($(objdir)config-name.h): New target.
80343         * sunrpc/rpc_parse.h: Avoid nested comment.
80345 2010-08-24  Richard Henderson  <rth@redhat.com>
80346             Ulrich Drepper  <drepper@redhat.com>
80347             H.J. Lu  <hongjiu.lu@intel.com>
80349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80351         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80352         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80353         _mm_alignr_epi8 with _mm_loadu_si128.
80354         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80355         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80356         (__m128i_shift_right): Removed.
80357         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80358         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80359         * sysdeps/x86_64/multiarch/varshift.h: New file.
80360         * sysdeps/x86_64/multiarch/varshift.S: New file.
80362 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80364         * configure.in: Move assembler checks to before sysdep dir checking.
80366 2010-08-20  Petr Baudis  <pasky@suse.cz>
80368         * LICENSES: Sync the sunrpc license.
80370 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80372         * sunrpc/auth_des.c: Update copyright notice once again.
80373         * sunrpc/auth_none.c: Likewise.
80374         * sunrpc/auth_unix.c: Likewise.
80375         * sunrpc/authdes_prot.c: Likewise.
80376         * sunrpc/authuxprot.c: Likewise.
80377         * sunrpc/bindrsvprt.c: Likewise.
80378         * sunrpc/clnt_gen.c: Likewise.
80379         * sunrpc/clnt_perr.c: Likewise.
80380         * sunrpc/clnt_raw.c: Likewise.
80381         * sunrpc/clnt_simp.c: Likewise.
80382         * sunrpc/clnt_tcp.c: Likewise.
80383         * sunrpc/clnt_udp.c: Likewise.
80384         * sunrpc/clnt_unix.c: Likewise.
80385         * sunrpc/des_crypt.c: Likewise.
80386         * sunrpc/des_soft.c: Likewise.
80387         * sunrpc/get_myaddr.c: Likewise.
80388         * sunrpc/getrpcport.c: Likewise.
80389         * sunrpc/key_call.c: Likewise.
80390         * sunrpc/key_prot.c: Likewise.
80391         * sunrpc/openchild.c: Likewise.
80392         * sunrpc/pm_getmaps.c: Likewise.
80393         * sunrpc/pm_getport.c: Likewise.
80394         * sunrpc/pmap_clnt.c: Likewise.
80395         * sunrpc/pmap_prot.c: Likewise.
80396         * sunrpc/pmap_prot2.c: Likewise.
80397         * sunrpc/pmap_rmt.c: Likewise.
80398         * sunrpc/rpc/auth.h: Likewise.
80399         * sunrpc/rpc/auth_unix.h: Likewise.
80400         * sunrpc/rpc/clnt.h: Likewise.
80401         * sunrpc/rpc/des_crypt.h: Likewise.
80402         * sunrpc/rpc/key_prot.h: Likewise.
80403         * sunrpc/rpc/netdb.h: Likewise.
80404         * sunrpc/rpc/pmap_clnt.h: Likewise.
80405         * sunrpc/rpc/pmap_prot.h: Likewise.
80406         * sunrpc/rpc/pmap_rmt.h: Likewise.
80407         * sunrpc/rpc/rpc.h: Likewise.
80408         * sunrpc/rpc/rpc_des.h: Likewise.
80409         * sunrpc/rpc/rpc_msg.h: Likewise.
80410         * sunrpc/rpc/svc.h: Likewise.
80411         * sunrpc/rpc/svc_auth.h: Likewise.
80412         * sunrpc/rpc/types.h: Likewise.
80413         * sunrpc/rpc/xdr.h: Likewise.
80414         * sunrpc/rpc_clntout.c: Likewise.
80415         * sunrpc/rpc_cmsg.c: Likewise.
80416         * sunrpc/rpc_common.c: Likewise.
80417         * sunrpc/rpc_cout.c: Likewise.
80418         * sunrpc/rpc_dtable.c: Likewise.
80419         * sunrpc/rpc_hout.c: Likewise.
80420         * sunrpc/rpc_main.c: Likewise.
80421         * sunrpc/rpc_parse.c: Likewise.
80422         * sunrpc/rpc_parse.h: Likewise.
80423         * sunrpc/rpc_prot.c: Likewise.
80424         * sunrpc/rpc_sample.c: Likewise.
80425         * sunrpc/rpc_scan.c: Likewise.
80426         * sunrpc/rpc_scan.h: Likewise.
80427         * sunrpc/rpc_svcout.c: Likewise.
80428         * sunrpc/rpc_tblout.c: Likewise.
80429         * sunrpc/rpc_util.c: Likewise.
80430         * sunrpc/rpc_util.h: Likewise.
80431         * sunrpc/rpcinfo.c: Likewise.
80432         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80433         * sunrpc/rpcsvc/key_prot.x: Likewise.
80434         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80435         * sunrpc/rpcsvc/mount.x: Likewise.
80436         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80437         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80438         * sunrpc/rpcsvc/rex.x: Likewise.
80439         * sunrpc/rpcsvc/rstat.x: Likewise.
80440         * sunrpc/rpcsvc/rusers.x: Likewise.
80441         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80442         * sunrpc/rpcsvc/spray.x: Likewise.
80443         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80444         * sunrpc/rtime.c: Likewise.
80445         * sunrpc/svc.c: Likewise.
80446         * sunrpc/svc_auth.c: Likewise.
80447         * sunrpc/svc_authux.c: Likewise.
80448         * sunrpc/svc_raw.c: Likewise.
80449         * sunrpc/svc_run.c: Likewise.
80450         * sunrpc/svc_simple.c: Likewise.
80451         * sunrpc/svc_tcp.c: Likewise.
80452         * sunrpc/svc_udp.c: Likewise.
80453         * sunrpc/svc_unix.c: Likewise.
80454         * sunrpc/svcauth_des.c: Likewise.
80455         * sunrpc/xcrypt.c: Likewise.
80456         * sunrpc/xdr.c: Likewise.
80457         * sunrpc/xdr_array.c: Likewise.
80458         * sunrpc/xdr_float.c: Likewise.
80459         * sunrpc/xdr_mem.c: Likewise.
80460         * sunrpc/xdr_rec.c: Likewise.
80461         * sunrpc/xdr_ref.c: Likewise.
80462         * sunrpc/xdr_sizeof.c: Likewise.
80463         * sunrpc/xdr_stdio.c: Likewise.
80465         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80466         handling.
80468 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80470         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80472 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80474         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80475         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80476         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80477         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80478         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80479         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80480         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80481         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80482         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80483         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80484         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80485         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80486         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80487         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80489 2010-07-26  Anton Blanchard  <anton@samba.org>
80491         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80492         * malloc/arena.c (heap_trim): Likewise.
80494 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80496         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80497         here.  Not...
80498         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80499         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80501 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80503         * sysdeps/i386/elf/Makefile: New file.
80505 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80507         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80508         from fanotify_init.
80509         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80510         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80512 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80514         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80515         of strncasecmp_l.
80516         * sysdeps/multiarch/strcmp.S: Likewise.
80518 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80520         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80521         strncase_l-nonascii.
80522         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80523         Add strncase_l-ssse3.
80524         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80525         * sysdeps/x86_64/strcmp.S: Likewise.
80526         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80527         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80528         * sysdeps/x86_64/strncase.S: New file.
80529         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80530         * sysdeps/x86_64/strncase_l.S: New file.
80531         * string/Makefile (strop-tests): Add strncasecmp.
80532         * string/test-strncasecmp.c: New file.
80534         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80535         warning.
80537         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80538         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80540 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80542         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80544 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80546         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80547         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80548         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80550 2010-05-01  Alan Modra  <amodra@gmail.com>
80552         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80553         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80554         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80555         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80556         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80557         tidying.  Don't tail-call __sigjmp_save for static lib.
80558         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80559         save location.
80560         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80561         (CALL_MCOUNT): Add eh info, and nop after bl.
80562         (TAIL_CALL_SYSCALL_ERROR): New macro.
80563         (PSEUDO_RET): Use it.
80564         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80565         Correct save location of integer regs and cr.
80566         (_dl_profile_resolve): Correct cr save location.  Delete nops
80567         after bl when SHARED.  Reduce cfi size a little by better
80568         placement of cfi directives.
80569         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80570         make a stack frame.  Instead use parm save area as a temp.
80571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80572         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80574         Don't make a stack frame for parent, use parm save area.
80575         Increase child stack frame to 112 bytes.  Don't save unused reg,
80576         and adjust reg usage.  Set up cfi on error recovery and
80577         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80579         (__makecontext): Add dummy nop after jump to exit.
80580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80581         Use correct parm save area and cr save, reduce stack frame.
80582         Correct cfi for possible PSEUDO_RET frame setup.
80583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80584         Branch to local label emitted by PSEUDO_RET rather than
80585         __syscall_error.
80587 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80589         [BZ #11904]
80590         * locale/programs/locale.c (print_assignment): New function.
80591         (show_locale_vars): Use it.
80593 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80595         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80596         field.
80597         (struct statfs64): Likewise.
80598         (_STATFS_F_FLAGS): Define.
80599         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80600         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80601         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80602         (ST_VALID): Define locally.
80603         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80604         __statvfs_getflags, use the provided value.
80605         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80606         __ASSUME_STATFS_F_FLAGS.
80608         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80610         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80611         Add sys/fanotify.h.
80612         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80613         fanotify_mask for GLIBC_2.13.
80614         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80615         fanotify_init and fanotify_mark.
80616         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80617         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80619         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80620         Add prlimit.
80621         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80622         prlimit64 for GLIBC_2.13.
80623         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80624         prlimit64.
80625         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80626         syscall.
80627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80629         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80630         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80631         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80632         add prlimit alias.
80633         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80635         [BZ #11903]
80636         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80637         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80639         * nss/Makefile: Add rules to build and run tst-nss-test1.
80640         * shlib-versions: Add entry for libnss_test1.
80641         * nss/nss_test1.c: New file.
80642         * nss/tst-nss-test1.c: New file.
80644         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80645         (__nss_configure_lookup): Set appropriate entry in
80646         __nss_configure_lookup to true.
80647         * nss/nsswitch.h: Define enum with indeces of databases in
80648         databases and __nss_database_custom arrays.  Declare
80649         __nss_database_custom.
80650         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80651         to avoid using nscd when custom rules are installed.
80652         * nss/getXXbyYY_r.c: Likewise.
80653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80655         * nss/nss_files/files-parse.c: Whitespace fixes.
80657 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80659         [BZ #11883]
80660         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80661         * posix/fnmatch_loop.c: Likewise.
80663 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80665         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80666         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80667         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80668         * Versions.def [GLIBC_2.13]: Add.
80670 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80672         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80673         Also fail if tpwd after pwuid call is NULL.
80675 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80677         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80678         when converting to ms.
80680 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80682         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80683         EOPNOTSUPP errors with ENOTTY.
80684         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80685         EOPNOTSUPP errors with ENOTTY.
80687 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80689         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80690         Add strcasecmp_l-ssse3.
80691         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80692         strcasecmp.
80693         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80694         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80695         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80697 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80699         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80701         * string/Makefile (strop-tests): Add strcasecmp.
80702         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80703         strcasecmp_l-nonascii.
80704         (gen-as-const-headers): Add locale-defines.sym.
80705         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80706         * sysdeps/x86_64/strcasecmp.S: New file.
80707         * sysdeps/x86_64/strcasecmp_l.S: New file.
80708         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80709         * sysdeps/x86_64/locale-defines.sym: New file.
80710         * string/test-strcasecmp.c: New file.
80712         * string/test-strcasestr.c: Test both ends of the range of characters.
80713         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80715 2010-07-29  Roland McGrath  <roland@redhat.com>
80717         [BZ #11856]
80718         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80720 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80722         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80723         for ld.so.
80725 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80727         * manual/memory.texi (Malloc Tunable Parameters): Document
80728         M_PERTURB.
80730 2010-07-26  Roland McGrath  <roland@redhat.com>
80732         [BZ #11840]
80733         * configure.in (-fgnu89-inline check): Set and substitute
80734         gnu89_inline, not libc_cv_gnu89_inline.
80735         * configure: Regenerated.
80736         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80738 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80740         * string/test-strnlen.c: New file.
80741         * string/Makefile (strop-tests): Add strnlen.
80742         * string/tester.c (test_strnlen): Add a few more test cases.
80743         * string/tst-strlen.c: Better error reporting.
80745         * sysdeps/x86_64/strnlen.S: New file.
80747 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80749         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80750         lower-latency instructions.
80752 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80754         * string/test-strcasestr.c: New file.
80755         * string/test-strstr.c: New file.
80756         * string/Makefile (strop-tests): Add strstr and strcasestr.
80757         * string/str-two-way.h: Don't undefine MAX.
80758         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80760 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80763         strcasestr-nonascii.
80764         (CFLAGS-strcasestr-nonascii.c): Define.
80765         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80766         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80767         Remove unused attribute.
80769 2010-07-20  Roland McGrath  <roland@redhat.com>
80771         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80772         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80773         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80774         like LD_HWCAP_MASK can disable hwcaps.
80776 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80778         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80780 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80782         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80783         call in strcasestr.
80784         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80785         __strcasestr_sse42_nonascii.
80786         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80787         strcasestr-nonascii.c.
80788         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80790 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80792         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80793         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80794         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80795         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80797 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80799         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80800         fcntl.
80802 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80804         [BZ #11577]
80805         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80806         dl_signal_cerror.
80808 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80810         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80811         _PC_PIPE_BUF using F_GETPIPE_SZ.
80813 2010-07-05  Roland McGrath  <roland@redhat.com>
80815         * manual/arith.texi (Rounding Functions): Fix rint description
80816         implicit in round description.
80818 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80820         * elf/Makefile: Fix linking for a few tests to make recent linker
80821         happy.
80823 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80825         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80826         $(common-objpfx)libc_nonshared.a.
80828 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80830         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80831         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80832         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80833         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80834         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80835         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80836         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80837         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80852         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80853         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80854         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80855         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80856         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80857         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80858         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80859         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80860         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80861         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80862         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80863         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80879 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80881         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80882         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80883         * string/memmove.c (memmove): Renamed to ...
80884         (MEMMOVE): ...this.  Default to memmove.
80885         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80886         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80887         (END_CHK): Define.
80888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80889         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80890         mempcpy-ssse3-back memmove-ssse3-back.
80891         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80892         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80894         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80895         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80896         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80897         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80898         * sysdeps/x86_64/multiarch/memmove.c: New file.
80899         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80900         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80901         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80902         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80903         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80904         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80905         Define.
80906         (index_Fast_Copy_Backward): Define.
80907         (HAS_ARCH_FEATURE): Define.
80908         (HAS_FAST_REP_STRING): Define.
80909         (HAS_FAST_COPY_BACKWARD): Define.
80911 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80913         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80914         Restore proper fallback handling.
80916 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80918         [BZ #11701]
80919         * posix/group_member.c (__group_member): Correct checking loop.
80921         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80922         OOM in getpwuid_r correctly.  Return error number when the caller
80923         should return, otherwise -1.
80924         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80925         call returning > 0 value.
80926         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80928 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80930         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80931         libc_nonshared.a from targets in modules-names.
80933 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80935         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80936         requires it.
80938 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80940         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80941         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80942         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80943         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80945 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80947         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80949 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80951         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80952         and F_GETPIPE_SZ.
80953         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80954         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80956         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80957         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80958         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80960 2010-06-14  Roland McGrath  <roland@redhat.com>
80962         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80964 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80966         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80967         __REDIRECT followed by __THROW.
80968         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80969         * posix/getopt.h (getopt): Likewise.
80971 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80973         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80974         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80975         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80976         in AT_FLAGS.
80977         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80978         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80980 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80982         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80984 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80986         [BZ #11640]
80987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80988         Properly check family and model.
80990 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80992         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80994 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80996         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80998 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81000         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81001         symbol reference.
81003 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81005         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81006         symbol reference.
81008 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81010         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81011         and internal_recvmmsg.
81012         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81013         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81014         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81015         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81017         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81018         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81019         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81021 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81023         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81025 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81027         POWER7 optimizations.
81028         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81029         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81031 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81033         * version.h: Update for 2.13 development version.
81035 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81037         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81038         exceptions.  Return 0.
81040 2010-05-07  Roland McGrath  <roland@redhat.com>
81042         * elf/ldconfig.c (main): Add a const.
81044 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81046         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81047         (args_options): Add no-idn option.
81048         (ahosts_keys_int): Add idn_flags to ai_flags.
81049         (parse_option): Handle 'i' option to clear idn_flags.
81051         * malloc/malloc.c (_int_free): Possible race in the most recently
81052         added check.  Only act on the data if no current modification
81053         happened.
81055 See ChangeLog.17 for earlier changes.