Fix atomic_fetch_xor_release.
[glibc.git] / ChangeLog
blob9c4d06fdc3f3227aaa2cf46ec1fd0abea78f04b9
1 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
3         * include/atomic.h
4         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
5         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
10         * stdlib/tst-strfrom.h: New file.
11         * stdlib/tst-strfrom.c: New file.
12         * stdlib/tst-strfrom-locale.c: New file.
14         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15         * stdlib/bug-strtod2.c: Likewise.
16         * stdlib/tst-strtod-round-skeleton.c: Likewise.
17         * stdlib/tst-strtod6.c: Likewise.
18         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
20 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
23         * manual/arith.texi: Document strfromd, strfromf, strfroml.
24         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
25         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
26         * stdlib/stdlib.h (strfromd): New declaration.
27         (strfromf): Likewise.
28         (strfroml): Likewise.
29         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
30         strfrom.
31         * stdlib/strfromd.c: New file.
32         * stdlib/strfromf.c: Likewise.
33         * stdlib/strfroml.c: Likewise.
34         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
35         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
36         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
37         * sysdeps/arm/nacl/libc.abilist: Update.
38         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
67 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
69         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
70         instead of cmpli.
71         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
72         instead of cmpli.
74 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
76         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
77         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
78         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
79         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
80         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
81         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
83 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
85         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
86         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
87         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
88         SYSCALL_LL64_PRW.
89         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
90         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
91         __ASSUME_PRW_DUMMY_ARG.
92         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
93         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
94         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
95         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
96         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
97         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
99 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
101         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
103 2016-10-22  Florian Weimer  <fweimer@redhat.com>
105         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
106         "C++", to override a potential extern "C" directive around the
107         header file inclusion.
109 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
111         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
113 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
115         * sysdeps/powerpc/fpu/fenv_private.h:
116         (_FPU_MASK_ALL): Rename to...
117         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
118         XE FPSCR bits.
120         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
122         (_FPU_MASK_ROUNDING): Rename to...
123         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
124         NI bits.
126         (_FPU_MASK_EXCEPT_ROUND): Rename to...
127         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
128         bits and rounding bits.
130         (__libc_feholdbits_ppc): New inline function to mask, set,
131         and pontentially clear FSPCR bits, and change MSR[FE] bits.
132         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
133         (libc_feholdexcept_setround_ppc): Likewise.
135         (__libc_femergeenv_ppc): New function to dynamically mask both
136         old and new FP environments and merge.
137         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
138         (libc_feresetround_ppc): Likewise.
139         (libc_feupdateenv_test_ppc): Likewise.
140         (libc_feupdateenv_ppc): Likewise.
142         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
143         of ISA RN bits, and update macro names.
144         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
145         effectively the same as the previously mentioned function.
147         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
148         usage with fe_resetround_ppc.
150         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
151         to be used.
152         (libc_feholdexcept_setround_ctxf): Likewise.
153         (libc_feholdexcept_setround_ctxl): Likewise.
155 2016-10-21  Florian Weimer  <fweimer@redhat.com>
157         [BZ #20715]
158         * math/math.h [__cplusplus] (iszero): Define as function template.
159         * math/Makefile [CXX] (tests): Add test-math-iszero.
160         (CFLAGS-test-math-iszero.cc): Set.
161         * math/test-math-iszero.cc: New file.
163 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
165         [BZ #20660]
166         * sysdeps/arm/e_sqrt.c: New file.
167         * sysdeps/arm/e_sqrtf.c: Likewise.
169 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
171         [BZ #20718]
172         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
173         not use floating-point comparisons to test sign.
174         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
175         Likewise.
177         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
178         (getpayload): New declaration.
179         * math/Versions (getpayload): New libm symbol at version
180         GLIBC_2.25.
181         (getpayloadf): Likewise.
182         (getpayloadl): Likewise.
183         * math/Makefile (libm-calls): Add s_getpayloadF.
184         * math/libm-test.inc: Include <nan-high-order-bit.h>.
185         (struct test_f_f_data): Add comment.
186         (RUN_TEST_fp_f): New macro.
187         (RUN_TEST_LOOP_fp_f): Likewise.
188         (getpayload_test_data): New array.
189         (getpayload_test): New function.
190         (main): Call getpayload_test.
191         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
192         descriptor.
193         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
194         getpayloadf and getpayloadl.
195         * manual/libm-err-tab.pl: Update comment on interfaces without
196         ulps tabulated.
197         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
198         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
199         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
200         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
201         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
202         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
203         * sysdeps/nacl/libm.abilist: Update.
204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
217         Likewise.
218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
219         Likewise.
220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
221         Likewise.
222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
223         Likewise.
224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
230         Likewise.
231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
232         Likewise.
233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
237 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
239         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
240         tst-fallocate{64}.
241         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
242         on syscall return.
244 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
246         [BZ #20689]
247         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
248         usable.
250 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
252         * sysdeps/generic/nan-high-order-bit.h: New file.
253         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
254         * sysdeps/mips/nan-high-order-bit.h: Likewise.
255         * sysdeps/hppa/math_private.h: Remove file.
256         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
257         not define here.
258         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
259         <nan-high-order-bit.h>.
260         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
261         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
262         <nan-high-order-bit.h>.
263         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
264         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
265         <nan-high-order-bit.h>.
266         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
267         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
268         <nan-high-order-bit.h>.
269         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
270         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
271         <nan-high-order-bit.h>.
272         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
273         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
274         <nan-high-order-bit.h>.
275         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
276         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
277         <nan-high-order-bit.h>.
278         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
279         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
280         <nan-high-order-bit.h>.
281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
282         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
283         <nan-high-order-bit.h>.
284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
285         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
286         <nan-high-order-bit.h>.
287         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
288         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
289         <nan-high-order-bit.h>.
290         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
291         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
292         <nan-high-order-bit.h>.
293         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
294         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
295         <nan-high-order-bit.h>.
296         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
297         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
298         <nan-high-order-bit.h>.
299         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
300         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
301         <nan-high-order-bit.h>.
302         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
303         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
304         <nan-high-order-bit.h>.
305         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
306         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
307         <nan-high-order-bit.h>.
308         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
309         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
310         <nan-high-order-bit.h>.
311         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
313 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
315         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
317 2016-09-22  John David Anglin  <dave.anglin@bell.net>
319         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
320         abort-instr.h.
321         (EFAULT): Remove conditional define.
322         (ENOSYS): Likewise.
323         (atomic_compare_and_exchange_val_acq): Use instruction nullification
324         instead of conditional branch instructions.
326 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
328         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
329         (totalordermag): New declaration.
330         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
331         New macro.
332         * math/Versions (totalordermag): New libm symbol at version
333         GLIBC_2.25.
334         (totalordermagf): Likewise.
335         (totalordermagl): Likewise.
336         * math/Makefile (libm-calls): Add s_totalordermagF.
337         * math/libm-test.inc (totalordermag_test_data): New array.
338         (totalordermag_test): New function.
339         (main): Call totalordermag_test.
340         * math/test-tgmath.c (NCALLS): Increase to 125.
341         (F(compile_test)): Call totalordermag.
342         (F(totalordermag)): New function.
343         * manual/arith.texi (FP Comparison Functions): Document
344         totalordermag, totalordermagf and totalordermagl.
345         * manual/libm-err-tab.pl: Update comment on interfaces without
346         ulps tabulated.
347         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
348         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
349         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
350         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
351         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
352         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
353         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
354         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
355         totalordermag.
356         (CFLAGS-nldbl-totalordermag.c): New variable.
357         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
358         (do_test): Also test totalordermagl.
359         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
360         Likewise.
361         * sysdeps/nacl/libm.abilist: Update.
362         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
363         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
364         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
365         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
366         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
369         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
370         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
371         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
375         Likewise.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
377         Likewise.
378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
379         Likewise.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
381         Likewise.
382         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
384         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
388         Likewise.
389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
390         Likewise.
391         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
395 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
397         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
398         boolean.
400 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
402         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
403         raising FE_INVALID with feraisexcept in case where part of
404         argument is infinite, subtract that part of argument from itself.
405         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
406         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
407         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
409 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
411         * math/libm-test.inc (totalorder_test_data): Add more tests.
413 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
415         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
416         Undefine weak_alias and add a comment why mips64 require
417         versioning.
419 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
421         [BZ #20647]
422         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
423         maximum CPUID level is less than 2.
425 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
427         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
428         (totalorder): New declaration.
429         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
430         New macro.
431         * math/Versions (totalorder): New libm symbol at version
432         GLIBC_2.25.
433         (totalorderf): Likewise.
434         (totalorderl): Likewise.
435         * math/Makefile (libm-calls): Add s_totalorderF.
436         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
437         string.
438         * math/libm-test.inc (PAYLOAD_DIG): New macro.
439         (qnan_value_pl): Likewise.
440         (snan_value_pl): Likewise.
441         (qnan_value): Define using qnan_value_pl.
442         (snan_value): Define using snan_value_pl.
443         (struct test_ff_i_data): Add comment about which tests use this
444         structure.
445         (RUN_TEST_ff_b): New macro.
446         (RUN_TEST_LOOP_ff_b): Likewise.
447         (totalorder_test_data): New array.
448         (totalorder_test): New function.
449         (main): Call totalorder_test.
450         * math/test-tgmath.c (NCALLS): Increase to 122.
451         (F(compile_test)): Call totalorder.
452         (F(totalorder)): New function.
453         * manual/arith.texi (FP Comparison Functions): Document
454         totalorder, totalorderf and totalorderl.
455         * manual/libm-err-tab.pl: Update comment on interfaces without
456         ulps tabulated.
457         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
458         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
459         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
460         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
461         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
462         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
463         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
464         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
465         totalorder.
466         (CFLAGS-nldbl-totalorder.c): New variable.
467         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
468         file.
469         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
470         Add test-totalorderl-ldbl-128ibm.
471         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
472         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
473         test-totalorderl-ldbl-96.
474         * sysdeps/nacl/libm.abilist: Update.
475         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
476         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
477         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
478         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
479         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
480         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
481         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
482         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
483         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
484         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
488         Likewise.
489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
490         Likewise.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
492         Likewise.
493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
494         Likewise.
495         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
496         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
497         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
501         Likewise.
502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
503         Likewise.
504         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
505         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
506         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
508 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
510         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
511         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
512         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
513         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
514         remove ENOSYS implementation.
515         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
516         Consolidate all Linux implementations.
518 2016-10-11  Florian Weimer  <fweimer@redhat.com>
520         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
521         * resolv/herror.c (herror): Cast away const-ness.
522         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
523         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
525 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
527         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
528         instead of M_NAN + M_NAN.
529         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
531 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
533         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
534         unused variable 'p'.
536 2016-10-09  Alan Modra  <amodra@gmail.com>
537             Andreas Schwab  <schwab@linux-m68k.org>
539         [BZ #20554]
540         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
541         [PIC && !SHARED]: Set up PIC register for PLT call.
543 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
545         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
546         conditional on value of [__FLT_EVAL_METHOD__].
547         * math/test-iseqsig-excess-precision.c: New file.
548         * math/Makefile (tests): Add test-iseqsig-excess-precision.
550 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
552         * math/s_iseqsig_template.c: Include math-private.h.
554         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
555         * posix/tst-posix_fadvise.c: New file.
556         * posix/tst-posix_fadvise64.c: Likewise.
557         * posix/tst-posix_fadvise-common.c: Likewise.
558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
559         (__ASSUME_FADVISE64_64_6ARG): Define.
560         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
561         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
562         * sysdeps/unix/sysv/linux/tile/kernel-features.h
563         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
564         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
565         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
566         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
567         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
568         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
569         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
570         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
571         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
574         Likewise.
575         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
576         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
577         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
578         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
579         Alias to __posix_fadvise64_l32.
580         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
581         Add compat definition to posix_fadvise64.
582         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
583         Add versioned definition to posix_fadvise64.
584         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
585         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
586         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
587         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
588         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
590         * io/Makefile (tests): Add tst-posix_fallocate and
591         tst-posix_fallocate64.
592         * io/tst-posix_fallocate-common.c: New file.
593         * io/tst-posix_fallocate.c: Likewise.
594         * io/tst-posix_fallocate64.c: Likewise.
595         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
596         file.
597         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
598         Likewise.
599         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
600         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
601         Likewise.
602         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
603         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
604         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
605         SYSCALL_LL to pass both offset and len arguments.
606         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
607         Likewise.
608         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
609         __libc_pwrite64 alias used by posix_fallocate64.
611         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
612         tst-fallocate64.
613         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
614         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
615         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
616         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
617         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
618         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
619         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
620         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
621         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
622         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
623         macro on offset argument.
624         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
625         SYSCALL_LL64 on offset argument.
627         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
628         tst-fallocate64.
629         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
630         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
631         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
632         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
633         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
634         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
635         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
636         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
637         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
638         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
639         macro on offset argument.
640         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
641         SYSCALL_LL64 on offset argument.
642         * test-skeleton.c (FAIL_RET): Add macro.
643         (FAIL_EXIT): Likewise.
644         (FAIL_EXIT1): Likewise.
645         (_FAIL): Likewise.
647 2016-10-07  Florian Weimer  <fweimer@redhat.com>
649         [BZ #20629]
650         resolv: Remove RES_USEBSTRING and its implementation.
651         * resolv/resolv.h (RES_USEBSTRING): Remove.
652         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
653         (digitvalue, encode_bitstring, decode_bitstring): Remove.
654         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
655         (labellen): Remove extended label types support.
656         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
657         * resolv/res_init.c (res_setoptions): Likewise.
658         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
660 2016-10-07  Florian Weimer  <fweimer@redhat.com>
662         resolv: Remove RES_NOIP6DOTINT and its implementation.
663         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
664         (RES_NOIP6DOTINT): Remove.
665         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
666         handling.
667         * resolv/res_debug.c (p_option): Likewise.
668         * resolv/res_init.c (res_setoptions): Likewise.
669         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
671 2016-10-07  Florian Weimer  <fweimer@redhat.com>
673         resolv: Deprecate unimplemented flags.
674         * misc/sys/cdefs.h (__glibc_macro_warning1)
675         (__glibc_macro_warning): Define.
676         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
677         (RES_KEEPTSIG): Mark as deprecated.
678         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
679         RES_NOCHECKNAME, RES_KEEPTSIG.
680         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
682 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
684         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
685         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
686         Use strong_alias to create symbols for glibc verison 2.19.
688 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
690         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
692 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
694         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
696 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
698         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
700 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
702         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
703         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
704         in header for using it as type for ifunc function because __GI_* symbols
705         for ppc32 do not target the ifunc symbols.
706         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
708 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
710         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
711         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
712         libc_ifunc_hidden_def.
713         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
714         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
715         Redirect ifunced function in header for using it as type of ifunc'ed
716         function. Redefine libc_hidden_def to use fallback non ifunc'ed
717         function for __GI_* symbol.
718         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
719         * include/libc-symbols.h
720         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
722 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
724         [BZ #20478]
725         * sysdeps/s390/multiarch/ifunc-resolve.h
726         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
727         to create ifunc symbols.
728         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
729         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
730         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
731         for using it as type for ifunc function.
732         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
733         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
734         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
735         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
736         * sysdeps/s390/multiarch/strcat.c: Likewise.
737         * sysdeps/s390/multiarch/strchr.c: Likewise.
738         * sysdeps/s390/multiarch/strcmp.c: Likewise.
739         * sysdeps/s390/multiarch/strcpy.c: Likewise.
740         * sysdeps/s390/multiarch/strcspn.c: Likewise.
741         * sysdeps/s390/multiarch/strlen.c: Likewise.
742         * sysdeps/s390/multiarch/strncmp.c: Likewise.
743         * sysdeps/s390/multiarch/strncpy.c: Likewise.
744         * sysdeps/s390/multiarch/strnlen.c: Likewise.
745         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
746         * sysdeps/s390/multiarch/strrchr.c: Likewise.
747         * sysdeps/s390/multiarch/strspn.c: Likewise.
748         * sysdeps/s390/multiarch/wcschr.c: Likewise.
749         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
750         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
751         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
752         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
753         * sysdeps/s390/multiarch/wmemset.c: Likewise.
754         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
755         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
756         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
757         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
758         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
759         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
761 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
763         * include/libc-symbols.h (__ifunc_resolver):
764         New macro is used by __ifunc* macros.
765         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
766         depending on HAVE_GCC_IFUNC.
767         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
768         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
770         Redirect ifunced function in header for using as type for ifunc function.
771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
775         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
777         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
778         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
779         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
780         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
781         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
782         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
783         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
784         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
790         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
791         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
792         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
793         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
794         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
795         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
796         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
797         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
798         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
799         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
800         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
801         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
802         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
803         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
805         Add libc_hidden_def() and use libc_ifunc_hidden() macro
806         instead of libc_ifunc() macro.
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
808         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
810 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
812         * config.h.in (HAVE_GCC_IFUNC): New undef.
813         * configure.ac: Add check if gcc supports attribute ifunc feature.
814         * configure: Regenerated.
815         * manual/install.texi: Add recommendation for gcc with
816         indirect-function support.
817         * INSTALL: Regenerated.
819 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
821         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
822         macro.
823         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
824         (__iseqsig): New declaration.
825         * math/s_iseqsig_template.c: New file.
826         * math/Versions (__iseqsigf): New libm symbol at version
827         GLIBC_2.25.
828         (__iseqsig): Likewise.
829         (__iseqsigl): Likewise.
830         * math/libm-test.inc (iseqsig_test_data): New array.
831         (iseqsig_test): New function.
832         (main): Call iseqsig_test.
833         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
834         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
835         * manual/libm-err-tab.pl: Update comment on interfaces without
836         ulps tabulated.
837         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
838         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
839         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
840         * sysdeps/nacl/libm.abilist: Update.
841         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
842         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
843         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
844         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
845         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
846         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
848         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
852         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
854         Likewise.
855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
856         Likewise.
857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
858         Likewise.
859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
860         Likewise.
861         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
867         Likewise.
868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
869         Likewise.
870         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
871         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
872         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
874 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
876         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
877         do_sincos_2, sloww, sloww1): Update comments.
879         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
880         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
882         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
883         K boolean and rename it.
884         (__sin): Adjust.
885         (__cos): Adjust.
887 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
888             Siddhesh Poyarekar  <siddhesh@sourceware.org>
890         * manual/nss.texi: Fix typos in the manual.
892 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
894         * manual/contrib.texi: Fix typos in the manual.
896         * manual/maint.texi: Fix typos in the manual.
898         * manual/install.texi: Fix typos in the manual.
899         * INSTALL: Regenerated.
901         * manual/lang.texi: Fix typos in the manual.
903         * manual/probes.texi: Fix typos in the manual.
905         * manual/threads.texi: Fix typos in the manual.
907         * manual/debug.texi: Fix typos in the manual.
909         * manual/crypt.texi: Fix typos in the manual.
911         * manual/conf.texi: Fix typos in the manual.
913         * manual/sysinfo.texi: Fix typos in the manual.
915         * manual/users.texi: Fix typos in the manual.
917         * manual/job.texi: Fix typos in the manual.
919         * manual/process.texi: Fix typos in the manual.
921         * manual/argp.texi: Fix typos in the manual.
922         * manual/getopt.texi: Likewise.
923         * manual/startup.texi: Likewise.
925         * manual/signal.texi: Fix typos in the manual.
927         * manual/setjmp.texi: Fix typos in the manual.
929         * manual/resource.texi: Fix typos in the manual.
931         * manual/time.texi: Fix typos in the manual.
933         * manual/arith.texi: Fix typos in the manual.
935         * manual/math.texi: Fix typos in the manual.
937         * manual/syslog.texi: Fix typos in the manual.
939         * manual/terminal.texi: Fix typos in the manual.
941         * manual/socket.texi: Fix typos in the manual.
943         * manual/filesys.texi: Fix typos in the manual.
945         * manual/llio.texi: Fix typos in the manual.
947         * manual/stdio.text: Fix typos in the manual.
949 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
951         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
952         instead of K1.
954         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
955         SHIFT_QUADRANT and make it bool.
956         (do_sincos_2): Likewise.
957         (sloww): Likewise.
958         (sloww1): Likewise.
959         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
960         (__cos): Likewise.
962 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
964         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
966 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
968         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
969         Define to __WORDSIZE, not conditional on [LONG_MAX ==
970         0x7fffffffL].
971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
973 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
975         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
976         inline by __inline__.
977         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
978         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
979         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
980         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
981         sigset_t from signal.h.
982         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
983         which is already required.
985 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
987         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
989 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
991         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
992         (struct tcp_repair_window): New type.
994 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
996         * libio/tst-memstream3.c: Include string.h.
998 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1000         [BZ #18241]
1001         [BZ #20181]
1002         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1003         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1004         write position is at the end the buffer.
1005         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1006         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1007         (_IO_str_seekoff): Set correct offset from negative displacement and
1008         set EINVAL for invalid ones.
1009         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1010         buffer length.
1011         (_IO_wstr_switch_to_get_mode): New function.
1012         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1013         set EINVAL for invalid ones.
1014         * libio/tst-memstream3.c: New file.
1015         * libio/tst-wmemstream3.c: Likewise.
1016         * manual/examples/memstrm.c: Remove warning when priting size_t.
1018 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1020         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1021         macro to use __builtin_fma.
1022         * sysdeps/x86_64/fpu/dla.h: Remove file.
1024         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1025         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1026         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1028 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1030         [BZ #20292]
1031         * elf/Makefile (routines): Add dl-addr-obj.
1032         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1033         tst-_dl_addr_inside_object.
1034         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1035         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1036         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1037         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1038         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1039         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1040         * elf/dl-open.c: Likewise.
1041         * elf/dl-addr-obj.c: New file.
1042         * elf/tst-_dl_addr_inside_object.c: New file.
1044 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1046         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1047         <bits/iscanonical.h>.
1048         * bits/iscanonical.h: New file.
1049         * math/s_iscanonicall.c: Likewise.
1050         * math/Versions (__iscanonicall): New libm symbol at version
1051         GLIBC_2.25.
1052         * math/libm-test.inc (iscanonical_test_data): New array.
1053         (iscanonical_test): New function.
1054         (main): Call iscanonical_test.
1055         * math/Makefile (headers): Add bits/iscanonical.h.
1056         (type-ldouble-routines): Add s_iscanonicall.
1057         * manual/arith.texi (Floating Point Classes): Document
1058         iscanonical.
1059         * manual/libm-err-tab.pl: Update comment on interfaces without
1060         ulps tabulated.
1061         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1062         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1063         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1064         Likewise.
1065         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1066         test-iscanonical-ldbl-128ibm.
1067         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1068         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1069         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1070         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1071         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1072         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1079         Likewise.
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1081         Likewise.
1082         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1085 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1087         * string/bits/string3.h: Remove C++ style comments.
1089 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1091         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1092         instead of ternary condition.
1093         (do_sincos_2): Likewise.
1094         (__sin): Likewise.
1095         (__cos): Likewise.
1096         (slow): Likewise.
1097         (sloww): Likewise.
1098         (sloww1): Likewise.
1099         (bsloww): Likewise.
1100         (bsloww1): Likewise.
1102         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1103         instead of ternary condition.
1104         (do_sin_slow): Likewise.
1105         (do_sincos_1): Likewise.
1106         (do_sincos_2): Likewise.
1107         (__cos): Likewise.
1108         (sloww): Likewise.
1109         (sloww1): Likewise.
1110         (sloww2): Likewise.
1111         (bsloww): Likewise.
1112         (bsloww1): Likewise.
1113         (bsloww2): Likewise.
1115         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1116         check from here...
1117         (slow2): ... and here...
1118         (__sin): ... to here.
1120 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1122         * math/math.h
1123         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1124         Cast argument to its own type.
1125         * math/test-iszero-excess-precision.c: New file.
1126         * math/Makefile (tests): Add test-iszero-excess-precision.
1127         (CFLAGS-test-iszero-excess-precision.c): New variable.
1129 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1131         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1132         field, add err field.
1133         (__spawni_child): Report error through err member instead of pipe.
1134         (__spawnix): Likewise.
1136 2016-09-28  Zack Weinberg  <zackw@panix.com>
1138         * scripts/check-installed-headers.sh: Generalize treatment of
1139         sys/elf.h to all target architectures.
1141         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1142         deleted typedef ucontext_t.
1144 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1146         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1147         (__INTERNAL_SYSCALL1): Likewise.
1148         (__INTERNAL_SYSCALL2): Likewise.
1149         (__INTERNAL_SYSCALL3): Likewise.
1150         (__INTERNAL_SYSCALL4): Likewise.
1151         (__INTERNAL_SYSCALL5): Likewise.
1152         (__INTERNAL_SYSCALL6): Likewise.
1153         (__INTERNAL_SYSCALL7): Likewise.
1154         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1155         (__INTERNAL_SYSCALL_NARGS): Likewise.
1156         (__INTERNAL_SYSCALL_DISP): Likewise.
1157         (INTERNAL_SYSCALL_CALL): Likewise.
1158         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1159         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1160         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1161         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1162         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1163         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1164         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1165         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1166         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1167         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1168         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1169         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1170         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1172 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1174         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1175         macro.
1176         * math/libm-test.inc (iszero_test_data): New array.
1177         (iszero_test): New function.
1178         (main): Call iszero_test.
1179         * manual/arith.texi (Floating Point Classes): Document iszero.
1180         * manual/libm-err-tab.pl: Update comment on interfaces without
1181         ulps tabulated.
1183 2016-09-23  Zack Weinberg  <zackw@panix.com>
1185         * scripts/check-installed-headers.sh: New script.
1186         * Rules: In each directory that defines header files to be installed,
1187         run check-installed-headers.sh on them as a special test.
1188         * Makefile: Likewise for the headers installed at top level.
1190         * include/aliases.h, include/alloca.h, include/argz.h
1191         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1192         * include/elf.h, include/envz.h, include/err.h
1193         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1194         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1195         * include/link.h, include/malloc.h, include/mcheck.h
1196         * include/mntent.h, include/netinet/ether.h
1197         * include/nss.h, include/obstack.h, include/printf.h
1198         * include/pty.h, include/resolv.h, include/rpc/auth.h
1199         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1200         * include/rpc/clnt.h, include/rpc/des_crypt.h
1201         * include/rpc/key_prot.h, include/rpc/netdb.h
1202         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1203         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1204         * include/rpc/rpc_msg.h, include/rpc/svc.h
1205         * include/rpc/svc_auth.h, include/rpc/xdr.h
1206         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1207         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1208         * include/rpcsvc/ypupd.h, include/shadow.h
1209         * include/stdio_ext.h, include/sys/epoll.h
1210         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1211         * include/sys/prctl.h, include/sys/profil.h
1212         * include/sys/statfs.h, include/sys/sysctl.h
1213         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1214         * sysdeps/arm/nacl/include/bits/setjmp.h
1215         * sysdeps/mips/include/sys/asm.h
1216         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1217         * sysdeps/unix/sysv/linux/include/sys/timex.h
1218         * sysdeps/x86/fpu/include/bits/fenv.h:
1219         Add #ifndef _ISOMAC guard around internal declarations.
1220         Add multiple-inclusion guard if not already present.
1222 2016-09-23  Zack Weinberg  <zackw@panix.com>
1224         * sysdeps/generic/sys/ucontext.h
1225         * sysdeps/arm/sys/ucontext.h
1226         * sysdeps/i386/sys/ucontext.h
1227         * sysdeps/m68k/sys/ucontext.h
1228         * sysdeps/mips/sys/ucontext.h
1229         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1230         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1231         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1232         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1233         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1234         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1235         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1236         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1237         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1238         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1239         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1240         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1241         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1242         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1243         Include both bits/sigcontext.h and bits/sigstack.h.
1244         Fix grammar error in comment, if present.
1246         * bits/sigstack.h
1247         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1248         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1249         * sysdeps/unix/sysv/linux/bits/sigstack.h
1250         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1251         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1252         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1253         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1254         * bits/sigcontext.h
1255         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1256         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1257         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1258         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1259         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1260         as well as signal.h, if this was not already allowed.  Request
1261         definition of size_t if necessary.  Minimize semantically-null
1262         differences across files.
1264 2016-09-23  Zack Weinberg  <zackw@panix.com>
1266         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1267         Remove all logic conditional on __need macros.  Move all the
1268         conditionally defined types to their own headers...
1269         * time/bits/types/clock_t.h: Define clock_t here.
1270         * time/bits/types/clockid_t.h: Define clockid_t here.
1271         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1272         * time/bits/types/struct_timespec.h: Define struct timespec here.
1273         * time/bits/types/struct_timeval.h: Define struct timeval here.
1274         * time/bits/types/struct_tm.h: Define struct tm here.
1275         * time/bits/types/time_t.h: Define time_t here.
1276         * time/bits/types/timer_t.h: Define timer_t here.
1277         * time/Makefile: Install the new headers.
1279         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1280         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1281         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1282         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1283         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1284         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1285         * sysdeps/unix/sysv/linux/bits/resource.h
1286         * sysdeps/unix/sysv/linux/bits/timex.h
1287         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1288         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1289         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1290         * sysdeps/unix/sysv/linux/sys/acct.h
1291         * sysdeps/unix/sysv/linux/sys/timerfd.h
1292         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1293         * time/sys/time.h, time/sys/timeb.h
1294         Use the new bits/types headers.
1296         * include/time.h: Remove __need logic.
1297         * include/bits/time.h
1298         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1299         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1300         * include/bits/types/struct_itimerspec.h
1301         * include/bits/types/struct_timespec.h
1302         * include/bits/types/struct_timeval.h
1303         * include/bits/types/struct_tm.h:
1304         New wrapper headers.
1306 2016-09-23  Zack Weinberg  <zackw@panix.com>
1308         * sysdeps/mach/hurd/net/if_ppp.h
1309         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1310         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1311         if __USE_MISC is defined, to ensure struct ifreq is declared.
1313         * inet/netinet/ether.h: Condition all function prototypes
1314         on __USE_MISC, to ensure struct ether_addr is declared.
1316         * socket/bits/types/struct_osockaddr.h: New header.
1317         * include/bits/types/struct_osockaddr.h: New wrapper.
1318         * socket/Makefile: Install the new header.
1319         * socket/sys/socket.h, inet/protocols/talkd.h:
1320         Refer to bits/types/struct_osockaddr.h for the definition of
1321         struct osockaddr.
1323 2016-09-23  Zack Weinberg  <zackw@panix.com>
1325         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1326         * inet/protocols/routed.h, inet/protocols/talkd.h
1327         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1328         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1329         * sysdeps/generic/netinet/if_ether.h
1330         * sysdeps/generic/netinet/in_systm.h
1331         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1332         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1333         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1334         * sysdeps/mach/hurd/net/if_arp.h
1335         * sysdeps/mach/hurd/net/if_ppp.h
1336         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1337         * sysdeps/unix/sysv/linux/bits/in.h
1338         * sysdeps/unix/sysv/linux/net/ethernet.h
1339         * sysdeps/unix/sysv/linux/net/if_arp.h
1340         * sysdeps/unix/sysv/linux/net/if_ppp.h
1341         * sysdeps/unix/sysv/linux/net/if_shaper.h
1342         * sysdeps/unix/sysv/linux/net/route.h
1343         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1344         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1345         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1346         * sysdeps/unix/sysv/linux/netipx/ipx.h
1347         * sysdeps/unix/sysv/linux/sys/acct.h
1348         * include/arpa/nameser.h, include/resolv.h:
1349         Change all uses of u_char to unsigned char,
1350         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1351         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1352         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1353         and u_int64_t and u_quad_t to uint64_t.
1355         * mach/sys/reboot.h: Remove two casts of integer literals
1356         to the types they already have.
1358         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1359         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1360         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1361         from referring to 'unsigned char' to 'uint8_t' for consistency with
1362         the macro definition below.
1364         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1365         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1366         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1367         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1368         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1369         * sysdeps/unix/sysv/linux/sys/acct.h
1370         * include/arpa/nameser.h, include/resolv.h:
1371         Fix indentation disrupted by mechanical edits.
1373         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1374         * sysdeps/generic/netinet/in_systm.h
1375         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1376         * sysdeps/gnu/netinet/udp.h
1377         * sysdeps/unix/sysv/linux/net/ethernet.h
1378         * sysdeps/unix/sysv/linux/net/if_arp.h
1379         * sysdeps/unix/sysv/linux/net/if_ppp.h
1380         * sysdeps/unix/sysv/linux/net/if_shaper.h
1381         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1382         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1383         * sysdeps/unix/sysv/linux/netipx/ipx.h
1384         * sysdeps/unix/sysv/linux/sys/acct.h
1385         Include stdint.h for uintNN_t definitions.
1386         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1388 2016-09-23  Zack Weinberg  <zackw@panix.com>
1390         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1391         * sysdeps/unix/sysv/linux/netrose/rose.h:
1392         Include sys/socket.h and netax25/ax25.h.
1394         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1395         * resolv/arpa/nameser_compat.h:
1396         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1398         * sysdeps/unix/sysv/linux/sys/quota.h:
1399         Use __caddr_t instead of caddr_t.
1400         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1401         Use __clockid_t instead of clockid_t.
1403         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1405         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1406         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1407         expanding it.
1409         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1410         Define __glibc_c99_flexarr_available to 1 when the compiler
1411         supports C99-compatible flexible array members, 0 otherwise.
1412         * sysdeps/unix/sysv/linux/bits/socket.h
1413         * sysdeps/mach/hurd/bits/socket.h
1414         * bits/socket.h: Use __glibc_c99_flexarr_available in
1415         definitions of struct cmsghdr and CMSG_DATA.
1417 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1419         * manual/nss.texi (NSS Modules Interface): Adjust function return
1420         type to enum nss_status.  Document errnop argument.  Clarify
1421         h_errnop semantics.  Fix cross-reference formatting.
1422         (NSS Module Function Internals): Mention that *errnop needs to be
1423         set on failure, but not to zero.
1425 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1427         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1428         (get_random_name): New functions.
1429         (check_wrapper_flags_mode): Use linkat to give the new file a name
1430         determined by get_random_name.
1431         (do_test): Add calls to test open64 and openat64.
1433 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1435         * test-skeleton.c: Remove #include <stdarg.h>.
1437 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1439         [BZ #19826]
1440         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1441         initialization of static TLS entries.
1442         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1443         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1445 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1447         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1448         _hurd_malloc_fork_prepare.
1449         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1450         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1451         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1452         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1453         (_hurd_fork_child_hook): Drop malloc_fork_child.
1454         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1455         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1456         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1457         after locking locks (notably hurd_dtable_lock). Call
1458         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1459         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1460         __malloc_fork_unlock_child.
1461         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1463 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1465         * soft-fp/extendhftf2.c: New.
1466         * soft-fp/fixhfti.c: Likewise.
1467         * soft-fp/fixunshfti.c: Likewise.
1468         * soft-fp/floattihf.c: Likewise.
1469         * soft-fp/floatuntihf.c: Likewise.
1470         * soft-fp/half.h: Likewise.
1471         * soft-fp/trunctfhf2.c: Likewise.
1473 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1475         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1476         macro.
1477         * math/libm-test.inc (issubnormal_test_data): New array.
1478         (issubnormal_test): New function.
1479         * manual/arith.texi (Floating Point Classes): Document
1480         issubnormal.
1481         * manual/libm-err-tab.pl: Update comment on interfaces without
1482         ulps tabulated.
1484         * sysdeps/generic/stdint.h: Define
1485         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1486         <bits/libc-header-start.h> instead of including <features.h>.
1487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1520         * manual/arith.texi (Integers): Document these macros for types
1521         specified by width properties.
1522         * manual/lang.texi (Width of Type): Document these macros for
1523         other standard typedefs.
1524         * stdlib/tst-width-stdint.c: New file.
1525         * stdlib/Makefile (tests): Add tst-width-stdint.
1527 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1529         [BZ #20016]
1530         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1531         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1532         Move ...
1533         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1534         ... here, as compatibility symbols in a new file.
1535         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1536         * resolv/res_init.c (__res_vinit): Adjust member names.
1537         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1538         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1539         (res_send_rhook): Remove.
1540         (struct __res_state): Rename qhook, rhook members.
1542 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1544         malloc: Use __libc_lock wrappers.
1545         * malloc/arena.c (list_lock, free_list_lock): Define using
1546         __libc_lock_define_initialized.
1547         (arena_lock): Adjust formatting.
1548         * malloc/malloc.c (struct malloc_state): Define mutex using
1549         __libc_lock_define.
1550         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1551         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1552         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1553         (mutex_unlock, mutex_trylock): Remove.
1554         (__pthread_initialize): Remove unused macro.
1555         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1556         (mutex_unlock, mutex_trylock): Remove.
1558 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1560         [BZ #20592]
1561         Remove RR type classification macros.
1562         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1563         (ns_t_udp_p, ns_t_xfr_p): Remove.
1565 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1567         Remove misleading version information.
1568         * resolv/arpa/nameser.h (__NAMESER): Remove.
1569         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1571 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1573         Remove the always-defined BIND_4_COMPAT macro.
1574         * resolv/arpa/nameser.h: Unconditionally include
1575         <arpa/nameser_compat.h>.
1576         (BIND_4_COMPAT): Remove.
1577         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1579 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1581         [BZ #20591]
1582         Remove obsolete DNSSEC support.
1583         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1584         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1585         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1586         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1587         (ns_cert_types): Add comment.
1588         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1589         separately.
1590         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1591         (dst_s_dns_key_id): Remove.
1592         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1593         variables.
1595 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1597         [BZ #20524]
1598         * manual/string.texi (String/Array Comparison): Clarify the
1599         strverscmp behavior.
1601 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1603         * test-skeleton.c (xasprintf): Add function.
1604         * io/tst-open-tmpfile.c: New test.
1605         * io/Makefile (tests): Add it.
1607 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1609         Avoid running $(CXX) during build to obtain header file paths.
1610         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1611         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1612         * Makerules (cstdlib, cmath): Remove variables.  Use
1613         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1614         * configure: Regenerate.
1616 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1618         * Makeconfig (all-object-suffixes): Include .op only if
1619         $(build-profile).
1621 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1623         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1624         conditionals.  Do not define PATH_MAX.
1626 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1628         * posix/Makefile (tests): Add tst-spawn3.
1629         * posix/tst-spawn3.c: New file.
1630         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1631         if it is already opened for open action.
1633         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1634         all signals when executing the clone vfork child.
1635         (SIGALL_SET): Remove macro.
1637         * nptl/Makefile (tests): Add tst-exec5.
1638         * nptl/tst-exec5.c: New file.
1639         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1640         asynchronous cancellation.
1642 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1644         * hurd/exc2signal.c: #include <hurd/signal.h>
1645         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1646         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1647         accordingly.
1648         * mach/mach_error.c (mach_error): Fix old-style function definition.
1649         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1651 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1653         * math/Makefile (libm-calls): Remove s_nanF.
1654         (gen-libm-calls): Add s_nanF.
1656         * math/s_nan.c: Refactor into ...
1657         * math/s_nan_template.c: New file.
1659         * math/s_nanf.c: Removed.
1660         * math/s_nanl.c: Removed.
1661         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1662         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1664         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1665         (LDOUBLE_nanl_libm_version): New macro.
1667         * sysdeps/generic/math-type-macros-double.h:
1668         (M_STRTO_NAN): New macro.
1669         * sysdeps/generic/math-type-macros-float.h: Likewise.
1670         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1672         * sysdeps/generic/math-type-macros.h: Document
1673         M_STRTO_NAN.
1675 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1677         * math/s_nanf.c: Remove __nanf undef.
1678         * math/s_nan.c: Remove __nan undef.
1679         * math/s_nanl.c: Remove __nanl undef.
1681         * sysdeps/generic/math_private.h (__nan): Remove macro
1682         override.
1683         (__nanf): Likewise.
1684         (__nanl): Likewise.
1686 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1688         * math/Makefile (gen-all-calls): New variable.
1689         (generated): Replace gen-libm-calls with gen-all-calls.
1690         (gen-libm-templates.stmp): Likewise.  Also, ensure
1691         the output directory exists or is created and add
1692         dependency on the Makefile.
1693         (calls): Move s_ldexpF into gen-calls.
1694         (gen-calls): New variable.
1696         * math/s_ldexpf.c: Removed.
1697         * math/s_ldexpl.c: Removed.
1698         * math/s_ldexp.c: Refactored into ...
1699         * math/s_ldexp_template.c: New file.
1701         * sysdeps/generic/math-type-macros-double.h: Remove
1702         redundant fall-through definition of declare_mgen_alias.
1703         (declare_mgen_alias_2): New macro.
1705         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1706         New macro for function aliased to two exported symbols.
1708         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1709         new template file.
1710         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1712 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1714         * Makeconfig (all-object-suffixes): Remove .og.
1715         * Makerules (elide-routines.og): Remove.
1716         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1717         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1718         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1720 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1722         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1723         .os objects.
1725 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1727         [BZ #20615]
1728         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1729         fpu directory by non-fpu.
1730         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1731         on non-fpu directory from a fpu directory.
1733 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1735         * include/limits.h: Define
1736         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1737         <bits/libc-header-start.h> instead of including <features.h>.
1738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1749         * manual/lang.texi (Width of Type): Document these macros.
1750         * stdlib/tst-width.c: New file.
1751         * stdlib/Makefile (tests): Add tst-width.
1753 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1755         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1756         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1758 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1760         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1761         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1762         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1764 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1766         [BZ #18243]
1767         * rt/Makefile (test): Add tst-shm-cancel.
1768         * rt/tst-shm-cancel.c: New file.
1769         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1771         [BZ #18243]
1772         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1773         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1774         definition.
1775         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1776         uncontended case.
1777         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1778         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1779         (tf): Fix check for uncontended case.
1780         (do_test): Likewise.
1781         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1782         (tf): Fix check for uncontended case.
1783         (do_test): Likewise.
1784         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1785         (tf): Fix check for uncontended case.
1786         (do_test): Likewise.
1787         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1788         (tf): Fix check for uncontended case.
1789         (do_test): Likewise.
1791         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1792         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1794         [BZ #15765]
1795         * nptl/Makefile (tests): Add tst-sem16.
1796         * nptl/tst-sem16.c: New file.
1797         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1799         * nptl/sem_open.c (sem_open): Init pad value to 0.
1800         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1801         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1803 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1805         [BZ #20611]
1806         * inet/Makefile (routines): Add inet6_scopeid_pton.
1807         (tests): Add tst-inet6_scopeid_pton.
1808         * inet/inet6_scopeid_pton.c: New file.
1809         * inet/net-internal.h: Likewise.
1810         * inet/tst-inet6_scopeid_pton.c: New test.
1811         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1812         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1815 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1817         Remove support for compiling wrappers with PTW.
1818         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1819         * nptl/Makefile (pthread-compat-wrappers): Define.
1820         (libpthread-routines): Use pthread-compat-wrappers.
1821         * sysdeps/unix/sysv/linux/alpha/Makefile
1822         (libpthread-routines, libpthread-shared-only-routines): Remove
1823         ptw- prefix.
1824         * sysdeps/s390/nptl/Makefile
1825         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1826         * sysdeps/ia64/nptl/Makefile
1827         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1828         * sysdeps/nacl/Makefile (libpthread-routines): Use
1829         pthread-compat-wrappers to filter the routines list instead of the
1830         ptw- prefix.
1832 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1835         with L() and remove explicit suffix, convert real literals
1836         which can be equivalentally substituted with integers, and
1837         transform -L(x) to L(-x).
1839         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1840         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1841         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1842         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1843         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1844         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1846         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1847         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1848         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1849         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1850         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1851         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1852         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1853         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1854         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1855         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1856         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1857         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1858         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1859         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1860         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1861         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1862         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1863         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1864         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1865         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1866         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1867         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1868         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1869         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1870         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1871         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1872         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1875         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1876         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1878         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1882         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1884         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1885         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1886         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1887         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1890 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1892         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1894 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1896         * malloc/Makefile (tests): Remove individual static test names
1897         and just add all of tests-static.
1899         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1901 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1903         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1904         file.
1906         * sysdeps/sparc/fpu/fegetmode.c: New file.
1907         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1909         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1910         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1912         * sysdeps/s390/fpu/fegetmode.c: New file.
1913         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1915         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1916         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1917         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1918         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1919         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1920         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1922         * sysdeps/mips/fpu/fegetmode.c: New file.
1923         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1925         * sysdeps/m68k/fpu/fegetmode.c: New file.
1926         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1928         * sysdeps/ia64/fpu/fegetmode.c: New file.
1929         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1931         * sysdeps/hppa/fpu/fegetmode.c: New file.
1932         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1934         * sysdeps/arm/fegetmode.c: New file.
1935         * sysdeps/arm/fesetmode.c: Likewise.
1937         * sysdeps/alpha/fpu/fegetmode.c: New file.
1938         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1940         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1941         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1943         * math/fegetmode.c: New file.
1944         * math/fesetmode.c: Likewise.
1945         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1946         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1947         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1948         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1949         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1951         declaration.
1952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1953         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1954         typedef.
1955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1956         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1957         (femode_t): New typedef.
1958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1959         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1960         (femode_t): New typedef.
1961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1962         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1963         (femode_t): New typedef.
1964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1965         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1966         (femode_t): New typedef.
1967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1968         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1969         (femode_t): New typedef.
1970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1971         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1972         (femode_t): New typedef.
1973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1974         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1975         (femode_t): New typedef.
1976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1977         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1978         (femode_t): New typedef.
1979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1980         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1981         (femode_t): New typedef.
1982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1983         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1984         (femode_t): New typedef.
1985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1986         declaration.
1987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1988         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1989         (femode_t): New typedef.
1990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1991         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1992         (femode_t): New typedef.
1993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1994         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1995         (femode_t): New typedef.
1996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1997         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1998         (femode_t): New typedef.
1999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2000         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2001         (femode_t): New typedef.
2002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2003         * manual/arith.texi (FE_DFL_MODE): Document macro.
2004         (fegetmode): Document function.
2005         (fesetmode): Likewise.
2006         * math/Versions (fegetmode): New libm symbol at version
2007         GLIBC_2.25.
2008         (fesetmode): Likewise.
2009         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2010         (tests): Add test-femode and test-femode-traps.
2011         * math/test-femode-traps.c: New file.
2012         * math/test-femode.c: Likewise.
2013         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2014         alias for __fe_dfl_env.
2015         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2016         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2017         (__fe_dfl_mode): Likewise.
2018         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2019         version GLIBC_2.25.
2020         * sysdeps/nacl/libm.abilist: Update.
2021         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2022         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2023         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2024         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2026         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2027         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2028         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2029         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2030         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2031         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2032         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2034         Likewise.
2035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2038         Likewise.
2039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2040         Likewise.
2041         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2042         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2043         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2044         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2045         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2047         Likewise.
2048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2049         Likewise.
2050         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2054 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2056         [BZ #20495]
2057         [BZ #20508]
2058         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2059         processors, set Use_dl_runtime_resolve_slow and set
2060         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2061         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2062         New.
2063         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2064         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2065         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2066         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2067         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2068         if Use_dl_runtime_resolve_opt is set.  Use
2069         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2070         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2071         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2072         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2073         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2074         New.
2075         (_dl_runtime_resolve_opt): Likewise.
2076         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2077         defined.
2079 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2081         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2082         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2084 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2086         Convert malloc to __libc_lock.  Automated part, using this Perl
2087         s/// command:
2088           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2089             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2090         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2091         conversion.
2093 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2095         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2096         (linknamespace-symlists-tests): Likewise.
2097         (linknamespace-header-tests): Likewise.
2099 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2101         [BZ #19810]
2102         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2103         * elf/tst-noload.c: New test case.
2104         * elf/Makefile (tests): Add tst-noload.
2106 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2108         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2110         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2111         not any more.
2113         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2115 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2117         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2118         (do_cos_slow): Likewise.
2119         (do_sin): Likewise.
2120         (do_sin_slow): Likewise.
2121         (slow): Likewise.
2122         (slow1): Likewise.
2123         (slow2): Likewise.
2124         (sloww): Likewise.
2125         (sloww1): Likewise.
2126         (sloww2): Likewise.
2127         (bsloww): Likewise.
2128         (bsloww1): Likewise.
2129         (bsloww2): Likewise.
2130         (cslow2): Likewise.
2132         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2134         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2135         arguments.  Consolidate input partitioning from callers here.
2136         (do_cos_slow): Likewise.
2137         (do_sin): Likewise.
2138         (do_sin_slow): Likewise.
2139         (do_sincos_1): Remove the no longer necessary input partitioning.
2140         (do_sincos_2): Likewise.
2141         (__sin): Likewise.
2142         (__cos): Likewise.
2143         (slow1): Likewise.
2144         (slow2): Likewise.
2145         (sloww1): Likewise.
2146         (sloww2): Likewise.
2147         (bsloww1): Likewise.
2148         (bsloww2): Likewise.
2149         (cslow2): Likewise.
2151 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2153         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2154         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2155         outside of allocated array.
2157 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2159         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2160         instead of MB_CUR_MAX to avoid variable-length array.
2162 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2164         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2165         (type-double-routines): Add k_rem_pio2.
2166         (type-float-routines): Add k_rem_pio2f.
2168         * sysdeps/generic/math_private.h:
2169         (__kernel_rem_pio2l): Removed.
2171         * math/k_rem_pio2l.c: Removed.
2172         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2173         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2174         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2175         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2177 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2179         * math/Makefile (gen-libm-calls): Add s_fmin
2180         (libm-calls): Remove above.
2182         * math/s_fmin.c: Refactor into ...
2183         * math/s_fmin_template.c: New file.
2185         * math/s_fminf.c: Removed.
2186         * math/s_fminl.c: Removed.
2187         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2188         (LDOUBLE_fmin_libm_version): New macro.
2190         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2191         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2193 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2195         * math/Makefile: (gen-libm-calls): Add s_fmax.
2196         (libm-calls): Remove above.
2198         * math/s_fmax.c: Refactor into ...
2199         * math/s_fmax_template.c: New file.
2200         * math/s_fmaxf.c: Removed.
2201         * math/s_fmaxl.c: Removed.
2203         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2204         (LDOUBLE_fmaxl_libm_version): New macro.
2206         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2207         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2209         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2210         s_fmin.c to pick the aarch64 version of the file.
2211         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2212         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2214 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2216         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2217         (libm-calls): Remove above.
2219         * math/s_nextdown.c: Refactor into ...
2220         * math/s_nextdown_template.c: New file.
2221         * math/s_nextdownf.c: Removed.
2222         * math/s_nextdownl.c: Removed.
2224         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2226 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2228         * math/Makefile (gen-libm-calls): Add s_fdim.
2229         (libm-calls): Move to above.
2231         * math/s_fdim.c: Renamed and refactored into to ...
2232         * math/s_fdim_template.c: New file.
2233         * math/s_fdiml.c: Removed.
2234         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2235         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2237         * sysdeps/generic/math-type-macros-double.h:
2238         (declare_mgen_alias): Don't declare if already declared.
2239         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2240         Likewise.
2242         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2243         (declare_mgen_alias): Don't declare if already declared.
2244         (M_LIBM_NEED_COMPAT): Likewise.
2245         (declare_mgen_libm_compat): Likewise.
2246         (LDOUBLE_fdiml_libm_version): New macro.
2248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2249         Include math/s_fdim.c now that ldbl-opt version is not needed.
2250         (declare_mgen_alias): New macro to disable aliasing.
2252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2253         (declare_mgen_alias): Likewise.
2254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2255         (declare_mgen_alias): Likewise.
2256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2257         (declare_mgen_alias): Likewise.
2258         (M_LIBM_NEED_COMPAT): Likewise.
2260 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2262         [BZ #20525]
2263         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2264         Include <linux/quota.h>.
2265         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2266         and btodb.
2267         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2268         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2269         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2270         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2271         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2272         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2273         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2274         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2275         types.
2276         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2277         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2279 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2282         (gammal_positive): Fix spacing.
2283         (__ieee754_gammal_r): Likewise.
2285 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2287         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2288         (_Float128): Define as long double, always.
2289         (L): Apply long double type suffix, always.
2291         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2292         _Float128, excepting comments.
2294         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2295         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2296         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2297         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2298         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2299         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2300         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2301         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2302         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2303         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2360         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2364         _Float128, and include math_private.h.
2365         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2368         long double semantics.
2369         (_Float128): Likewise.
2370         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2375 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2377         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2378         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2379         * sysdeps/s390/configure: Regenerated.
2380         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2381         instruction for raising over-/underflow if z196 zarch is supported
2382         by default.
2383         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2385 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2387         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2388         it point to a dumb buffer for RPC to fill it.
2390 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2392         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2393         instead of if/else.
2394         (do_sin_slow): Likewise.
2395         (do_sincos_1): Use fabs instead of if/else.
2396         (do_sincos_2): Likewise.
2397         (__sin): Likewise.
2398         (__cos): Likewise.
2399         (slow2): Likewise.
2400         (sloww): Likewise.
2401         (sloww1): Likewise.  Drop argument M.
2402         (sloww2): Use fabs instead of if/else.
2403         (bsloww): Likewise.
2404         (bsloww1): Likewise.
2405         (bsloww2): Likewise.
2407         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2408         fall through comment.
2409         (do_sincos_1): Likewise.
2411         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2412         Consolidate switch cases 0 and 2.
2414 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2416         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2417         (libm-calls): Remove the above.
2419         * math/s_cexp_template.c: Update using type-generic macros.
2420         * math/s_clog10_template.c: Likewise.
2421         * math/s_cpow_template.c: Likewise.
2422         * math/s_clog_template.c: Likewise.
2423         * math/s_cproj_template.c: Likewise.
2424         * math/s_csqrt_template.c: Likewise.
2426         * math/s_cexp.c: Removed.
2427         * math/s_cexpf.c: Removed.
2428         * math/s_cexpl.c: Removed.
2429         * math/s_clog10.c: Removed.
2430         * math/s_clog10f.c: Removed.
2431         * math/s_clog10l.c: Removed.
2432         * math/s_cpow.c: Removed.
2433         * math/s_cpowf.c: Removed.
2434         * math/s_cpowl.c: Removed.
2435         * math/s_clog.c: Removed.
2436         * math/s_clogf.c: Removed.
2437         * math/s_clogl.c: Removed.
2438         * math/s_cproj.c: Removed.
2439         * math/s_cprojf.c: Removed.
2440         * math/s_cprojl.c: Removed.
2441         * math/s_csqrt.c: Removed.
2442         * math/s_csqrtf.c: Removed.
2443         * math/s_csqrtl.c: Removed.
2445         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2446         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2447         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2448         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2449         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2450         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2452         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2453         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2454         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2455         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2456         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2457         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2458         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2459         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2460         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2461         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2462         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2464         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2465         version.
2467         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2468         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2469         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2470         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2472 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2474         * s_cexp_template.c: Copy of s_cexp.c.
2475         * s_clog_template.c: Copy of s_clog.c.
2476         * s_clog10_template.c: Copy of s_clog10.c.
2477         * s_cpow_template.c: Copy of s_cpow.c.
2478         * s_cproj_template.c: Copy of s_cproj.c.
2479         * s_csqrt_template.c: Copy of s_csqrt.c.
2481 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2483         [BZ #20517]
2484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2485         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2486         exported.
2488 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2490         * math/fetestexceptflag.c: New file.
2491         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2492         Stefan Liebler.
2493         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2494         (fetestexceptflag): New function declaration.
2495         * manual/arith.texi (fetestexceptflag): Document function.
2496         * math/Versions (fetestexceptflag): New libm symbol at version
2497         GLIBC_2.25.
2498         * math/Makefile (libm-support): Add fetestexceptflag.
2499         (tests): Add test-fetestexceptflag.
2500         * math/test-fetestexceptflag.c: New file.
2501         * sysdeps/nacl/libm.abilist: Update.
2502         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2507         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2509         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2510         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2511         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2512         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2513         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2515         Likewise.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2517         Likewise.
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2519         Likewise.
2520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2521         Likewise.
2522         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2523         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2524         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2525         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2526         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2528         Likewise.
2529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2530         Likewise.
2531         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2532         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2533         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2535 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2537         [BZ #20432]
2538         Avoid strong references to malloc-internal symbols when linking
2539         statically, to support statically interposed mallocs.
2540         * include/libc-symbols.h (call_function_static_weak): New macro.
2541         * malloc/Makefile (tests): Add tst-interpose-nothread,
2542         tst-interpose-thread, tst-interpose-static-nothread,
2543         tst-interpose-static-thread.
2544         (tests-static): Add tst-interpose-static-nothread,
2545         tst-interpose-static-thread.
2546         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2547         tst-interpose-aux-thread.o.
2548         (test-extras): Add tst-interpose-aux-nothread,
2549         tst-interpose-aux-thread.
2550         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2551         tst-interpose-aux-nothread.o.
2552         (tst-interpose-thread, tst-interpose-static-thread): Link with
2553         tst-interpose-aux-thread.o and libthread.
2554         * malloc/tst-interpose-aux-nothread.c: New file.
2555         * malloc/tst-interpose-aux-thread.c: Likewise.
2556         * malloc/tst-interpose-aux.c: Likewise.
2557         * malloc/tst-interpose-aux.h: Likewise.
2558         * malloc/tst-interpose-nothread.c: Likewise.
2559         * malloc/tst-interpose-skeleton.c: Likewise.
2560         * malloc/tst-interpose-static-nothread.c: Likewise.
2561         * malloc/tst-interpose-static-thread.c: Likewise.
2562         * malloc/tst-interpose-thread.c: Likewise.
2563         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2564         * sysdeps/mach/hurd/fork.c (__fork): Only call
2565         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2566         __malloc_fork_unlock_child if defined.
2567         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2569 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2571         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2572         timespec C99 designated initialization.
2574 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2576         [BZ #19946]
2577         Avoid expected SIGALRM signals.
2578         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2579         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2580         (xpthread_create, xpthread_detach, xpthread_join)
2581         (delayed_exit_thread, delayed_exit): New functions.
2582         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2583         (tf): Use xpthread_cond_wait.
2584         (do_test): Likewise.  Replace alarm with delayed_exit.
2585         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2586         (do_test): Call delayed_exit.  Report failure.
2587         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2588         (do_test): Call delayed_exit.
2589         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2590         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2591         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2592         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2593         error.
2594         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2595         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2596         error.
2597         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2598         (do_test): Call delayed_exit.
2599         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2600         (do_test): Call delayed_exit.
2601         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2602         (do_test): Call delayed_exit instead of alarm.  Use
2603         xpthread_mutex_lock.
2604         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2605         (do_test): Call delayed_exit instead of alarm.  Use
2606         xpthread_mutex_lock.
2607         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2608         (do_test): Call delayed_exit instead of alarm.
2609         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2610         (do_test): Call delayed_exit instead of alarm.  Use
2611         xpthread_spin_lock.
2612         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2613         (do_test): Call delayed_exit instead of alarm.  Use
2614         xpthread_join.
2616 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2618         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2619         adjust CFA when allocating register save area on re-aligned
2620         stack.
2622 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2624         * string/tst-cmp.c: New test.
2625         * string/Makefile (tests): Add it.
2627 2016-08-25  Mark Wielaard  <mark@klomp.org>
2629         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2630         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2631         (check_tree_recurse): Use newly defined accessors.
2632         (check_tree): Likewise.
2633         (maybe_split_for_insert): Likewise.
2634         (__tfind): Likewise.
2635         (__tdelete): Likewise.
2636         (trecurse): Likewise.
2637         (tdestroy_recurse): Likewise.
2638         (__tsearch): Likewise. And add asserts for malloc alignment.
2639         (__twalk): Cast root to node in case CHECK_TREE is defined.
2641 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2643         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2645 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2647         * math/Makefile (libm-gen-calls): Add
2648         catan, catanh, ctan, ctanh.
2649         (libm-calls): Remove the above.
2651         * math/s_catan_template.c: Update using type-generic macros.
2652         * math/s_catanh_template.c: Likewise.
2653         * math/s_ctan_template.c: Likewise.
2654         * math/s_ctanh_template.c: Likewise.
2656         * math/s_catanf.c: Removed.
2657         * math/s_catan.c: Removed.
2658         * math/s_catanl.c: Removed.
2659         * math/s_catanhf.c: Removed.
2660         * math/s_catanh.c: Removed.
2661         * math/s_catanhl.c: Removed.
2662         * math/s_ctanf.c: Removed.
2663         * math/s_ctan.c: Removed.
2664         * math/s_ctanl.c: Removed.
2665         * math/s_ctanhf.c: Removed.
2666         * math/s_ctanh.c: Removed.
2667         * math/s_ctanhl.c: Removed.
2669         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2670         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2671         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2672         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2673         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2674         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2676         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2677         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2678         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2679         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2681 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2683         * s_catan_template.c: Copy of s_catan.c.
2684         * s_catanh_template.c: Copy of s_catanh.c.
2685         * s_ctan_template.c: Copy of s_ctan.c.
2686         * s_ctanh_template.c: Copy of s_ctanh.c.
2688 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2690         * math/Makefile (gen-libm-calls): Move
2691         casin, casinh, csin, csinh here.
2692         (libm-calls): Remove the above.
2694         * math/s_casin_template.c: Update using type-generic macros.
2695         * math/s_casinh_template.c: Likewise.
2696         * math/s_csin_template.c: Likewise.
2697         * math/s_csinh_template.c: Likewise.
2698         * math/k_casinh_template.c: Likewise.
2700         * math/s_casinf.c: Removed.
2701         * math/s_casin.c: Removed.
2702         * math/s_casinl.c: Removed.
2703         * math/s_casinh.c: Removed.
2704         * math/s_casinhf.c: Removed.
2705         * math/s_casinhl.c: Removed.
2706         * math/s_csin.c: Removed.
2707         * math/s_csinf.c: Removed.
2708         * math/s_csinl.c: Removed.
2709         * math/s_csinh.c: Removed.
2710         * math/s_csinhf.c: Removed.
2711         * math/s_csinhl.c: Removed.
2712         * math/k_casinh.c: Removed.
2713         * math/k_casinhf.c: Removed.
2714         * math/k_casinhl.c: Removed.
2716         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2717         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2718         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2719         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2721         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2722         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2723         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2724         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2725         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2726         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2727         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2728         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2730         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2731         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2732         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2733         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2735         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2736         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2737         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2738         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2740 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2742         * s_casin_template.c: Copy of s_casin.c.
2743         * s_casinh_template.c: Copy of s_casinh.c.
2744         * s_csin_template.c: Copy of s_csin.c.
2745         * s_csinh_template.c: Copy of s_csinh.c.
2746         * k_casinh_template.c: Copy of k_casinh.c.
2748 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2750         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2752 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2754         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2755         (mul_split) Remove, rename as mul_splitl, remove
2756         redundant float.h include, and include via mul_splitl.h
2758         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2759         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2760         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2761         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2762         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2764         * math/mul_splitl.h: New file.
2766         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2767         Move into mul_split.h, and remove redundant float.h include.
2769         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2771         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2772         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2774         * math/mul_split.h: New file.
2776 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2778         * math/Makefile (libm-gen-calls): Move
2779         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2780         (libm-calls): Remove above.
2782         * math/s_cacos_template.c: Update using type-generic macros.
2783         * math/s_cacosh_template.c: Likewise.
2784         * math/s_ccos_template.c: Likewise.
2785         * math/s_ccosh_template.c: Likwise.
2787         * math/s_cacosf.c: Removed.
2788         * math/s_cacos.c: Removed.
2789         * math/s_cacosl.c: Removed.
2790         * math/s_cacoshf.c: Removed.
2791         * math/s_cacosh.c: Removed.
2792         * math/s_cacoshl.c: Removed.
2793         * math/s_ccosf.c: Removed.
2794         * math/s_ccos.c: Removed.
2795         * math/s_ccosl.c: Removed.
2796         * math/s_ccoshf.c: Removed.
2797         * math/s_ccosh.c: Removed.
2798         * math/s_ccoshl.c: Removed.
2800         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2801         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2802         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2803         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2804         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2805         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2807         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2808         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2809         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2810         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2812         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2813         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2814         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2815         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2817 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2819         * s_cacos_template.c: Copy of s_cacos.c.
2820         * s_cacosh_template.c: Copy of s_cacosh.c.
2821         * s_ccos_template.c: Copy of s_ccos.c.
2822         * s_ccosh_template.c: Copy of s_ccosh.c.
2824 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2826         * stdlib/tst-strtod-round-skeleton.c:
2827         Refactored from tst-strtod-round.c.
2829         (L_): New macro to apply literal modifier.
2830         (FNPFX): New macro to select str or wcs prefix.
2831         (CHAR): New macro to choose wchar_t or char.
2832         (STRM): New macro to choose printf for tested character type.
2834         (STRTO): New macro to choose appropriate string -> real function.
2835         (FNPFXS): Stringitized version of FNPFX.
2836         (STR): Support for above macro.
2837         (STRX): Likewise.
2839         (TEST): Update with above macros.
2840         (test): Likewise.
2841         (GEN_ONE_TEST): Likewise.
2842         (test_in_one_mode): Likewise.
2844         * stdlib/tst-strtod-round.c: New file.
2845         * wcsmbs/tst-wcstod-round.c: New file.
2847         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2848         (tst-wcstod-round): Add libm depencency for fesetround.
2850 2016-08-19  Zack Weinberg  <zackw@panix.com>
2852         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2854 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2856         [BZ #20477]
2857         * resolv/res_hconf.c (do_init): Use atomic access.
2858         * resolv/res_hconf.h: Add comments.
2859         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2860         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2863 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2865         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2866         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2868         Likewise.
2870 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2872         [BZ #16907]
2873         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2874         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2875         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2876         (__attribute__): Remove definition.
2878 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2880         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2881         Remove unused sqrtl declaration.
2883 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2885         * math/Makefile: (gen-libm-templates.stmp): New rule.
2886         (libm-calls): Move carg conj cimag and cabs into ...
2887         (gen-libm-calls): New variable.
2888         (generated): Inform Make objects from gen-libm-calls
2889         may be generated.
2891         * sysdeps/generic/math-type-macros.h: New file.
2892         * sysdeps/generic/math-type-macros-float.h: Likewise.
2893         * sysdeps/generic/math-type-macros-double.h: Likewise.
2894         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2895         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2896         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2898         * math/cabs.c: Refactor into
2899         * math/cabs_template.c: new file.
2900         * math/cabsf.c: Removed.
2901         * math/cabsl.c: Removed.
2902         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2903         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2905         * math/carg.c: Refactor into
2906         * math/carg_template.c: new file.
2907         * math/cargf.c: Removed.
2908         * math/cargl.c: Removed.
2909         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2910         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2912         * math/conj.c: Refactor into
2913         * math/conj_template.c: new file.
2914         * math/conjf.c: Removed.
2915         * math/conjl.c: Removed.
2916         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2917         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2919         * math/cimag.c: Refactor into
2920         * math/cimag_template.c: new file.
2921         * math/cimagf.c: Removed.
2922         * math/cimagl.c: Removed.
2923         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2924         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2926         * math/cimag.c: Refactor into
2927         * math/cimag_template.c: new file.
2928         * math/cimagf.c: Removed.
2929         * math/cimagl.c: Removed.
2930         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2931         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2933 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2935         Reduce time to expected nptl/tst-once5 failure.
2936         * nptl/tst-once5.cc (TIMEOUT): Define.
2938 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2940         [BZ #20452]
2941         Avoid additional copies of objects in libc.a in static libraries.
2942         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2943         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2944         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2945         rt-sysdep.
2946         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2947         Add nptl-sysdep.
2948         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2949         Add ptw-sysdep.
2950         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2951         rt-sysdep.
2952         * sysdeps/unix/sysv/linux/alpha/Makefile
2953         (libpthread-shared-only-routines): Add ptw-sysdep,
2954         ptw-sigprocmask, ptw-rt_sigaction.
2955         * sysdeps/unix/sysv/linux/ia64/Makefile
2956         (librt-shared-only-routines): Add rt-sysdep.
2957         * sysdeps/unix/sysv/linux/i386/Makefile
2958         (libpthread-shared-only-routines): Add libc-do-syscall.
2959         * sysdeps/unix/sysv/linux/microblaze/Makefile
2960         (libpthread-shared-only-routines): Add sysdep.
2961         * sysdeps/unix/sysv/linux/powerpc/Makefile
2962         (librt-shared-only-routines): Add rt-sysdep.
2963         (libpthread-shared-only-routines): Add sysdep.
2964         * sysdeps/unix/sysv/linux/s390/Makefile
2965         (librt-shared-only-routines): Add rt-sysdep.
2966         * sysdeps/unix/sysv/linux/sparc/Makefile
2967         (librt-shared-only-routines): Add rt-sysdep.
2968         (libpthread-shared-only-routines): Add sysdep.
2969         * sysdeps/unix/sysv/linux/tile/Makefile
2970         (libpthread-shared-only-routines): Likewise.
2972 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2974         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2975         Mask implicit bit out of unpacked value.
2976         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2980         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2982         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2984         * sysdeps/s390/fpu/fesetexcept.c: New file.
2986         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2987         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2988         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2990         * sysdeps/mips/fpu/fesetexcept.c: New file.
2992         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2994         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2996         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2998         * sysdeps/arm/fesetexcept.c: New file.
3000         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3002         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3004         * math/fesetexcept.c: New file.
3005         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3006         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3007         * math/fenv.h: Define
3008         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3009         <bits/libc-header-start.h> instead of including <features.h>.
3010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3011         declaration.
3012         * manual/arith.texi (fesetexcept): Document function.
3013         * math/Versions (fesetexcept): New libm symbol at version
3014         GLIBC_2.25.
3015         * math/Makefile (libm-support): Add fesetexcept.
3016         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3017         * math/test-fesetexcept.c: New file.
3018         * math/test-fesetexcept-traps.c: Likewise.
3019         * sysdeps/nacl/libm.abilist: Update.
3020         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3021         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3022         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3023         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3024         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3025         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3026         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3027         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3028         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3033         Likewise.
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3039         Likewise.
3040         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3046         Likewise.
3047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3048         Likewise.
3049         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3053 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3055         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3056         New.
3057         (do_test): Apply default_stack_size_in_mb if not set.
3058         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3060 2016-08-15  Andreas Schwab  <schwab@suse.de>
3062         [BZ #20435]
3063         CVE-2016-6323
3064         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3065         as .cantunwind.
3067 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3069         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3070         comment from fraiseexcpt.c.
3072         * math/test-fexcept.c (feraiseexcept_exact): New function.
3073         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3074         (test_except): Likewise.
3076 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3078         [BZ #20455]
3079         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3080         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3081         to be restored.
3083         * math/test-fexcept-traps.c: New file.
3084         * math/test-fexcept.c: Likewise.
3085         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3086         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3087         macro.
3088         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3089         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3091 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3093         * include/atomic.h (atomic_fetch_and_relaxed,
3094         atomic_fetch_and_release, atomic_fetch_or_release,
3095         atomic_fetch_xor_release): New.
3097 2016-08-06  Christian Seiler  <christian@iwakd.de>
3099         [BZ #20444]
3100         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3101         MACH_PORT_NULL.
3103 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3105         * math/s_fdim.c: Avoid alias renamed.
3106         * math/s_fdimf.c: Likewise.
3107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3108         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3109         Add s_fdimf-vis3, s_fdim-vis3.
3110         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3111         (CFLAGS-s_fdim-vis3.c): Likewise.
3112         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3113         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3115 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3118         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3119         Remove s_fdimf-vis3, s_fdim-vis3.
3120         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3121         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3128         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3129         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3131 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3133         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3134         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3135         -Wa,-Av9a -mvis.
3137 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3139         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3140         LIT() to individual constants in simple expressions
3141         after splitting on spaces.
3142         (_apply_lit): Rename replaced version, and use it to
3143         apply to what appears to be a token.
3145         * math/libm-test.inc: Fix many, many issues with
3146         spacing.
3148 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3150         * math/math.h: Move comment about <bits/mathdef.h> definitions
3151         above inclusion of <bits/mathdef.h>.  Do not mention
3152         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3154 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3156         * include/atomic.h (atomic_exchange_relaxed): New.
3158 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3160         * math/e_scalb.c: Do not include <fenv.h>.
3161         (invalid_fn): Do calculation resulting in NaN instead of raising
3162         FE_INVALID and returning a NaN explicitly.
3163         * math/e_scalbf.c: Do not include <fenv.h>.
3164         (invalid_fn): Do calculation resulting in NaN instead of raising
3165         FE_INVALID and returning a NaN explicitly.
3166         * math/e_scalbl.c: Do not include <fenv.h>.
3167         (invalid_fn): Do calculation resulting in NaN instead of raising
3168         FE_INVALID and returning a NaN explicitly.
3170 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3172         * po/de.po: Updated from Translation Project.
3173         * po/fi.po: Likewise.
3174         * po/sv.po: Likewise.
3176 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3178         [BZ #20452]
3179         Use sysdep.o from libc.a in static libraries.
3180         * sysdeps/unix/sysv/linux/i386/Makefile
3181         (libpthread-shared-only-routines): Add sysdep.
3182         (librt-shared-only-routines): Likewise.
3184 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3186         * math/tgmath.h (nextdown): Define if
3187         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3188         (nextup): Likewise.
3190         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3191         macro.
3192         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3193         Document.
3194         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3195         Document macro.
3196         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3197         (exp10f): Likewise.
3198         (exp10l): Likewise.
3199         * math/bits/mathcalls.h (exp10): Declare if
3200         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3202         * manual/arith.texi (nextup): Fix typo in last change.
3204 2016-08-03  Zack Weinberg  <zackw@panix.com>
3206         [BZ #19239]
3207         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3208         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3209         define major, minor, and makedev to issue deprecation warnings on use.
3210         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3211         previously-activated deprecation warnings for these macros and prevent
3212         subsequent inclusions of this header from having any effect.
3213         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3214         including <sys/sysmacros.h>, and undefine it again afterward.
3216 2016-08-03  Zack Weinberg  <zackw@panix.com>
3218         * sysdeps/generic/sys/sysmacros.h: Delete file.
3219         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3220         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3221         * bits/sysmacros.h: ... here; this encoding is now the generic
3222         encoding.  Now defines only the following macros:
3223         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3224         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3225         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3227         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3228         bits/sysmacros.h and the above new macros to generate the
3229         public implementations of major, minor, and makedev.
3230         * misc/tst-makedev.c: New test.
3231         * include/sys/sysmacros.h: New wrapper.
3233         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3234         (routines): Add makedev.
3235         (tests): Add tst-makedev.
3236         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3237         gnu_dev_makedev.
3238         * posix/Makefile (headers): Remove sys/sysmacros.h.
3239         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3241         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3242         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3243         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3244         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3245         * sysdeps/unix/sysv/linux/arm/libc.abilist
3246         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3247         * sysdeps/unix/sysv/linux/i386/libc.abilist
3248         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3249         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3250         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3251         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3252         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3253         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3254         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3255         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3256         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3262         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3263         * sysdeps/unix/sysv/linux/sh/libc.abilist
3264         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3265         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3268         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3269         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3270         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3271         Add GLIBC_2.25.
3273         * include/features.h (__glibc_clang_prereq): New macro.
3274         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3275         (__attribute_deprecated_msg__): New macros.
3277 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3279         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3280         macro.
3281         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3282         * manual/arith.texi (issignaling): Document as ISO from TS
3283         18661-1:2014.
3284         (nextup): Likewise.
3285         (nextupf): Likewise.
3286         (nextupl): Likewise.
3287         (nextdown): Likewise.
3288         (nextdownf): Likewise.
3289         (nextdownl): Likewise.
3290         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3291         macro.
3292         * math/math.h: Define
3293         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3294         <bits/libc-header-start.h> instead of including <features.h>.
3295         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3296         [__USE_GNU].
3297         * math/bits/mathcalls.h (nextdown): Declare if
3298         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3299         (nextup): Likewise.
3300         (__issignaling): Likewise.
3302 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3304         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3305         check, and remove __glibc_likely hint
3306         from FP_INFINITE check.
3307         * s_csinhf.c (__csinhf): Likewise.
3309         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3310         hint from FP_INFINITE check.
3311         * s_csinhl.c (__csinhl): Likewise.
3313 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3315         * math/Makefile (libm-calls): Insert F placeholder into
3316         object names.  Move w_lgamma_compat* routines into
3317         (libm-compat-calls): New variable.
3318         (libm-compat-calls-ldouble-yes): New variable.
3319         (calls): Insert F placeholder.
3320         (generated): Redefine using new type-foreach macro call.
3321         (routines): Likewise.
3323         (types): New variable to hold a list of symbolic names
3324         for each type supported by the target machine.
3325         (libm-routines): Redefine using new types variable.
3326         (type-foreach): macro to replace fooF with the
3327         appropriately suffixed foo for each types.
3329         (type-ldouble-suffix): New variable.
3330         (type-ldouble-routines): Likewise.
3331         (type-ldouble-yes): Likewise.
3332         (type-double-suffix): Likewise.
3333         (type-double-routines): Likewise.
3334         (type-float-suffix): Likewise.
3335         (type-float-routines): Likewise.
3337         (dbl-only-routines): Remove.
3338         (long-c-yes): Likewise.
3339         (long-m-routines): Likewise.
3340         (long-m-support): Likewise.
3341         (long-m-yes): Likewise.
3342         (test-longdouble-yes): Likewise.
3344         (test-float.o): Simplify by increasing the scope of the
3345         recipe which adds libm-test.stmp to the vector types.
3346         (test-ifloat.o): Likewise.
3347         (test-float-finite.o): Likewise.
3348         (test-double.o): Likewise
3349         (test-idouble.o): Likewise.
3350         (test-double-finite.o): Likewise.
3351         (test-ldouble.o): Likewise
3352         (test-ildoubl.o): Likewise.
3353         (test-ldouble-finite.o): Likewise.
3355         (libm-tests): Redefine type tests using foreach and the
3356         list of types in types.
3358         (CPPFLAGS-test-ildoubl.c): Rename to
3359         (CPPFLAGS-test-ildouble.c): New variable
3361         * math/test-ildoubl.c: Rename to
3362         * math/test-ildouble.c: New file.
3364 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3366         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3367         Use fabsl instead of fabs.
3368         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3369         Likewise.
3370         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3371         Add long double suffix to constant to ensure proper
3372         promotion to long double.
3374 2016-08-03  Tom Tromey  <tom@tromey.com>
3376         [BZ #20311]
3377         * nptl_db/Makefile (headers): Add proc_service.h.
3378         * nptl_db/proc_service.h: Add include guard.  Use
3379         __BEGIN/__END_DECLS.
3380         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3381         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3382         arguments.
3385 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3387         [BZ #17730]
3388         Avoid using memalign for TCB allocations.
3389         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3390         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3391         Avoid alignment gap in the TLS_DTV_AT_TP case.
3392         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3393         determine the pointer to free.
3394         * nptl/tst-tls3-malloc.c: New test.
3395         * nptl/Makefile (tests): Add it.
3396         (tst-tls3-malloc): Link with libdl, libpthread.
3397         (LDFLAGS-tst-tls3-malloc): Set.
3398         (tst-tls3-malloc.out): Depend on DSO used in test.
3400 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3402         [BZ #17730]
3403         Avoid using memalign for TLS allocations.
3404         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3405         is_static member with to_free member.
3406         (union dtv): Use struct dtv_pointer.
3407         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3408         dtv_pointer instead of is_static.
3409         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3410         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3411         instead of val.
3412         (allocate_dtv_entry): New function.
3413         (allocate_and_init): Return struct dtv_pointer.  Call
3414         allocate_dtv_entry instead of __libc_memalign.
3415         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3416         instead of val.
3417         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3418         instead of is_static.  Adjust call to allocate_and_init.
3419         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3420         struct dtv_pointer instead of val.
3422 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3424         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3425         (MALLOC_ALIGN_MASK): Move ...
3426         * malloc/malloc-internal.h: ... to here.
3427         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3429 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3431         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3432         (UDP_ENCAP_GTP1U): Likewise.
3434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3435         (PF_MAX): Update value.
3436         (AF_QIPCRTR): New macro.
3438 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3440         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3441         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3442         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3444         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3445         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3446         s_truncf-vis3, s_trunc-vis3.
3447         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3448         (CFLAGS-s_ceil-vis3.c): Likewise.
3449         (CFLAGS-s_floorf-vis3.c): Likewise.
3450         (CFLAGS-s_floor-vis3.c): Likewise.
3451         (CFLAGS-s_truncf-vis3.c): Likewise.
3452         (CFLAGS-s_trunc-vis3.c): Likewise.
3453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3461         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3462         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3463         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3464         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3466 2016-08-02  David S. Miller  <davem@davemloft.net>
3468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3469         (__nearbyint_vis3): Don't check for sNaN before float register is
3470         loaded with the incoming argument.
3471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3472         (__nearbyintf_vis3): Likewise.
3473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3474         Likewise.
3475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3476         Likewise.
3478         * string/test-strncmp.c (do_test_limit): Make sure the test data
3479         stream is aligned as required for the type "CHAR".
3480         (do_test): Likewise.
3482 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3484         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3485         by beq instructions jumping to the end of the function.
3486         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3487         clobber list. Use "i" constraint instead of "X".
3488         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3489         of "X".
3491 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3493         * bits/libc-header-start.h: New file.
3494         * Makefile (headers): Add bits/libc-header-start.h.
3495         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3496         (__GLIBC_USE): New macro.
3497         * libio/stdio.h: Define
3498         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3499         <bits/libc-header-start.h> instead of including <features.h>.
3500         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3501         (open_memstream): Likewise.
3502         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3503         (__asprintf): Likewise.
3504         (asprintf): Likewise.
3505         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3506         (getdelim): Likewise.
3507         (getline): Likewise.
3508         * string/string.h: Define
3509         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3510         <bits/libc-header-start.h> instead of including <features.h>.
3511         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3512         (strndup): Likewise.
3513         * wcsmbs/wchar.h: Define
3514         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3515         <bits/libc-header-start.h> instead of including <features.h>.
3516         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3517         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3519 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3521         Support linking against compatibility symbols, for use in tests.
3522         * include/libc-symbols.h (symbol_version_reference): New macro.
3523         (symbol_version): Use it.
3524         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3525         (compat_symbol): Use compat_symbol_reference.
3526         (compat_symbol_1, compat_symbol_2): Remove.
3527         (compat_symbol_reference, compat_symbol_reference_1)
3528         (compat_symbol_reference_2): New macro.  Use
3529         symbol_version_reference.
3531 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3533         [BZ #19469]
3534         * malloc/Makefile (CPPFLAGS): Compile tests with
3535         -DTEST_NO_MALLOPT.
3536         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3538 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3540         [BZ #20033]
3541         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3542         finite version.
3543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3544         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3545         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3546         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3547         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3548         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3549         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3550         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3552         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3554         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3556         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3559         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3560         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3561         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3562         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3563         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3564         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3565         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3566         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3567         in zero power.
3569 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3571         [BZ #20370]
3572         * malloc/arena.c (get_free_list): Update comment.  Assert that
3573         arenas on the free list have no attached threads.
3574         (remove_from_free_list): New function.
3575         (reused_arena): Call it.
3577 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3579         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3580         when it is a NaN.
3581         [_IEEE_FP_INEXACT] Remove.
3582         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3583         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3584         when it is a NaN.
3585         [_IEEE_FP_INEXACT] Remove.
3586         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3587         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3588         when it is a NaN.
3589         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3590         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3591         when its absolute value is greater than 0x1.0p52.
3592         [_IEEE_FP_INEXACT] Remove.
3593         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3594         when its absolute value is greater than 0x1.0p23.
3595         [_IEEE_FP_INEXACT] Remove.
3597 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3599         * version.h (RELEASE): Set to "development"
3600         (VERSION): Set to 2.24.90.
3601         * NEWS: Add 2.25 section.
3603         * version.h (RELEASE): Set to "stable"
3604         (VERSION): Set to 2.24.
3605         * include/features.h (__GLIBC_MINOR__): Set to 24.
3607         * NEWS: Add 2.24 fixed bugs.
3608         * po/libc.pot: Regenerate.
3610 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3613         [$(subdir) = math] (libm-sysdep_routines): Remove.
3614         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3615         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3616         s_truncf-vis3, s_trunc-vis3.
3617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3619         file.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3643         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3644         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3647         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3650         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3651         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3652         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3653         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3654         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3655         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3656         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3657         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3658         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3659         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3660         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3661         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3662         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3664 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3666         [BZ #20384]
3667         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3668         test-double-libmvec-sincos-avx-main.o,
3669         test-double-libmvec-sincos-avx2-main.o,
3670         test-double-libmvec-sincos-main.o,
3671         test-float-libmvec-sincosf-avx-main.o,
3672         test-float-libmvec-sincosf-avx2-main.o and
3673         test-float-libmvec-sincosf-main.o.
3674         test-float-libmvec-sincosf-avx512-main.o.
3675         ($(objpfx)test-double-libmvec-sincos): Also link with
3676         $(objpfx)test-double-libmvec-sincos-main.o.
3677         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3678         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3679         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3680         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3681         ($(objpfx)test-float-libmvec-sincosf): Also link with
3682         $(objpfx)test-float-libmvec-sincosf-main.o.
3683         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3684         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3685         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3686         test-double-libmvec-sincos-avx512-main.o and
3687         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3688         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3689         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3690         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3691         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3692         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3693         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3694         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3695         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3696         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3697         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3698         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3699         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3700         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3701         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3702         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3703         -DREQUIRE_AVX2.
3704         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3705         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3706         -DREQUIRE_AVX512F.
3707         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3708         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3709         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3710         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3711         file.
3712         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3713         Likewise.
3714         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3715         Likewise.
3716         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3717         Likewise.
3718         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3719         Likewise.
3720         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3721         Likewise.
3722         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3723         Likewise.
3724         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3725         Likewise.
3727 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3729         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3731 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3733         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3734         and typo in a comment about AT_HWCAP entry.
3736 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3738         * sysdeps/aarch64/libm-test-ulps: Updated.
3740 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3742         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3743         of r13 as it is not restored in mvcle case.
3745 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3747         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3748         Rename "ret" to "__ret".
3749         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3750         inline_syscall5, inline_syscall6): Likewise.
3752 2016-07-19   Will Newton  <will.newton@gmail.com>
3754         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3755         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3756         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3757         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3758         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3760 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3762         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3763         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3764         -mfpmath=387 with $(rtld-CFLAGS).
3765         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3766         $(rtld-CFLAGS).
3768 2016-07-18   Ross Burton  <ross.burton@intel.com>
3769              Khem Raj  <raj.khem@gmail.com>
3771         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3772         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3773         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3774         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3775         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3776         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3777         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3778         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3779         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3780         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3781         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3782         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3783         R_METAG_TLS_DTPOFF): New.
3785 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3786             Matt Clay  <mclay@lycos.com>
3788         [BZ #20357]
3789         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3790         to call __mpsin/__mpcos and to negate values.
3791         * math/auto-libm-test-in: Add test.
3792         * math/auto-libm-test-out: Regenerate.
3794 2016-07-18  Zack Weinberg  <zackw@panix.com>
3796         * grp/Makefile: Don't install the internal header grp-merge.h.
3798 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3800         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3802 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3804         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3806 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3808         [BZ #15368]
3809         * sysdeps/unix/sysv/linux/nptl-signals.h
3810         (__nptl_clear_internal_signals): New function.
3811         (__libc_signal_block_all): Likewise.
3812         (__libc_signal_block_app): Likewise.
3813         (__libc_signal_restore_set): Likewise.
3814         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3815         implementation.
3816         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3817         the cached pid/tid value in pthread structure.
3819 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3821         [BZ #20347]
3822         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3824 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3826         [BZ #20348]
3827         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3828         preadv64, pwrite64 and pwritev64.
3830 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3832         [BZ #20350]
3833         * posix/tst-preadwrite.c: Renamed to ...
3834         * posix/tst-preadwrite-common.c: This.
3835         (PREAD): Removed.
3836         (PWRITE): Likewise.
3837         (STRINGIFY): Likewise.
3838         (STRINGIFY2): Likewise.
3839         (do_prepare): Make it static and remove function arguments.
3840         (do_test): Likewise.
3841         (PREPARE): Updated.
3842         (TEST_FUNCTION): New.
3843         (name): Make it static.
3844         (fd): Likewise.
3845         (do_prepare): Use create_temp_file.
3846         (do_test): Renamed to ...
3847         (do_test_with_offset): This.  Make it static and accept offset.
3848         Properly check return value of PWRITE and PREAD.  Return bytes
3849         read.  Don't close fd nor unlink name.
3850         * posix/tst-preadwrite.c: Rewrite.
3851         * posix/tst-preadwrite64.c: Likewise.
3853 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3855         [BZ #20309]
3856         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3857         -mtls-dialect=gnu2 works.
3858         * configure: Regenerated.
3859         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3860         (tests): Add tst-gnu2-tls1.
3861         (modules-names): Add tst-gnu2-tls1mod.
3862         ($(objpfx)tst-gnu2-tls1): New.
3863         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3864         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3865         * elf/tst-gnu2-tls1.c: New file.
3866         * elf/tst-gnu2-tls1mod.c: Likewise.
3867         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3868         bytes for push in the PLT entry to align the stack.
3870 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3872         [BZ #20349]
3873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3875 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3877         [BZ #18707]
3878         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3879         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3881 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3883         * sysdeps/unix/sysv/linux/sysdep.h
3884         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3885         guards.
3886         * misc/tst-preadvwritev-common.c: New file.
3887         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3888         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3889         a check for files larger than 2GB.
3891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3892         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3893         * sysdeps/unix/sysv/linux/pread.c
3894         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3895         __OFF_T_MATCHES_OFF64_T.
3896         * sysdeps/unix/sysv/linux/pread64.c
3897         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3898         * sysdeps/unix/sysv/linux/preadv.c
3899         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3900         * sysdeps/unix/sysv/linux/preadv64.c
3901         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3902         * sysdeps/unix/sysv/linux/pwrite.c
3903         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3904         * sysdeps/unix/sysv/linux/pwrite64.c
3905         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3906         * sysdeps/unix/sysv/linux/pwritev.c
3907         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3908         * sysdeps/unix/sysv/linux/pwritev64.c
3909         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3911 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3913         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3914         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3916 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3918         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3920 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3922         [BZ #20240]
3923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3924         (CFLAGS-s_modf-ppc32.c): New variable.
3925         (CFLAGS-s_modff-ppc32.c): Likewise.
3926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3927         (CFLAGS-s_modf-ppc64.c): Likewise.
3928         (CFLAGS-s_modff-ppc64.c): Likewise.
3930 2016-07-07  Andreas Schwab  <schwab@suse.de>
3932         [BZ #20263]
3933         * nptl/tst-robust10.c: New test.
3934         * nptl/Makefile (tests): Add tst-robust10.
3936 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3938         [BZ #20263]
3939         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3941 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3943         * sysdeps/s390/linkmap.h (struct link_map_machine):
3944         Remove member gotplt and add member jmprel.
3945         * sysdeps/s390/s390-32/dl-machine.h
3946         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3947         instead of gotplt with &got[3].
3948         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3949         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3951 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3953         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3955 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3957         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3958         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3959         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3960         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3961         * libio/vtables.c (_IO_vtable_check)
3962         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3963         * libio/libioP.h (IO_set_accept_foreign_vtables)
3964         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3966 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3968         [BZ #20314]
3969         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3970         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3971         $(common-objpfx)cmath.
3972         ($(common-objpfx)cstdlib): New target.
3973         ($(common-objpfx)cmath): Likewise.
3975 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3977         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3979 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3981         [BZ #20327]
3982         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3983         are not part of the string.
3985 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3987         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3988         * nptl/tst-cancel4-common.h (fifoname): New variable.
3989         (fifofd): Likewise.
3990         (cl_fifo): New function.
3991         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3992         SIGINT.
3993         (tf_open): Add early cancel test.
3995 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3997         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3999 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4001         * sysdeps/generic/ldsodefs.h
4002         (dl_symbol_visibility_binds_local_p): New inline function.
4003         * elf/dl-addr.c (determine_info): Treat hidden and internal
4004         symbols as local.
4005         * elf/dl-lookup.c (do_lookup_x): Likewise.
4006         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4008 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4010         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4011         invalid exception for a sNaN input.
4012         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4013         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4014         (__nearbyint_vis3): Likewise
4015         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4016         (__nearbyintf_vis3): Likewise
4017         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4018         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4019         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4020         Likewise.
4021         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4022         Likewise.
4024 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4026         [BZ #20139]
4027         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4028         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4029         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4030         2.24 or above.
4031         (HAVE_AVX512_ASM_SUPPORT): Removed.
4032         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4033         * sysdeps/x86_64/configure: Regenerated.
4034         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4035         check unconditional.
4036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4037         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4038         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4039         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4040         Likewise.
4041         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4042         Likewise.
4043         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4044         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4045         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4046         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4047         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4048         Likewise.
4049         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4050         Likewise.
4051         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4052         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4053         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4054         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4056         Likewise.
4057         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4058         Likewise.
4059         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4060         Likewise.
4061         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4062         Likewise.
4063         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4064         Likewise.
4065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4066         Likewise.
4067         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4068         Likewise.
4069         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4070         Likewise.
4071         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4072         Likewise.
4073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4074         Likewise.
4075         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4076         Likewise.
4078 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4080         [BZ #20024]
4081         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4083         of this implementation of vector function.
4084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4085         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4087         Likewise.
4088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4090         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4091         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4092         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4093         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4094         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4095         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4096         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4097         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4098         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4099         for testing vector sincos with fixed ABI.
4100         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4101         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4102         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4103         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4104         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4105         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4106         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4107         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4108         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4109         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4110         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4111         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4112         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4113         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4114         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4115         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4117 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4119         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4121 2016-06-30  Anton Blanchard  <anton@samba.org>
4123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4124         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4125         s_sinf-ppc64.
4126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4129         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4131 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4135         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4136         e_expf-ppc64.
4137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4140         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4142 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4144         [BZ #20277]
4145         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4146         when SHARED is defined.
4148 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4150         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4151         (index_arch_Prefer_ERMS): Likewise.
4152         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4153         __memcpy_erms for Prefer_ERMS.
4154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4155         (__memmove_erms): Enabled for libc.a.
4156         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4157         __memmove_erms or Prefer_ERMS.
4158         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4159         __mempcpy_erms for Prefer_ERMS.
4160         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4161         __memset_erms for Prefer_ERMS.
4163 2016-06-30  Andreas Schwab  <schwab@suse.de>
4165         [BZ #20262]
4166         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4167         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4168         of memory.
4170 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4172         [BZ #18645]
4173         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4174         (test-extras): Add tst-cleanupx4aux.
4175         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4176         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4177         tst-cleanupx4aux.o.
4178         * nptl/tst-cleanupx4aux.c: New file.
4180 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4182         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4184 2016-06-29  Andreas Schwab  <schwab@suse.de>
4186         [BZ #20260]
4187         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4188         address before the beginning of the string as an integer to avoid
4189         array-bounds warning.
4191 2016-06-28  Richard Henderson  <rth@redhat.com>
4193         * elf/elf.h (EM_BPF): New.
4194         (EM_NUM): Update.
4195         (R_BPF_NONE, R_BPF_MAP_FD): New.
4197         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4198         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4199         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4200         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4201         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4202         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4203         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4204         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4205         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4206         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4207         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4208         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4209         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4210         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4211         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4212         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4213         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4214         (EM_NUM): Update.
4216 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4218         [BZ #18960]
4219         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4220         Set _nl_current_LC_CATEGORY_used to two instead of one.
4222 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4224         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4225         (do_test): ... this.
4226         (TEST_FUNCTION): New macro.
4227          Include test-skeleton.c.
4228         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4229         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4231 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #15479]
4234         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4235         floating-point environment rather than just control word.
4236         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4237         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4238         floating-point environment, with "invalid" exceptions merged in,
4239         rather than just control word.
4240         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4241         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4242         "inexact" exceptions.
4244         [BZ #15479]
4245         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4246         floating-point environment rather than just control word.
4247         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4248         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4249         floating-point environment, with "invalid" exceptions merged in,
4250         rather than just control word.
4251         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4252         * math/libm-test.inc (floor_test_data): Do not allow spurious
4253         "inexact" exceptions.
4255         [BZ #15479]
4256         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4257         floating-point environment rather than just control word.
4258         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4259         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4260         floating-point environment, with "invalid" exceptions merged in,
4261         rather than just control word.
4262         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4263         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4264         "inexact" exceptions.
4266 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4268         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4269         __libc_vfork.
4270         (__vfork) [IS_IN (libc)]: Remove alias.
4271         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4272         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4273         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4275 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4277         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4278         of atomic_compare_and_exchange_bool_rel.
4279         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4280         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4281         catomic_compare_and_exchange_bool_rel): Remove.
4282         * sysdeps/aarch64/atomic-machine.h
4283         (atomic_compare_and_exchange_bool_rel): Likewise.
4284         * sysdeps/alpha/atomic-machine.h
4285         (atomic_compare_and_exchange_bool_rel): Likewise.
4286         * sysdeps/arm/atomic-machine.h
4287         (atomic_compare_and_exchange_bool_rel): Likewise.
4288         * sysdeps/mips/atomic-machine.h
4289         (atomic_compare_and_exchange_bool_rel): Likewise.
4290         * sysdeps/microblaze/atomic-machine.h
4291         ( __arch_compare_and_exchange_bool_8_rel,
4292         __arch_compare_and_exchange_bool_16_rel): Likewise.
4293         * sysdeps/powerpc/atomic-machine.h
4294         ( __arch_compare_and_exchange_bool_8_rel,
4295         __arch_compare_and_exchange_bool_16_rel): Likewise.
4296         * sysdeps/powerpc/powerpc32/atomic-machine.h
4297         ( __arch_compare_and_exchange_bool_32_rel,
4298         __arch_compare_and_exchange_bool_64_rel): Likewise.
4299         * sysdeps/powerpc/powerpc64/atomic-machine.h
4300         ( __arch_compare_and_exchange_bool_32_rel,
4301         __arch_compare_and_exchange_bool_64_rel): Likewise.
4302         * sysdeps/tile/atomic-machine.h
4303         (atomic_compare_and_exchange_bool_rel): Likewise.
4305 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4307         [BZ #20296]
4308         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4309         when either argument is a NaN.
4310         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4311         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4313         * math/libm-test.inc (snan_value_ld): New macro.
4314         (isgreater_test_data): Add sNaN tests.
4315         (isgreaterequal_test_data): Likewise.
4316         (isless_test_data): Likewise.
4317         (islessequal_test_data): Likewise.
4318         (islessgreater_test_data): Likewise.
4319         (isunordered_test_data): Likewise.
4320         (nextafter_test_data): Likewise.
4321         (nexttoward_test_data): Likewise.
4322         (remainder_test_data): Likewise.
4323         (remquo_test_data): Likewise.
4324         (significand_test_data): Likewise.
4325         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4327 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4329         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4330         environment macros are defined.
4331         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4333 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4335         [BZ #20191]
4336         Implement vtable verification in libio.
4337         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4338         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4339         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4340         _IO_new_file_init_internal instead of _IO_file_init.
4341         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4342         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4343         * libio/Makefile (routines): Add vtables.
4344         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4345         (_IO_init): Remove, not for internal use.
4346         (_IO_init_internal): Declare, internal replacement for _IO_init.
4347         (_IO_file_init): Remove, not for internal use.
4348         (_IO_new_file_init): Remove, not for internal use.
4349         (_IO_new_file_init_internal): Declare, internal replacement for
4350         _IO_new_file_init.
4351         (_IO_old_file_init): Remove, not for internal use.
4352         (_IO_old_file_init_internal): Declare, internal replacement for
4353         _IO_old_file_init.
4354         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4355         internal use.
4356         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4357         Declare.
4358         (libio_vtable): New macro.
4359         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4360         functions.
4361         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4362         _IO_new_file_init.
4363         (_IO_new_file_init): New externally visible wrapper which disables
4364         vtable verification.
4365         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4366         Define as vtables.
4367         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4368         (_IO_init): New externally visible wrapper which disables
4369         vtable verification.
4370         * libio/iofdopen.c (_IO_new_fdopen): Call
4371         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4372         comment.
4373         * libio/iofopen.c (__fopen_internal): Call
4374         _IO_new_file_init_internal instead of _IO_file_init.
4375         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4376         Define as vtables.
4377         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4378         _IO_new_file_init_internal instead of _IO_file_init.
4379         * libio/iopopen.c (_IO_new_popen): Likewise.
4380         (_IO_proc_jumps): Define as vtable.
4381         * libio/iovdprintf.c (_IO_vdprintf): Call
4382         _IO_new_file_init_internal instead of _IO_file_init.
4383         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4384         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4385         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4386         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4387         _IO_old_file_init.
4388         (_IO_old_file_init): New externally visible wrapper which disables
4389         vtable verification.
4390         (_IO_old_file_jumps): Define as vtable.
4391         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4392         _IO_old_file_init_internal instead of _IO_old_file_init.
4393         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4394         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4395         (_IO_old_proc_jumps): Define as vtable.
4396         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4397         Define as vtables.
4398         * libio/vtables.c: New file.
4399         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4400         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4401         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4402         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4403         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4404         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4405         instead of _IO_init.
4407 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4409         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4411 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4413         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4414         potentially unused.
4416 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4418         * test-skeleton.c (write_message): New function.
4419         * malloc/tst-mallocfork2.c (write_message): Remove.
4420         * debug/tst-longjmp_chk2.c (write_indented): New function.
4421         (write_message): Remove.
4422         (stackoverflow_handler): Call write_indented.
4424 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4426         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4427         "inexact" exceptions after fnstenv.
4428         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4429         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4430         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4432 2015-06-22  Zack Weinberg  <zackw@panix.com>
4434         * sysdeps/generic/bits/hwcap.h: Moved to ...
4435         * bits/hwcap.h: Here.
4437 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4439         * sysdeps/aarch64/memcpy.S (memcpy):
4440         Further tuning for performance.
4442 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4444         [BZ #20284]
4445         * malloc/arena.c (reused_arena): Do not return NULL if we start
4446         out with a non-corrupted arena.
4448 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4450         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4451         * misc/tst-preadvwritev.c: New file.
4452         * misc/tst-preadvwritev64.c: Likewise.
4453         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4454         usage.
4455         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4456         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4457         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4458         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4460 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4462         [BZ #19654]
4463         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4464         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4465         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4466         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4467         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4468         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4469         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4470         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4471         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4472         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4473         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4474         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4475         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4476         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4477         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4478         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4479         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4480         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4481         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4482         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4483         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4484         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4485         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4486         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4487         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4488         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4490 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4492         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4493         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4495 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4497         * sysdeps/aarch64/memcpy.S (memcpy):
4498         Rewrite of optimized memcpy and memmove.
4499         * sysdeps/aarch64/memmove.S (memmove): Remove
4500         memmove code (merged into memcpy.S).
4502 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4504         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4505         * sysdeps/generic/dl-dtv.h: New file.
4506         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4507         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4508         (dtv_t): Remove.
4509         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4510         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4511         (dtv_t): Remove.
4512         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4513         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4514         (dtv_t): Remove.
4515         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4516         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4517         (dtv_t): Remove.
4518         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4519         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4520         (dtv_t): Remove.
4521         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4522         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4523         (dtv_t): Remove.
4524         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4525         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4526         (dtv_t): Remove.
4527         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4528         (dtv_t): Remove.
4529         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4530         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4531         (dtv_t): Remove.
4532         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4533         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4534         (dtv_t): Remove.
4535         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4536         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4537         (dtv_t): Remove.
4538         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4539         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4540         (dtv_t): Remove.
4541         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4542         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4543         (dtv_t): Remove.
4544         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4545         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4546         (dtv_t): Remove.
4547         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4548         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4549         (dtv_t): Remove.
4550         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4551         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4552         (dtv_t): Remove.
4554 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4556         Revert symbol poisoning of  __malloc_initialize_hook.
4557         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4558         poisoning.
4559         * malloc/Makefile: Remove un-poisoning.
4560         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4561         instead of old__malloc_initialize_hook.
4562         * malloc/malloc-hooks.h: Likewise.
4563         * malloc/malloc.c: Likewise.
4564         * malloc/mcheck-init.c: Likewise.
4566 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4568         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4570 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4572         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4573         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4574         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4575         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4577 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4579         * NEWS: Mention addition of nextup and nextdown.
4580         * manual/arith.texi: Document nextup and nextdown.
4581         * manual/libm-err-tab.pl: Add nextup and nextdown.
4582         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4583         * math/Versions (libm): Add GLIBC_2.24.
4584         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4585         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4586         Add new test.
4587         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4588         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4589         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4590         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4591         (nextup_test_data): Likewise.
4592         (nextdown_test_data): Likewise.
4593         * math/s_nextdown.c: New file.
4594         * math/s_nextdownf.c: Likewise.
4595         * math/s_nextdownl.c: Likewise.
4596         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4597         F(nextup): New function.
4598         F(nextdown): Likewise.
4599         * math/tgmath.h: Add nextup and nextdown.
4600         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4601         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4602         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4604         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4605         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4606         Add nextup and nextdown.
4607         (CFLAGS-nldbl-nextup.c): New variable.
4608         (CFLAGS-nldbl-nextdown.c): Likewise.
4609         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4610         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4611         * sysdeps/nacl/libm.abilist: Update.
4612         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4613         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4614         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4615         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4616         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4617         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4618         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4619         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4620         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4621         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4622         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4626         Likewise.
4627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4631         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4633         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4636         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4637         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4638         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4639         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4641 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4643         * manual/pattern.texi: Fix typos & grammar errors.
4645 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4647         * manual/search.texi: Fix typos & grammar errors.
4649 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4651         * manual/message.texi: Fix typos & grammar errors.
4653 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4655         * manual/contrib.texi: Fix spelling typos.
4656         * manual/crypt.texi: Likewise.
4657         * manual/filesys.texi: Likewise.
4658         * manual/locale.texi: Likewise.
4659         * manual/message.texi: Likewise.
4660         * manual/nss.texi: Likewise.
4661         * manual/string.texi: Likewise.
4663 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4665         * manual/locale.texi: Fix typos & grammar errors.
4667 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4669         * manual/charset.texi: Fix typos & grammar errors.
4671 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4673         * manual/string.texi: Fix typos.
4675 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4677         * manual/ctype.texi: Fix typos.
4679 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4681         * manual/memory.texi: Fix various typos & grammar errors.
4683 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4685         [BZ #20255]
4686         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4687         * math/libm-test.inc (fdim_test_data): Add another test.
4689         [BZ #6796]
4690         [BZ #20255]
4691         [BZ #20256]
4692         * math/s_fdim.c: Include <math_private.h>.
4693         (__fdim): Use math_narrow_eval on result.
4694         * math/s_fdimf.c: Include <math_private.h>.
4695         (__fdimf): Use math_narrow_eval on result.
4696         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4697         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4698         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4699         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4700         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4701         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4702         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4703         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4704         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4705         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4706         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4707         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4708         overflow.  Add sNaN tests.
4710         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4711         fpclassify.
4712         * math/s_fdimf.c (__fdimf): Likewise.
4713         * math/s_fdiml.c (__fdiml): Likewise.
4715 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4717         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4718         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4720         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4721         ifunc'ed strcasecmp/strncasecmp.
4722         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4723         [EALIGN]: Removed.
4724         [END]: Likewise.
4725         [__strcasecmp]: Define instead of the above to control symbol name.
4726         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4727         for __strcasecmp_power8.
4728         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4729         for __strncasecmp_power8.
4730         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4731         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4732         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4733         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4734         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4735         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4737 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4739         [BZ #20252]
4740         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4741         arguments when second argument is a NaN.
4742         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4743         qNaN tests.
4745         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4746         (conj_test_data): Likewise.
4747         (copysign_test_data): Likewise.
4748         (creal_test_data): Likewise.
4749         (fma_test_data): Likewise.
4750         (fmod_test_data): Likewise.
4752         [BZ #20250]
4753         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4754         itself.
4755         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4756         zero input to itself.
4757         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4758         Likewise.
4759         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4760         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4762         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4763         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4765 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4767         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4768         * nptl/tst-cancel4-common.c: New file.
4769         * nptl/tst-cancel4-common.h: Likewise.
4770         * nptl/tst-cancel4.c: Move common definitions to
4771         tst-cancel4-common.{c,h} file.
4772         * nptl/tst-cancel4_1.c: New test.
4773         * nptl/tst-cancel4_2.c: New test.
4775 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4777         [BZ #20248]
4778         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4779         (write_message): New function.
4780         (stackoverflow_handler): Call it instead of printf, to avoid
4781         excessive stack usage by printf.
4782         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4784 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4786         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4787         (prio_inherit_missing): Remove define.
4788         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4789         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4790         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4791         Likewise.
4792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4793         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4794         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4795         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4796         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4797         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4799 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4801         [BZ #19670]
4802         [BZ #19672]
4804         * io/test-lfs.c (do_prepare): Use xmalloc.
4805         * io/tst-fcntl.c (do_prepare): Likewise.
4806         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4807         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4808         * login/tst-utmp.c (do_prepare): Likewise.
4809         * posix/tst-exec.c (do_prepare): Likewise.
4810         * posix/tst-pathconf.c (prepare): Likewise.
4811         * posix/tst-spawn.c (do_prepare): Likewise.
4812         * posix/tst-truncate.c (do_prepare): Likewise.
4813         * rt/tst-aio.c (do_prepare): Likewise.
4814         * rt/tst-aio64.c (do_prepare): Likewise.
4816 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4818         [BZ #20237]
4819         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4820         (get*ent): Set entidx to NULL during initialization.  If entidx is
4821         NULL, start iteration from the beginning.
4823 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4825         * malloc/malloc.c (musable): Return correct size for dumped fake
4826         mmapped chunk.
4828 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4830         [BZ #20222]
4831         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4832         (_IO_cookie_write): Likewise.
4833         (_IO_cookie_seek): Likewise.
4834         (_IO_cookie_close): Likewise.
4835         (_IO_old_cookie_seek): Likewise.
4836         (set_callbacks): New function.
4837         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4839 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4841         * locale/programs/localedef.c (oldstyle_tables): Remove.
4842         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4844 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4846         [BZ #20240]
4847         * math/Makefile (CFLAGS-s_modf.c): New variable.
4848         (CFLAGS-s_modff.c): Likewise.
4849         (CFLAGS-s_modfl.c): Likewise.
4850         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4852 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4854         [BZ #20215]
4855         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4856         [!__GNUC_PREREQ (3,2)]: Likewise.
4858 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4860         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4861         (msghdr.msg_controllen): Likewise.
4862         (cmsghdr.cmsg_len): Likewise.
4863         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4864         ptw-oldsendmsg.
4865         (CFLAGS-oldrecvmsg.c): Remove rule.
4866         (CFLAGS-oldsendmsg.c): Likewise.
4867         (CFLAGS-recvmsg.c): Add rule.
4868         (CFLAGS-sendmsg.c): Likewise.
4869         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4870         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4871         (CFLAGS-recvmsg.c): Remove rule.
4872         (CFLAGS-sendmsg.c): Likewise.
4873         (CFLAGS-oldrecvmsg.c): Likewise.
4874         (CFLAGS-oldsendmsg.c): Likewise.
4875         (CFLAGS-recvmmsg.c): Likewise.
4876         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4877         to kernel defined interfaces.
4878         (msghdr.msg_controllen): Likewise.
4879         (cmsghdr.cmsg_len): Likewise.
4880         (msghdr.__glibc_reserved1): Remove member.
4881         (msghdr.__glibc_reserved2): Likewise.
4882         (cmsghdr.__glibc_reserved1): Likewise.
4883         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4884         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4885         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4886         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4887         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4888         version.
4889         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4890         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4891         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4892         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4893         Remove recvmsg and sendmsg.
4894         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4895         Likewise.
4896         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4897         Likewise.
4898         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4899         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4900         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4901         Likewise.
4902         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4903         Likewise.
4904         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4905         [libc] (GLIBC_2.24): Likewise.
4906         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4907         Likewise.
4908         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4909         Likewise.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4911         [libc] (GLIBC_2.24): Likewise.
4912         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4913         Likewise.
4914         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4915         Likewise.
4916         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4917         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4918         Likewise.
4919         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4920         Likewise.
4921         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4922         Likewise.
4923         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4924         Likewise.
4925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4926         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4927         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4928         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4929         version for {recv,send,recm,sendm}msg.
4930         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4937         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4938         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4939         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4943         Likewise.
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4945         Likewise.
4946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4948         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4949         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4952         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4956         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4957         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4958         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4960 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4962         [BZ #19564]
4963         Remove __malloc_initialize_hook from the API.
4964         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4965         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4966         #pragma GCC poison.
4967         * malloc/malloc-hooks.h: New file.
4968         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4969         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4970         (old__malloc_initialize_hook): Rename from
4971         __malloc_initialize_hook to evade poisoning.  Turn into compat
4972         symbol.
4973         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4974         __malloc_initialize_hook.
4975         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4976         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4977         * manual/memory.texi (Hooks for Malloc): Remove
4978         __malloc_initialize_hook.  Adjust hook example.
4980 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4982         [BZ #20235]
4983         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4984         itself.
4985         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4986         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4988         [BZ #20234]
4989         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4990         infinity or NaN input to itself.
4992         [BZ #20233]
4993         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4994         to itself.
4996         [BZ #20232]
4997         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4998         itself.
5000 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5002         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5003         __libc_start_main via GOT.
5005 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5007         * sysdeps/x86_64/memcopy.h: New file.
5008         * sysdeps/x86_64/wordcopy.c: Likewise.
5010 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5012         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5013         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5014         <cstdlib>.
5015         (optimization_barrier): New.
5016         (do_test): Use it.  Call quick_exit in the global namespace.
5017         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5018         instead of <cstdlib>, <thread>.
5019         (optimization_barrier): New.
5020         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5021         Call quick_exit in the global namespace.
5022         (do_test): Call optimization_barrier.  Use pthread_create,
5023         pthread_join instead of std::thread.
5025 2016-06-09  Andreas Schwab  <schwab@suse.de>
5027         [BZ #19755]
5028         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5029         new entries in auto-propagate mode.
5030         * nscd/grpcache.c (cache_addgr): Likewise.
5032 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5034         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5035         New functions.
5036         (add_temp_file): Use them.
5038 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5040         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5042 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5044         [BZ #20229]
5045         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5046         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5047         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5049         [BZ #20228]
5050         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5051         itself.
5052         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5053         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5055         [BZ #20227]
5056         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5057         itself.
5058         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5059         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5060         * math/libm-test.inc (log_test_data): Add sNaN tests.
5062         [BZ #20226]
5063         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5064         itself.
5065         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5066         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5067         (exp10_test_data): Likewise.
5068         (expm1_test_data): Likewise.
5070         [BZ #20225]
5071         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5072         itself.
5073         * math/s_ldexpf.c (__ldexpf): Likewise.
5074         * math/s_ldexpl.c (__ldexpl): Likewise.
5075         * math/w_scalbln.c (__w_scalbln): Likewise.
5076         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5077         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5078         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5079         (scalbln_test_data): Likewise.
5081         [BZ #20224]
5082         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5083         argument to itself.
5084         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5086 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5088         [BZ #19776]
5089         * sysdeps/x86_64/memcpy.S: Make it dummy.
5090         * sysdeps/x86_64/mempcpy.S: Likewise.
5091         * sysdeps/x86_64/memmove.S: New file.
5092         * sysdeps/x86_64/memmove_chk.S: Likewise.
5093         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5094         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5095         * sysdeps/x86_64/memmove.c: Removed.
5096         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5097         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5098         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5099         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5100         Likewise.
5101         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5102         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5104         memcpy-sse2-unaligned, memmove-avx-unaligned,
5105         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5107         (__libc_ifunc_impl_list): Replace
5108         __memmove_chk_avx512_unaligned_2 with
5109         __memmove_chk_avx512_unaligned.  Remove
5110         __memmove_chk_avx_unaligned_2.  Replace
5111         __memmove_chk_sse2_unaligned_2 with
5112         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5113         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5114         with __memmove_avx512_unaligned.  Replace
5115         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5116         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5117         with __memcpy_chk_avx512_unaligned.  Remove
5118         __memcpy_chk_avx_unaligned_2.  Replace
5119         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5120         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5121         Replace __memcpy_avx512_unaligned_2 with
5122         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5123         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5124         with __mempcpy_chk_avx512_unaligned.  Remove
5125         __mempcpy_chk_avx_unaligned_2.  Replace
5126         __mempcpy_chk_sse2_unaligned_2 with
5127         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5128         Replace __mempcpy_avx512_unaligned_2 with
5129         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5130         Replace __mempcpy_sse2_unaligned_2 with
5131         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5132         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5133         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5134         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5135         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5136         (ENTRY): Removed.
5137         (END): Likewise.
5138         (ENTRY_CHK): Likewise.
5139         (libc_hidden_builtin_def): Likewise.
5140         Don't include ../memcpy.S.
5141         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5142         __memcpy_chk_avx512_unaligned_erms and
5143         __memcpy_chk_avx512_unaligned.  Use
5144         __memcpy_chk_avx_unaligned_erms and
5145         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5146         Default to __memcpy_chk_sse2_unaligned.
5147         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5148         Change function suffix from unaligned_2 to unaligned.
5149         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5150         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5151         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5152         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5153         (ENTRY): Removed.
5154         (END): Likewise.
5155         (ENTRY_CHK): Likewise.
5156         (libc_hidden_builtin_def): Likewise.
5157         Don't include ../mempcpy.S.
5158         (mempcpy): New.  Add a weak alias.
5159         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5160         __mempcpy_chk_avx512_unaligned_erms and
5161         __mempcpy_chk_avx512_unaligned.  Use
5162         __mempcpy_chk_avx_unaligned_erms and
5163         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5164         Default to __mempcpy_chk_sse2_unaligned.
5166 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5168         [BZ #19881]
5169         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5170         into ...
5171         * sysdeps/x86_64/memset.S: This.
5172         (__bzero): Removed.
5173         (__memset_tail): Likewise.
5174         (__memset_chk): Likewise.
5175         (memset): Likewise.
5176         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5177         defined.
5178         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5179         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5180         (__memset_zero_constant_len_parameter): Check SHARED instead of
5181         PIC.
5182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5183         memset-avx2 and memset-sse2-unaligned-erms.
5184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5185         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5186         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5187         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5188         (__bzero): Enabled.
5189         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5190         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5191         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5192         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5193         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5194         (memset): Removed.
5195         (__memset_chk): Likewise.
5196         (MEMSET_SYMBOL): New.
5197         (libc_hidden_builtin_def): Replace __memset_sse2 with
5198         __memset_sse2_unaligned.
5199         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5200         __memset_chk_sse2 and __memset_chk_avx2 with
5201         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5202         Use __memset_chk_sse2_unaligned_erms or
5203         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5204         __memset_chk_avx512_unaligned_erms and
5205         __memset_chk_avx512_unaligned.
5207 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5209         * math/gen-auto-libm-test.c (fp_format_desc): remove
5210         suffix member.
5211         (output_generic_value): Remove usage of suffix member,
5212         and the resulting unuse of the fp_format argument.
5213         (output_for_one_input_case): Remove unused fp_format
5214         parameter.
5216         * math/auto-libm-test-out: Regenerate.
5218         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5219         usage with TEST_COND_ibm128.
5220         (TEST_COND_flt_32): Remove.
5221         (TEST_COND_dbl_64): Remove.
5222         (TEST_COND_ldbl_96_intel): Remove.
5223         (TEST_COND_ldbl_96_m68k): Remove.
5224         (TEST_COND_ldbl_128): Remove.
5226 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5228         * auto-libm-test-in:
5229         Replace flt-32 usage with binary32.
5230         Replace dbl-64 usage with binary64.
5231         Replace ldbl-intel-96 usage with intel96.
5232         Replace ldbl-m68k-96 usage with m68k96.
5233         Replace ldbl-128ibm usage with ibm128.
5234         Replace ldbl-128 usage with binary128.
5236         * auto-libm-test-out: Regenerate.
5238 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5240         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5241         (parse_ulps): Dynamically generate type name matching
5242         string from all_floats.
5243         (get_ulps): Generate the ulps as an array instead.
5244         (output_ulps): Dynamically compose the type based
5245         on the number of supported formats, and print
5246         the indices as type specific helper macros.
5248         * math/libm-test.inc: Remove comment about CHOOSE.
5249         (ulp_data): Generate the type in libm-test-ulps.h.
5250         (ULP_IDX): New macro.
5251         (find_ulps): Update usage of max_ulp.
5253         * math/test-double-vlen2.h (CHOOSE): Remove.
5254         * math/test-double-vlen4.h (CHOOSE): Likewise.
5255         * math/test-double-vlen8.h (CHOOSE): Likewise.
5256         * math/test-float.c (CHOOSE): Likewise.
5257         * math/test-float-finite.c (CHOOSE): Likewise.
5258         * math/test-double.c (CHOOSE): Likewise.
5259         * math/test-double-finite.c (CHOOSE): Likewise.
5260         * math/test-idouble.c (CHOOSE): Likewise.
5261         * math/test-ifloat.c (CHOOSE): Likewise.
5262         * math/test-ildoubl.c (CHOOSE): Likewise.
5263         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5264         * math/test-ldouble.c (CHOOSE): Likewise.
5266         * math/test-float.h (TEST_FLOAT): Remove.
5267         * math/test-double.h (TEST_DOUBLE): Likewise.
5268         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5270 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5272         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5273         (parse_args): Strip C suffix from floating point literals
5274         typed with 'f' and wrap them with LIT().
5276         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5277         (test_ff_f_data_nexttoward): Rename to
5278         (test_fj_f_data): New struct.
5279         (nexttoward_test_data): Relabel tests as
5280         TEST_fj_f instead of TEST_ff_f.
5282 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5284         Emacs bug 23726.
5285         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5286         (__libc_realloc): Correct size computation for dumped fake mmapped
5287         chunks.
5289 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5291         [BZ #20219]
5292         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5293         to itself.
5294         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5296         [BZ #20218]
5297         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5298         to itself.
5299         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5301 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5303         [BZ #20195]
5304         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5305         check to ...
5306         (init_cpu_features): Here.
5308 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5310         [BZ #20214]
5311         * sysdeps/unix/sysv/linux/bits/in.h
5312         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5313          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5314         Define to 1.
5315         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5316          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5317         Define to 0.
5318         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5319         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5321 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5323         [BZ #20198]
5324         * stdlib/Makefile (tests): Add tst-quick_exit, and
5325         tst-thread-quick_exit.
5326         [ifeq ($(have-cxx-thread_local),yes)]
5327         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5328         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5329         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5330         (LDLIBS-tst-thread-quick_exit): Likewise.
5331         [ifneq ($(have-cxx-thread_local),yes)]
5332         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5333         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5334         If run_dtors is true call __call_tls_dtors.
5335         (exit): Call __run_exit_handlers with run_dtors set to true.
5336         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5337         definition.
5338         * stdlib/quick_exit.c (quick_exit): Remove function.
5339         (__new_quick_exit): New function.
5340         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5341         function.
5342         * stdlib/tst-quick_exit.cc: New file.
5343         * stdlib/tst-thread-quick_exit.cc: New file.
5344         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5345         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5346         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5347         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5348         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5349         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5350         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5351         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5352         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5353         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5354         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5355         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5356         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5357         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5358         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5359         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5364         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5365         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5366         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5367         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5368         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5371         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5372         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5373         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5375 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5377         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5378         a typo in comments.
5380 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5382         [BZ #20213]
5383         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5384         argument to itself.
5385         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5387 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5389         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5390         required flags.
5391         (CFLAGS-pwritev64.c): Likewise.
5392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5394         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5395         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5396         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5397         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5398         syscall from auto-generation.
5399         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5400         [WORDSIZE == 64] (pwritev64): Remove macro.
5401         [!PWRITEV] (PWRITEV): Likewise.
5402         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5403         [!PWRITEV] (PWRITE): Likewise.
5404         [!PWRITEV] (OFF_T): Likewise.
5405         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5406         (LO_HI_LONG): Remove macro.
5407         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5408         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5409         (PWRITEV): Remove macro.
5410         (PWRITEV_REPLACEMENTE): Likewise.
5411         (PWRITE): Likewise.
5412         (OFF_T): Likewise.
5413         (pwritev64): New function.
5414         * nptl/tst-cancel4.c (tf_writev): Add test.
5416         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5417         required flags.
5418         (CFLAGS-preadv64.c): Likewise.
5419         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5420         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5421         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5422         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5423         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5425         syscall from auto-generation.
5426         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5427         [WORDSIZE == 64] (preadv64): Remove macro.
5428         [!PREADV] (PREADV): Likewise.
5429         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5430         [!PREADV] (PREAD): Likewise.
5431         [!PREADV] (OFF_T): Likewise.
5432         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5433         (LO_HI_LONG): Remove macro.
5434         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5435         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5436         (PREADV): Remove macro.
5437         (PREADV_REPLACEMENTE): Likewise.
5438         (PREAD): Likewise.
5439         (OFF_T): Likewise.
5440         (preadv64): New function.
5441         * nptl/tst-cancel4.c (tf_preadv): Add test.
5443 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5445         [BZ #20212]
5446         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5447         argument to itself.
5448         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5450 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5452         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5453         New symbol defined as libc_hidden_def.
5454         (strcasestr): Became a weak alias to __strcasestr.
5455         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5456         according to multi-arch support.  Move __stpncpy hidden
5457         definition from here to...
5458         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5459         symbol stpncpy.
5460         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5461         libc_hidden_builtin_def.
5462         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5463         memset symbol to use when multi-arch support is available.
5465 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5467         * dlfcn/tst-rec-dlopen.c: Include string.h.
5469 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5471         * manual/install.texi: Remove mention of --without-tls
5472         * INSTALL: Regenerate.
5474 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5476         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5477         Remove.
5478         (call_function, interposed_malloc_called): New variables.
5479         (malloc): New function.
5480         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5481         and clear call_function as needed.
5483 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5485         * include/wchar.h (__wmemset): Use __typeof.
5487 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5489         * include/wchar.h (__wmemset): Declare function without typeof.
5491 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5493         [BZ #20205]
5494         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5495         exponent when incrementing negative subnormal with low mantissa
5496         word zero.
5497         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5498         Add another test.
5500 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5502         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5503         __wmemset instead of wmemset.
5505 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5507         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5508         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5509         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5510         __USE_KERNEL_IPV6_DEFS to 0.
5511         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5512         Update comment.
5514 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5516         [BZ #19861]
5517         Do not use IFUNC resolver with potentially unrelocated symbol.
5518         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5519         (DEFINE_FORK): Remove macro and inline definition.
5520         (fork_alias): Renamed from fork_ifunc.
5521         (__fork_alias): Renamed from __fork_ifunc.
5523 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5525         [BZ 19653]
5526         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5527         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5529 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5531         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5532         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5533         i386-linux-gnu).
5534         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5535         Set to no.
5536         * sysdeps/mach/hurd/configure: Refresh.
5538 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5540         [BZ #20178]
5541         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5542         on failure instead of exit.
5544 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5546         [BZ #3629]
5547         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5548         of POSIX.1-2008.
5550 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5552         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5553           Use PLT entry for calling _hurd_self_sigstate.
5555 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5557         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5558         available logical processors with SMT level type sharing L2
5559         cache for Intel processors.
5561 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5563         [BZ #20160]
5564         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5565         argument to itself before returning the result.
5566         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5567         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5568         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5569         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5570         Likewise.
5571         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5572         Likewise.
5573         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5574         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5575         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5576         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5577         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5578         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5580         [BZ #20160]
5581         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5582         argument to itself before returning the result.
5583         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5584         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5585         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5586         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5587         Likewise.
5588         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5589         Likewise.
5590         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5591         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5592         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5593         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5594         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5595         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5597 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5599         * libm-test.inc: Replace usage of M_El with
5600         (lit_e): New macro.
5602 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5604         * libm-test.inc: Replace usage of M_PI_4l with
5605         (lit_pi_4_d): New macro.
5607 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5609         * libm-test.inc: Replace usage of M_PIl with
5610         (lit_pi): New macro.
5612 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5614         * libm-test.inc: Replace usage of M_PI2l with
5615         (lit_pi_2_d): New macro.
5617         * math/test-double.h (LITM): New macro.
5618         * math/test-float.h (LITM): Likewise.
5619         * math/test-ldouble.h (LITM): Likewise.
5621 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5623         * libm-test.inc (M_PI_34l): Rename to
5624         (lit_pi_3_m_4_d): New Macro.
5625         (M_PI_34_LOG10El): Rename to
5626         (lit_pi_3_m_4_ln10_m_d): New Macro.
5627         (M_PI2_LOG10El): Rename to
5628         (lit_pi_2_ln10_m_d):  New Macro.
5629         (M_PI4_LOG10El): Rename to
5630         (lit_pi_4_ln10_m_d):  New Macro.
5631         (M_PI_LOG10El): Rename to
5632         (lit_pi_ln10_d):  New Macro.
5634 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5636         [BZ #20157]
5637         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5638         determine whether to negate low half if [_ARCH_PPCGR], and integer
5639         comparison otherwise.
5640         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5641         determine whether to negate low half.
5643         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5644         (NO_TEST_INLINE_DOUBLE): Likewise.
5645         (TEST_COND_x86_64): Likewise.
5646         (TEST_COND_x86): Likewise.
5647         (M_PI_6l): Likewise.
5649 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5651         * math/libm-test.inc:
5652         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5653         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5654         (TEST_LDOUBLE): Update usage to evaluate as true if
5655         the guarded tests match the property being tested.
5656         (LDBL_MAX_EXP): Change to MAX_EXP.
5657         (LDBL_MIN_EXP): Change to MIN_EXP.
5658         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5659         nexttoward tests.
5661 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5663         * math/libm-test.inc:
5664         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5665         (TYPE_MIN): Likewise.
5666         (TYPE_TRUE_MIN): Likewise.
5667         (TYPE_MAX): Likewise.
5668         (MIN_EXP): Likewise.
5669         (MAX_EXP): Likewise.
5670         (MANT_DIG): Likewise.
5672         (FSTR_MAX): New macro.
5673         (__CONCATX): Likewise.
5674         (QTYPE_STR): Likewise.
5675         (TEST_COND_binary32): Likewise.
5676         (TEST_COND_binary64): Likewise.
5677         (TEST_COND_binary128): Likewise.
5678         (TEST_COND_ibm128): Likewise.
5679         (TEST_COND_intel96): Likewise.
5680         (TEST_COND_m68k96): Likewise.
5682         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5683         (TEST_COND_dbl_64): Likewise.
5684         (TEST_COND_ldbl_96_intel): Likewise.
5685         (TEST_COND_ldbl_96_m68k): Likewise.
5686         (TEST_COND_ldbl_128): Likewise.
5687         (TEST_COND_ldbl_128ibm): Likewise.
5689         (plus_zero): Redefine using LIT macro.
5690         (minus_zero): Likewise.
5691         (plus_infty): Redefine as (INF).
5692         (minux_infty): Redefine as (-INF).
5693         (max_value): Redefine as TYPE_MAX.
5694         (min_value): Redefine as TYPE_MIN.
5695         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5697         (print_float): Refactor to use snprintf to convert FLOAT values
5698         to string. This brings it closer to dropin replacement of strtof
5699         for the TS 18661 defined types.
5700         (update_stats): Likewise.
5701         (print_complex_function_ulps): Likewise.
5702         (print_max_error): Likewise.
5703         (print_complex_max_error): Likewise.
5704         (check_float_internal): Likewise.
5706         * math/test-float.h (PREFIX): New macro.
5707         (LIT): Likewise.
5708         (TYPE_STR): Likewise.
5709         (FTOSTR): Likewise.
5711         * math/test-double.h (PREFIX): New macro.
5712         (LIT): Likewise.
5713         (TYPE_STR): Likewise.
5714         (FTOSTR): Likewise.
5716         * math/test-ldouble.h (PREFIX): New macro.
5717         (LIT): Likewise.
5718         (TYPE_STR): Likewise.
5719         (FTOSTR): Likewise.
5721 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5723         [BZ #20156]
5724         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5725         to itself when zero or not finite.
5726         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5727         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5728         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5729         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5731 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5733         [BZ #20153]
5734         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5735         x * x + x for infinities and NaNs.
5737         [BZ #20151]
5738         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5739         argument to itself before returning result.
5740         (__ieee754_y0l): Likewise.
5741         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5742         (__ieee754_y1l).
5744         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5745         (atan_test_data): Likewise.
5746         (ceil_test_data): Likewise.
5747         (cos_test_data): Likewise.
5748         (cosh_test_data): Likewise.
5749         (erf_test_data): Likewise.
5750         (exp2_test_data): Likewise.
5751         (fabs_test_data): Likewise.
5752         (floor_test_data): Likewise.
5753         (ilogb_test_data): Likewise.
5754         (j0_test_data): Likewise.
5755         (j1_test_data): Likewise.
5756         (jn_test_data): Likewise.
5757         (lgamma_test_data): Likewise.
5758         (lrint_test_data): Likewise.
5759         (llrint_test_data): Likewise.
5760         (logb_test_data): Likewise.
5761         (lround_test_data): Likewise.
5762         (llround_test_data): Likewise.
5763         (nearbyint_test_data): Likewise.
5764         (rint_test_data): Likewise.
5765         (round_test_data): Likewise.
5766         (sin_test_data): Likewise.
5767         (sincos_test_data): Likewise.
5768         (sinh_test_data): Likewise.
5769         (sqrt_test_data): Likewise.
5770         (tan_test_data): Likewise.
5771         (tanh_test_data): Likewise.
5772         (tgamma_test_data): Likewise.
5773         (trunc_test_data): Likewise.
5774         (y0_test_data): Likewise.
5775         (y1_test_data): Likewise.
5776         (yn_test_data): Likewise.
5778         * math/libm-test.inc: Update comment about NaN testing.
5779         (TEST_SNAN): New macro.
5780         (snan_value): Likewise.
5781         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5782         (fpclassify_test_data): Add sNaN tests.
5783         (isfinite_test_data): Likewise.
5784         (isinf_test_data): Likewise.
5785         (isnan_test_data): Likewise.
5786         (isnormal_test_data): Likewise.
5787         (issignaling_test_data): Likewise.
5788         (signbit_test_data): Likewise.
5789         * math/gen-libm-test.pl (%beautify): Add snan_value.
5790         (show_exceptions): Add argument $test_snan.
5791         (parse_args): Handle snan_value as non-finite.  Update call to
5792         show_exceptions.
5793         * math/Makefile (libm-test-no-inline-cflags): Add
5794         -fsignaling-nans.
5796 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5798         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5799         (CFLAGS-oldsendmsg.c): Add rule.
5800         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5801         Correct recvmsg symbol name.
5802         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5803         Likewise.
5805 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5807         * sysdeps/unix/sysv/linux/Makefile
5808         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5809         oldsendmmsg.
5810         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5811         sendmmsg.
5812         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5814         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5815         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5817         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5818         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5820         Likewise.
5821         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5822         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5823         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5824         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5825         iovlen and controllen fields to adjust to POSIX specification.
5826         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5828         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5829         and change to correct expected type.
5830         (msghdr.msg_controllen): Likewise.
5831         (cmsghdr.cmsg_len): Likewise.
5832         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5833         expected POSIX assumption about the size.
5834         (msghdr.msg_controllen): Likewise.
5835         (msghdr.__glibc_reserved1): Likewise.
5836         (msghdr.__glibc_reserved2): Likewise.
5837         (cmsghdr.cmsg_len): Likewise.
5838         (cmsghdr.__glibc_reserved1): Likewise.
5839         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5840         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5841         (CFLAGS-sendmsg.c): Remove rule.
5842         (CFLAGS-recvmsg.c): Likewise.
5843         (CFLAGS-oldsendmsg.c): Add rule.
5844         (CFLAGS-oldrecvmsg.c): Likewise.
5845         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5846         recvmsg and sendmsg.
5847         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5848         Likewise.
5849         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5850         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5851         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5852         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5853         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5854         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5855         Likewise.
5856         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5857         Likewise.
5858         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5859         Likewise.
5860         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5861         Likewise.
5862         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5863         Likewise.
5864         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5865         Likewise.
5866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5867         (GLIBC_2.24): Likewise.
5868         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5869         Likewise.
5870         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5871         Likewise.
5872         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5873         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5874         Likewise.
5875         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5876         Likewise.
5877         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5880         (GLIBC_2.24): Likewise.
5881         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5882         Likewise.
5883         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5884         Likewise.
5885         * sysdeps/unix/sysv/linux/Makefile
5886         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5887         (CFLAGS-sendmsg.c): Add rule.
5888         (CFLAGS-recvmsg.c): Likewise.
5889         (CFLAGS-oldsendmsg.c): Likewise.
5890         (CFLAGS-oldrecvmsg.c): Likewise.
5891         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5892         initialization.
5893         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5894         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5895         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5896         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5897         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5898         iovlen and controllen fields to adjust to POSIX specification.
5899         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5900         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5901         added recvmsg and sendmsg.
5902         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5903         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5904         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5905         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5906         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5907         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5908         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5909         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5911         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5912         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5913         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5915         Likewise.
5916         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5918         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5919         Likewise.
5920         Likewise.
5921         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5924         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5925         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5928         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5930         Likewise.
5931         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5932         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5934         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5935         from auto-generation.
5936         (sendmsg): Likewise.
5937         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5938         (sendmsg): Likewise.
5939         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5940         (sendmsg): Likewise.
5941         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5942         (sendmsg): Likewise.
5943         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5944         (sendmsg): Likewise.
5945         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5946         (sendmsg): Likewise.
5947         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5948         Likewise.
5949         (sendmsg): Likewise.
5950         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5951         (sendmsg): Likewise.
5952         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5954         Remove.
5955         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5956         Likewise.
5957         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5958         Undefine.
5959         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5960         Likewise.
5961         * sysdeps/unix/sysv/linux/kernel-features.h
5962         (__ASSUME_SENDMSG_SYSCALL): Define.
5963         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5964         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5966         Remove.
5967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5968         Likewise.
5969         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5970         Undefine.
5971         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5972         Likewise.
5973         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5975         Remove.
5976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5977         Likewise.
5978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5979         Undefine.
5980         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5983         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5984         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5985         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5986         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5987         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5988         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5989         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5990         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5992 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5994         * stdlib/gen-tst-strtod-round.c: Add backslash to
5995         compile command in comment.
5996         (printfp): Remove the literal suffix, and define an infinite
5997         value as INF to avoid expansion clash with INFINITY.
5998         (round_str): Remove the literal suffix.
5999         (round_for_all): Likewise, remove the now duplicate ldbl-64
6000         entry, and remove some magic constants.
6002         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6003         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6004         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6005         (_CONCAT): New macro.
6006         (CONCAT): Likewise.
6007         (CHOOSE_ld): Likewise.
6008         (CHOOSE_f): Likewise.
6009         (CHOOSE_d): Likewise.
6010         (FTYPE_MEMBER): Likewise.
6011         (BOOL_MEMBER): Likewise.
6012         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6013         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6014         (_XNTRY): Likewise.
6015         (XNTRY): Likewise.
6016         (_ENTRY): Likewise.
6017         (ENTRY): Likewise.
6018         (test_exactness): Generate members via macro.
6019         (test_results): Likewise.
6020         (test): Update members.
6021         (TEST): Redefine using new macros.
6022         (INF): New macro.
6023         (fetestmodes): New structure.
6024         (do_test): Refactor to be type generic.
6025         (test_in_one_mode): Refactor duplicate code into
6026         (GEN_ONE_TEST): New macro.
6028         * stdlib/tst-strtod-round-data.h: Regenerate.
6030         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6031         Extend to pass additional arbitrary parameters to
6032         generators.
6034 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6036         [BZ #15479]
6037         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6038         floating-point state after first floating-point operation on
6039         input.  Restore full floating-point state instead of just rounding
6040         mode.
6041         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6042         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6043         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6044         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6045         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6047         [BZ #15479]
6048         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6049         floating-point state after first floating-point operation on
6050         input.  Restore full floating-point state instead of just rounding
6051         mode.
6052         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6053         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6054         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6055         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6056         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6058 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6060         [BZ #19727]
6061         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6062         valid high surrogate.
6063         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6064         of an utf16 surrogate.
6065         * iconv/gconv_simple.c (BODY): Likewise.
6066         * iconvdata/bug-iconv12.c: New file.
6067         * iconvdata/Makefile (tests): Add bug-iconv12.
6069 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6071         [BZ #19726]
6072         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6073         outptrp in case of an illegal input.
6074         * iconv/tst-iconv6.c: New file.
6075         * iconv/Makefile (tests): Add tst-iconv6.
6077 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6079         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6080         an error in case of a value in range of an utf16 low surrogate.
6082 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6084         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6085         an error in case of a value in range of an utf16 low surrogate.
6087 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6089         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6090         Move to ...
6091         * sysdeps/s390/Makefile: ... here.
6092         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6093         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6094         (BRANCH_ON_COUNT): New define.
6095         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6096         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6097         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6098         run on s390-32, too.
6099         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6100         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6101         run on s390-32, too.
6102         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6103         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6104         run on s390-32, too.
6106 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6108         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6109         etf3eh or new vector loop-variant.
6111 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6113         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6114         etf3eh or new vector loop-variant.
6116 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6118         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6119         or new vector loop-variant.
6121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6123         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6124         Rename to TR_LOOP and usage of tr instead of troo instruction.
6126 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6128         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6131 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6133         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6134         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6135         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6136         New override define.
6137         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6139 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6141         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6142         * sysdeps/s390/configure.ac: Add test for S390 vector register
6143         support in gcc.
6144         * sysdeps/s390/configure: Regenerated.
6146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6148         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6149         Install file from $(objpfx)gconv-modules.
6150         ($(objpfx)gconv-modules): Concatenate architecture specific file
6151         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6152         * sysdeps/s390/gconv-modules: New file.
6153         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6154         Deleted.
6155         ($(objpfx)gconv-modules-s390): Deleted.
6156         (sysdeps-gconv-modules): New variable.
6158 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6160         [BZ #15479]
6161         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6162         of immediate operand to rounding instruction.
6163         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6164         Likewise.
6165         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6166         Likewise.
6167         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6168         Likewise.
6170 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6172         * math/libm-test.inc (MIN_EXP): Directly define as
6173         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6175 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6177         * math/libm-test.inc (MANT_DIG): Directly define as
6178         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6180 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6182         * stdlib/gen-tst-strtod-round.c (main):
6183           Change usage to more closely match the generated
6184           output.  Add usage and compilation instructions.
6185           (string_to_fp): Add and use FILE* parameter as
6186           output target.
6187           (print_fp): Likewise.
6188           (round_str): Likewise.
6189           (round_for_all): Likewise.
6190         * stdlib/tst-strtod-round.c (tests): Move into
6191         * stdlib/tst-strtod-round-data.h: New file.
6193 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6195         [BZ #15479]
6196         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6197         (__round): Do not force "inexact" exception.
6198         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6199         variable.
6200         (__round): Do not force "inexact" exception.
6201         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6202         (__roundf): Do not force "inexact" exception.
6203         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6204         (__roundl): Do not force "inexact" exception.
6205         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6206         (__roundl): Do not force "inexact" exception.
6207         * math/libm-test.inc (round_test_data): Do not allow spurious
6208         "inexact" exceptions.
6210         [BZ #15479]
6211         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6212         exception in comment.
6213         (huge): Remove variable.
6214         (__floor): Do not force "inexact" exception.
6215         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6216         "inexact" exception in comment.
6217         (huge): Remove variable.
6218         (__floor): Do not force "inexact" exception.
6219         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6220         exception in comment.
6221         (huge): Remove variable.
6222         (__floorf): Do not force "inexact" exception.
6223         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6224         exception in comment.
6225         (huge): Remove variable.
6226         (__floorl): Do not force "inexact" exception.
6228         [BZ #15479]
6229         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6230         exception in comment.
6231         (huge): Remove variable.
6232         (__ceil): Do not force "inexact" exception.
6233         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6234         "inexact" exception in comment.
6235         (huge): Remove variable.
6236         (__ceil): Do not force "inexact" exception.
6237         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6238         (__ceilf): Do not force "inexact" exception.
6239         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6240         exception in comment.
6241         (huge): Remove variable.
6242         (__ceill): Do not force "inexact" exception.
6244 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6246         * config.h.in (BIND_NOW): New.
6247         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6248         * configure: Regenerated.
6249         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6250         indirect branch via the GOT slot.
6252 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6254         [BZ #19765]
6255         * sysdeps/s390/mempcpy.S: New File.
6256         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6257         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6258         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6259         Add mempcpy variants.
6260         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6261         (memcpy): Adjust to be usable from mempcpy entry point.
6262         (__memcpy_mvcle): Likewise.
6263         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6264         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6265         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6266         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6267         (__memcpy_z10): Likewise.
6268         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6270 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6272         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6273         Remove __GI_ symbol.
6274         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6275         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6276         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6277         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6278         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6279         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6281 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6283         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6284         Use cghi instead of chi to compare 64bit value.
6286 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6288         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6289         Jump to 1MB check before executing mvc-loop.
6291 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6293         [BZ #6527]
6294         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6295         unconditionally.
6296         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6298 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6300         * stdlib/tst-strtod6.c (do_test): Use new type generic
6301         invocation of the test function.
6302         (test): Refactor into ...
6303         (TEST_STRTOD): New macro base function.
6305 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6307         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6308         (TEST_STRTOD): New macro.
6309         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6311 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6313         * stdlib/tst-strtod6.c (do_test): Use new type generic
6314         invocation of the test function.
6315         (test): Refactor into ...
6316         (TEST_STRTOD): New macro base function.
6318 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6320         CVE-2016-4429
6321         [BZ #20112]
6322         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6323         payload.
6325 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6327         [BZ #20111]
6328         * bits/sockaddr.h (_SS_SIZE): Define.
6329         * bits/socket.h (_SS_SIZE): Remove.
6330         (_SS_PADSIZE): Adjust to account for all padding.
6331         (struct sockaddr_storage): Update comment.  Avoid implicit
6332         padding.
6333         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6334         (_SS_PADSIZE): Adjust to account for all padding.
6335         (struct sockaddr_storage): Update comment.  Avoid implicit
6336         padding.
6337         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6338         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6339         (_SS_PADSIZE): Adjust to account for all padding.
6340         (struct sockaddr_storage): Update comment.  Avoid implicit
6341         padding.
6342         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6343         __SS_SIZE is 126 in this version.
6344         * inet/tst-sockaddr.c: New file.
6345         * inet/Makefile (tests): Add tst-sockaddr.c
6346         (tst-sockaddr.c): Compile with non-strict aliasing.
6348 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6350         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6351         [XPG3 || XPG4].
6352         (NL_ARGMAX): Also expect for [XPG3].
6353         (NL_LANGMAX): Likewise.
6354         (NL_MSGMAX): Likewise.
6355         (NL_NMAX): Likewise.
6356         (NL_SETMAX): Likewise.
6357         (NL_TEXTMAX): Likewise.
6358         (NZERO): Likewise.
6359         (TMP_MAX): Likewise.
6360         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6361         variable.
6363         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6364         (PF_MAX): Update value.
6365         (AF_KCM): New macro.
6366         (SOL_NETBEUI): Likewise.
6367         (SOL_LLC): Likewise.
6368         (SOL_DCCP): Likewise.
6369         (SOL_NETLINK): Likewise.
6370         (SOL_TIPC): Likewise.
6371         (SOL_RXRPC): Likewise.
6372         (SOL_PPPOL2TP): Likewise.
6373         (SOL_BLUETOOTH): Likewise.
6374         (SOL_PNPIPE): Likewise.
6375         (SOL_RDS): Likewise.
6376         (SOL_IUCV): Likewise.
6377         (SOL_CAIF): Likewise.
6378         (SOL_ALG): Likewise.
6379         (SOL_NFC): Likewise.
6380         (SOL_KCM): Likewise.
6381         (MSG_BATCH): New enum value and macro.
6383 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6385         [BZ #18185]
6386         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6387         sharing L2 cache to 2 for Knights Landing.
6389 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6391         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6392         (FTW_DP): Do not expect for [XPG3 || XPG4].
6393         (FTW_SL): Do not expect for [XPG3].
6394         (FTW_SLN): Likewise.
6395         (FTW_PHYS): Likewise.
6396         (FTW_MOUNT): Likewise.
6397         (FTW_DEPTH): Likewise.
6398         (FTW_CHDIR): Likewise.
6399         (nftw): Likewise.
6400         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6401         variable.
6403 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6405         * manual/errno.texi: Fix various typos & grammar errors.
6407 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6409         * manual/intro.texi: Fix duplicated typo.
6411 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6413         [BZ #13304]
6414         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6415         <float.h>, <math_private.h> and <stdlib.h>.
6416         (add_split): New function.
6417         (mul_split): Likewise.
6418         (ext_val): New typedef.
6419         (store_ext_val): New function.
6420         (mul_ext_val): New function.
6421         (compare): New function.
6422         (add_split_ext): New function.
6423         (__fmal): After checking for Inf, NaN and zero, compute result as
6424         an exact sum of scaled double values in round-to-nearest before
6425         adding those up and adjusting for other rounding modes.
6426         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6427         tests of fma.
6428         * math/auto-libm-test-out: Regenerated.
6430 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6432         [BZ #20119]
6433         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6434         processor level type mask for CPUID with EAX == 11.
6436 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6438         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6439         logical threads if the HTT bit is 0.
6440         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6441         (index_cpu_HTT): Likewise.
6442         (reg_HTT): Likewise.
6444 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6446         [BZ #20115]
6447         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6448         Remove alignments on jump targets.
6450 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6452         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6453         (getpwent): Likewise.
6454         (setpwent): Likewise.
6455         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6456         variable.
6458         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6459         (remque): Likewise.
6460         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6461         variable.
6463 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6465         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6466         not being tested.
6468 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6470         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6471         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6472         call.
6473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6474         (__condvar_cleanup1): Likewise.
6476 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6478         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6479         New
6480         (__pthread_unwind): Renamed to ...
6481         (PTHREAD_UNWIND): This.
6482         (__pthread_enable_asynccancel): Replace
6483         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6485 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6487         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6488         (CLONE_NEWCGROUP): New macro.
6490         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6491         (Q_GETNEXTQUOTA): New macro.
6493 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6495         [BZ #19907]
6496         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6497         buffer updated by the previous run.
6498         * string/test-memcpy.c (do_one_test): Likewise.
6499         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6500         * string/test-memmove.c (do_one_test): Likewise.
6502 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6504         [BZ #20094]
6505         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6506         not [__USE_XOPEN].
6507         (unlockpt): Likewise.
6508         (ptsname): Likewise.
6509         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6510         variable.
6512         [BZ #20076]
6513         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6514         instead of [__USE_UNIX98].
6515         (S_ISSOCK): Likewise.
6516         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6517         variable.
6519         [BZ #20074]
6520         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6521         [__USE_POSIX].
6522         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6523         variable.
6525         [BZ #20051]
6526         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6527         (ttyslot): Do not declare.
6528         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6529         (ttyslot): New prototype.
6530         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6531         variable.
6532         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6534 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6536         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6538 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6540         Fix race condition in tst-mallocfork2, use fewer resources.
6541         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6542         to current process group.
6543         (signal_sender): Yield in the non-sleeping case.
6545 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6547         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6548         (ecvt): Likewise.
6549         (fcvt): Likewise.
6550         (gcvt): Likewise.
6551         (getsubopt): Likewise.
6552         (grantpt): Likewise.
6553         (initstate): Likewise.
6554         (l64a): Likewise.
6555         (mktemp): Likewise.
6556         (mkstemp): Likewise.
6557         (ptsname): Likewise.
6558         (random): Likewise.
6559         (realpath): Likewise.
6560         (setstate): Likewise.
6561         (srandom): Likewise.
6562         (ttyslot): Likewise.
6563         (unlockpt): Likewise.
6564         (valloc): Likewise.
6566         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6567         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6568         variable.
6570 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6572         [BZ #20072]
6573         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6574         init_cpu_features only if SHARED is defined.
6575         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6577 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6579         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6580         non-inclusive caches on Intel processors.
6582 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6584         * malloc/malloc.c (dumped_main_arena_start)
6585         (dumped_main_arena_end): New variables.
6586         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6587         (do_check_chunk): Skip dumped fake mmapped chunks.
6588         (munmap_chunk): Likewise.
6589         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6590         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6591         mmapped chunks.
6592         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6593         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6594         and dumped_main_arena_end to cover the dumped heap.
6596 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6598         * conform/data/time.h-data (getdate_err): Do not expect for
6599         [XPG3].
6600         (getdate): Likewise.
6601         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6602         variable.
6604         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6605         (F_ULOCK): Likewise.
6606         (F_TEST): Likewise.
6607         (F_TLOCK): Likewise.
6608         (useconds_t): Likewise.
6609         (intptr_t): Do not expect for [XPG3] or [XPG4].
6610         (brk): Do not expect for [XPG3]
6611         (fchown): Likewise.
6612         (fchdir): Likewise.
6613         (ftruncate): Likewise.
6614         (getdtablesize): Likewise.
6615         (gethostid): Likewise.
6616         (getpagesize): Likewise.
6617         (getpgid): Likewise.
6618         (getsid): Likewise.
6619         (getwd): Likewise.
6620         (lchown): Likewise.
6621         (lockf): Likewise.
6622         (readlink): Likewise.
6623         (sbrk): Likewise.
6624         (setpgrp): Likewise.
6625         (setregid): Likewise.
6626         (setreuid): Likewise.
6627         (symlink): Likewise.
6628         (sync): Likewise.
6629         (truncate): Likewise.
6630         (ualarm): Likewise.
6631         (usleep): Likewise.
6632         (vfork): Likewise.
6633         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6634         variable.
6636         [BZ #20054]
6637         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6638         not [__USE_UNIX98].
6639         * conform/data/unistd.h-data (gethostname): Do not expect for
6640         [XPG3].
6642         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6643         [!POSIX] (S_IFBLK): Likewise.
6644         [!POSIX] (S_IFCHR): Likewise.
6645         [!POSIX] (S_IFIFO): Likewise.
6646         [!POSIX] (S_IFREG): Likewise.
6647         [!POSIX] (S_IFDIR): Likewise.
6648         [!POSIX] (S_IFLNK): Likewise.
6649         [!POSIX] (S_IFSOCK): Likewise.
6650         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6651         variable.
6652         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6654 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6656         * sysdeps/aarch64/memset.S (__memset):
6657         Rewrite of optimized memset.
6659 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6661         [BZ #19703]
6662         Partially async-signal-safe fork for single-threaded processes.
6663         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6664         variable.  Do not acquire and reset/release malloc and libio locks
6665         in single-threaded processes.
6666         * malloc/tst-mallocfork2.c: New file.
6667         * malloc/Makefile (tests): Add it.
6669 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6671         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6672         argument.  Use scratch buffer instead of extend_alloca.
6673         (gethosts): Use scratch buffer instead of extend_alloca.
6674         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6675         extend_alloca.
6676         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6678 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6680         [BZ #20055]
6681         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6682         instead of [__USE_UNIX98].
6683         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6684         [__USE_UNIX98].
6685         * conform/data/termios.h-data (tcgetsid): Do not expect for
6686         [XPG3].
6687         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6688         variable.
6689         (test-xfail-XPG4/termios.h/conform): Likewise.
6691 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6693         Do not use mcheck in localedef.
6694         * locale/programs/localedef.c (turn_on_mcheck)
6695         (__malloc_initialize_hook): Remove.
6697 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6699         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6700         * sysdeps/s390/s390-64/Makefile: Likewise.
6702 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6704         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6705         Remove ifunc-defines.sym.
6706         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6707         Likewise.
6708         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6709         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6710         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6711         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6712         rtld-global-offsets.sym.
6713         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6714         * sysdeps/x86/cpu-features-offsets.sym: This.
6715         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6716         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6718 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6720         [BZ #20073]
6721         * io/sys/stat.h (fchmod): Declare for
6722         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6723         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6724         variable.
6726         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6727         [XPG3] (S_IFSOCK): Likewise.
6728         [XPG3] (S_ISVTX): Likewise.
6729         [XPG3] (S_ISLNK): Likewise.
6730         [XPG3] (S_ISSOCK): Likewise.
6731         [XPG3] (fchmod): Likewise.
6732         [XPG3] (lstat): Likewise.
6733         [XPG3] (mknod): Likewise.
6735         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6736         [XPG3].  Expect type long and XFAIL for [XPG4].
6737         (st_blocks): Likewise.
6739         [BZ #20044]
6740         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6741         (pthread_atfork): New prototype.
6742         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6743         variable.
6745         [BZ #20043]
6746         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6747         prototype.
6749 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6751         [BZ #20017]
6752         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6753         gmtime.
6755 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6757         [BZ #19994]
6758         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6759         flag in _res.options.
6761 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6763         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6764         [XPG3 || XPG4].
6765         (blksize_t): Likewise.
6766         (clockid_t): Likewise.
6767         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6768         variable.
6769         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6771 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6773         * sysdeps/unix/sysv/linux/s390/init-first.c:
6774         Add VDSO_SYMBOL(getcpu).
6775         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6776         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6777         Add VDSO_SYMBOL(getcpu).
6778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6779         New define HAVE_GETCPU_VSYSCALL.
6780         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6782 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6784         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6785         instead of <sysdeps/x86_64/cacheinfo.c>.
6786         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6787         * sysdeps/x86/cacheinfo.c: Here.
6789 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6791         * malloc/malloc-internal.h: Adjust header file guard.
6793 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6795         [BZ #19787]
6796         * inet/getnameinfo.c (check_sprintf_result): New function.
6797         (CHECKED_SNPRINTF): New macro.
6798         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6799         to the host buffer.
6800         (gni_host_local): Use checked_copy to copy the host name.
6801         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6802         (gni_serv_local): Use checked_copy to copy the service name.
6803         (getnameinfo): Remove unnecessary truncation of result buffers.
6805 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6807         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6808         in case of inet_ntop failure.
6810 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6812         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6813         avoid long lines.
6814         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6815         variables.
6816         (gni_host_inet, gni_host_local): Add comment.
6817         (gni_host): Add comment.  Use temporary to avoid long lines.
6819 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6821         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6822         registers specifiers where general purpose registers specifiers should
6823         have been used.
6825 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6827         [BZ #19779]
6828         CVE-2016-1234
6829         Avoid copying names of directory entries.
6830         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6831         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6832         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6833         (struct readdir_result): New type.
6834         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6835         (GL_READDIR): New macros.
6836         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6837         (convert_dirent, convert_dirent64): New functions.
6838         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6839         convert_dirent64.  Adjust references to the readdir result.
6840         * sysdeps/unix/sysv/linux/i386/glob64.c:
6841         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6842         * posix/bug-glob2.c (LONG_NAME): Define.
6843         (filesystem): Add LONG_NAME.
6844         (my_DIR): Increase the size of room_for_dirent.
6846 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6848         [BZ #20041]
6849         * misc/sys/select.h (__need_timespec): Only define if
6850         [__USE_XOPEN2K].
6851         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6852         variable.
6853         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6854         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6855         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6857 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6858             Segher Boessenkool  <segher@gcc.gnu.org>
6860         [BZ #20004]
6861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6862         (__novec_swapcontext): Add missing load.
6864 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6866         [BZ #20023]
6867         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6868         <time.h>.
6869         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6870         variable.
6871         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6873 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6876         flags CLONE_VM compare.
6878 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6880         [BZ #20031]
6881         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6882         completely empty.
6884 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6886         [BZ #19573]
6887         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6888         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6889         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6890         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6891         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6892         (hesiod_free_list): Mark as hidden.
6893         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6894         res_set, res_get.
6895         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6896         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6897         (hesiod_init): Remove obsolete res_ninit call.
6898         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6899         (hesiod_bind): Do not call init.
6900         (get_txt_records): Use res_mkquery, res_send instead of
6901         res_nmkquery, res_nsend.
6902         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6903         instead of _nss_hesiod_init.
6904         (_nss_hesiod_initgroups_dyn): Likewise.
6905         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6906         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6907         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6909 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6911         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6912         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6914 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6916         * hesiod/hesiod.h: Remove RCS keyword.
6917         * hesiod/hesiod_p.h: Likewise.
6919         * hesiod/hesiod.c: Likewise.
6921 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6923         [BZ #12450]
6924         * locale/iso-639.def: Add Samogitian/sgs.
6926 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6928         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6930         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6932 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6933             Carlos O'Donell  <carlos@redhat.com>
6935         [BZ #19072]
6936         * grp/Makefile (headers): Add grp-merge.h
6937         (routines): Add grp-merge.
6938         * grp/getgrgid_r.c: Include grp-merge.h.
6939         (DEEPCOPY_FN): Define.
6940         (MERGE_FN): Define.
6941         * grp/getgrname_r.c: Include grp-merge.h.
6942         (DEEPCOPY_FN): Define.
6943         (MERGE_FN): Define.
6944         * grp/grp-merge.c: New file.
6945         * grp/grp-merge.h: New file.
6946         * include/grp-merge.h: New file.
6947         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6948         __copy_grp@GLIBC_PRIVATE.
6949         * manual/nss.texi (Actions in the NSS configuration): Describe
6950         return, continue, and merge.
6951         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6952         (DEEPCOPY_FN): Define.
6953         (MERGE_FN): Define.
6954         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6955         (DEEPCOPY_FN): Define.
6956         (MERGE_FN): Define.
6957         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6958         [!MERGE_FN]: Define __merge_einval.
6959         (CHECK_MERGE): Define.
6960         (REENTRANT_NAME): Process merge if do_merge is true.
6961         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6962         (__nss_getent_r): Likewise.
6963         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6964         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6966 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6968         [BZ #20012]
6969         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6970         length to calculate the buffer to read.
6971         (fmemopen_write): Set the buffer position based on bytes written.
6972         (fmemopen_seek): Return EINVAL for invalid whence modes.
6974         [BZ #19957]
6975         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6976         tst-getpid2.
6977         (test): Add tst-clone2.
6978         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6979         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6980         pid/tid fields for CLONE_VM.
6981         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6982         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6983         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6984         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6985         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6986         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6987         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6988         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6990         Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6994         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6995         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6996         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6997         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6998         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6999         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7000         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7002 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7004         [BZ #19642]
7005         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7006         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7007         (gni_serv_local, gni_serv): New functions extracted from
7008         getnameinfo.
7009         (getnameinfo): Call gni_host and gni_serv to perform the
7010         processing.  Always free scratch buffer.
7012 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7014         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7015         remaining bytes in the dest string, with zeros.
7017 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7019         [BZ #20010]
7020         CVE-2016-3706
7021         * sysdeps/posix/getaddrinfo.c
7022         (convert_hostent_to_gaih_addrtuple): New function.
7023         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7024         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7025         AF_INET data.
7027 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7029         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7030         callback function gl_readdir.
7031         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7032         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7033         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7034         memcpy to copy the name.
7035         * manual/pattern.texi (Calling Glob): Document requirements for
7036         implementations of the gl_readdir callback function.
7037         * manual/examples/mkdirent.c: New example.
7038         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7039         per the manual guidance.
7040         * posix/tst-gnuglob.c (my_readdir): Likewise.
7042 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7044         [BZ #20014]
7045         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7046         not [__USE_POSIX].
7047         (getchar_unlocked): Likewise.
7048         (putc_unlocked): Likewise.
7049         (putchar_unlocked): Likewise.
7050         (flockfile): Likewise.
7051         (ftrylockfile): Likewise.
7052         (funlockfile): Likewise.
7053         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7054         variable.
7055         (test-xfail-XPG4/stdio.h/conform): Likewise.
7057         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7058         Expect constant.
7059         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7060         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7061         variable.
7062         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7063         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7065         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7066         [__USE_LARGEFILE64] (off64_t): Likewise.
7067         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7068         variable.
7070 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7072         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7076         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7077         * resolv/res_init.c: Likewise.
7078         * resolv/res_mkquery.c: Likewise.
7080 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7082         * resolv/res_init.c (isascii): Do not define.  Use definition in
7083         <ctype.h>.
7084         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7085         (LOG_AUTH): Remove.
7086         (SPRINTF): Remove, adjust caller.
7087         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7091         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7092         SUNSECURITY conditional.
7093         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7097         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7098         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7099         Remove BSD-related preprocessor conditionals.
7100         * conf/portability.h: Remove.
7102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7104         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7105         * resolv/res_data.c: Likewise.
7107 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7109         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7110         * resolv/res_data.c: Remove code conditional on ultrix.
7112 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7114         * resolv/res_init.c (RFC1535): Do not define.  Remove
7115         RFC1535 preprocessor conditionals.
7116         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7117         because there configuration options which make the resolver
7118         behavior different.
7120 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7122         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7123         RESOLVSORT preprocessor conditionals.
7124         * resolv/nss_dns/dns-host.c: Likewise.
7125         * resolv/res_init.c: Likewise.
7127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7129         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7130         is never defined.
7132 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7134         * inet/inet_lnaof.c: Remove SCSS keyword.
7135         * inet/inet_mkadr.c: Likewise.
7136         * inet/inet_net.c: Likewise.
7137         * inet/inet_netof.c: Likewise.
7138         * inet/rcmd.c: Likewise.
7139         * inet/rexec.c: Likewise.
7140         * inet/ruserpass.c: Likewise.
7142 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7144         * resolv/inet_addr.c: Remove _LIBC conditionals.
7145         * resolv/res_data.c: Likewise.
7146         * resolv/res_init.c: Likewise.
7147         * resolv/res_mkquery.c: Likewise.
7148         * resolv/res_libc.c: Update comment.
7149         * resolv/README: Update.
7151 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7153         * resolv/gethnamaddr.c: Remove SCSS keyword.
7154         * resolv/herror.c: Likewise.
7155         * resolv/inet_addr.c: Likewise.
7156         * resolv/inet_net_ntop.c: Likewise.
7157         * resolv/inet_net_pton.c: Likewise.
7158         * resolv/inet_neta.c: Likewise.
7159         * resolv/inet_ntop.c: Likewise.
7160         * resolv/inet_pton.c: Likewise.
7161         * resolv/ns_date.c: Remove RCS keyword.
7162         * resolv/ns_name.c: Likewise.
7163         * resolv/ns_netint.c: Likewise.
7164         * resolv/ns_parse.c: Likewise.
7165         * resolv/ns_print.c: Likewise.
7166         * resolv/ns_samedomain.c: Likewise.
7167         * resolv/ns_ttl.c: Likewise.
7168         * resolv/nsap_addr.c: Likewise.
7169         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7170         * resolv/res_data.c: Remove RCS keyword.
7171         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7172         * resolv/res_init.c: Likewise.
7173         * resolv/res_mkquery.c: Likewise.
7174         * resolv/res_query.c: Likewise.
7175         * resolv/res_send.c: Likewise.
7177 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7179         * conform/data/stdio.h-data (fdopen): Expect also for
7180         [XPG3 || XPG4].
7182         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7183         (fseeko): Likewise.
7184         (ftello): Likewise.
7185         (ftrylockfile): Likewise.
7186         (funlockfile): Likewise.
7187         (getc_unlocked): Likewise.
7188         (getchar_unlocked): Likewise.
7189         (putc_unlocked): Likewise.
7190         (putchar_unlocked): Likewise.
7192 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7194         [BZ #19868]
7195         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7196         DNS packet syntax checks (which were not needed before).  Skip
7197         over non-PTR records.
7199 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7201         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7202         definition.  Include <stddef.h> instead.
7204 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7206         [BZ #19831]
7207         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7208         function.
7209         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7210         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7212 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7214         [BZ #19862]
7215         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7216         (getanswer_r): Do not call syslog.
7217         (gaih_getanswer_slice): Likewise.
7218         * resolv/gethnamaddr.c (AskedForGot): Remove.
7219         (getanswer): Do not call syslog.
7220         (gethostbyaddr): Likewise.
7222 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7224         * conform/data/signal.h-data (union sigval): Expect also if
7225         [XOPEN2K].
7226         (struct sigevent): Likewise.
7227         (SIGEV_NONE): Likewise.
7228         (SIGEV_SIGNAL): Likewise.
7229         (SIGEV_THREAD): Likewise.
7230         (SIGRTMIN): Likewise.
7231         (SIGRTMAX): Likewise.
7232         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7233         variable.
7234         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7236 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7238         [BZ #19830]
7239         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7240         (gaih_getanswer_slice): Likewise.
7241         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7242         Also check for availability of RR metadata.
7244 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7246         [BZ #19825]
7247         * resolv/res_send.c (send_vc): Remove early *resplen2
7248         initialization.  Set *resplen2 on socket error.  Call
7249         close_and_return_error for other errors.
7251 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7253         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7254         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7255         (SCM_IUCV_TRGCLS): New define.
7257 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7259         [BZ #20005]
7260         * libio/fmemopen.c (fmemopen_write): Update internal position after
7261         write.
7262         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7263         * stdio-common/tst-fmemopen4.c: New file..
7265 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7267         [BZ #19996]
7268         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7269         not [__USE_XOPEN2K].
7270         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7271         variable.
7273         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7274         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7275         variable.
7277         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7278         [__USE_XOPEN2K8].
7279         [__USE_LARGEFILE64] (off64_t): Likewise.
7280         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7281         variable.
7283 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7285         [BZ #19989]
7286         * libio/stdio.h (cuserid): Do not declare if
7287         [__USE_XOPEN2K && !__USE_GNU].
7288         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7289         variable.
7291 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7293         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7294         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7296         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7297         ifunc'ed strcspn.
7298         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7299         [EALIGN]: Removed.
7300         [END]: Likewise
7301         [STRSPN]: Define instead of the above to control symbol name.
7302         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7303         New file.
7304         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7305         Likewise.
7306         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7307         Likewise.
7308         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7309         Likewise.
7310         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7311         [INITIAL_MASK]: New macro.
7312         [STRCSPN]: Likewise.
7313         [UPDATE_MASK]: Likewise.
7314         [USE_AS_STRCSPN]: Lisewise.
7316 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7318         [BZ #19931]
7319         * stdio-common/tst-vfprintf-width-prec.c: New file.
7320         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7321         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7322         (generated): Add mtrace-related files.
7323         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7324         (tst-%-mem.out): New pattern rule, replaces
7325         tst-printf-bz18872-mem.out.
7326         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7327         specifier, deallocate any previously allocated work buffer.
7329 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7331         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7332         Add nop before __startcontext, add explaining comments.
7334 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7336         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7337         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7338         completely different API.
7340         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7341         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7342         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7343         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7344         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7345         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7346         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7347         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7348         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7349         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7351 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7353         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7355 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7357         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7358         when it is the default of 0.
7360 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7362         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7363         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7364         (sysdep_routines): Add new strcasestr targets.
7365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7366         (__libc_ifunc_impl_list): Likewise.
7367         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7368         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7369         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7370         * sysdeps/powerpc/powerpc64/power8/Makefile:
7371         New file to add strcasestr-ppc64 to sysdep_routines.
7372         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7373         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7375 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7377         * benchtests/Makefile (wcsmbs-benchset): Include only for
7378         native builds and runs.
7379         (LOCALES): Likewise.
7380         (bench-build): Build timing-type here instead of the bench
7381         target.  Generate locale only for native builds.
7382         * benchtests/README: Add note for cross-building.
7384         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7386         * benchtests/README: Update README to include instructions on
7387         using bench-build.
7389         * Makefile.in (bench-build): New target.
7390         * Rules (PHONY): Add bench-build target.
7391         * benchtests/Makefile (bench): Depend on bench-build.
7392         (bench-build): New target.
7394 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7396         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7397         profil_reply_port.
7398         (profile_waiter): Do not initialize profil_reply_port.
7399         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7400         frequency instead of tick length in us.
7402 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7404         [BZ #18712]
7405         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7406         (__old_mempcpy_small): Likewise.
7407         (__old_strcpy_small): Likewise.
7408         (__old_stpcpy_small): Likewise.
7409         (__old_strpbrk_c2): Fix compat symbol name.
7410         (__old_strpbrk_c3): Likewise.
7411         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7412         (__mempcpy_small): Remove.
7413         (__strcpy_small): Remove.
7414         (__stpcpy_small): Remove.
7416 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7418         [BZ #19400]
7419         * locale/iso-639.def: Add the Talossan/tzl language.
7421 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7423         [BZ #16983]
7424         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7425         comment.  Add "ln" to strchr check on postal_fmt.
7427 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7429         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7430         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7431         tel_dom_fmt.
7433 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7435         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7436         (sysdep_routines): Added __strlen_power8.
7437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7438         __strlen_power8 entry.
7439         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7440         Implementation for POWER8.
7441         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7442         for __strlen_power8.
7443         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7444         Implementation for POWER8.
7446 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7448         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7450 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7452         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7453         Goldmont and Airmont processors.
7455 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7457         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7458         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7459         (__STRING2_SMALL_GET32): Remove.
7460         (memset): Remove.
7461         (__memset_1): Remove.
7462         (__memset_gc): Remove.
7463         (__mempcpy): Remove.
7464         (mempcpy): Remove.
7465         (__mempcpy_args): Remove.
7466         (strchr): Remove.
7467         (strcpy): Remove.
7468         (strcpy_args): Remove.
7469         (__stpcpy_args): Remove.
7470         (__strcmp_cc): Remove.
7471         (__strcmp_gc): Remove.
7472         (strstr): Remove.
7474 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7476         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7477         * nis/nis_call.c (nis_server_cache_add): Likewise.
7479 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7481         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7483 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7485         * malloc/arena.c (__malloc_fork_lock_parent)
7486         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7487         internal_function attribute.
7489 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7491         * stdio-common/printf_fp.c (__printf_fp_l):
7492         Rename ___printf_fp_l to __printf_fp_l and
7493         remove strong alias. Use libc_hidden_def instead
7494         of ldbl_hidden_def macro.
7496 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7498         Remove malloc hooks from fork handler.  They are no longer needed
7499         because malloc runs right before fork, and no malloc calls from
7500         other fork handlers are not possible anymore.
7501         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7502         declarations.
7503         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7504         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7505         (atfork_recursive_cntr): Remove.
7506         (__malloc_fork_lock_parent): Do not override malloc hooks and
7507         thread_arena.
7508         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7509         thread_arena.
7510         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7511         thread_arena instead of save_arena.
7513 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7515         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7516         (thread_atfork, thread_atfork_static): Remove.
7517         * sysdeps/mach/hurd/malloc-machine.h:
7518         (thread_atfork, thread_atfork_static): Remove.
7520 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7522         [BZ #19431]
7523         Run the malloc fork handler as late as possible to avoid deadlocks.
7524         * malloc/malloc-internal.h: New file.
7525         * malloc/malloc.c: Include it.
7526         * malloc/arena.c (ATFORK_MEM): Remove.
7527         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7528         Update comment.
7529         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7530         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7531         Remove outdated comment.
7532         (ptmalloc_init): Do not call thread_atfork.  Remove
7533         thread_atfork_static.
7534         * malloc/tst-malloc-fork-deadlock.c: New file.
7535         * Makefile (tests): Add tst-malloc-fork-deadlock.
7536         (tst-malloc-fork-deadlock): Link against libpthread.
7537         * manual/memory.texi (Aligned Memory Blocks): Update safety
7538         annotation comments.
7539         * sysdeps/nptl/fork.c (__libc_fork): Call
7540         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7541         __malloc_fork_unlock_child.
7542         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7544 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7546         [BZ #19613]
7547         Remove union wait.
7548         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7549         (w_stopsig, w_stopval): Remove.
7550         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7551         stat_loc argument.
7552         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7553         (__WAIT_STATUS_DEFN): Remove.
7554         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7555         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7556         (wait, wait3, wait4): Use int * for the stat_loc argument.
7557         * posix/wait.c (__wait): Likewise.
7558         * posix/wait3.c (__wait3): Likewise.
7559         * posix/wait4.c (__wait4): Likewise.
7560         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7561         (__WAIT_STATUS_DEFN): Remove.
7562         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7563         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7564         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7565         argument.
7566         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7567         * sysdeps/posix/wait3.c (__wait3): Likewise.
7568         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7569         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7570         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7571         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7572         stat_loc argument.
7573         * manual/process.texi (BSD Wait Functions): Remove union wait.
7575 2016-04-13  Andreas Schwab  <schwab@suse.de>
7577         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7578         (test-extras): Add tst-tlsalign-vars.
7579         * math/Makefile: Wrap long lines.
7580         (libm-vec-test-wrappers): Define.
7581         (test-extras): Add $(libm-vec-test-wrappers).
7582         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7583         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7584         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7585         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7586         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7587         (extra-test-objs): Add corresponding objects.
7589 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7591         [BZ #19928]
7592         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7593         New.
7594         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7595         times of shared cache size.
7596         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7597         (VMOVNT): New.
7598         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7599         (VMOVNT): Likewise.
7600         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7601         (VMOVNT): Likewise.
7602         (VMOVU): Changed to movups for smaller code sizes.
7603         (VMOVA): Changed to movaps for smaller code sizes.
7604         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7605         comments.
7606         (PREFETCH): New.
7607         (PREFETCH_SIZE): Likewise.
7608         (PREFETCHED_LOAD_SIZE): Likewise.
7609         (PREFETCH_ONE_SET): Likewise.
7610         Rewrite to use forward and backward loops, which move 4 vector
7611         registers at a time, to support overlapping addresses and use
7612         non temporal store if size is above the threshold and there is
7613         no overlap between destination and source.
7615 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7617         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7618         Include dl-vdso.
7619         * sysdeps/unix/sysv/linux/mips/Versions: Add
7620         __vdso_clock_gettime.
7621         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7622         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7623         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7624         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7625         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7626         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7627         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7628         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7629         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7631 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7633         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7634         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7636         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7637         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7638         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7641         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7643         syscalls generation.
7644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7645         [__NR_pwrite64] (__NR_write): Remove define.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7647         [__NR_pwrite64] (__NR_write): Remove define.
7648         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7649         Remove define.
7650         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7651         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7652         Remove define.
7653         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7654         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7655         Linux implementation as base.
7656         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7658         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7659         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7664         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7665         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7666         syscall generation.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7668         [__NR_pread64] (__NR_pread): Remove define.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7670         [__NR_pread64] (__NR_pread): Likewise.
7671         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7672         define.
7673         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7674         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7675         Remove define.
7676         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7677         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7678         Linux implementation as base.
7679         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7680         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7681         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7683         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7684         definition.
7685         (__ALIGNMENT_COUNT): Likewise.
7686         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7687         (__ALIGNMENT_COUNT): Likewise.
7688         (SYSCALL_LL): New define.
7689         (SYSCALL_LL64): Likewise.
7690         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7691         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7692         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7693         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7695         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7696         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7697         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7698         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7699         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7700         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7702 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7704         [BZ #19865]
7705         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7706         original buffer before retry.
7708 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7710         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7711         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7712         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7713         GLRO(dl_auxv) list.
7714         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7715         including <ldsodefs.h>.
7716         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7718 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7720         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7721         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7722         $(CPPFLAGS).
7724 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7726         [BZ #17950]
7727         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7728         Add -mfpmath=387.
7730 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7732         * sysdeps/i386/configure.ac: Change == to = when calling test.
7733         * sysdeps/x86_64/configure.ac: Likewise.
7734         * sysdeps/i386/configure: Regenerated.
7735         * sysdeps/x86_64/configure: Likewise.
7737 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7739         [BZ #16137]
7740         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7741         * benchtests/bench-strcoll.c (input_files): Likewise.
7742         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7743         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7744         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7746 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7748         [BZ #19929]
7749         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7750         [__USE_XOPEN2K8 && !__USE_GNU].
7751         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7752         variable.
7754         [BZ #19925]
7755         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7756         define if [!__USE_MISC && __USE_XOPEN2K].
7757         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7758         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7759         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7760         Likewise.
7761         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7762         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7763         variable.
7764         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7766 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7768         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7769         (sysdep_routines): Add new strspn targets.
7770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7771         (__libc_ifunc_impl_list): Add strspn.
7772         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7773         New file.
7774         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7775         Likewise.
7776         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7777         Likewise.
7778         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7779         Likewise.
7781 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7783         * misc/hsearch_r.c: Include <limits.h>.
7785 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7787         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7789 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7791         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7792         (MEMCPY_SYMBOL): New.
7793         (MEMPCPY_SYMBOL): Likewise.
7794         (MEMMOVE_CHK_SYMBOL): Likewise.
7795         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7796         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7797         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7798         Provide alias for memcpy in libc.a and ld.so.
7800 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7802         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7803         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7804         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7805         Disabled fro now.
7806         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7807         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7809 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7811         * benchtests/Makefile (string-benchset): Add memcpy-large,
7812         memmove-large and memset-large.
7813         * benchtests/bench-memcpy-large.c: New file.
7814         * benchtests/bench-memmove-large.c: Likewise.
7815         * benchtests/bench-memmove-large.c: Likewise.
7816         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7818 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7820         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7821         32-bit displacement to avoid long nop between instructions.
7823 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7825         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7826         a comment on VMOVU and VMOVA.
7828 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7830         [BZ #19633]
7831         Use specified locale for number formatting in strfmon_l.
7832         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7833         (__nl_lookup_word): New inline functions.
7834         * include/printf.h (__print_fp_l): Declare.
7835         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7836         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7837         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7838         (___printf_fp): New function.
7839         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7840         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7841         * stdlib/tst-strfmon_l.c (do_test): New test.
7842         * stdlib/Makefile (tests): Add kt.
7843         (LOCALES): Build additional locales.
7844         (tst-strfmon_l.out): Require locales.
7846 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7848         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7849         if not in libc.
7850         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7851         Likewise.
7852         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7853         Likewise.
7854         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7855         Likewise.
7857 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7859         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7860         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7861         with unaligned_erms.
7862         (__memmove_erms): Skip if source == destination.
7863         (__memmove_unaligned_erms): Don't check source == destination
7864         first.
7866 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7868         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7869         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7871 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7873         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7874         * string/strspn.c (strspn): Likewise.
7876 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7878         * benchtests/bench-memset.c (do_test): Support 64-byte
7879         alignment.
7880         (test_main): Test 64-byte alignment.
7882 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7884         * benchtests/bench-memmove.c (test_main): Test 64-byte
7885         alignment.
7887 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7889         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7891 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7893         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7894         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7895         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7897         * string/strpbrk.c (strpbrk): Rewrite function.
7898         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7899         (__strpbrk_c2): Likewise.
7900         (__strpbrk_c3): Likewise.
7901         * string/string-inlines.c
7902         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7903         Likewise.
7904         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7905         Likewise.
7907         * string/strspn.c (strcspn): Rewrite function.
7908         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7909         (__strspn_c1): Remove inline function.
7910         (__strspn_c2): Likewise.
7911         (__strspn_c3): Likewise.
7912         * string/string-inlines.c
7913         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7914         compatibility symbol.
7915         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7916         Likewise.
7917         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7918         Likewise.
7919         * string/string-inlines.c: Include generic version.
7921 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7922             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7924         * string/Version (libc): Add GLIBC_2.24.
7925         * string/strcspn.c (strcspn): Rewrite function.
7926         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7927         (__strcspn_c1): Remove inline function.
7928         (__strcspn_c2): Likewise.
7929         (__strcspn_c3): Likewise.
7930         * string/string-inline.c
7931         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7932         compatibility symbol.
7933         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7934         Likewise.
7935         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7936         Likewise.
7937         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7939 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7941         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7942         Use ahi instead of aghi to adjust stack pointer.
7944 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7946         [BZ #19853]
7947         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7948         TEST to take significant digits as second parameter.
7949         [TEST]: Redefine in terms of TEST_N taking 30
7950         significant digits.
7951         (do_test): Add test case to demonstrate precision
7952         failure in the ldbl-128ibm printf.
7953         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7954         (__mpn_extract_long_double): Carry 7 extra intermediate
7955         bits of precision to aide computing difference when
7956         signs differ.
7958 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7960         [BZ #19881]
7961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7962         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7963         memset-avx512-unaligned-erms.
7964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7965         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7966         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7967         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7968         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7969         __memset_sse2_unaligned_erms, __memset_erms,
7970         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7971         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7972         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7973         file.
7974         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7975         Likewise.
7976         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7977         Likewise.
7978         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7979         Likewise.
7981 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7983         [BZ #19776]
7984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7985         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7986         memmove-avx512-unaligned-erms.
7987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7988         (__libc_ifunc_impl_list): Test
7989         __memmove_chk_avx512_unaligned_2,
7990         __memmove_chk_avx512_unaligned_erms,
7991         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7992         __memmove_chk_sse2_unaligned_2,
7993         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7994         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7995         __memmove_avx512_unaligned_erms, __memmove_erms,
7996         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7997         __memcpy_chk_avx512_unaligned_2,
7998         __memcpy_chk_avx512_unaligned_erms,
7999         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8000         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8001         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8002         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8003         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8004         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8005         __mempcpy_chk_avx512_unaligned_erms,
8006         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8007         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8008         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8009         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8010         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8011         __mempcpy_erms.
8012         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8013         file.
8014         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8015         Likwise.
8016         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8017         Likwise.
8018         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8019         Likwise.
8021 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8023         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8024         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8025         (La_s390_64_regs): Likewise.
8026         (La_s390_32_retval): Append vector register lrv_v24.
8027         (La_s390_64_retval): Likeweise.
8028         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8029         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8030         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8031         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8033 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8035         [BZ #19916]
8036         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8037         to create a non-vector/vector version for _dl_runtime_resolve and
8038         _dl_runtime_profile. Move implementation to ...
8039         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8040         (_dl_runtime_resolve) Save and restore fpr/vrs.
8041         (_dl_runtime_profile) Save and restore vrs and fix some issues
8042         if _dl_call_pltexit is called.
8043         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8044         Choose the correct resolver function if running on a machine with vx.
8045         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8046         to create a non-vector/vector version for _dl_runtime_resolve and
8047         _dl_runtime_profile. Move implementation to ...
8048         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8049         (_dl_runtime_resolve) Save and restore fpr/vrs.
8050         (_dl_runtime_profile) Save and restore vrs and fix some issues
8051         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8052         Choose the correct resolver function if running on a machine with vx.
8054 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8056         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8058 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8060         [BZ #19509]
8061         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8062         skip_map != NULL.
8063         * elf/tst-dlsym-error.c: New file.
8064         * elf/Makefile (tests): Add tst-dlsym-error.
8065         (tst-dlsym-error): Link against libdl.
8067 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8070         (__ASSUME_FUTIMESAT): Remove macro.
8071         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8073 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8075         [BZ #19879]
8076         CVE-2016-3075
8077         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8078         copy name.
8080 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8082         [BZ #19837]
8083         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8084         error if parse_line fails.
8086 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8088         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8089         (index_cpu_ERMS): Likewise.
8090         (reg_ERMS): Likewise.
8092 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8094         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8095         PER_LINUX_FDPIC): Add.
8097 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8100         memcpy-avx512-no-vzeroupper.
8101         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8102         to ...
8103         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8104         (MEMCPY): Don't define.
8105         (MEMCPY_CHK): Likewise.
8106         (MEMPCPY): Likewise.
8107         (MEMPCPY_CHK): Likewise.
8108         (MEMPCPY_CHK): Renamed to ...
8109         (__mempcpy_chk_avx512_no_vzeroupper): This.
8110         (MEMPCPY_CHK): Renamed to ...
8111         (__mempcpy_chk_avx512_no_vzeroupper): This.
8112         (MEMCPY_CHK): Renamed to ...
8113         (__memmove_chk_avx512_no_vzeroupper): This.
8114         (MEMCPY): Renamed to ...
8115         (__memmove_avx512_no_vzeroupper): This.
8116         (__memcpy_avx512_no_vzeroupper): New alias.
8117         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8119 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8121         [BZ #18858]
8122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8123         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8124         and mempcpy-avx512-no-vzeroupper.
8125         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8126         New.
8127         (MEMPCPY): Likewise.
8128         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8129         (MEMPCPY_CHK): New.
8130         (MEMPCPY): Likewise.
8131         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8132         (MEMPCPY): Likewise.
8133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8134         (MEMPCPY): Likewise.
8135         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8136         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8137         Likewise.
8138         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8139         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8141 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8142              Amit Pawar  <Amit.Pawar@amd.com>
8144         [BZ #19583]
8145         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8146         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8147         processors.  Set Fast_Copy_Backward for AMD Excavator
8148         processors.
8149         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8150         New.
8151         (index_arch_Fast_Unaligned_Copy): Likewise.
8152         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8153         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8155 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8157         [BZ #19791]
8158         * resolv/res_send.c (close_and_return_error): New function.
8159         (send_dg): Initialize *resplen2 after reopen failure.  Call
8160         close_and_return_error for error returns.  On error paths without
8161         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8162         successful return.
8164 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8166         [BZ# 19860]
8167         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8168         zero if the compiler does not provide the AVX512F bit.
8170 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8172         [BZ #19848]
8173         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8174         from 8 to 4.
8175         (__ieee754_powl): Compare integer exponent against 4 not 8.
8176         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8177         from 8 to 4.
8178         (__ieee754_powl): Compare integer exponent against 4 not 8.
8179         * math/auto-libm-test-in: Add more tests of pow.
8180         * math/auto-libm-test-out: Regenerated.
8181         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8186         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8187         Make code unconditional.
8188         [!__NR_utimensat]: Remove conditional code.
8189         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8190         Make code unconditional.
8191         [!__NR_utimensat]: Remove conditional code.
8192         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8193         Make code unconditional.
8194         [!__NR_utimensat]: Remove conditional code.
8196 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8198         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8199         Make code unconditional.
8201 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8203         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8204         call-clobbered %eax on retry path.
8205         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8207 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8209         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8210         Don't set %rcx twice before "rep movsb".
8212 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8214         [BZ #19583]
8215         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8216         inline.  Check family before setting family, model and
8217         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8218         bits here.
8219         (init_cpu_features): Replace HAS_CPU_FEATURE and
8220         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8221         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8222         for Intel processors with usable AVX2.  Call get_common_indeces
8223         for other processors with family == NULL.
8224         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8225         (CPU_FEATURES_ARCH_P): Likewise.
8226         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8227         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8229 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8231         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8232         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8233         $(shared-thread-library) instead of hardcoding the path to libpthread.
8235 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8237         * sysdeps/unix/sysv/linux/kernel-features.h
8238         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8239         * sysdeps/unix/sysv/linux/getdents.c
8240         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8241         [!have_no_getdents64_defined]: Likewise.
8242         (__GETDENTS): Remove __have_no_getdents64 conditional.
8244 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8246         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8247         Remove macro.
8248         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8249         <kernel-features.h>.
8250         (signalfd) [__NR_signalfd4]: Make code unconditional.
8251         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8253 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8255         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8256         style.
8258 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8260         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8261         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8262         __pthread_unwind.
8263         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8264         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8265         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8266         (__condvar_cleanup1): Likewise.
8268 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8270         [BZ #19822]
8271         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8272         move it to the final $@ location.
8274 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8276         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8277         access where posix_spawn success and pid argument is null.
8278         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8279         success case.
8281 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8283         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8285         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8287         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8288         and __fcntl.
8289         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8290         __fcntl only.
8291         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8292         adding attribute_hidden to __open and __fcntl.
8294         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8295         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8296         depend on libc-modules.h,
8297         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8299 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8302         Remove macro.
8303         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8304         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8305         entry.
8307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8308         Remove macro.
8309         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8310         include <kernel-features.h>.
8311         [!__ASSUME_FALLOCATE]: Remove conditional code.
8312         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8314 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8317         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8319         (_ZGVdN4v_cos_avx2): Likewise.
8320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8321         (_ZGVdN4v_cos): Likewise.
8322         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8323         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8324         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8325         (_ZGVdN4v_exp_avx2): Likewise.
8326         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8327         (_ZGVdN4v_exp): Likewise.
8328         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8329         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8330         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8331         (_ZGVdN4v_log_avx2): Likewise.
8332         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8333         (_ZGVdN4v_log): Likewise.
8334         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8335         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8336         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8337         (_ZGVdN4vv_pow_avx2): Likewise.
8338         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8339         (_ZGVdN4vv_pow): Likewise.
8340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8341         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8342         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8343         (_ZGVdN4v_sin_avx2): Likewise.
8344         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8345         (_ZGVdN4v_sin): Likewise.
8346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8347         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8348         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8349         (_ZGVdN4vvv_sincos_avx2): Likewise.
8350         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8351         (_ZGVdN4vvv_sincos): Likewise.
8352         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8353         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8355         (_ZGVbN4v_cosf_sse4): Likewise.
8356         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8357         (_ZGVdN8v_cosf_avx2): Likewise.
8358         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8359         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8360         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8361         (_ZGVbN4v_expf_sse4): Likewise.
8362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8363         (_ZGVdN8v_expf_avx2): Likewise.
8364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8365         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8366         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8367         (_ZGVbN4v_logf_sse4): Likewise.
8368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8369         (_ZGVdN8v_logf_avx2): Likewise.
8370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8371         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8373         (_ZGVbN4vv_powf_sse4): Likewise.
8374         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8375         (_ZGVdN8vv_powf_avx2): Likewise.
8376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8377         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8378         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8379         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8380         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8381         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8382         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8383         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8385         (_ZGVbN4v_sinf_sse4): Likewise.
8386         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8387         (_ZGVdN8v_sinf_avx2): Likewise.
8388         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8389         Use JUMPTARGET to call callee.
8390         (WRAPPER_IMPL_SSE2_ff): Likewise.
8391         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8392         (WRAPPER_IMPL_AVX): Likewise.
8393         (WRAPPER_IMPL_AVX_ff): Likewise.
8394         (WRAPPER_IMPL_AVX_fFF): Likewise.
8395         (WRAPPER_IMPL_AVX512): Likewise.
8396         (WRAPPER_IMPL_AVX512_ff): Likewise.
8397         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8398         Likewise.
8399         (WRAPPER_IMPL_SSE2_ff): Likewise.
8400         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8401         (WRAPPER_IMPL_AVX): Likewise.
8402         (WRAPPER_IMPL_AVX_ff): Likewise.
8403         (WRAPPER_IMPL_AVX_fFF): Likewise.
8404         (WRAPPER_IMPL_AVX512): Likewise.
8405         (WRAPPER_IMPL_AVX512_ff): Likewise.
8406         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8408 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8410         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8411         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8412         qualifier.
8413         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8414         internal_function qualifiers.
8416 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8418         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8419         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8420         * math/atest-exp.c (exp_mpn): Mark chk unused.
8421         * math/atest-exp2.c (exp_mpn): Likwise.
8422         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8423         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8425 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8427         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8428         Remove macro.
8429         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8430         <kernel-features.h>.
8431         [__NR_ppoll]: Make code unconditional.
8432         [!__ASSUME_PPOLL]: Remove conditional code.
8434         * sysdeps/unix/sysv/linux/kernel-features.h
8435         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8436         (__ASSUME_ACCEPT4): Likewise.
8437         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8438         Define.
8439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8440         Likewise.
8441         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8442         Likewise.
8443         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8444         Likewise.
8445         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8446         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8447         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8448         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8449         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8451         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8452         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8453         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8455         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8456         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8457         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8459         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8461         Likewise.
8462         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8463         Likewise.
8464         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8465         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8466         0x040300].
8467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8468         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8469         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8470         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8471         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8472         0x030300].
8473         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8475         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8476         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8477         0x040300].
8478         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8479         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8481         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8482         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8483         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8484         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8485         0x030300].
8486         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8487         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8490         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8491         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8494         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8495         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8496         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8497         0x040300].
8498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8500         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8501         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8502         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8503         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8504         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8505         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8508         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8509         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8510         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8511         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8512         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8513         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8514         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8515         Likewise.
8516         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8517         Likewise.
8519 2016-03-15  Andreas Schwab  <schwab@suse.de>
8521         [BZ #19257]
8522         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8523         statp->_u._ext.nscount as loop count.
8525 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8527         * math/test-signgam-finite-c99.c: Also #undef
8528         __LIBC_INTERNAL_MATH_INLINES.
8529         * math/test-signgam-main.c: Likewise.
8531 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8533         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8534         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8535         (MADV_FREE): Likewise.
8536         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8537         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8538         EPOLLEXCLUSIVE.
8540 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8542         * timezone/README: Remove mention of checktab.awk. Mention wiki
8543         SharedSourceFiles.
8545 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8547         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8548         WUNTRACED.
8550 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8552         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8553         order to match the type of p when calling atomic_exchange_acq().
8555 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8557         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8558         cfi_offset calls.
8559         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8560         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8561         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8562         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8563         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8565 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8567         * timezone/checktab.awk: Removed.
8569 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8571         * manual/math.texi (Errors in Math Functions): Document relaxed
8572         accuracy goals for IBM long double.
8573         * math/libm-test.inc (test_exceptions): Always allow spurious
8574         "underflow" and "inexact" exceptions for IBM long double.
8576 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8578         [BZ #19762]
8579         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8580         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8581         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8582         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8583         (bit_arch_*): This for feature array.
8584         (bit_*): Renamed to ...
8585         (bit_cpu_*): This for cpu array.
8586         (index_*): Renamed to ...
8587         (index_arch_*): This for feature array.
8588         (index_*): Renamed to ...
8589         (index_cpu_*): This for cpu array.
8590         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8591         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8592         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8593         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8594         bit_##name with index_cpu_##name and bit_cpu_##name.
8595         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8596         bit_##name with index_arch_##name and bit_arch_##name.
8598 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8600         [BZ #19792]
8601         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8602         Terminate FDE before return label.
8604 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8606         [BZ #19790]
8607         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8608         (rintl): Define as macro.
8609         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8610         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8611         of fesetround.  Ensure results are evaluated before end of scope.
8612         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8613         USE_AS_NEARBYINTL and include s_rintl.c.
8614         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8615         Disable exception traps in new environment.
8616         (libc_feholdsetround_ppc_ctx): Likewise.
8618 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8620         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8621         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8622         (tst_audit10_aux) [__AVX512F__]: ... here.
8624 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8626         * include/sys/auxv.h: New file.
8628 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8630         [BZ #19759]
8631         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8633 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8635         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8636         operand modifier.
8637         (feclearexcept): Likewise.
8639 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8641         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8642         to reflect the entire 32-bit HWCAP.
8643         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8644         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8646 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8648         [BZ #19783]
8649         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8650         $(test-via-rtld-prefix).
8651         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8653 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8655         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8656         union wait.  Report any non-zero exit status as error.
8658 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8660         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8661         configured with --enable-hardcoded-path-in-tests.
8663 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8665         [BZ #19677]
8666         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8667         (__ieee754_remainderl): Put zero low parts in canonical form.
8668         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8669         file.  Based on
8670         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8671         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8672         with wrapper round test-fmodrem-ldbl-128ibm.c.
8673         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8674         file.
8675         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8676         Likewise.
8677         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8678         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8680 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8682         [BZ #19610]
8683         * elf/ldconfig.c (opt_link): Update comment.
8684         (options): Update help string for option -X.
8685         (search_dir): Unlink stale symbolic link only if updating symbolic
8686         links.
8687         * elf/tst-ldconfig-X.sh: New file.
8688         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8689         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8691 2016-03-07  Andreas Schwab  <schwab@suse.de>
8693         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8694         needed arguments.
8696 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8698         [BZ #15333]
8699         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8700         to lstat64.
8702 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8704         * libio/filedoalloc.c (isatty): Remove.
8705         (local_isatty): Add comment.  Call __isatty directly.
8706         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8707         * libio/wfiledoalloc.c (isatty): Remove.
8708         (_IO_wfile_doallocate): Update comment.
8710 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8712         [BZ #19269]
8713         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8714         tst-audit4-aux.o.
8715         (tst-audit10): Depend on tst-audit10-aux.o.
8716         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8717         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8718         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8719         instead of inline AVX code.
8720         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8721         instead of inline AVX512 code.
8722         * sysdeps/x86_64/tst-audit4-aux.c: New file
8723         * sysdeps/x86_64/tst-audit10-aux.c: New file
8725         [BZ #19648]
8726         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8728 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8730         [BZ #14750]
8731         [BZ #10354]
8732         [BZ #18433]
8733         * include/sched.h (__clone): Add hidden prototype.
8734         (__clone2): Likewise.
8735         * include/unistd.h (__dup): Likewise.
8736         * posix/Makefile (tests): Add tst-spawn2.
8737         * posix/tst-spawn2.c: New file.
8738         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8739         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8740         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8741         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8742         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8743         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8744         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8745         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8746         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8747         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8748         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8750         Likewise.
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8752         Likewise.
8753         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8754         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8755         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8756         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8757         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8758         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8759         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8760         * sysdeps/unix/sysv/linux/nptl-signals.h
8761         (____nptl_is_internal_signal): New function.
8762         * sysdeps/unix/sysv/linux/spawni.c: New file.
8764         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8765         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8766         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8767         * posix/tst-execvp2.c (do_test): Likewise.
8768         * posix/tst-execvp3.c (do_test): Likewise.
8769         * posix/tst-execvp4.c (do_test): Likewise.
8770         * posix/tst-execvpe1.c: New file.
8771         * posix/tst-execvpe2.c: Likewise.
8772         * posix/tst-execvpe3.c: Likewise.
8773         * posix/tst-execvpe4.c: Likewise.
8774         * posix/tst-execvpe5.c: Likewise.
8775         * posix/tst-execvpe6.c: Likewise.
8777         [BZ #19534]
8778         * posix/execl.c (execl): Remove dynamic memory allocation.
8779         * posix/execle.c (execle): Likewise.
8780         * posix/execlp.c (execlp): Likewise.
8782 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8784         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8785         Replace .text with .text.avx512.
8786         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8787         Likewise.
8789 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8791         * sysdeps/generic/libnsl.abilist: New file.
8792         * sysdeps/generic/libutil.abilist: New file.
8794 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8796         [BZ #19762]
8797         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8798         HAS_ARCH_FEATURE with Fast_Rep_String.
8799         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8800         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8801         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8802         Likewise.
8803         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8804         Likewise.
8805         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8806         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8807         Likewise.
8808         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8809         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8810         Likewise.
8812 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8814         [BZ #19745]
8815         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8816         with *%rax in call.
8818 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8820         [BZ #19745]
8821         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8822         with *__libc_start_main@GOTPCREL(%rip) in call.
8824 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8826         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8827         inside conditional for nonempty $(CXX).
8829         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8830         nonempty.
8832         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8833         to test for empty $(CXX) rather than $(CXX) of "no".
8835 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8837         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8839 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8840             H.J. Lu  <hongjiu.lu@intel.com>
8842         [BZ #18880]
8843         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8844         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8845         enable __memcpy_ssse3_back.
8847 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8849         [BZ #19758]
8850         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8851         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8853 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8855         [BZ #19490]
8856         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8857         (__fentry__): Likewise.
8859 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8861         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8862         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8864 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8866         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8867         __mcount_internal directly.
8868         (C_LABEL(__fentry__)): Likewise.
8869         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8870         directly.
8872 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8874         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8875         (__start_context): Call __setcontext directly.
8877 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8879         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8880         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8881         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8882         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8883         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8884         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8885         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8886         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8887         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8888         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8889         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8890         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8891         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8892         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8893         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8894         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8895         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8897         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8898         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8899         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8900         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8901         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8902         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8903         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8904         Remove conditional code.
8905         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8906         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8907         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8908         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8909         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8910         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8911         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8912         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8913         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8915         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8916         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8918 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8920         * NEWS (2.23): Fix typo in bug 19048 text.
8922 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8924         [BZ #14259]
8925         * Makeconfig: Rename msgcatdir to localedir.
8926         Rename inst_msgcatdir to inst_localedir.
8927         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8928         * config.make.in: Add localedir.
8929         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8930         (ldd-rewrite): Likewise.
8931         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8932         (install-others): Use inst_localedir.
8933         (CPPFLAGS): Use localedir.
8934         * locale/Makefile (locale-CPPFLAGS): Likewise.
8935         * po/Makefile (mo-installed): Use inst_localedir.
8937         [BZ #19575]
8938         * localedata/charmaps/GB18030: Update comments regarding PAU to
8939         non-PUA mappings.
8941 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8943         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8944         test for header.
8945         * sysdeps/unix/sysv/linux/configure: Regenerated.
8946         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8947         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8948         Remove conditional code.
8949         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8951         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8952         Define to 3.2.0.
8953         (arch_minimum_kernel): Likewise.
8954         * sysdeps/unix/sysv/linux/configure: Regenerated.
8955         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8956         Define to 2.6.32.
8957         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8958         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8959         (arch_minimum_kernel): Define to 2.6.32.
8960         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8961         * README: Document Linux 3.2 requirement.
8962         * manual/install.texi (Linux): Document Linux 3.2 headers
8963         requirement.
8964         * INSTALL: Regenerated.
8966 2016-02-24  Andreas Schwab  <schwab@suse.de>
8968         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8969         if !NO_LONG_DOUBLE.
8971 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8973         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8974         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8976 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8978         [BZ #19512]
8979         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8981 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8983         * posix/tst-dir.c: Include libc-internal.h.
8985 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8987         [BZ #19056]
8988         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8989         * manual/filesys.texi (Reading/Closing Directory): Mention
8990         deprecaion.
8991         * posix/tst-dir.c (main): Disable deprecation warning in test.
8993 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8995         [BZ #19679]
8996         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8997         Renamed to ...
8998         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8999         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9000         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9001         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9002         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9003         * sysdeps/x86_64/dl-trampoline.h
9004         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9005         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9007 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9009         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9011 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9013         * elf/elf.h (R_386_GOT32X): New.
9014         (R_386_NUM): Update.
9015         (R_X86_64_GOTPCRELX: New.
9016         (R_X86_64_REX_GOTPCRELX): New.
9017         (R_X86_64_NUM): Update.
9019 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9021         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9023 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9025         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9026         assign attr->stackaddr to it, and adjust it down when
9027         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9028         [_STACK_GROWS_UP]: Delete assert.
9029         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9030         Implement stack grows up logic.
9031         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9032         stack grows up logic.
9034 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9036         * NEWS: Update with 2.24 template.
9038 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9040         [BZ #19678]
9041         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9042         Ensure +0.0 is returned when taking the next value below the least
9043         positive value.
9045 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9047         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9048         available.  Do not define NO_THREADS.
9049         * malloc/malloc.c: Do not check NO_THREADS.
9050         * malloc/arena.c: Likewise.
9052 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9054         * malloc/malloc.c (__libc_mallinfo): Update comment.
9055         (struct malloc_par): Remove max_total_mem member, it was always 0.
9056         (int_mallinfo): Store 0 into usmblks (no functional change).
9057         * malloc/hooks.c (struct malloc_state): Document that
9058         max_total_mem is always 0.
9059         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9060         always 0.
9061         * manual/memory.texi (Statistics of Malloc): Likewise.
9063 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9065         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9066         * malloc/arena.c (arena_max): Remove.
9067         (heap_trim, _int_new_arena): Do not update arena_max.
9069 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9071         * resolv/res_init.c (res_ninit): Update comment.
9073 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9075         [BZ #19505]
9076         * posix/spawn_int.h: Add headers and include guard.
9077         (__spawn_valid_fd): New function.
9078         * posix/spawn_faction_addopen.c
9079         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9080         * posix/spawn_faction_addclose.c
9081         (posix_spawn_file_actions_addclose): Likewise.
9082         * posix/spawn_faction_adddup2.c
9083         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9084         second file descriptor.
9085         * posix/spawn_valid_fd.c: New file.
9086         * posix/tst-posix_spawn-fd.c: New file.
9087         * posix/Makefile (routines): Add spawn_valid_fd.
9088         (tests): Add tst-posix_spawn-fd.
9090 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9092         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9093         (do_test): Limit the number of arenas, so that we can use fewer
9094         outer threads.  Limit timeout to 3 seconds, in preparation for a
9095         larger TIMEOUT value.
9097 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9099         [BZ #19674]
9100         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9101         sign in overflowing and underflowing results when overflow or
9102         underflow is detected early.  Include sign in result before rather
9103         than after scaling.
9105         [BZ #19603]
9106         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9107         (__ieee754_remainderl): Adjust sign of integer version of low part
9108         when taking absolute value of high part.
9109         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9110         * math/libm-test.inc (remainder_test_data): Add another test.
9111         (remquo_test_data): Likewise.
9113 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9115         [BZ #19602]
9116         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9117         equal high parts and both low parts zero specially.
9118         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9119         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9120         Add test-fmodl-ldbl-128ibm.
9122         [BZ #19595]
9123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9124         common logic for all cases of shifting subnormal results.  Do not
9125         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9126         exponent to ldbl_insert_mantissa in subnormal case.
9128         [BZ #19594]
9129         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9130         on high and low parts then adjust result and use
9131         ldbl_canonicalize_int if needed.
9133         [BZ #19593]
9134         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9135         on high part and __floor or __ceil on low part then use
9136         ldbl_canonicalize_int if needed.
9138         [BZ #19592]
9139         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9140         high and low parts then use ldbl_canonicalize_int if needed.
9142         [BZ #17899]
9143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9144         New function.
9145         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9146         on high and low parts then use ldbl_canonicalize_int if needed.
9148 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9150         * configure: Regenerated.
9152         * po/libc.pot: Regenerated.
9154         * po/be.po: Updated translation.
9155         * po/bg.po: Likewise.
9156         * po/ca.po: Likewise.
9157         * po/cs.po: Likewise.
9158         * po/da.po: Likewise.
9159         * po/el.po: Likewise.
9160         * po/eo.po: Likewise.
9161         * po/es.po: Likewise.
9162         * po/fi.po: Likewise.
9163         * po/fr.po: Likewise.
9164         * po/gl.po: Likewise.
9165         * po/hr.po: Likewise.
9166         * po/hu.po: Likewise.
9167         * po/ia.po: Likewise.
9168         * po/id.po: Likewise.
9169         * po/it.po: Likewise.
9170         * po/ja.po: Likewise.
9171         * po/lt.po: Likewise.
9172         * po/nb.po: Likewise.
9173         * po/nl.po: Likewise.
9174         * po/pt_BR.po: Likewise.
9175         * po/rw.po: Likewise.
9176         * po/sk.po: Likewise.
9177         * po/sl.po: Likewise.
9178         * po/sv.po: Likewise.
9179         * po/tr.po: Likewise.
9180         * po/zh_CN.po: Likewise.
9181         * po/zh_TW.po: Likewise.
9183         * version.h (RELEAES): Set to "development".
9184         (VERSION): Set to 2.23.90.
9186         * version.h (RELEASE): Set to "stable".
9187         (VERSION): Set to 2.23.
9188         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9190         * NEWS: Updated fixed bugs.
9192 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9193             Wilco Dijkstra  <wdijkstr@arm.com>
9195         [BZ #19462]
9196         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9197         (_STRING_INLINE_unaligned): This.
9198         * include/string.h: Include <string_private.h>.
9199         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9200         _STRING_INLINE_unaligned.
9201         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9202         (_STRING_INLINE_unaligned): New.
9203         * sysdeps/aarch64/string_private.h: New file.
9204         * sysdeps/generic/string_private.h: Likewise.
9205         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9206         * sysdeps/s390/string_private.h: Likewise.
9207         * sysdeps/x86/string_private.h: Likewise.
9208         * sysdeps/m68k/m680x0/m68020/bits/string.h
9209         (_STRING_ARCH_unaligned): Renamed to ...
9210         (_STRING_INLINE_unaligned): This.
9211         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9212         to ...
9213         (_STRING_INLINE_unaligned): This.
9214         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9215         to ...
9216         (_STRING_INLINE_unaligned): This.
9217         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9218         to ...
9219         (_STRING_INLINE_unaligned): This.
9221 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9222             H.J. Lu  <hongjiu.lu@intel.com>
9224         [BZ #19590]
9225         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9226         relocation.
9228 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9230         [BZ #18665]
9231         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9232         *herrno_p.
9233         (gaih_getanswer): Document functional behviour. Return tryagain
9234         if any result is tryagain.
9235         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9236         when freed.
9237         * resolv/res_send.c: Add copyright text.
9238         (__libc_res_nsend): Document that MAXPACKET is expected.
9239         (send_vc): Document. Remove buffer reuse.
9240         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9241         size of the buffer. Add Dprint for truncated UDP buffer.
9243 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9245         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9246         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9247         * INSTALL: Regenerate.
9249 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9250             Jonathan Wakely  <jwakely@redhat.com>
9251             Carlos O'Donell  <carlos@redhat.com>
9253         [BZ 19439]
9254         * math/Makefile (tests): Add test-math-isinff.
9255         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9256         * math/bits/mathcalls.h [__USE_MISC]: Use
9257         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9258         functions not in C++11 and which don't conflict e.g. isinff,
9259         isinfl etc.
9260         * math/test-math-isinff.cc: New file.
9262 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9264         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9266 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9268         [BZ #19529]
9269         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9271 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9273         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9275 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9277         [BZ #19550]
9278         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9279         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9280         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9281         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9282         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9283         New syscall entry.
9284         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9285         New syscall entry.
9286         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9287         syscall entry.
9289 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9291         [BZ #18240]
9292         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9293         unsigned int wraparound.
9295 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9297         [BZ #18240]
9298         * misc/bug18240.c: New test.
9299         * misc/Makefile (tests): Add it.
9301 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9302             Joseph Myers  <joseph@codesourcery.com>
9304         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9305         load in branch delay slot when less than a word of input left.
9307 2016-01-27  Andreas Schwab  <schwab@suse.de>
9309         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9310         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9311         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9312         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9314 2016-01-26  David S. Miller  <davem@davemloft.net>
9316         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9318 2016-01-25  David S. Miller  <davem@davemloft.net>
9320         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9321         __sqrtl_finite.
9322         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9323         instead using versioned_symbol.
9324         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9325         of entries.
9327         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9328         __sqrtl_finite to GLIBC_2.23
9330 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9332         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9334 2016-01-25  Andreas Schwab  <schwab@suse.de>
9336         [BZ #17514]
9337         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9338         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9339         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9340         * nptl/tst-mutex-errorcheck.c: New file.
9342 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9344         [BZ #18560]
9345         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9346         (IPCOP_semop): Likewise.
9347         (IPCOP_semget): Likewise.
9348         (IPCOP_semctl): Likewise.
9349         (IPCOP_msgsnd): Likewise.
9350         (IPCOP_msgrcv): Likewise.
9351         (IPCOP_msgget): Likewise.
9352         (IPCOP_msgctl): Likewise.
9353         (IPCOP_shmat): Likewise.
9354         (IPCOP_shmdt): Likewise.
9355         (IPCOP_shmget): Likewise.
9356         (IPCOP_shmctl): Likewise.
9358 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9360         * string/tst-endian.c: Include <libc-internal.h>.
9361         (do_test): Ignore tautological-compare warnings around
9362         "htobeXX (beXXtoh (i)) != i" and
9363         "htoleXX (leXXtoh (i)) != i" if-statements.
9365 2016-01-24  David S. Miller  <davem@davemloft.net>
9367         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9368         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9369         alias.
9370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9371         __sqrtl_finite.
9373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9375 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9377         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9378         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9379         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9381 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9383         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9384         (thread_func): Use new function to simplify barrier check.
9385         (do_test): Use new function to simplify checking barrier exit
9386         code, and actually join the child thread.
9388 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9390         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9391         semicolon.
9392         (__libc_tend): Likewise.
9393         (__libc_tabort): Likewise.
9395 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9397         * sysdeps/nios2/libm-test-ulps: Update.
9398         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9399         (__gtsf2): Likewise.
9400         (__unorddf2): Likewise.
9401         (__unordsf2): Likewise.
9402         (__ledf2): Likewise.
9404 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9406         * nis/nis_table.c (__follow_path): Disable diagnostic for
9407         uninitialized variable that is a false positive for gcc 4.7.
9408         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9410 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9412         * sysdeps/nacl/lowlevellock-futex.h
9413         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9414         Always evaluate PRIVATE argument.
9416 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9418         [BZ #19490]
9419         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9420         (pthread_cond_broadcast): Use ENTRY/END
9421         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9422         (pthread_cond_signal): Likewise.
9423         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9424         Likewise.
9425         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9426         Likewise.
9427         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9428         Likewise.
9430 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9432         * sysdeps/ieee754/dbl-64/s_finite.c
9433         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9434         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9435         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9436         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9437         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9440         (__gtsf2): Add as optional for libc.so.
9441         (__unordsf2): Likewise.
9442         (__signbit): Remove for libc.so.
9443         (__signbitl): Likewise.
9445 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9447         * iconvdata/bug-iconv11.c (test_ibm93x):
9448         Use %zu printf format specifier for size_t argument.
9450 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9452         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9453         already-recorded ulps.
9454         * sysdeps/arm/libm-test-ulps: Regenerated.
9455         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9456         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9457         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9459 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9460             Paul Pluzhnikov  <ppluzhnikov@google.com>
9462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9463         assembler not supporting AVX-512.
9465 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9467         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9469 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9471         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9472         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9474         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9476         * sysdeps/arm/libm-test-ulps: Regenerated.
9478 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9480         [BZ #19451]
9481         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9483 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9485         [BZ #19486]
9486         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9487         * sysdeps/generic/fix-fp-int-convert-overflow.h
9488         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9489         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9490         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9491         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9492         Likewise.
9493         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9494         Avoid conversions to long int where inexact exceptions
9495         could be raised.
9496         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9497         Likewise.
9498         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9499         Avoid conversions to long long int where inexact exceptions
9500         could be raised.
9501         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9502         Likewise.
9504 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9506         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9507         * configure: Regenerated.
9509 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9511         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9513 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9515         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9516         outside of comment.
9518 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9520         * nptl/tst-barrier1.c: Add description on first line.
9521         * nptl/tst-barrier2.c: Likewise.
9522         * nptl/tst-barrier3.c: Likewise.
9523         * nptl/tst-barrier4.c: Likewise.
9524         * nptl/tst-barrier5.c: Likewise.
9526 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9528         [BZ #18868]
9529         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9531 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9535         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9536         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9537         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9538         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9540         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9542         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9545 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9547         [BZ #13065]
9548         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9549         new implementation.
9550         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9551         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9552         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9553         (BARRIER_IN_THRESHOLD): New macro.
9554         * nptl/pthread_barrierattr_setpshared.c
9555         (pthread_barrierattr_setpshared): Clean up.
9556         * nptl/tst-barrier4.c: Correct comment.
9557         * nptl/tst-barrier5.c: New file.
9558         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9559         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9560         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9561         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9562         * nptl/lowlevelbarrier.sym: Remove.
9563         * nptl/DESIGN-barrier.txt: Remove.
9564         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9565         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9566         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9567         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9568         error.
9569         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9570         implementation.
9572 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9574         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9575         (do_child): Mask SIGRTMIN while thr is running.
9577 2016-01-15  Martin Sebor  <msebor@redhat.com>
9579         [BZ #19432]
9580         * iconvdata/Makefile: Add bug-iconv11.
9581         * iconvdata/bug-iconv11.c: New test.
9582         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9583         * iconvdata/ibm933.c: Same.
9584         * iconvdata/ibm935.c: Same.
9585         * iconvdata/ibm937.c: Same.
9586         * iconvdata/ibm939.c: Same.
9588 2016-01-15  Martin Sebor  <msebor@redhat.com>
9590         [BZ #19443]
9591         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9592         [DEBUG] (_ufc_set_bits): Declare used.
9593         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9594         [DEBUG] (print_all): Declare used.
9595         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9596         operands of the ternary ?: expression to target type.
9597         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9598         calling the undeclared abort.
9599         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9601 2016-01-15  Martin Sebor  <msebor@redhat.com>
9603         [BZ #18755]
9604         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9605         warnings.
9606         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9607         (__gai_create_helper_thread): Same.
9608         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9609         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9610         to suppress -Wmaybe-uninitialized warnings.
9612 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9614         [BZ #19465]
9615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9616         inside if.
9617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9618         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9619         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9621 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9623         [BZ #19466]
9624         * time/tst-mktime2.c (time_t_max): Removed.
9625         (time_t_min): Likewise.
9626         (TYPE_SIGNED): New.
9627         (TYPE_MINIMUM): Likewise.
9628         (TYPE_MAXIMUM): Likewise.
9629         (TIME_T_MIN): Likewise.
9630         (TIME_T_MAX): Likewise.
9631         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9632         and TIME_T_MIN.
9633         (do_test): Likewise.
9635 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9637         [BZ #19467]
9638         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9639         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9641 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9643         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9645 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9647         * benchtests/Makefile (PYTHON): Define.
9648         (bench-func): Use $(PYTHON) to run python scripts.
9649         ($(objpfx)bench-%.c): Likewise.
9651 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9653         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9654         leading slash when `file_name' is "/".
9656 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9658         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9659         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9660         Likewise.
9661         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9662         Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9664         Likewise.
9665         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9666         enum constant and macro.
9667         (PTRACE_SETSIGMASK): Likewise.
9668         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9669         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9670         (PTRACE_GETSIGMASK): Likewise.
9671         (PTRACE_SETSIGMASK): Likewise.
9672         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9673         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9674         Likewise.
9675         (PTRACE_SETSIGMASK): Likewise.
9676         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9677         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9678         (PTRACE_GETSIGMASK): Likewise.
9679         (PTRACE_SETSIGMASK): Likewise.
9680         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9681         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9682         Likewise.
9683         (PTRACE_SETSIGMASK): Likewise.
9684         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9685         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9686         Likewise.
9687         (PTRACE_SETSIGMASK): Likewise.
9688         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9689         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9690         Likewise.
9691         (PTRACE_SETSIGMASK): Likewise.
9692         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9694 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9695             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9697         [BZ #19439]
9698         * math/bits/mathcalls.h
9699         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9700         prototype.
9701         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9703 2016-01-11  Andreas Schwab  <schwab@suse.de>
9705         [BZ #19253]
9706         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9707         cache when TZDEFRULES was used.
9708         * time/tst-tzname.c: New file.
9709         * time/Makefile (test): Add tst-tzname.
9710         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9711         * timezone/Makefile (test-zones): Add $(posixrules-file).
9712         ($(testdata)/$(posixrules-file)): New rule.
9714 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9716         Fix doc quoting problems with Texinfo 5
9717         Without this change, in the info file output, Texinfo 5 quotes code
9718         in text with undirected single quotes 'like this' and generates
9719         code examples that with many PDF readers cannot be cut out of PDFs
9720         and pasted into code.
9721         * manual/libc.texinfo: Configure the libc manual like the GNU
9722         Emacs manual, by using @documentencoding and setting
9723         txicodequoteundirected and txicodequotebacktick.  This way,
9724         Texinfo 5 quotes code in text with directed single quotes ‘like
9725         this’ and produces examples that can be cut out of PDFs.  This
9726         change causes Texinfo 5 to generate info files that contain UTF-8
9727         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9728         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9730 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9732         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9733         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9734         barriers to their respective compiler built-ins.
9735         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9736         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9737         * sysdeps/powerpc/sysdep.h: Likewise.
9738         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9739         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9740         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9742 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9744         * scripts/config.guess: Revert previous shebang change.
9745         * scripts/config.sub: Likewise.
9746         * scripts/mkinstalldirs: Likewise.
9748 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9750         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9751         PPC_FEATURE2_HAS_IEEE128.
9752         * sysdeps/powerpc/dl-procinfo.c:
9753         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9755 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9757         [BZ #19415]
9758         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9759         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9760         (_dl_lookup_address): Rewrite using function resolver trampoline.
9761         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9762         two bits in address.
9764 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9766         * longlong.h: Change !__SHMEDIA__ to
9767         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9768         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9770 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9771             Joseph Myers  <joseph@codesourcery.com>
9772             Mark Shinwell  <shinwell@codesourcery.com>
9773             Andrew Stubbs  <ams@codesourcery.com>
9774             Rich Felker <dalias@libc.org>
9776         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9778 2016-01-07  Richard Henderson  <rth@redhat.com>
9780         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9782 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9784         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9785         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9786         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9787         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9788         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9790 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9791             Joseph Myers  <joseph@codesourcery.com>
9793         * timezone/private.h: Update from tzcode 2015g.
9794         * timezone/tzfile.h: Likewise.
9795         * timezone/tzselect.ksh: Likewise.
9796         * timezone/zdump.c: Likewise.
9797         * timezone/zic.c: Likewise.
9798         * timezone/ialloc.c: Remove file.
9799         * timezone/scheck.c: Likewise.
9800         * timezone/Makefile (extra-objs): Remove variable.
9801         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9802         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9803         -Wno-maybe-uninitialized.
9804         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9805         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9806         (CFLAGS-ialloc.c): Remove variable.
9807         (CFLAGS-scheck.c): Likewise.
9808         * timezone/README: Update list of files from tzcode.
9810 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9812         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9813         instead of __fxprintf when _LIBC is undefined.
9815 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9817         * catgets/test-gencat.sh: Remove space after shebang.
9818         * conform/GlibcConform.pm: Likewise.
9819         * conform/check-header-lists.sh: Likewise.
9820         * conform/conformtest.pl: Likewise.
9821         * conform/linknamespace.pl: Likewise.
9822         * conform/list-header-symbols.pl: Likewise.
9823         * debug/catchsegv.sh: Likewise.
9824         * elf/genrtldtbl.awk: Likewise.
9825         * elf/tst-pathopt.sh: Likewise.
9826         * elf/tst-rtld-load-self.sh: Likewise.
9827         * grp/tst_fgetgrent.sh: Likewise.
9828         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9829         * iconvdata/gen-8bit-gap.sh: Likewise.
9830         * iconvdata/gen-8bit.sh: Likewise.
9831         * iconvdata/run-iconv-test.sh: Likewise.
9832         * intl/tst-gettext.sh: Likewise.
9833         * intl/tst-gettext2.sh: Likewise.
9834         * intl/tst-gettext4.sh: Likewise.
9835         * intl/tst-gettext6.sh: Likewise.
9836         * intl/tst-translit.sh: Likewise.
9837         * io/ftwtest-sh: Likewise.
9838         * libio/test-freopen.sh: Likewise.
9839         * locale/gen-translit.pl: Likewise.
9840         * malloc/tst-mtrace.sh: Likewise.
9841         * manual/check-safety.sh: Likewise.
9842         * manual/libc-texinfo.sh: Likewise.
9843         * manual/tsort.awk: Likewise.
9844         * manual/xtract-typefun.awk: Likewise.
9845         * nptl/tst-cancel-wrappers.sh: Likewise.
9846         * nptl/tst-tls6.sh: Likewise.
9847         * posix/globtest.sh: Likewise.
9848         * posix/tst-getconf.sh: Likewise.
9849         * posix/wordexp-tst.sh: Likewise.
9850         * scripts/check-c++-types.sh: Likewise.
9851         * scripts/check-local-headers.sh: Likewise.
9852         * scripts/config.guess: Likewise.
9853         * scripts/config.sub: Likewise.
9854         * scripts/cpp: Likewise.
9855         * scripts/cross-test-ssh.sh: Likewise.
9856         * scripts/documented.sh: Likewise.
9857         * scripts/evaluate-test.sh: Likewise.
9858         * scripts/gen-libc-abis: Likewise.
9859         * scripts/gen-sorted.awk: Likewise.
9860         * scripts/list-fixed-bugs.py: Likewise.
9861         * scripts/merge-test-results.sh: Likewise.
9862         * scripts/mkinstalldirs: Likewise.
9863         * scripts/rellns-sh: Likewise.
9864         * scripts/test-installation.pl: Likewise.
9865         * scripts/update-copyrights: Likewise.
9866         * stdio-common/tst-printf.sh: Likewise.
9867         * stdio-common/tst-unbputc.sh: Likewise.
9868         * stdlib/tst-fmtmsg.sh: Likewise.
9869         * stdlib/tst-setcontext3.sh: Likewise.
9870         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9871         * sysdeps/unix/make-syscalls.sh: Likewise.
9873 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9875         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9876         asm stw with atomic_exchange_rel.  Add explanatory comment.
9877         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9878         Likewise.
9880 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9882         [BZ #19122]
9883         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9884         * sysdeps/generic/dl-unistd.h: New file.
9885         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9887 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9889          [BZ #19122]
9890          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9891          * sysdeps/generic/dl-mman.h: New file.
9892          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9894 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9896         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9897         trailing whitespace removed.
9898         * scripts/config.guess: Update to version 2016-01-01.
9899         * scripts/config.sub: Update to version 2016-01-01.
9900         * scripts/move-if-change: Update from gnulib.
9902 2016-01-04  Anton Blanchard  <anton@samba.org>
9904         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9905         for array indices.
9906         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9908 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9910         * NEWS: Update copyright dates.
9911         * catgets/gencat.c (print_version): Likewise.
9912         * csu/version.c (banner): Likewise.
9913         * debug/catchsegv.sh: Likewise.
9914         * debug/pcprofiledump.c (print_version): Likewise.
9915         * debug/xtrace.sh (do_version): Likewise.
9916         * elf/ldconfig.c (print_version): Likewise.
9917         * elf/ldd.bash.in: Likewise.
9918         * elf/pldd.c (print_version): Likewise.
9919         * elf/sotruss.sh: Likewise.
9920         * elf/sprof.c (print_version): Likewise.
9921         * iconv/iconv_prog.c (print_version): Likewise.
9922         * iconv/iconvconfig.c (print_version): Likewise.
9923         * locale/programs/locale.c (print_version): Likewise.
9924         * locale/programs/localedef.c (print_version): Likewise.
9925         * login/programs/pt_chown.c (print_version): Likewise.
9926         * malloc/memusage.sh (do_version): Likewise.
9927         * malloc/memusagestat.c (print_version): Likewise.
9928         * malloc/mtrace.pl: Likewise.
9929         * manual/libc.texinfo: Likewise.
9930         * nptl/version.c (banner): Likewise.
9931         * nscd/nscd.c (print_version): Likewise.
9932         * nss/getent.c (print_version): Likewise.
9933         * nss/makedb.c (print_version): Likewise.
9934         * posix/getconf.c (main): Likewise.
9935         * scripts/test-installation.pl: Likewise.
9936         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9938         * All files with FSF copyright notices: Update copyright dates
9939         using scripts/update-copyrights.
9940         * intl/plural.c: Regenerated.
9941         * locale/programs/charmap-kw.h: Likewise.
9942         * locale/programs/locfile-kw.h: Likewise.
9944 2016-01-02  Helge Deller  <deller@gmx.de>
9946         [BZ #19285]
9947         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9948         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9949         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9950         (MADV_xxK_PAGES): Remove.
9952 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9954         [BZ #15421]
9955         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9956         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9957         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9958         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9960 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9962         [BZ #19408]
9963         * sysdeps/unix/sysv/linux/personality.c: New file.
9964         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9965         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9966         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9967         (sysdep_routines): Add personality.
9968         (tests): Add tst-personality.
9969         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9971         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9972         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9973         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9974         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9975         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9976         Likewise.
9977         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9978         Likewise.
9979         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9980         Likewise.
9981         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9982         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9983         Likewise.
9985 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9987         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9988         (PATH_ARM_SYSTYPE): Remove.
9989         (PATH_CPUINFO): Likewise.
9990         (IO_BASE_FOOTBRIDGE): Likewise.
9991         (IO_SHIFT_FOOTBRIDGE): Likewise.
9992         (struct platform): Likewise.
9993         (init_iosys): Remove compatibility code for 2.4 kernels.
9994         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9996 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9998         * malloc/tst-malloc-thread-fail.c: New file.
9999         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10000         (tst-malloc-thread-fail): Link against libpthread.
10002 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10004         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10005         (get_parser): New function.
10006         (main): New function.
10008 2015-12-29  Rob Wu  <rob@robwu.nl>
10010         [BZ #19369]
10011         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10013 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10015         [BZ #19270]
10016         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10018 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10020         [BZ #15421]
10021         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10023 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10025         [BZ #13690]
10026         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10027         after releasing it.
10028         (__lll_robust_unlock): Likewise.
10029         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10030         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10031         (lll_robust_unlock): Likewise.
10032         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10033         Prevent warnings in callers.
10035 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10037         * malloc/arena.c (list_lock): Update comment.
10039 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10041         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10042         __parse_hwcap_and_convert_at_platform to libc.a.
10044 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10046         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10047         platform and feature support for POWER9.
10048         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10049         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10050         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10051         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10052         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10053         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10054         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10055         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10057 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10059         Harmonize generic stdio-lock support with nptl
10061         This fixes build when _IO_funlockfile is a macro, fixes build where
10062         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10063         stack unwind.
10065         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10066         _IO_release_lock ): Use cleanup attribute on new
10067         _IO_acquire_lock_file variable instead of assuming that
10068         _IO_release_lock will be called.
10069         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10070         _IO_acquire_lock_needs_exceptions_enabled.
10071         (_IO_acquire_lock_clear_flags2): New macro.
10073 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10075         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10077 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10079         [BZ #19182]
10080         * malloc/arena.c (list_lock): Document lock ordering requirements.
10081         (free_list_lock): New lock.
10082         (ptmalloc_lock_all): Comment on free_list_lock.
10083         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10084         (detach_arena): Update comment.  free_list_lock is now needed.
10085         (_int_new_arena): Use free_list_lock around detach_arena call.
10086         Acquire arena lock after list_lock.  Add comment, including FIXME
10087         about incorrect synchronization.
10088         (get_free_list): Switch to free_list_lock.
10089         (reused_arena): Acquire free_list_lock around detach_arena call
10090         and attached threads counter update.  Add two FIXMEs about
10091         incorrect synchronization.
10092         (arena_thread_freeres): Switch to free_list_lock.
10093         * malloc/malloc.c (struct malloc_state): Update comments to
10094         mention free_list_lock.
10096 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10098         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10099         Remove functions.
10100         (sloww, sloww1): Accept argument to offset quadrant.
10101         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10102         quadrant.
10103         (__sin, __cos): Consolidate common code into new functions.
10104         (reduce_sincos_1, do_sincos_1): New functions.
10105         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10108         code to new functions.
10109         (reduce_sincos_2, do_sincos_2): New functions.
10110         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10113         common code for sincos.
10114         (__cos) [!IN_SINCOS]: Likewise.
10115         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10116         New function.
10117         (__sincos): Use it.
10119 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10121         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10122         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10123         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10125 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10127         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10130         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10131         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10132         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10133         index_Prefer_No_VZEROUPPER): New feature.
10134         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10135         Prefer_No_VZEROUPPER for Knights Landing.
10137 015-12-18  Torvald Riegel  <triegel@redhat.com>
10139         * math/atest-exp2.c (mp_exp_m1): Remove.
10141 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10143         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10144         syscalls.
10145         (__SYSCALL0): New macro.
10146         (__SYSCALL1): Likewise.
10147         (__SYSCALL2): Likewise.
10148         (__SYSCALL3): Likewise.
10149         (__SYSCALL4): Likewise.
10150         (__SYSCALL5): Likewise.
10151         (__SYSCALL6): Likewise.
10152         (__SYSCALL_CONCAT_X): Likewise.
10153         (__SYSCALL_CONCAT): Likewise.
10154         (__SYSCALL_DIST): Likewise.
10155         (__SYSCALL_CALL): Likewise.
10157 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10159         [BZ #19363]
10160         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10162 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10164         [BZ #19375]
10165         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10166         negative subnormals.
10168 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10171         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10172         (INTERNAL_SYSCALL_NCS): Use it.
10173         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10175 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10177         [BZ #19243]
10178         * malloc/arena.c (get_free_list): Remove assert and adjust
10179         reference count handling.  Add comment about reused_arena
10180         interaction.
10181         (reused_arena): Add comments abount get_free_list interaction.
10182         * malloc/tst-malloc-thread-exit.c: New file.
10183         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10184         (tst-malloc-thread-exit): Link against libpthread.
10186 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10188         [BZ #19367]
10189         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10190         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10191         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10192         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10193         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10195 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10197         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10198         Silvermont optimizations for Knights Landing.
10200 2015-12-15  Andreas Schwab  <schwab@suse.de>
10202         [BZ #17197]
10203         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10204         immediately after emitting SI.
10205         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10206         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10207         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10208         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10209         * iconvdata/bug-iconv10.c: New file.
10210         * iconvdata/Makefile (tests): Add bug-iconv10.
10211         ($(objpfx)bug-iconv10.out): New rule.
10213 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10215         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10216         aliasing violation.
10218 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10220         [BZ #18472]
10221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10222         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10223         conditionals for them.
10224         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10225         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10227         sys/kdaemon.h.
10228         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10229         compat-only syscall, obsoleted in glibc 2.23.
10230         (create_module): Likewise.
10231         (get_kernel_syms): Likewise.
10232         (query_module): Likewise.
10233         (uselib): Likewise.
10234         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10236 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10238         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10239         <linux/version.h>.
10240         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10241         conditional code.
10242         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10243         and ioshift_name initialization.
10245 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10247         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10248         Fix indentation.
10250 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10254 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10256         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10258 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10259             Jakub Wilk  <jwilk@debian.org>
10261         [BZ #19347]
10262         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10263         to change the group of the device to the tty group.
10265 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10267         Split large string section; add truncation advice
10268         * manual/examples/strncat.c: Remove.
10269         This example was misleading, as the code would have undefined
10270         behavior if "hello" was longer than SIZE.  Anyway, the manual
10271         shouldn't encourage strncpy+strncat for this sort of thing.
10272         * manual/string.texi (Copying Strings and Arrays): Split into
10273         three sections Copying Strings and Arrays, Concatenating Strings,
10274         and Truncating Strings, as this section was way too long.  All
10275         cross-referenced changed.  Add advice about string-truncation
10276         functions.  Remove misleading strncat example.
10278 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10280         * manual/nss.texi (NSS Modules Interface): Document
10281         NSS_STATUS_NOTFOUND and SUCCESS.
10283 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10285         [BZ 18568]
10286         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10287         201505L, for Unicode 8.
10289 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10291         * locale/C-translit.h: Regenerate.
10293 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10295         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10296         and U+0153.
10298 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10300         [BZ #19351]
10301         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10302         expanding log(1+z), compare z rather than its square with epsilon
10303         to determine when to avoid evaluating the expansion.
10305         [BZ #19350]
10306         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10307         Increase overflow threshold.
10309         [BZ #19349]
10310         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10311         when small.
10313         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10314         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10315         New macro.
10316         [__LINUX_KERNEL_VERSION >= 0x040300]
10317         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10319         Likewise.
10320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10321         Likewise.
10322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10323         Likewise.
10324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10325         Likewise.
10326         [__LINUX_KERNEL_VERSION >= 0x040300]
10327         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10328         [__LINUX_KERNEL_VERSION >= 0x040300]
10329         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10330         [__LINUX_KERNEL_VERSION >= 0x040300]
10331         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10332         [__LINUX_KERNEL_VERSION >= 0x040300]
10333         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10334         [__LINUX_KERNEL_VERSION >= 0x040300]
10335         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10337         Likewise.
10338         [__LINUX_KERNEL_VERSION >= 0x040300]
10339         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10340         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10341         Likewise.
10342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10343         Likewise.
10344         [__LINUX_KERNEL_VERSION >= 0x040300]
10345         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10347         Likewise.
10348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10352         Likewise.
10353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10354         Likewise.
10355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10356         Likewise.
10357         [__LINUX_KERNEL_VERSION >= 0x040300]
10358         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10360         Likewise.
10361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10362         Likewise.
10363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10364         Likewise.
10365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10366         Likewise.
10367         [__LINUX_KERNEL_VERSION >= 0x040300]
10368         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10369         [__LINUX_KERNEL_VERSION >= 0x040300]
10370         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10371         [__LINUX_KERNEL_VERSION >= 0x040300]
10372         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10373         [__LINUX_KERNEL_VERSION >= 0x040300]
10374         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10375         [__LINUX_KERNEL_VERSION >= 0x040300]
10376         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10378         Likewise.
10379         [__LINUX_KERNEL_VERSION >= 0x040300]
10380         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10382         Likewise.
10383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10384         Likewise.
10385         [__LINUX_KERNEL_VERSION >= 0x040300]
10386         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10388         Likewise.
10389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10392         (__ASSUME_SOCKET_SYSCALL): Likewise.
10393         (__ASSUME_BIND_SYSCALL): Likewise.
10394         (__ASSUME_CONNECT_SYSCALL): Likewise.
10395         (__ASSUME_LISTEN_SYSCALL): Likewise.
10396         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10397         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10398         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10399         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10400         (__ASSUME_SEND_SYSCALL): Likewise.
10401         (__ASSUME_SENDTO_SYSCALL): Likewise.
10402         (__ASSUME_RECV_SYSCALL): Likewise.
10403         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10404         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10405         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10406         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10407         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10408         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10409         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10410         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10411         Likewise.
10412         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10413         Likewise.
10414         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10415         Likewise.
10416         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10417         Likewise.
10418         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10419         Likewise.
10420         [__LINUX_KERNEL_VERSION >= 0x020625]
10421         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10422         [__LINUX_KERNEL_VERSION >= 0x020625]
10423         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10424         [__LINUX_KERNEL_VERSION >= 0x020625]
10425         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10426         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10427         Likewise.
10428         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10429         Likewise.
10430         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10431         Likewise.
10432         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10433         Likewise.
10434         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10435         Likewise.
10436         [__LINUX_KERNEL_VERSION >= 0x020625]
10437         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10438         [__LINUX_KERNEL_VERSION >= 0x020625]
10439         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10440         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10441         Likewise.
10442         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10443         Likewise.
10445 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10447         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10448         record the current if the current ABI and CPU support the FP64
10449         extension.
10450         (has-modd-spreg): Define to record the current if the current ABI and
10451         CPU support 32-bit floating point values in odd FPU registers.
10452         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10453         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10454         $(has-modd-spreg) equals yes.
10455         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10456         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10457         $(has-modd-spreg) equal yes.
10459 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10461         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10462         basename.
10464 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10466         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10467         (bench-string): ... here.
10468         (bench): Add bench-string.
10469         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10470         to *-benchset to reflect what they are.
10471         (benchset): Adjust.
10473         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10474         cos-inputs.
10476 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10478         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10479         __attribute__ ((__simd__)) for vector math function declarations.
10481 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10483         Fix typo in strncat, wcsncat manual entries
10484         * manual/string.texi (Copying and Concatenation): Fix typos in
10485         sample implementations of strncat and wcsncat, by having them use
10486         the old value of the destination length, not the new one.
10488 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10490         [BZ #16961]
10491         [BZ #16962]
10492         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10493         string on the stack for strtod.
10494         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10495         a string on the stack for strtof.
10496         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10497         constructing a string on the stack for strtold.
10498         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10499         __strtold_nan to GLIBC_PRIVATE.
10500         * math/test-nan-overflow.c: New file.
10501         * math/test-nan-payload.c: Likewise.
10502         * math/Makefile (tests): Add test-nan-overflow and
10503         test-nan-payload.
10505 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10507         Consistency about byte vs character in string.texi
10508         * manual/string.texi (String and Array Utilities):
10509         Distinguish more carefully among bytes, multibyte characters,
10510         and wide characters.  Use "byte" when talking about C 'char',
10511         to distinguish it more clearly from multibyte characters.
10512         Say "wide character" or "multibyte character" instead of
10513         "character", when a wide or multibyte character is intended.
10514         Similarly for "multibyte string" versus "string".
10515         Define these terms more carefully.
10517 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10519         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10520         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10521         Likewise.
10522         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10523         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10524         * sysdeps/sh/math_private.h: New file.
10525         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10526         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10527         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10528         long double function name.
10529         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10530         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10531         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10533         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10535         Remove __finitel, __isinfl, and __isnanl.
10536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10537         Likewise.
10538         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10540         Remove __finitel.
10541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10542         Likewise.
10543         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10545 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10547         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10548         installed libmvec_nonshared.a.
10550 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10552         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10553         (sysdep_routines): Likewise.
10554         (sysdep-rtld-routines): Likewise.
10555         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10556         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10557         * sysdeps/powerpc/Versions: Added new
10558         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10559         * sysdeps/powerpc/hwcapinfo.c: New file.
10560         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10561         and parse hwcap, hwcap2 and platform number information.
10562         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10563         to store HWCAP+HWCAP2 and platform number.
10564         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10565         for HWCAP+HWCAP2 and platform number in the TCB.
10566         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10567         the HWCAP, HWCAP2 and platform number in the TCB.
10568         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10569         (TLS_INIT_TP): Included calls to add the hwcap and
10570         at_platform values in the TCB in TP initialization.
10571         (TLS_DEFINE_INIT_TP): Likewise.
10572         (THREAD_GET_HWCAP): New macro.
10573         (THREAD_SET_HWCAP): Likewise.
10574         (THREAD_GET_AT_PLATFORM): Likewise.
10575         (THREAD_SET_AT_PLATFORM): Likewise.
10576         * sysdeps/powerpc/powerpc32/dl-machine.h:
10577         (dl_platform_init): New function that calls
10578         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10579         powerpc32.
10580         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10581         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10582         this functionality, static linking case.
10583         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10584         linking case.
10585         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10586         __parse_hwcap_and_convert_at_platform for the static linking case.
10587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10588         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10589         ABI list for GLIBC 2.23.
10590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10591         Likewise.
10592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10593         Likewise.
10595 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10597         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10598         * configure: Regenerate.
10599         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10600         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10602 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10604         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10605         * iconvdata/ibm933.c: Likewise.
10606         * iconvdata/ibm935.c: Likewise.
10607         * iconvdata/ibm937.c: Likewise.
10608         * iconvdata/ibm939.c: Likewise.
10610 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10612         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10613         pthread_join.
10614         * nptl/tst-cancel21.c (tf): Likewise.
10616 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10618         [BZ #19313]
10619         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10620         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10621         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10622         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10623         Likewise.
10624         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10625         Likewise.
10626         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10627         Likewise.
10628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10629         Likewise.
10630         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10631         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10632         unsigned long int with __CPU_MASK_TYPE.
10634 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10636         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10638 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10640         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10641         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10642         t512.x.
10643         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10645 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10647         [BZ #19214]
10648         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10649         argument to return extended model.  Update family and model
10650         with extended family and model when family == 0x0f.
10651         (init_cpu_features): Updated.
10653 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10655         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10656         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10658         * sysdeps/mach/hurd/mmap64.c: New file.
10660 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10662         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10663         rights for its main user thread in NEWTASK.
10665 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10667         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10668         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10670 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10672         [BZ #14259]
10673         * Makeconfig: Rename localedir to complocaledir.
10674         Rename inst_localedir to inst_complocaledir.
10675         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10676         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10677         * configure.ac: Use libc_cv_complocaledir.
10678         * configure: Regenerate.
10679         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10680         -DCOMPLOCALEDIR.
10681         * locale/findlocale.c: Use COMPLOCALEDIR.
10682         * locale/loadarchive.c: Likewise.
10683         * locale/programs/locale.c: Likewise.
10684         * locale/programs/localedef.c: Likewise.
10685         * locale/programs/locarchive.c: Likewise.
10686         * localedata/Makefile: Use inst_complocaledir.
10687         * sysdeps/gnu/configure: Regenerate.
10688         * sysdeps/hppa/configure: Regenerate.
10689         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10690         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10692         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10693         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10694         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10695         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10697 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10699         [BZ #19058]
10700         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10701         AS_NEEDED.
10702         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10703         workaround.
10704         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10705         libmvec-static-only-routines): Added new file.
10706         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10708 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10710         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10711         of interrupted RPC instead of restoring it.
10713         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10714         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10715         libc_hidden_def.
10716         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10717         into initialized data instead of common. Define rtld_hidden_data_def.
10718         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10719         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10720         libc_hidden_def.
10721         (if_freenameindex): Add libc_hidden_weak.
10722         (if_nameindex): Add libc_hidden_weak.
10723         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10724         __open64.
10725         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10726         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10727         * sysdeps/mach/nanosleep.c: Include <time.h>
10728         (__nanosleep): Rename to __libc_nanosleep.
10729         (__nanosleep): Add weak_alias.
10730         (nanosleep): Update alias.
10732 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10734         * stdlib/strtod_nan.c: New file.
10735         * stdlib/strtod_nan_double.h: Likewise.
10736         * stdlib/strtod_nan_float.h: Likewise.
10737         * stdlib/strtod_nan_main.c: Likewise.
10738         * stdlib/strtod_nan_narrow.h: Likewise.
10739         * stdlib/strtod_nan_wide.h: Likewise.
10740         * stdlib/strtof_nan.c: Likewise.
10741         * stdlib/strtold_nan.c: Likewise.
10742         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10743         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10744         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10745         * wcsmbs/wcstod_nan.c: Likewise.
10746         * wcsmbs/wcstof_nan.c: Likewise.
10747         * wcsmbs/wcstold_nan.c: Likewise.
10748         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10749         strtold_nan.
10750         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10751         wcstof_nan.
10752         * include/stdlib.h (__strtof_nan): Declare and use
10753         libc_hidden_proto.
10754         (__strtod_nan): Likewise.
10755         (__strtold_nan): Likewise.
10756         (__wcstof_nan): Likewise.
10757         (__wcstod_nan): Likewise.
10758         (__wcstold_nan): Likewise.
10759         * include/wchar.h (____wcstoull_l_internal): Declare.
10760         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10761         (____strtoull_l_internal): Remove declaration.
10762         (STRTOF_NAN): Define macro.
10763         (SET_MANTISSA): Remove macro.
10764         (STRTOULL): Likewise.
10765         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10766         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10767         (STRTOF_NAN): Define macro.
10768         (SET_MANTISSA): Remove macro.
10769         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10770         (SET_MANTISSA): Remove macro.
10771         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10772         macro.
10773         (SET_MANTISSA): Remove macro.
10774         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10775         macro.
10776         (SET_MANTISSA): Remove macro.
10777         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10778         (SET_MANTISSA): Remove macro.
10779         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10780         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10781         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10783         [BZ #19266]
10784         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10785         upper case and lower case letters inside NAN(), not using TOLOWER.
10786         * stdlib/tst-strtod-nan-locale-main.c: New file.
10787         * stdlib/tst-strtod-nan-locale.c: Likewise.
10788         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10789         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10790         Depend on $(gen-locales).
10791         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10792         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10793         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10794         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10795         Depend on $(gen-locales).
10796         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10798 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10800         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10802         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10804         __finitel, __isinfl, and __isnanl.
10805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10806         Likewise.
10807         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10809         __finitel.
10810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10811         Likewise.
10812         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10814 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10816         * malloc/memusage.c (me): Remove redundant getenv call.
10818 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10820         [BZ #19143]
10821         [BZ #19164]
10822         * nptl/check-cpuset.h: Remove.
10823         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10824         Remove CPU set size check.
10825         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10826         Likewise.
10827         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10828         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10829         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10830         (__pthread_setaffinity_new): Remove CPU set size check.
10831         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10832         (__kernel_cpumask_size): Remove.
10833         (__sched_setaffinity_new): Remove CPU set size check.
10834         * manual/threads.texi (Default Thread Attributes): Remove stale
10835         reference to check_cpuset_attr, determine_cpumask_size in comment.
10836         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10837         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10838         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10839         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10840         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10841         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10842         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10843         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10844         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10845         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10846         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10847         skeleton test file.
10848         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10849         tst-affinity-pid.
10851 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10853         * scripts/update-abilist.sh: New file.
10854         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10855         * Makerules (update-all-abi-%, update-all-abi)
10856         (subdir_update-all-abi): New targets.
10857         * elf/Makefile (update-all-abi): New target.
10859 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10861         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10862         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10863         (__libc_lock_define_initialized): Use it.
10864         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10865         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10866         * malloc/malloc.c (main_arena): Likewise.
10867         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10868         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10870 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10872         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10873         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10874         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10875         (PTRACE_O_MASK): Update value.
10876         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10877         New value in enum __ptrace_setoptions.
10878         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10879         (PTRACE_O_MASK): Update value.
10880         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10881         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10882         (PTRACE_O_MASK): Update value.
10883         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10884         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10885         (PTRACE_O_MASK): Update value.
10886         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10887         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10888         (PTRACE_O_MASK): Update value.
10889         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10890         New value in enum __ptrace_setoptions.
10891         (PTRACE_O_MASK): Update value.
10892         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10893         New value in enum __ptrace_setoptions.
10894         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10895         (PTRACE_O_MASK): Update value.
10897         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10898         New macro.
10899         (PACKET_AUXDATA): Likewise.
10900         (PACKET_ORIGDEV): Likewise.
10901         (PACKET_VERSION): Likewise.
10902         (PACKET_HDRLEN): Likewise.
10903         (PACKET_RESERVE): Likewise.
10904         (PACKET_TX_RING): Likewise.
10905         (PACKET_LOSS): Likewise.
10906         (PACKET_VNET_HDR): Likewise.
10907         (PACKET_TX_TIMESTAMP): Likewise.
10908         (PACKET_TIMESTAMP): Likewise.
10909         (PACKET_FANOUT): Likewise.
10910         (PACKET_TX_HAS_OFF): Likewise.
10911         (PACKET_QDISC_BYPASS): Likewise.
10912         (PACKET_ROLLOVER_STATS): Likewise.
10913         (PACKET_FANOUT_DATA): Likewise.
10914         (PACKET_MR_UNICAST): Likewise.
10916         [BZ #19242]
10917         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10918         (TOUPPER): Likewise.
10919         * stdlib/tst-strtol-locale-main.c: New file.
10920         * stdlib/tst-strtol-locale.c: Likewise.
10921         * stdlib/Makefile (tests): Add tst-strtol-locale.
10922         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10923         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10924         Depend on $(gen-locales).
10925         * wcsmbs/tst-wcstol-locale.c: New file.
10926         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10927         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10928         tr_TR.ISO-8859-9.
10929         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10930         Depend on $(gen-locales).
10932 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10934         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10935         __glibc_likely instead of __builtin_expect.  After falling back to
10936         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10937         system interface to register the code pages as occupied.
10939 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10941         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10942         [!ARM_MATH_PRIVATE_H].
10943         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10944         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10945         [!HPPA_MATH_PRIVATE_H].
10946         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10947         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10948         to [!I386_MATH_PRIVATE_H].
10949         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10950         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10951         Change guard to [!M68K_MATH_PRIVATE_H].
10952         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10953         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10954         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10955         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10956         macro.
10957         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10958         [!MIPS_MATH_PRIVATE_H].
10959         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10960         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10961         [!NIO2_MATH_PRIVATE_H].
10962         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10963         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10964         [!TILE_MATH_PRIVATE_H].
10965         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10967         [BZ #15421]
10968         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10969         initialize with 0 and define as weak alias of __signgam.
10970         * include/math.h [!_ISOMAC] (__signgam): Declare.
10971         * math/Makefile (libm-calls): Add w_lgamma_compat.
10972         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10973         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10974         test-signgam-ullong-init.
10975         (tests-static): Add test-signgam-uchar-static,
10976         test-signgam-uchar-init-static, test-signgam-uint-static,
10977         test-signgam-uint-init-static, test-signgam-ullong-static and
10978         test-signgam-ullong-init-static.
10979         (CFLAGS-test-signgam-uchar.c): New variable.
10980         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10981         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10982         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10983         (CFLAGS-test-signgam-uint.c): Likewise.
10984         (CFLAGS-test-signgam-uint-init.c): Likewise.
10985         (CFLAGS-test-signgam-uint-static.c): Likewise.
10986         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10987         (CFLAGS-test-signgam-ullong.c): Likewise.
10988         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10989         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10990         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10991         * math/Versions (libm): Add GLIBC_2.23.
10992         * math/lgamma-compat.h: New file.
10993         * math/test-signgam-main.c: Likewise.
10994         * math/test-signgam-uchar-init-static.c: Likewise.
10995         * math/test-signgam-uchar-init.c: Likewise.
10996         * math/test-signgam-uchar-static.c: Likewise.
10997         * math/test-signgam-uchar.c: Likewise.
10998         * math/test-signgam-uint-init-static.c: Likewise.
10999         * math/test-signgam-uint-init.c: Likewise.
11000         * math/test-signgam-uint-static.c: Likewise.
11001         * math/test-signgam-uint.c: Likewise.
11002         * math/test-signgam-ullong-init-static.c: Likewise.
11003         * math/test-signgam-ullong-init.c: Likewise.
11004         * math/test-signgam-ullong-static.c: Likewise.
11005         * math/test-signgam-ullong.c: Likewise.
11006         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11007         wrapper of w_lgamma_main.c.
11008         * math/w_lgamma_compat.c: New file.
11009         * math/w_lgamma_compatf.c: Likewise.
11010         * math/w_lgamma_compatl.c: Likewise.
11011         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11012         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11013         defining compatibility symbols.
11014         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11015         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11016         wrapper of w_lgammaf_main.c.
11017         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11018         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11019         defining compatibility symbols.
11020         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11021         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11022         wrapper of w_lgammal_main.c.
11023         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11024         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11025         defining compatibility symbols.
11026         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11027         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11028         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11029         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11030         <lgamma-compat.h>.
11031         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11032         (__ieee754_gamma): Define as alias.
11033         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11034         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11035         <lgamma-compat.h>.
11036         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11037         (__ieee754_gammaf): Define as alias.
11038         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11039         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11040         <lgamma-compat.h>.
11041         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11042         (__ieee754_gammal): Define as alias.
11043         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11044         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11045         <math/w_lgamma_compat.c>.
11046         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11047         Define as alias of __lgamma_compat and use in defining lgammal.
11048         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11049         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11050         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11051         (USE_AS_COMPAT): New macro.
11052         (LGAMMA_OLD_VER): Undefine and redefine.
11053         (lgammal): Do not define here.
11054         (gammal): Only define here if [GAMMA_ALIAS].
11055         * conform/linknamespace.pl (@whitelist): Remove signgam.
11056         * sysdeps/nacl/libm.abilist: Update.
11057         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11062         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11063         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11064         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11065         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11066         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11067         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11068         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11074         Likewise.
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11078         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11079         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11080         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11081         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11083         Likewise.
11084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11087         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11088         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11090 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11092         [BZ #16364]
11093         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11094         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11096 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11098         * sysdeps/s390/fpu/bits/mathinline.h:
11099         Use __asm__ [__volatile__] instead of asm [volatile].
11100         * sysdeps/s390/abort-instr.h: Likewise.
11101         * sysdeps/s390/atomic-machine.h: Likewise.
11102         * sysdeps/s390/bits/string.h: Likewise.
11103         * sysdeps/s390/dl-tls.h: Likewise.
11104         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11105         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11106         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11107         * sysdeps/s390/fpu/fesetround.c: Likewise.
11108         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11109         * sysdeps/s390/fpu/s_fma.c: Likewise.
11110         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11111         * sysdeps/s390/memusage.h: Likewise.
11112         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11113         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11114         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11115         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11116         * sysdeps/s390/nptl/tls.h: Likewise.
11117         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11118         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11119         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11120         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11121         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11122         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11123         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11124         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11125         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11126         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11127         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11128         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11129         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11130         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11131         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11132         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11133         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11134         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11135         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11136         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11137         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11138         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11139         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11141 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11142             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11144         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11145         Add lwarx hint, and use macro for acquire instruction.
11146         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11147         Likewise.
11148         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11149         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11150         update to use new atomic macros.
11152 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11154         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11155         (__lll_trylock_elision): Fix setting of adapt_count.
11156         * sysdeps/unix/sysv/linux/powerpc/htm.h
11157         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11158         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11159         (_ABORT_SYSCALL): Renumber, and clarify definition.
11160         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11162 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11164         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11165         after system headers to prevent MIN/MAX redefinition.  Define
11166         HAVE_ALLOCA to preserve builtin alloca usage.
11168 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11171         static and don't set or restore rounding.
11172         (__cos)[IN_SINCOS]: Likewise.
11173         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11174         (__sincos): Set and restore rounding mode.  Remove check for infinite
11175         or NaN input.
11177         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11179         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11180         as used.
11182 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11184         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11186 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11188         * config.make.in (have-glob-dat-reloc): New.
11189         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11190         target supports GLOB_DAT relocaton. AC_SUBST.
11191         * configure: Regenerated.
11192         * elf/Makefile (tests): Add tst-prelink.
11193         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11194         (tst-prelink-ENV): New.
11195         ($(objpfx)tst-prelink-conflict.out): Likewise.
11196         ($(objpfx)tst-prelink-cmp.out): Likewise.
11197         * sysdeps/x86/tst-prelink.c: Moved to ...
11198         * elf/tst-prelink.c: Here.
11199         * sysdeps/x86/tst-prelink.exp: Moved to ...
11200         * elf/tst-prelink.exp: Here.
11201         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11202         (tst-prelink-ENV): Removed.
11203         ($(objpfx)tst-prelink-conflict.out): Likewise.
11204         ($(objpfx)tst-prelink-cmp.out): Likewise.
11205         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11207 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11209         [BZ #14551]
11210         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11211         (__mpn_construct_long_double): If high part overflows to infinity,
11212         set errno and recompute overflowed result of the correct sign.
11213         * sysdeps/ieee754/ldbl-128ibm/Makefile
11214         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11215         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11216         $(libm).
11217         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11219 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11221         [BZ #15479]
11222         [BZ #19238]
11223         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11224         floating-point state after first operation on input.  Restore full
11225         state rather than just rounding mode.
11226         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11227         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11228         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11230         [BZ #19235]
11231         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11232         add 0.5 to integer arguments.
11233         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11234         Likewise.
11235         (.LC2): New object.
11237 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11239         * scripts/pylintrc (reports): Set to no.
11241 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11243         * elf/dl-load.c (open_verify): Take new argument FD.
11244         Skip __open call if passed FD is not -1.
11245         (_dl_map_object, open_path): Update callers.
11246         * elf/dl-sysdep-open.h: New file.
11247         * elf/dl-load.c: Include it.
11248         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11249         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11250         * sysdeps/nacl/dl-sysdep-open.h: New file.
11251         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11252         from libc to rtld.
11254 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11256         [BZ #19228]
11257         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11258         and restore full floating-point state.
11259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11260         Likewise.
11261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11262         Likewise.
11263         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11264         Likewise.
11265         * math/test-nearbyint-except-2.c: New file.
11266         * math/Makefile (tests): Add test-nearbyint-except-2.
11268 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11270         [BZ #19178]
11271         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11272         (tst-prelink-ENV): New.
11273         ($(objpfx)tst-prelink-conflict.out): Likewise.
11274         ($(objpfx)tst-prelink-cmp.out): Likewise.
11275         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11276         * sysdeps/x86/tst-prelink.c: New file.
11277         * sysdeps/x86/tst-prelink.exp: Likewise.
11279 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11281         * math/auto-libm-test-in: Add another test of pow.
11282         * math/auto-libm-test-out: Regenerated.
11283         * math/libm-test.inc (pow_test_data): Add another test.
11285 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11287         [BZ #19219]
11288         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11289         weak_alias to nearbyintl.
11291 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11293         * sysdeps/aarch64/bits/string.h: New file.
11294         (_STRING_ARCH_unaligned): Define.
11296 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11298         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11299         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11300         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11301         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11304 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11306         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11307         for original name of the DSO.  Add it to the name list of the DSO
11308         if it is actually given.
11309         (_dl_map_object): Keep track of whether an audit module rewrote
11310         the file name.  If yes, pass the original name to
11311         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11312         debugging is enabled, log the change of the file name.
11313         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11314         _dl_map_object_from_fd.
11315         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11316         * elf/tst-audit11.c: New file
11317         * elf/tst-auditmod11.c: New file.
11318         * elf/tst-audit11mod1.c: New file.
11319         * elf/tst-audit11mod2.c: New file.
11320         * elf/tst-audit11mod2.map: New file.
11321         * elf/tst-audit12.c: New file
11322         * elf/tst-auditmod12.c: New file.
11323         * elf/tst-audit12mod1.c: New file.
11324         * elf/tst-audit12mod2.c: New file.
11325         * elf/tst-audit12mod2.map: New file.
11326         * elf/tst-audit12mod3.c: New file.
11328 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11330         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11331         Don't create weak aliases,
11332         because versioned symbols are created later.
11333         * sysdeps/s390/s390-32/setjmp.S
11334         (setjmp, _setjmp): Remove weak and rename to an unique name
11335         in SHARED case due to existing versioned symbols.
11336         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11337         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11338         (getcontext): Create weak alias only in non SHARED case.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11341 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11343         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11344         (__ASSUME_*_SYSCALL) Define new macros.
11345         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11346         Remove socketcall syscalls.
11347         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11348         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11349         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11350         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11351         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11352         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11354 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11356         [BZ #12926]
11357         Terminate process on invalid netlink response.
11358         * sysdeps/unix/sysv/linux/netlinkaccess.h
11359         (__netlink_assert_response): Declare.
11360         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11361         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11362         (sysdep_routines): Add netlink_assert_response.
11363         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11364         __netlink_assert_response.
11365         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11366         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11367         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11368         __netlink_assert_response.
11370 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11372         [BZ #19178]
11373         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11374         (RTYPE_CLASS_PLT): Likewise.
11375         (RTYPE_CLASS_COPY): Likewise.
11376         (RTYPE_CLASS_TLS): Likewise.
11377         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11378         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11379         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11380         DL_DEBUG_PRELINK.
11382 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11384         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11385         calls with argument -0.5.
11386         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11388         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11389         (libc_cv_z_nodlopen): Likewise.
11390         (libc_cv_z_initfirst): Likewise.
11391         * configure: Regenerated.
11393 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11395         Simplify abilist format to be line-based.
11396         * scripts/abilist.awk: Collect descriptors in the descs variable.
11397         (emit): Write descs variable and sort it
11398         externally, with sort.
11399         * sysdeps/**/*.abilist: Convert to new format.
11401 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11403         [BZ #11460]
11404         * io/Makefile (routines): Add fts64.
11405         (tests): Add tst-fts and tst-fts-lfs.
11406         (CFLAGS-fts64.c): New.
11407         * io/Versions (GLIBC_2.23): New.
11408         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11409         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11410         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11411         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11412         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11413         (FTSENT64): Likewise.
11414         (fts64_children): Likewise.
11415         (fts64_close): Likewise.
11416         (fts64_open): Likewise.
11417         (fts64_read): Likewise.
11418         (fts64_set): Likewise.
11419         * io/fts64.c: New file.
11420         * io/tst-fts.c: New test.
11421         * io/tst-fts-lfs.c: Likewise.
11422         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11423         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11424         fts64_set.
11425         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11426         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11427         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11428         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11429         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11430         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11431         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11432         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11433         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11434         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11435         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11436         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11437         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11439         Likewise.
11440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11441         Likewise.
11442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11444         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11445         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11446         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11447         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11451         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11452         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11453         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11454         * sysdeps/wordsize-64/fts.c: New file.
11455         * sysdeps/wordsize-64/fts64.c: Likewise.
11456         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11457         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11458         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11459         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11461 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11463         * math/libm-test.inc (NON_FINITE): New macro.
11464         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11465         * math/gen-libm-test.pl (show_exceptions): Add argument
11466         $non_finite.
11467         (parse_args): Update call to show_exceptions.
11468         * math/test-math-finite.h: New file.
11469         * math/test-math-no-finite.h: Likewise.
11470         * math/test-double-finite.c: Likewise.
11471         * math/test-float-finite.c: Likewise.
11472         * math/test-ldouble-finite.c: Likewise.
11473         * math/test-double.c: Include "test-math-no-finite.h".
11474         * math/test-float.c: Include "test-math-no-finite.h".
11475         * math/test-ldouble.c: Include "test-math-no-finite.h".
11476         * math/test-math-inline.h (TEST_FINITE): New macro.
11477         * math/test-math-vector.h (TEST_FINITE): Likewise.
11478         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11479         (libm-tests): Add test-float-finite and test-double-finite.
11480         ($(objpfx)test-float-finite.o): New dependency on
11481         $(objpfx)libm-test.stmp.
11482         ($(objpfx)test-double-finite.o): Likewise.
11483         ($(objpfx)test-ldouble-finite.o): Likewise.
11484         (libm-test-no-inline-cflags): New variable.
11485         (libm-test-finite-cflags): Likewise.
11486         (CFLAGS-test-float-finite.c): Likewise.
11487         (CFLAGS-test-double-finite.c): Likewise.
11488         (CFLAGS-test-ldouble-finite.c): Likewise.
11489         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11490         (CFLAGS-test-double.c): Likewise.
11491         (CFLAGS-test-ldouble.c): Likewise.
11493 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11495         * io/fcntl.c (__fcntl): Add ... to prototype.
11496         * misc/ioctl.c (__ioctl): Likewise.
11497         * misc/syscall.c (syscall): Likewise.
11499 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11501         * scripts/list-fixed-bugs.py: New file.
11503         [BZ #19213]
11504         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11505         returned for argument 1.
11506         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11507         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11508         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11509         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11510         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11511         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11513         [BZ #19211]
11514         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11515         __USE_XOPEN], not if [!__USE_ISOC99].
11516         (lgammaf): Likewise.
11517         (lgammal): Likewise.
11518         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11519         (gammaf): Likewise.
11520         (gammal): Likewise.
11521         * math/test-signgam-finite-c11.c: New file.
11522         * math/test-signgam-finite-c99.c: Likewise.
11523         * math/test-signgam-finite.c: Likewise.
11524         * math/Makefile (tests): Add test-signgam-finite,
11525         test-signgam-finite-c99 and test-signgam-finite-c11.
11526         (CFLAGS-test-signgam-finite.c): New variable.
11527         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11528         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11530         [BZ #19212]
11531         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11532         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11533         500].
11534         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11535         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11536         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11537         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11538         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11539         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11540         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11541         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11542         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11543         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11545         [BZ #19209]
11546         * math/bits/math-finite.h (ldexp): Remove declaration.
11547         (ldexpf): Likewise.
11548         (ldexpl): Likewise.
11550         [BZ #19205]
11551         * math/bits/math-finite.h (acosf): Condition declaration on
11552         [__USE_ISOC99].
11553         (acosl): Likewise.
11554         (acoshf): Likewise.
11555         (acoshl): Likewise.
11556         (asinf): Likewise.
11557         (asinl): Likewise.
11558         (atan2f): Likewise.
11559         (atan2l): Likewise.
11560         (atanhf): Likewise.
11561         (atanhl): Likewise.
11562         (coshf): Likewise.
11563         (coshl): Likewise.
11564         (expf): Likewise.
11565         (expl): Likewise.
11566         (fmodf): Likewise.
11567         (fmodl): Likewise.
11568         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11569         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11570         (j0l): Likewise.
11571         (y0f): Likewise.
11572         (y0l): Likewise.
11573         (j1f): Likewise.
11574         (j1l): Likewise.
11575         (y1f): Likewise.
11576         (y1l): Likewise.
11577         (jnf): Likewise.
11578         (jnl): Likewise.
11579         (ynf): Likewise.
11580         (ynl): Likewise.
11581         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11582         (lgammal_r): Likewise.
11583         (__lgamma_r_finite): New declaration.
11584         (__lgammaf_r_finite): Likewise.
11585         (__lgammal_r_finite): Likewise.
11586         (lgamma): Use __lgamma_r_finite.
11587         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11588         __lgammaf_r_finite.
11589         (lgammal): Condition definition on [__USE_ISOC99].  Use
11590         __lgammal_r_finite.
11591         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11592         __lgamma_r_finite.
11593         (gammaf): Condition definition on [__USE_ISOC99].  Use
11594         __lgammaf_r_finite.
11595         (gammal): Condition definition on [__USE_ISOC99].  Use
11596         __lgammal_r_finite.
11597         (logf): Condition declaration on [__USE_ISOC99].
11598         (logl): Likewise.
11599         (log10f): Likewise.
11600         (log10l): Likewise.
11601         (ldexpf): Likewise.
11602         (ldexpl): Likewise.
11603         (powf): Likewise.
11604         (powl): Likewise.
11605         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11606         __USE_ISOC99].
11607         (remainderf): Condition declaration on [__USE_ISOC99].
11608         (remainderl): Likewise.
11609         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11610         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11611         (scalbl): Likewise.
11612         (sinhf): Condition declaration on [__USE_ISOC99].
11613         (sinhl): Likewise.
11614         (sqrtf): Likewise.
11615         (sqrtl): Likewise.
11617 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11619         * sysdeps/arm/atomic-machine.h
11620         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11621         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11622         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11623         Remove conditional code.
11624         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11625         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11626         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11627         Change conditional to [__ASSEMBLER__].
11628         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11629         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11630         [!__ASSEMBLER__].
11631         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11632         code.
11633         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11634         conditional macro definitions.
11635         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11636         (__arch_compare_and_exchange_val_16_acq): Likewise.
11637         (__arch_compare_and_exchange_val_32_acq): Likewise.
11638         (atomic_exchange_and_add): Likewise.
11639         (atomic_add): Likewise.
11640         (atomic_add_negative): Likewise.
11641         (atomic_add_zero): Likewise.
11642         (atomic_bit_set): Likewise.
11643         (atomic_bit_test_set): Likewise.
11644         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11645         code unconditional.
11646         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11648         * math/test-math-errno.h: New file.
11649         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11650         empty.
11651         (TEST_ERRNO): New macro.
11652         (TEST_EXCEPTIONS): Likewise.
11653         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11654         (TEST_EXCEPTIONS): Likewise.
11655         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11656         * math/test-double.c: Include "test-math-errno.h".
11657         * math/test-float.c: Likewise.
11658         * math/test-ldouble.c: Likewise.
11659         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11660         code unconditional.
11661         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11662         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11663         unconditional.
11664         (test_errno): Only run code if TEST_ERRNO.
11665         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11667 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11669         * nptl/tst-once5.cc: Remove attribution.
11671 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11673         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11674         sqrt, tan, tanh, y0, y1 and yn.
11675         * math/auto-libm-test-out: Regenerated.
11676         * math/libm-test.inc (scalb_test_data): Add more tests.
11677         (scalbn_test_data): Likewise.
11678         (scalbln_test_data): Likewise.
11679         (signbit_test_data): Likewise.
11680         (sin_test_data): Likewise.
11681         (sincos_test_data): Likewise.
11682         (sinh_test_data): Likewise.
11683         (sqrt_test_data): Likewise.
11684         (tan_test_data): Likewise.
11685         (tanh_test_data): Likewise.
11686         (tgamma_test_data): Likewise.
11687         (y0_test_data): Likewise.
11688         (y1_test_data): Likewise.
11689         (yn_test_data): Likewise.
11690         (significand_test_data): Likewise.
11691         * sysdeps/i386/fpu/libm-test-ulps: Update.
11693 2015-11-03  David Kastrup  <dak@gnu.org>
11695         [BZ #18604]
11696         * assert/assert.h (assert): Don't macro-expand failed assertion
11697         expression in error message.
11698         * malloc/malloc.c (assert): Likewise.
11700 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11702         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11703         test.
11704         * configure: Regenerated.
11706 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11708         * math/libm-test.inc (modf_test_data): Add more tests.
11709         (nearbyint_test_data): Likewise.
11710         (nextafter_test_data): Likewise.
11711         (nexttoward_test_data): Likewise.
11712         (pow_test_data): Likewise.
11713         (remainder_test_data): Likewise.
11714         (remquo_test_data): Likewise.
11715         (rint_test_data): Likewise.
11717         [BZ #19201]
11718         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11719         Check for zero remainder in case of large exponents and ensure
11720         correct sign of result in that case.
11721         * math/libm-test.inc (remainder_test_data): Add more tests.
11723         [BZ #6799]
11724         * math/s_nextafter.c: Include <errno.h>.
11725         (__nextafter): Set errno on overflow and underflow.
11726         * math/s_nexttowardf.c: Include <errno.h>.
11727         (__nexttowardf): Set errno on overflow and underflow.
11728         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11729         (__nextafterl): Set errno on overflow and underflow.
11730         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11731         (__nexttoward): Set errno on overflow and underflow.
11732         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11733         (__nexttowardf): Set errno on overflow and underflow.
11734         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11735         (__nextafterf): Set errno on overflow and underflow.
11736         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11737         (__nextafterl): Set errno on overflow and underflow.
11738         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11739         (__nexttoward): Set errno on overflow and underflow.
11740         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11741         (__nexttowardf): Set errno on overflow and underflow.
11742         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11743         (__nextafterl): Set errno on overflow and underflow.
11744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11745         (__nexttoward): Set errno on overflow and underflow.
11746         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11747         (__nexttowardf): Set errno on overflow and underflow.
11748         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11749         (__nexttoward): Set errno on overflow and underflow.
11750         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11751         (__nexttowardf): Set errno on overflow and underflow.
11752         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11753         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11754         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11755         (__nextafterl): Set errno on overflow and underflow.
11756         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11757         setting to be missing on overflow.  Add more tests.
11758         (nexttoward_test_data): Likewise.
11760         * configure.ac (libc_cv_initfini_array): Remove configure test.
11761         * configure: Regenerated.
11763 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11765         [BZ #19189]
11766         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11767         non-finite argument handle arguments with negative sign.
11769         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11770         result from infinite argument.
11771         (j1_test_data): Likewise.
11772         (jn_test_data): Likewise.
11773         (y0_test_data): Likewise.
11774         (y1_test_data): Likewise.
11775         (yn_test_data): Likewise.
11777         [BZ #16171]
11778         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11779         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11780         * math/w_remainderf.c (dremf): Define as weak alias of
11781         __remainderf.
11782         * math/w_remainderl.c (dreml): Define as weak alias of
11783         __remainderl.
11784         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11785         __remainder.
11786         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11787         __remainderf.
11788         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11789         __remainderl.
11790         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11791         weak alias of remainderl.
11792         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11793         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11794         alias of __remainder.
11795         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11796         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11797         strong alias of __remainderl.
11798         (dreml): Use long_double_symbol.
11799         * math/Makefile (libm-calls): Remove w_drem.
11800         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11801         (CFLAGS-nldbl-drem.c): Remove variable.
11802         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11803         * math/w_drem.c: Remove file.
11804         * math/w_dremf.c: Likewise.
11805         * math/w_dreml.c: Likewise.
11806         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11807         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11808         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11810         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11811         * sysdeps/i386/configure: Regenerated.
11812         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11813         * sysdeps/x86_64/configure: Regenerated.
11815         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11816         test.
11817         (libc_cv_visibility_attribute): Likewise.
11818         (libc_cv_protected_data): Test unconditionally.
11819         (libc_cv_broken_visibility_attribute): Remove configure test.
11820         (libc_cv_have_sdata_section): Test unconditionally.
11821         * configure: Regenerated.
11823         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11824         * include/scratch_buffer.h: Include <stddef.h> instead of
11825         <libc-internal.h>.
11826         (struct scratch_buffer): Use max_align_t instead of
11827         libc_max_align_t.
11829 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11831         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11832         instead of extend_alloca.  Change control flow to avoid a goto.
11833         Remove assert which is trivially always true.
11835 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11837         [BZ #16068]
11838         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11839         (FE_ALL_EXCEPT_X86): New macro.
11840         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11841         FE_ALL_EXCEPT.  Ensure precision control is included in
11842         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11843         handle "denormal operand exception" and clear FZ and DAZ bits.
11844         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11845         (FE_ALL_EXCEPT_X86): New macro.
11846         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11847         FE_ALL_EXCEPT.  Ensure precision control is included in
11848         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11849         handle "denormal operand exception" and clear FZ and DAZ bits.
11850         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11851         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11852         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11853         test-fenv-x87 and test-fenv-sse-2.
11854         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11856         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11857         * math/test-double.h (BUILD_COMPLEX): New macro.
11858         * math/test-float.h (BUILD_COMPLEX): Likewise.
11859         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11861         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11862         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11863         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11865         instead of DBL_DENORM_MIN in comment.
11866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11867         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11868         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11869         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11871         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11873 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11875         [BZ# 19048]
11876         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11877         attached_threads member.
11878         (main_arena): Initialize attached_threads.
11879         * malloc/arena.c (list_lock): Update comment.
11880         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11881         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11882         (deattach_arena): New function.
11883         (_int_new_arena): Initialize arena reference count and deattach
11884         replaced arena.
11885         (get_free_list, reused_arena): Update reference count and deattach
11886         replaced arena.
11887         (arena_thread_freeres): Update arena reference count and only put
11888         unreferenced arenas on the free list.
11890 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11892         [BZ #19181]
11893         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11894         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11895         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11896         * math/test-fenv-clear-main.c: New file.
11897         * math/test-fenv-clear.c: Likewise.
11898         * math/Makefile (tests): Add test-fenv-clear.
11899         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11900         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11901         test-fenv-clear-sse.
11902         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11904         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11905         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11906         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11908 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11910         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11911         static libc.
11913 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11915         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11916         test.
11917         * sysdeps/i386/configure: Regenerated.
11918         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11919         test.
11920         * sysdeps/x86_64/configure: Regenerated.
11921         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11923         memset-avx2 unconditionally instead of conditionally on
11924         [$(config-cflags-avx2) = yes].
11925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11926         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11927         unconditional.
11928         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11929         * sysdeps/x86_64/multiarch/memset_chk.S
11930         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11931         to [IS_IN (libc) && SHARED].
11933 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11935         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11936         configure test.
11937         * sysdeps/arm/configure: Regenerated.
11938         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11939         Define variable if not already defined.
11941         [BZ #17404]
11942         * sysdeps/mips/atomic-machine.h
11943         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11944         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11945         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11947         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11948         unconditional.
11949         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11950         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11951         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11952         unconditional.
11953         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11954         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11955         unconditional.
11956         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11957         * stdlib/setenv.c
11958         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11959         code unconditional.
11960         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11961         Remove conditional code.
11962         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11963         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11964         unconditional.
11965         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11966         code.
11967         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11968         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11969         unconditional.
11970         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11971         code.
11972         * sysdeps/ieee754/ldbl-128/k_tanl.c
11973         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11974         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11975         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11976         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11977         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11978         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11979         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11980         unconditional.
11981         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11982         code.
11983         * sysdeps/ieee754/ldbl-96/k_tanl.c
11984         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11985         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11987         * nptl/tst-initializers1-c11.c: New file.
11988         * nptl/tst-initializers1-gnu11.c: Likewise.
11989         * nptl/Makefile (tests): Add these new tests.
11990         (CFLAGS-tst-initializers1-c11.c): New variable.
11991         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11993         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11994         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11995         instead of -std=gnu99.
11996         * configure.ac (systemtap): Test with -std=gnu11 instead of
11997         -std=gnu99.
11998         * configure: Regenerated.
11999         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12000         in compilation command in comment.
12002         * sysdeps/nptl/configure.ac: Remove file.
12003         * sysdeps/nptl/configure: Remove generated file.
12004         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12005         * configure: Regenerated.
12006         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12007         * config.make.in (have-forced-unwind): Remove variable.
12008         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12009         unconditional.
12010         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12011         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12012         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12013         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12014         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12015         unconditional.
12017 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12019         [BZ #19174]
12020         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12021         .skip_lock_out_of_tbegin_retries.
12022         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12023         (__lll_lock_elision): Likewise, and respect a value of
12024         try_tbegin <= 0.
12026 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12028         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12029         statement.
12031 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12033         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12034         variable.
12035         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12036         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12038         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12039         of -std=c1x -D_ISOC11_SOURCE.
12041         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12042         * configure: Regenerated.
12043         * manual/install.texi (Tools for Compilation): Document
12044         requirement for GCC 4.7 or later.
12045         * INSTALL: Regenerated.
12047 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12049         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12050         on CNT to a conditional jump to 'puntdata'.
12052 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12054         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12055         (libc_cv_gcc_tls_model_attr): Likewise.
12056         * configure: Regenerated.
12058         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12059         * configure: Regenerated.
12060         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12062 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12064         * configure.ac (old_glibc_headers): Remove configure test.
12065         * configure: Regenerated.
12066         * config.make.in (old-glibc-headers): Remove variable.
12067         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12068         (install): Remove dependency on remove-old-headers.
12069         (headers2_0): Remove variable.
12070         (remove-old-headers): Remove rule.
12072         * configure.ac (libc_cv_dot_text): Remove configure test.
12073         (libc_cv_asm_set_directive): Use .text instead of
12074         ${libc_cv_dot_text} in configure test.
12075         * configure: Regenerated.
12077 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12079         [BZ #19168]
12080         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12082 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12084         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12085         not support static linking.
12086         * configure: Regenerate.
12088 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12090         * math/libm-test.inc (check_float_internal): Do not special-case
12091         errors up to 0.5 ulp.
12093         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12094         log2.
12095         * math/auto-libm-test-out: Regenerated.
12096         * math/libm-test.inc (MAX_EXP): New macro.
12097         (ilogb_test_data): Add more tests.
12098         (isfinite_test_data): Likewise.
12099         (isgreater_test_data): Likewise.
12100         (isgreaterequal_test_data): Likewise.
12101         (isinf_test_data): Likewise.
12102         (isless_test_data): Likewise.
12103         (islessequal_test_data): Likewise.
12104         (islessgreater_test_data): Likewise.
12105         (isnan_test_data): Likewise.
12106         (isnormal_test_data): Likewise.
12107         (issignaling_test_data): Likewise.
12108         (isunordered_test_data): Likewise.
12109         (j0_test_data): Likewise.
12110         (j1_test_data): Likewise.
12111         (jn_test_data): Likewise.
12112         (lgamma_test_data): Likewise.
12113         (log_test_data): Likewise.
12114         (log10_test_data): Likewise.
12115         (log1p_test_data): Likewise.
12116         (log2_test_data): Likewise.
12117         (logb_test_data): Likewise.
12118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12120         [BZ #18611]
12121         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12122         avoid excess range and precision on underflow.
12123         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12124         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12125         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12126         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12127         underflow.
12128         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12130         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12131         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12132         * math/auto-libm-test-in: Do not allow missing errno setting for
12133         tests of j1 and jn.
12134         * math/auto-libm-test-out: Regenerated.
12136 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #15491]
12139         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12140         floating-point environment instead of clearing all exceptions.
12141         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12142         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12143         merging in "invalid" exceptions from frndint.
12144         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12145         * math/test-nearbyint-except.c: New file.
12146         * math/Makefile (tests): Add test-nearbyint-except.
12148 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12150         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12152         * sysdeps/tile/libm-test-ulps: Regenerated.
12154 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12157         (__NR_sync_file_range2): Assume it is always defined.
12158         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12159         (__NR_sync_file_range): Assume it is always defined.
12161 2015-10-22  Andreas Schwab  <schwab@suse.de>
12163         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12164         INTERNAL_SYSCALL_ERRNO.
12165         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12166         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12167         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12168         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12169         Likewise.
12170         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12172 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12174         * io/tst-fcntl.c (fd): New static variable.
12175         (do_prepare): Open temporary file here....
12176         (do_test): ...not here.
12178         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12180 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12182         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12183         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12184         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12185         Moved before "#ifdef __ASSEMBLER__".
12187 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12189         [BZ #19156]
12190         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12191         arguments very close to 0.
12193 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12195         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12196         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12198 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12200         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12201         New.  Defined for GCC 5 and above when not compiling for
12202         profiling.
12203         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12205         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12206         Renamed to ...
12207         (CFLAGS-epoll_pwait.o): This.
12208         (CFLAGS-mmap.c): Renamed to ...
12209         (CFLAGS-mmap.o): This.
12210         (CFLAGS-mmap64.c): Renamed to ...
12211         (CFLAGS-mmap64.o): This.
12212         (CFLAGS-epoll_pwait.os): New.
12213         (CFLAGS-mmap.os): Likewise.
12214         (CFLAGS-mmap64.os): Likewise.
12215         (CFLAGS-semtimedop.os): Likewise.
12216         (CFLAGS-semtimedop.c): Renamed to ...
12217         (CFLAGS-semtimedop.o): This.
12219 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12221         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12222         warning message.
12224 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12226         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12227         * Makefile ($(objpfx)c++-types-check.out): Filter out
12228         $(+gccwarn-c) instead of -Wstrict-prototypes.
12230         * io/fts.c (fts_open): Convert to prototype-style function
12231         definition.
12232         * malloc/mcheck.c (mcheck): Likewise.
12233         (mcheck_pedantic): Likewise.
12234         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12235         internal_function.
12236         (re_search_internal): Likewise.
12237         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12238         prototype-style function definition.
12239         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12240         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12241         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12242         (xdr_utmpptr): Likewise.
12243         (xdr_utmparr): Likewise.
12244         (xdr_utmpidle): Likewise.
12245         (xdr_utmpidleptr): Likewise.
12246         (xdr_utmpidlearr): Likewise.
12248         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12249         log, log10 and log2.
12250         * math/auto-libm-test-out: Regenerated.
12251         * math/libm-test.inc (fmod_test_data): Add more tests.
12252         (fpclassify_test_data): Likewise.
12253         (frexp_test_data): Likewise.
12254         (hypot_test_data): Likewise.
12255         (ilogb_test_data): Likewise.
12257 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12259         * debug/fortify_fail.c (__fortify_fail): Convert to
12260         prototype-style function definition.  Use internal_function.
12261         * libio/genops.c (save_for_backup): Convert to prototype-style
12262         function definition.
12263         * libio/wgenops.c (save_for_wbackup): Likewise.
12264         * login/grantpt.c (grantpt): Likewise.
12265         * login/ptsname.c (ptsname): Likewise.
12266         (__ptsname_r): Likewise.
12267         * login/unlockpt.c (unlockpt): Likewise.
12268         * mach/msgserver.c (__mach_msg_server): Likewise.
12269         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12270         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12271         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12272         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12273         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12274         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12275         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12276         Likewise.
12277         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12278         internal_function.
12279         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12280         prototype-style function definition.
12281         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12282         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12283         (__pthread_create_2_0): Likewise.
12284         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12285         * nptl/register-atfork.c (__register_atfork): Likewise.
12286         * posix/glob.c (glob): Likewise.
12287         * posix/regcomp.c (re_comp): Likewise.
12288         * posix/regexec.c (re_exec): Likewise.
12289         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12290         [!__STDC__]: Remove conditional code.
12291         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12292         [!__STDC__]: Remove conditional code.
12293         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12294         [!__STDC__]: Remove conditional code.
12295         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12296         [!__STDC__]: Remove conditional code.
12297         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12298         [!__STDC__]: Remove conditional code.
12299         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12300         [!__STDC__]: Remove conditional code.
12301         * stdlib/mul.c [__STDC__]: Make code unconditional.
12302         [!__STDC__]: Remove conditional code.
12303         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12304         [!__STDC__]: Remove conditional code.
12305         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12306         [!__STDC__]: Remove conditional code.
12307         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12308         function definition.
12309         (STRTOF): Likewise.
12310         * stdlib/strtod_l.c (__STRTOF): Likewise.
12311         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12312         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12313         (__strtol_l): Likewise.
12314         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12315         [!__STDC__]: Remove conditional code.
12316         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12317         definition.
12318         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12319         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12320         type.
12321         (__strcasecmp): Convert to prototype-style function definition.
12322         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12323         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12324         type.
12325         (__strncasecmp): Convert to prototype-style function definition.
12326         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12327         * sunrpc/xdr.c (xdr_union): Likewise.
12328         * sunrpc/xdr_array.c (xdr_array): Likewise.
12329         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12330         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12331         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12332         Likewise.
12333         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12334         Likewise.
12335         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12336         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12337         Likewise.
12338         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12339         (LOCALE_PARAM_PROTO): Likewise.
12340         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12341         argument type.
12342         (ut_argument_spec): Remove macro.
12343         (ut_argument_spec_iso): Rename to ut_argument_spec.
12344         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12345         prototype-style function definition.
12346         (memcpy_uppcase): Likewise.
12347         (__strftime_internal): Likewise.
12348         (my_strftime): Likewise.
12349         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12350         (LOCALE_PARAM_DECL): Likewise.
12351         [_LIBC] (LOCALE_PARAM): Include argument type.
12352         (__strptime_internal): Convert to prototype-style function
12353         definition.
12354         (strptime): Likewise.
12355         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12356         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12357         type.
12358         (__wcscasecmp): Convert to prototype-style function definition.
12359         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12360         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12361         type.
12362         (__wcsncasecmp): Convert to prototype-style function definition.
12364         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12365         function definition.
12366         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12367         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12368         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12369         * elf/dl-minimal.c (_itoa): Likewise.
12370         * hurd/hurdmalloc.c (malloc): Likewise.
12371         (free): Likewise.
12372         (realloc): Likewise.
12373         * inet/inet6_option.c (inet6_option_space): Likewise.
12374         (inet6_option_init): Likewise.
12375         (inet6_option_append): Likewise.
12376         (inet6_option_alloc): Likewise.
12377         (inet6_option_next): Likewise.
12378         (inet6_option_find): Likewise.
12379         * io/ftw.c (FTW_NAME): Likewise.
12380         (NFTW_NAME): Likewise.
12381         (NFTW_NEW_NAME): Likewise.
12382         (NFTW_OLD_NAME): Likewise.
12383         * libio/iofwide.c (_IO_fwide): Likewise.
12384         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12385         (_IO_str_init_static): Likewise.
12386         (_IO_str_init_readonly): Likewise.
12387         (_IO_str_overflow): Likewise.
12388         (_IO_str_underflow): Likewise.
12389         (_IO_str_count): Likewise.
12390         (_IO_str_seekoff): Likewise.
12391         (_IO_str_pbackfail): Likewise.
12392         (_IO_str_finish): Likewise.
12393         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12394         (_IO_wstr_overflow): Likewise.
12395         (_IO_wstr_underflow): Likewise.
12396         (_IO_wstr_count): Likewise.
12397         (_IO_wstr_seekoff): Likewise.
12398         (_IO_wstr_pbackfail): Likewise.
12399         (_IO_wstr_finish): Likewise.
12400         * locale/programs/localedef.c (normalize_codeset): Likewise.
12401         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12402         (add_locales_to_archive): Likewise.
12403         (delete_locales_from_archive): Likewise.
12404         * malloc/malloc.c (__libc_mallinfo): Likewise.
12405         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12406         * misc/tsearch.c (__tfind): Likewise.
12407         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12408         * nptl/pthread_attr_getdetachstate.c
12409         (__pthread_attr_getdetachstate): Likewise.
12410         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12411         Likewise.
12412         * nptl/pthread_attr_getinheritsched.c
12413         (__pthread_attr_getinheritsched): Likewise.
12414         * nptl/pthread_attr_getschedparam.c
12415         (__pthread_attr_getschedparam): Likewise.
12416         * nptl/pthread_attr_getschedpolicy.c
12417         (__pthread_attr_getschedpolicy): Likewise.
12418         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12419         Likewise.
12420         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12421         Likewise.
12422         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12423         Likewise.
12424         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12425         Likewise.
12426         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12427         (__pthread_attr_init_2_0): Likewise.
12428         * nptl/pthread_attr_setdetachstate.c
12429         (__pthread_attr_setdetachstate): Likewise.
12430         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12431         Likewise.
12432         * nptl/pthread_attr_setinheritsched.c
12433         (__pthread_attr_setinheritsched): Likewise.
12434         * nptl/pthread_attr_setschedparam.c
12435         (__pthread_attr_setschedparam): Likewise.
12436         * nptl/pthread_attr_setschedpolicy.c
12437         (__pthread_attr_setschedpolicy): Likewise.
12438         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12439         Likewise.
12440         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12441         Likewise.
12442         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12443         Likewise.
12444         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12445         Likewise.
12446         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12447         Likewise.
12448         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12449         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12450         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12451         use internal_function.
12452         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12453         prototype-style function definition.
12454         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12455         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12456         internal_function.
12457         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12458         Convert to prototype-style function definition.
12459         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12460         Likewise.
12461         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12462         Likewise.
12463         (__pthread_mutex_unlock): Likewise.
12464         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12465         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12466         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12467         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12468         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12469         * nss/makedb.c (process_input): Likewise.
12470         * posix/fnmatch.c (__strchrnul): Likewise.
12471         (__wcschrnul): Likewise.
12472         (fnmatch): Likewise.
12473         * posix/fnmatch_loop.c (FCT): Likewise.
12474         * posix/glob.c (globfree): Likewise.
12475         (__glob_pattern_type): Likewise.
12476         (__glob_pattern_p): Likewise.
12477         * posix/regcomp.c (re_compile_pattern): Likewise.
12478         (re_set_syntax): Likewise.
12479         (re_compile_fastmap): Likewise.
12480         (regcomp): Likewise.
12481         (regerror): Likewise.
12482         (regfree): Likewise.
12483         * posix/regexec.c (regexec): Likewise.
12484         (re_match): Likewise.
12485         (re_search): Likewise.
12486         (re_match_2): Likewise.
12487         (re_search_2): Likewise.
12488         (re_search_stub): Likewise.  Use internal_function
12489         (re_copy_regs): Likewise.
12490         (re_set_registers): Convert to prototype-style function
12491         definition.
12492         (prune_impossible_nodes): Likewise.  Use internal_function.
12493         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12494         prototype-style function definition.
12495         (inet_net_pton_ipv4): Likewise.
12496         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12497         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12498         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12499         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12500         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12501         Make variadic.
12502         * time/strptime_l.c (localtime_r): Convert to prototype-style
12503         function definition.
12504         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12505         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12506         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12507         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12509         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12510         definition.
12511         (_ufc_doit_r): Likewise.
12512         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12513         (_ufc_output_conversion_r): Likewise.
12514         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12515         * inet/rcmd.c (rcmd_af): Likewise.
12516         (rcmd): Likewise.
12517         (ruserok_af): Likewise.
12518         (ruserok): Likewise.
12519         (ruserok2_sa): Likewise.
12520         (ruserok_sa): Likewise.
12521         (iruserok_af): Likewise.
12522         (iruserok): Likewise.
12523         (__ivaliduser): Likewise.
12524         (__validuser2_sa): Likewise.
12525         * inet/rexec.c (rexec_af): Likewise.
12526         (rexec): Likewise.
12527         * inet/ruserpass.c (ruserpass): Likewise.
12528         * locale/programs/xmalloc.c (xcalloc): Likewise.
12529         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12530         * math/w_drem.c (__drem): Likewise.
12531         * math/w_dremf.c (__dremf): Likewise.
12532         * math/w_dreml.c (__dreml): Likewise.
12533         * misc/daemon.c (daemon): Likewise.
12534         * resolv/res_debug.c (p_fqnname): Likewise.
12535         * stdlib/div.c (div): Likewise.
12536         * string/memcmp.c (memcmp_bytes): Likewise.
12537         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12538         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12540         * crypt/cert.c (main): Convert to prototype-style function
12541         definition.
12542         * io/pipe.c (__pipe): Likewise.
12543         * io/pipe2.c (__pipe2): Likewise.
12544         * misc/futimesat.c (futimesat): Likewise.
12545         * misc/utimes.c (__utimes): Likewise.
12546         * posix/execve.c (__execve): Likewise.
12547         * posix/execvp.c (execvp): Likewise.
12548         * posix/execvpe.c (__execvpe): Likewise.
12549         * posix/fexecve.c (fexecve): Likewise.
12550         * socket/socketpair.c (socketpair): Likewise.
12551         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12552         * stdlib/erand48.c (erand48): Likewise.
12553         * stdlib/erand48_r.c (__erand48_r): Likewise.
12554         * stdlib/jrand48.c (jrand48): Likewise.
12555         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12556         * stdlib/lcong48.c (lcong48): Likewise.
12557         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12558         * stdlib/nrand48.c (nrand48): Likewise.
12559         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12560         * stdlib/seed48.c (seed48): Likewise.
12561         * stdlib/seed48_r.c (__seed48_r): Likewise.
12562         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12563         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12564         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12566 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12568         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12569         * configure: Regenerated.
12570         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12571         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12572         unconditional.
12573         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12574         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12575         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12576         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12577         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12578         unconditional.
12579         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12581         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12582         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12584         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12585         function definition.
12586         * crypt/crypt_util.c (__encrypt_r): Likewise.
12587         * libio/genops.c (_IO_no_init): Likewise.
12588         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12589         (_IO_old_fopencookie): Likewise.
12590         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12591         * libio/iogetline.c (_IO_getline): Likewise.
12592         (_IO_getline_info): Likewise.
12593         * libio/iogetwline.c (_IO_getwline): Likewise.
12594         (_IO_getwline_info): Likewise.
12595         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12596         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12597         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12598         (find_entry): Likewise.
12599         (iterate_table): Likewise.
12600         (lookup): Likewise.
12601         * login/forkpty.c (forkpty): Likewise.
12602         * misc/hsearch_r.c (__hsearch_r): Likewise.
12603         * misc/select.c (__select): Likewise.
12604         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12605         Likewise.
12606         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12607         Likewise.
12608         * nptl/old_pthread_cond_timedwait.c
12609         (__pthread_cond_timedwait_2_0): Likewise.
12610         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12611         * nptl/pthread_barrierattr_getpshared.c
12612         (pthread_barrierattr_getpshared): Likewise.
12613         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12614         Likewise.
12615         * nptl/pthread_mutex_setprioceiling.c
12616         (pthread_mutex_setprioceiling): Likewise.
12617         * nptl/pthread_mutexattr_getprioceiling.c
12618         (pthread_mutexattr_getprioceiling): Likewise.
12619         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12620         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12621         Likewise.
12622         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12623         Likewise.
12624         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12625         Likewise.
12626         * socket/recvfrom.c (__recvfrom): Likewise.
12627         * socket/sendto.c (__sendto): Likewise.
12628         * socket/setsockopt.c (__setsockopt): Likewise.
12629         * stdio-common/_itoa.c (_itoa): Likewise.
12630         * stdio-common/_itowa.c (_itowa): Likewise.
12631         * stdio-common/reg-printf.c (__register_printf_specifier):
12632         Likewise.
12633         (__register_printf_function): Likewise.
12634         * stdio-common/tempname.c (__path_search): Likewise.
12635         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12636         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12637         * stdlib/random_r.c (__initstate_r): Likewise.
12638         * stdlib/setenv.c (__add_to_environ): Likewise.
12639         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12640         * streams/getpmsg.c (getpmsg): Likewise.
12641         * streams/putmsg.c (putmsg): Likewise.
12642         * streams/putpmsg.c (putpmsg): Likewise.
12643         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12644         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12645         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12646         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12647         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12648         * sunrpc/svc_udp.c (cache_get): Likewise.
12649         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12650         * sysdeps/mach/hurd/getcwd.c
12651         (__canonicalize_directory_name_internal): Likewise.
12652         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12653         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12654         * sysdeps/mach/hurd/select.c (__select): Likewise.
12655         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12656         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12657         * sysdeps/sparc/nptl/pthread_barrier_init.c
12658         (__pthread_barrier_init): Likewise.
12659         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12660         (__pthread_cond_timedwait): Likewise.
12661         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12662         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12663         Likewise.
12664         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12665         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12666         Likewise.
12667         * sysvipc/semtimedop.c (semtimedop): Likewise.
12668         * time/setitimer.c (__setitimer): Likewise.
12669         * time/strftime_l.c (emacs_strftime): Likewise.
12671 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12673         * config.make.in (have-ssp): Delete.
12674         (stack-protector): New variable.
12675         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12676         cache test for -fstack-protector-strong.  Export stack_protector to
12677         the best ssp flag.
12678         * configure: Regenerated.
12679         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12680         * nscd/Makefile (CFLAGS-nscd): Likewise.
12681         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12683 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12685         [BZ #19122]
12686         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12687         attribute_hidden.
12689 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12691         [BZ #18743]
12692         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12693         code to...
12694         (ELIDE_LOCK): ...here.
12695         (__get_new_count): New function with part of the code from
12696         __elide_lock that updates the value of adapt_count after a
12697         transaction abort.
12698         (__elided_trylock): Moved this code to...
12699         (ELIDE_TRYLOCK): ...here.
12701 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12703         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12704         * configure: Regenerate.
12705         * INSTALL: Regenerate.
12706         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12707         and tweak grammar.
12709 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12711         * login/programs/pt_chown.c: Include signal.h
12712         (main): Clear any signal mask from the parent process.
12714 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12716         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12717         * configure: Regenerated.
12718         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12719         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12720         $(gnu89-inline-CFLAGS).
12722         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12723         test.
12724         (libc_cv_asm_weakext_directive): Likewise.
12725         * configure: Regenerated.
12726         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12727         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12728         * include/libc-symbols.h
12729         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12730         #error.
12731         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12732         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12734         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12735         prototype-style function definition.
12736         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12737         * sysdeps/i386/ffs.c (__ffs): Likewise.
12738         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12739         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12740         Likewise.
12741         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12742         Likewise.
12743         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12744         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12745         Likewise.
12746         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12747         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12748         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12749         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12750         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12751         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12752         * sysdeps/mach/hurd/access.c (__access): Likewise.
12753         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12754         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12755         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12756         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12757         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12758         (cthread_getspecific): Likewise.
12759         (cthread_setspecific): Likewise.
12760         (__libc_getspecific): Likewise.
12761         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12762         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12763         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12764         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12765         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12766         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12767         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12768         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12769         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12770         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12771         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12772         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12773         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12774         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12775         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12776         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12777         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12778         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12779         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12780         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12781         * sysdeps/mach/hurd/link.c (__link): Likewise.
12782         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12783         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12784         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12785         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12786         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12787         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12788         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12789         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12790         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12791         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12792         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12793         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12794         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12795         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12796         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12797         * sysdeps/mach/hurd/send.c (__send): Likewise.
12798         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12799         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12800         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12801         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12802         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12803         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12804         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12805         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12806         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12807         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12808         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12809         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12810         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12811         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12812         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12813         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12814         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12815         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12816         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12817         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12818         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12819         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12820         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12821         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12822         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12823         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12824         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12825         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12826         * sysdeps/posix/alarm.c (alarm): Likewise.
12827         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12828         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12829         * sysdeps/posix/dup.c (__dup): Likewise.
12830         * sysdeps/posix/dup2.c (__dup2): Likewise.
12831         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12832         (main): Likewise.
12833         * sysdeps/posix/flock.c (__flock): Likewise.
12834         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12835         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12836         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12837         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12838         * sysdeps/posix/isatty.c (__isatty): Likewise.
12839         * sysdeps/posix/killpg.c (killpg): Likewise.
12840         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12841         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12842         * sysdeps/posix/raise.c (raise): Likewise.
12843         * sysdeps/posix/remove.c (remove): Likewise.
12844         * sysdeps/posix/rename.c (rename): Likewise.
12845         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12846         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12847         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12848         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12849         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12850         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12851         * sysdeps/posix/sigset.c (sigset): Likewise.
12852         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12853         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12854         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12855         * sysdeps/posix/time.c (time): Likewise.
12856         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12857         (ttyname): Likewise.
12858         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12859         * sysdeps/posix/utime.c (utime): Likewise.
12860         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12861         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12862         Likewise.
12863         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12864         (pthread_spin_trylock): Likewise.
12865         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12866         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12867         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12868         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12869         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12870         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12871         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12872         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12873         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12874         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12875         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12876         * sysdeps/s390/ffs.c (__ffs): Likewise.
12877         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12878         Likewise.
12879         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12880         Likewise.
12881         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12882         Likewise.
12883         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12884         (pthread_barrier_destroy): Likewise.
12885         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12886         (__pthread_barrier_wait): Likewise.
12887         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12888         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12889         (__pthread_barrier_wait): Likewise.
12890         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12891         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12892         (memcmp_not_common_alignment): Likewise.
12893         (MEMCMP): Likewise.
12894         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12895         (_wordcopy_fwd_dest_aligned): Likewise.
12896         (_wordcopy_bwd_aligned): Likewise.
12897         (_wordcopy_bwd_dest_aligned): Likewise.
12898         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12899         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12900         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12901         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12902         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12903         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12904         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12905         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12906         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12907         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12908         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12909         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12910         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12911         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12912         * sysdeps/unix/stime.c (stime): Likewise.
12913         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12914         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12915         Likewise.  Use internal_function.
12916         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12917         Convert to prototype-style function definition.
12918         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12919         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12920         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12921         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12922         Likewise.  Use internal_function.
12923         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12924         prototype-style function definition
12925         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12926         Likewise.
12927         (__getlogin_r): Likewise.
12928         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12930         (__pthread_cond_broadcast): Likewise.
12931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12932         (__pthread_cond_destroy): Likewise.
12933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12934         (__pthread_cond_init): Likewise.
12935         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12936         (__pthread_cond_signal): Likewise.
12937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12938         (__pthread_cond_wait): Likewise.
12939         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12940         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12941         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12942         Likewise.
12943         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12944         Likewise.
12945         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12946         Likewise.
12947         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12948         Likewise.
12949         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12951         (__ftruncate64): Likewise.
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12953         (truncate64): Likewise.
12954         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12955         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12956         (pthread_getcpuclockid): Likewise.
12957         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12958         Likewise.
12959         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12960         Likewise.
12961         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12962         Likewise.
12963         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12964         Likewise.
12965         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12966         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12967         (__libc_sigaction): Likewise.
12968         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12969         Likewise.
12970         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12971         (__sigprocmask): Likewise.
12972         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12973         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12974         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12975         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12976         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12977         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12978         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12979         Likewise.
12980         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12981         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12982         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12983         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12984         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12985         Likewise.
12986         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12987         (__sigprocmask): Likewise.
12988         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12989         (cfgetispeed): Likewise.
12990         (cfsetospeed): Likewise.
12991         (cfsetispeed): Likewise.
12992         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12993         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12994         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12995         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12996         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12997         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12998         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12999         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13000         Likewise.
13001         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13002         Likewise.
13003         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13004         Likewise.
13005         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13006         Likewise.
13007         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13009 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13011         sunrpc: Rewrite with explicit TLS access using __thread.
13012         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13013         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13014         directly.
13015         (__rpc_thread_variables): Access thread_rpc_vars directly.
13016         Eliminate redundant assignment of the tvp variable.
13018 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13020         malloc: Rewrite with explicit TLS access using __thread.
13021         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13022         (tsd_setspecific, tsd_getspecific): Remove.
13023         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13024         (tsd_setspecific, tsd_getspecific): Likewise.
13025         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13026         (tsd_setspecific, tsd_getspecific): Likewise.
13027         * malloc/arena.c (thread_arena): New TLS variable.
13028         (arena_key): Remove variable.
13029         (arena_get): Use thread_arena.
13030         (arena_lookup): Remove macro.
13031         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13032         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13033         (_int_new_arena, get_free_list, reused_arena)
13034         (arena_thread_freeres): Use thread_arena.
13035         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13036         tsd_getspecific, tsd_setspecific from safety annotations.
13037         (Allocating Cleared Space): Remove arena_lookup from safety
13038         annotations.
13040 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13042         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13043         struct scratch_buffer instead of extend_alloca.
13045 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13047         * sysdeps/unix/sysv/linux/kernel-features.h
13048         (__ASSUME_SOCK_CLOEXEC): Remove.
13049         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13050         (__have_paccept): Remove unused macro.
13051         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13052         * misc/syslog.c (openlog_internal): Remove fallback code for
13053         !__ASSUME_SOCK_CLOEXEC.
13054         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13055         missing SOCK_CLOEXEC.
13056         * nscd/connections.c (have_sock_cloexec): Remove definition.
13057         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13058         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13059         !__ASSUME_SOCK_CLOEXEC.
13060         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13061         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13062         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13063         definition.
13064         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13065         code for !__ASSUME_SOCK_CLOEXEC.
13067 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13069         [BZ #18982]
13070         * manual/stdio.texi (Variable Arguments Output): Add portability
13071         note, explaining that vfprintf clobbers the va_list pointer.
13073 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13075         * math/libm-test.inc (fabs_test_data): Add more tests.
13076         (fdim_test_data): Likewise.
13077         (fma_test_data): Likewise.
13078         (fmax_test_data): Likewise.
13079         (fmin_test_data): Likewise.
13080         (fmod_test_data): Likewise.
13082 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13084         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13085         data.
13087 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13089         * math/libm-test.inc (ceil_test_data): Add more tests and more
13090         expectations for "inexact".
13091         (floor_test_data): Add more tests.
13092         (round_test_data): Likewise.
13093         (trunc_test_data): Likewise.
13095         * crypt/cert.c (good_bye): Convert to prototype-style function
13096         definition.
13097         (get8): Likewise.
13098         (put8): Likewise.
13099         * crypt/crypt-entry.c (crypt): Likewise.
13100         (__fcrypt): Likewise.
13101         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13102         (_ufc_set_bits): Likewise.
13103         (_ufc_clearmem): Likewise.
13104         (__init_des_r): Likewise.
13105         (shuffle_sb): Likewise.
13106         (shuffle_sb): Likewise.
13107         (_ufc_setup_salt_r): Likewise.
13108         (_ufc_mk_keytab_r): Likewise.
13109         (_ufc_dofinalperm_r): Likewise.
13110         (encrypt): Likewise.
13111         (__setkey_r): Likewise.
13112         (setkey): Likewise.
13113         * crypt/md5.c (md5_init_ctx): Likewise.
13114         (md5_read_ctx): Likewise.
13115         (md5_finish_ctx): Likewise.
13116         (md5_stream): Likewise.
13117         (md5_buffer): Likewise.
13118         (md5_process_bytes): Likewise.
13119         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13120         (__sha256_finish_ctx): Likewise.
13121         (__sha256_process_bytes): Likewise.
13122         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13123         (__sha512_finish_ctx): Likewise.
13124         (__sha512_process_bytes): Likewise.
13125         * ctype/isctype.c (__isctype): Likewise.
13126         * debug/backtrace.c (__backtrace): Likewise.
13127         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13128         * debug/fgets_chk.c (__fgets_chk): Likewise.
13129         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13130         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13131         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13132         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13133         * debug/memset_chk.c (__memset_chk): Likewise.
13134         * debug/strcat_chk.c (__strcat_chk): Likewise.
13135         * debug/strncat_chk.c (__strncat_chk): Likewise.
13136         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13137         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13138         * dirent/dirfd.c (dirfd): Likewise.
13139         * dirent/getdents.c (__getdirentries): Likewise.
13140         * dirent/getdents64.c (getdirentries64): Likewise.
13141         * dirent/rewinddir.c (__rewinddir): Likewise.
13142         * dirent/seekdir.c (seekdir): Likewise.
13143         * dirent/telldir.c (telldir): Likewise.
13144         * elf/sln.c (makesymlinks): Likewise.
13145         (makesymlink): Likewise.
13146         * gmon/gmon.c (__moncontrol): Likewise.
13147         (__monstartup): Likewise.
13148         (write_hist): Likewise.
13149         (write_call_graph): Likewise.
13150         (write_bb_counts): Likewise.
13151         * grp/setgroups.c (setgroups): Likewise.
13152         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13153         * inet/inet_net.c (inet_network): Likewise.
13154         * inet/inet_netof.c (inet_netof): Likewise.
13155         * inet/rcmd.c (rresvport_af): Likewise.
13156         (rresvport): Likewise.
13157         * io/access.c (__access): Likewise.
13158         * io/chdir.c (__chdir): Likewise.
13159         * io/chmod.c (__chmod): Likewise.
13160         * io/chown.c (__chown): Likewise.
13161         * io/close.c (__close): Likewise.
13162         * io/creat.c (creat): Likewise.
13163         * io/creat64.c (creat64): Likewise.
13164         * io/dup.c (__dup): Likewise.
13165         * io/dup2.c (__dup2): Likewise.
13166         * io/dup3.c (__dup3): Likewise.
13167         * io/euidaccess.c (__euidaccess): Likewise.
13168         * io/faccessat.c (faccessat): Likewise.
13169         * io/fchmod.c (__fchmod): Likewise.
13170         * io/fchmodat.c (fchmodat): Likewise.
13171         * io/fchown.c (__fchown): Likewise.
13172         * io/fchownat.c (fchownat): Likewise.
13173         * io/fcntl.c (__fcntl): Likewise.
13174         * io/flock.c (__flock): Likewise.
13175         * io/fts.c (fts_load): Likewise.
13176         (fts_close): Likewise.
13177         (fts_read): Likewise.
13178         (fts_set): Likewise.
13179         (fts_children): Likewise.
13180         (fts_build): Likewise.
13181         (fts_stat): Likewise.
13182         (fts_sort): Likewise.
13183         (fts_alloc): Likewise.
13184         (fts_lfree): Likewise.
13185         (fts_palloc): Likewise.
13186         (fts_padjust): Likewise.
13187         (fts_maxarglen): Likewise.
13188         (fts_safe_changedir): Likewise.
13189         * io/getwd.c (getwd): Likewise.
13190         * io/isatty.c (__isatty): Likewise.
13191         * io/lchown.c (__lchown): Likewise.
13192         * io/link.c (__link): Likewise.
13193         * io/linkat.c (linkat): Likewise.
13194         * io/lseek.c (__libc_lseek): Likewise.
13195         * io/mkdir.c (__mkdir): Likewise.
13196         * io/mkdirat.c (mkdirat): Likewise.
13197         * io/mkfifo.c (mkfifo): Likewise.
13198         * io/mkfifoat.c (mkfifoat): Likewise.
13199         * io/open.c (__libc_open): Likewise.
13200         * io/open64.c (__libc_open64): Likewise.
13201         * io/readlink.c (__readlink): Likewise.
13202         * io/readlinkat.c (readlinkat): Likewise.
13203         * io/rmdir.c (__rmdir): Likewise.
13204         * io/symlink.c (__symlink): Likewise.
13205         * io/symlinkat.c (symlinkat): Likewise.
13206         * io/ttyname.c (ttyname): Likewise.
13207         * io/ttyname_r.c (__ttyname_r): Likewise.
13208         * io/umask.c (__umask): Likewise.
13209         * io/unlink.c (__unlink): Likewise.
13210         * io/unlinkat.c (unlinkat): Likewise.
13211         * io/utime.c (utime): Likewise.
13212         * libio/clearerr.c (clearerr): Likewise.
13213         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13214         * libio/feof.c (_IO_feof): Likewise.
13215         * libio/feof_u.c (feof_unlocked): Likewise.
13216         * libio/ferror.c (_IO_ferror): Likewise.
13217         * libio/ferror_u.c (ferror_unlocked): Likewise.
13218         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13219         * libio/fileno.c (__fileno): Likewise.
13220         * libio/fputc.c (fputc): Likewise.
13221         * libio/fputc_u.c (fputc_unlocked): Likewise.
13222         * libio/fputwc.c (fputwc): Likewise.
13223         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13224         * libio/freopen.c (freopen): Likewise.
13225         * libio/freopen64.c (freopen64): Likewise.
13226         * libio/fseek.c (fseek): Likewise.
13227         * libio/fseeko.c (fseeko): Likewise.
13228         * libio/fseeko64.c (fseeko64): Likewise.
13229         * libio/ftello.c (__ftello): Likewise.
13230         * libio/ftello64.c (ftello64): Likewise.
13231         * libio/fwide.c (fwide): Likewise.
13232         * libio/genops.c (_IO_un_link): Likewise.
13233         (_IO_link_in): Likewise.
13234         (_IO_least_marker): Likewise.
13235         (_IO_switch_to_main_get_area): Likewise.
13236         (_IO_switch_to_backup_area): Likewise.
13237         (_IO_switch_to_get_mode): Likewise.
13238         (_IO_free_backup_area): Likewise.
13239         (_IO_switch_to_put_mode): Likewise.
13240         (__overflow): Likewise.
13241         (__underflow): Likewise.
13242         (__uflow): Likewise.
13243         (_IO_setb): Likewise.
13244         (_IO_doallocbuf): Likewise.
13245         (_IO_default_underflow): Likewise.
13246         (_IO_default_uflow): Likewise.
13247         (_IO_default_xsputn): Likewise.
13248         (_IO_sgetn): Likewise.
13249         (_IO_default_xsgetn): Likewise.
13250         (_IO_sync): Likewise.
13251         (_IO_default_setbuf): Likewise.
13252         (_IO_default_seekpos): Likewise.
13253         (_IO_default_doallocate): Likewise.
13254         (_IO_init): Likewise.
13255         (_IO_old_init): Likewise.
13256         (_IO_default_sync): Likewise.
13257         (_IO_default_finish): Likewise.
13258         (_IO_default_seekoff): Likewise.
13259         (_IO_sputbackc): Likewise.
13260         (_IO_sungetc): Likewise.
13261         (_IO_set_column): Likewise.
13262         (_IO_set_column): Likewise.
13263         (_IO_adjust_column): Likewise.
13264         (_IO_get_column): Likewise.
13265         (_IO_init_marker): Likewise.
13266         (_IO_remove_marker): Likewise.
13267         (_IO_marker_difference): Likewise.
13268         (_IO_marker_delta): Likewise.
13269         (_IO_seekmark): Likewise.
13270         (_IO_unsave_markers): Likewise.
13271         (_IO_nobackup_pbackfail): Likewise.
13272         (_IO_default_pbackfail): Likewise.
13273         (_IO_default_seek): Likewise.
13274         (_IO_default_stat): Likewise.
13275         (_IO_default_read): Likewise.
13276         (_IO_default_write): Likewise.
13277         (_IO_default_showmanyc): Likewise.
13278         (_IO_default_imbue): Likewise.
13279         (_IO_iter_next): Likewise.
13280         (_IO_iter_file): Likewise.
13281         * libio/getc.c (_IO_getc): Likewise.
13282         * libio/getwc.c (_IO_getwc): Likewise.
13283         * libio/iofclose.c (_IO_new_fclose): Likewise.
13284         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13285         * libio/iofflush.c (_IO_fflush): Likewise.
13286         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13287         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13288         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13289         * libio/iofgets.c (_IO_fgets): Likewise.
13290         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13291         * libio/iofgetws.c (fgetws): Likewise.
13292         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13293         * libio/iofopen64.c (_IO_fopen64): Likewise.
13294         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13295         (_IO_cookie_write): Likewise.
13296         (_IO_cookie_seek): Likewise.
13297         (_IO_cookie_close): Likewise.
13298         (_IO_cookie_seekoff): Likewise.
13299         (_IO_old_cookie_seek): Likewise.
13300         * libio/iofputs.c (_IO_fputs): Likewise.
13301         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13302         * libio/iofputws.c (fputws): Likewise.
13303         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13304         * libio/iofread.c (_IO_fread): Likewise.
13305         * libio/iofread_u.c (__fread_unlocked): Likewise.
13306         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13307         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13308         * libio/ioftell.c (_IO_ftell): Likewise.
13309         * libio/iofwrite.c (_IO_fwrite): Likewise.
13310         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13311         * libio/iogets.c (_IO_gets): Likewise.
13312         * libio/iopadn.c (_IO_padn): Likewise.
13313         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13314         (_IO_new_popen): Likewise.
13315         (_IO_new_proc_close): Likewise.
13316         * libio/ioputs.c (_IO_puts): Likewise.
13317         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13318         (_IO_seekoff): Likewise.
13319         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13320         (_IO_seekpos): Likewise.
13321         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13322         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13323         * libio/ioungetc.c (_IO_ungetc): Likewise.
13324         * libio/ioungetwc.c (ungetwc): Likewise.
13325         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13326         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13327         * libio/iowpadn.c (_IO_wpadn): Likewise.
13328         * libio/libc_fatal.c (__libc_fatal): Likewise.
13329         * libio/memstream.c (__open_memstream): Likewise.
13330         (_IO_mem_sync): Likewise.
13331         (_IO_mem_finish): Likewise.
13332         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13333         (_IO_old_file_close_it): Likewise.
13334         (_IO_old_file_finish): Likewise.
13335         (_IO_old_file_fopen): Likewise.
13336         (_IO_old_file_attach): Likewise.
13337         (_IO_old_file_setbuf): Likewise.
13338         (_IO_old_do_write): Likewise.
13339         (old_do_write): Likewise.
13340         (_IO_old_file_underflow): Likewise.
13341         (_IO_old_file_overflow): Likewise.
13342         (_IO_old_file_sync): Likewise.
13343         (_IO_old_file_seekoff): Likewise.
13344         (_IO_old_file_write): Likewise.
13345         (_IO_old_file_xsputn): Likewise.
13346         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13347         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13348         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13349         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13350         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13351         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13352         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13353         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13354         (_IO_old_popen): Likewise.
13355         (_IO_old_proc_close): Likewise.
13356         * libio/oldpclose.c (__old_pclose): Likewise.
13357         * libio/pclose.c (__new_pclose): Likewise.
13358         * libio/peekc.c (_IO_peekc_locked): Likewise.
13359         * libio/putc.c (_IO_putc): Likewise.
13360         * libio/putc_u.c (putc_unlocked): Likewise.
13361         * libio/putchar.c (putchar): Likewise.
13362         * libio/putchar_u.c (putchar_unlocked): Likewise.
13363         * libio/putwc.c (putwc): Likewise.
13364         * libio/putwc_u.c (putwc_unlocked): Likewise.
13365         * libio/putwchar.c (putwchar): Likewise.
13366         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13367         * libio/rewind.c (rewind): Likewise.
13368         * libio/setbuf.c (setbuf): Likewise.
13369         * libio/setlinebuf.c (setlinebuf): Likewise.
13370         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13371         * libio/vscanf.c (_IO_vscanf): Likewise.
13372         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13373         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13374         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13375         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13376         (_IO_switch_to_main_wget_area): Likewise.
13377         (_IO_switch_to_wbackup_area): Likewise.
13378         (_IO_wsetb): Likewise.
13379         (_IO_wdefault_pbackfail): Likewise.
13380         (_IO_wdefault_finish): Likewise.
13381         (_IO_wdefault_uflow): Likewise.
13382         (__woverflow): Likewise.
13383         (__wuflow): Likewise.
13384         (__wunderflow): Likewise.
13385         (_IO_wdefault_xsputn): Likewise.
13386         (_IO_wdefault_xsgetn): Likewise.
13387         (_IO_wdoallocbuf): Likewise.
13388         (_IO_wdefault_doallocate): Likewise.
13389         (_IO_switch_to_wget_mode): Likewise.
13390         (_IO_free_wbackup_area): Likewise.
13391         (_IO_switch_to_wput_mode): Likewise.
13392         (_IO_sputbackwc): Likewise.
13393         (_IO_sungetwc): Likewise.
13394         (_IO_adjust_wcolumn): Likewise.
13395         (_IO_init_wmarker): Likewise.
13396         (_IO_wmarker_delta): Likewise.
13397         (_IO_seekwmark): Likewise.
13398         (_IO_unsave_wmarkers): Likewise.
13399         * libio/wmemstream.c (open_wmemstream): Likewise.
13400         (_IO_wmem_sync): Likewise.
13401         (_IO_wmem_finish): Likewise.
13402         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13403         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13404         * locale/programs/simple-hash.c (init_hash): Likewise.
13405         (delete_hash): Likewise.
13406         (insert_entry): Likewise.
13407         (set_entry): Likewise.
13408         (next_prime): Likewise.
13409         (is_prime): Likewise.
13410         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13411         (xmalloc): Likewise.
13412         (xrealloc): Likewise.
13413         * locale/programs/xstrdup.c (xstrdup): Likewise.
13414         * localedata/collate-test.c (xstrcoll): Likewise.
13415         * localedata/xfrm-test.c (xstrcmp): Likewise.
13416         * login/getlogin_r.c (__getlogin_r): Likewise.
13417         * login/getpt.c (__posix_openpt): Likewise.
13418         * login/login_tty.c (login_tty): Likewise.
13419         * login/setlogin.c (setlogin): Likewise.
13420         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13421         (mach_msg_destroy_port): Likewise.
13422         (mach_msg_destroy_memory): Likewise.
13423         * malloc/mcheck.c (flood): Likewise.
13424         * misc/acct.c (acct): Likewise.
13425         * misc/brk.c (__brk): Likewise.
13426         * misc/chflags.c (chflags): Likewise.
13427         * misc/chroot.c (chroot): Likewise.
13428         * misc/fchflags.c (fchflags): Likewise.
13429         * misc/fstab.c (getfsspec): Likewise.
13430         (getfsfile): Likewise.
13431         * misc/fsync.c (fsync): Likewise.
13432         * misc/ftruncate.c (__ftruncate): Likewise.
13433         * misc/ftruncate64.c (__ftruncate64): Likewise.
13434         * misc/getdomain.c (getdomainname): Likewise.
13435         (getdomainname): Likewise.
13436         * misc/gethostname.c (__gethostname): Likewise.
13437         * misc/getpass.c (getpass): Likewise.
13438         * misc/getttyent.c (skip): Likewise.
13439         (value): Likewise.
13440         * misc/gtty.c (gtty): Likewise.
13441         * misc/hsearch.c (hsearch): Likewise.
13442         (hcreate): Likewise.
13443         * misc/hsearch_r.c (__hcreate_r): Likewise.
13444         (__hdestroy_r): Likewise.
13445         * misc/ioctl.c (__ioctl): Likewise.
13446         * misc/mkdtemp.c (mkdtemp): Likewise.
13447         * misc/mkostemp.c (mkostemp): Likewise.
13448         * misc/mkostemp64.c (mkostemp64): Likewise.
13449         * misc/mkostemps.c (mkostemps): Likewise.
13450         * misc/mkostemps64.c (mkostemps64): Likewise.
13451         * misc/mkstemp.c (mkstemp): Likewise.
13452         * misc/mkstemp64.c (mkstemp64): Likewise.
13453         * misc/mkstemps.c (mkstemps): Likewise.
13454         * misc/mkstemps64.c (mkstemps64): Likewise.
13455         * misc/mktemp.c (__mktemp): Likewise.
13456         * misc/preadv.c (preadv): Likewise.
13457         * misc/preadv64.c (preadv64): Likewise.
13458         * misc/pwritev.c (pwritev): Likewise.
13459         * misc/pwritev64.c (pwritev64): Likewise.
13460         * misc/readv.c (__readv): Likewise.
13461         * misc/revoke.c (revoke): Likewise.
13462         * misc/setdomain.c (setdomainname): Likewise.
13463         * misc/setegid.c (setegid): Likewise.
13464         * misc/seteuid.c (seteuid): Likewise.
13465         * misc/sethostid.c (sethostid): Likewise.
13466         * misc/sethostname.c (sethostname): Likewise.
13467         * misc/setregid.c (__setregid): Likewise.
13468         * misc/setreuid.c (__setreuid): Likewise.
13469         * misc/sstk.c (sstk): Likewise.
13470         * misc/stty.c (stty): Likewise.
13471         * misc/syscall.c (syscall): Likewise.
13472         * misc/syslog.c (setlogmask): Likewise.
13473         * misc/truncate.c (__truncate): Likewise.
13474         * misc/truncate64.c (truncate64): Likewise.
13475         * misc/ualarm.c (ualarm): Likewise.
13476         * misc/usleep.c (usleep): Likewise.
13477         * misc/ustat.c (ustat): Likewise.
13478         * misc/writev.c (__writev): Likewise.
13479         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13480         * nptl/old_pthread_cond_broadcast.c
13481         (__pthread_cond_broadcast_2_0): Likewise.
13482         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13483         Likewise.
13484         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13485         Likewise.
13486         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13487         Likewise.
13488         * nptl/pt-raise.c (raise): Likewise.
13489         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13490         Likewise.
13491         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13492         * nptl/pthread_barrierattr_destroy.c
13493         (pthread_barrierattr_destroy): Likewise.
13494         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13495         Likewise.
13496         * nptl/pthread_barrierattr_setpshared.c
13497         (pthread_barrierattr_setpshared): Likewise.
13498         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13499         Likewise.
13500         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13501         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13502         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13503         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13504         Likewise.
13505         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13506         Likewise.
13507         * nptl/pthread_condattr_getpshared.c
13508         (pthread_condattr_getpshared): Likewise.
13509         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13510         Likewise.
13511         * nptl/pthread_condattr_setpshared.c
13512         (pthread_condattr_setpshared): Likewise.
13513         * nptl/pthread_detach.c (pthread_detach): Likewise.
13514         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13515         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13516         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13517         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13518         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13519         Likewise.
13520         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13521         Likewise.
13522         * nptl/pthread_mutex_getprioceiling.c
13523         (pthread_mutex_getprioceiling): Likewise.
13524         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13525         Likewise.
13526         * nptl/pthread_mutexattr_getprotocol.c
13527         (pthread_mutexattr_getprotocol): Likewise.
13528         * nptl/pthread_mutexattr_getpshared.c
13529         (pthread_mutexattr_getpshared): Likewise.
13530         * nptl/pthread_mutexattr_getrobust.c
13531         (pthread_mutexattr_getrobust): Likewise.
13532         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13533         Likewise.
13534         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13535         Likewise.
13536         * nptl/pthread_mutexattr_setprioceiling.c
13537         (pthread_mutexattr_setprioceiling): Likewise.
13538         * nptl/pthread_mutexattr_setprotocol.c
13539         (pthread_mutexattr_setprotocol): Likewise.
13540         * nptl/pthread_mutexattr_setpshared.c
13541         (pthread_mutexattr_setpshared): Likewise.
13542         * nptl/pthread_mutexattr_setrobust.c
13543         (pthread_mutexattr_setrobust): Likewise.
13544         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13545         Likewise.
13546         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13547         Likewise.
13548         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13549         Likewise.
13550         * nptl/pthread_rwlockattr_getkind_np.c
13551         (pthread_rwlockattr_getkind_np): Likewise.
13552         * nptl/pthread_rwlockattr_getpshared.c
13553         (pthread_rwlockattr_getpshared): Likewise.
13554         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13555         Likewise.
13556         * nptl/pthread_rwlockattr_setkind_np.c
13557         (pthread_rwlockattr_setkind_np): Likewise.
13558         * nptl/pthread_rwlockattr_setpshared.c
13559         (pthread_rwlockattr_setpshared): Likewise.
13560         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13561         Likewise.
13562         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13563         Likewise.
13564         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13565         Likewise.
13566         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13567         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13568         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13569         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13570         * nptl/sem_close.c (sem_close): Likewise.
13571         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13572         * nptl/sem_init.c (__old_sem_init): Likewise.
13573         * nptl/sigaction.c (__sigaction): Likewise.
13574         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13575         * posix/_exit.c (_exit): Likewise.
13576         * posix/alarm.c (alarm): Likewise.
13577         * posix/confstr.c (confstr): Likewise.
13578         * posix/fpathconf.c (__fpathconf): Likewise.
13579         * posix/getgroups.c (__getgroups): Likewise.
13580         * posix/getpgid.c (__getpgid): Likewise.
13581         * posix/group_member.c (__group_member): Likewise.
13582         * posix/pathconf.c (__pathconf): Likewise.
13583         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13584         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13585         * posix/setgid.c (__setgid): Likewise.
13586         * posix/setpgid.c (__setpgid): Likewise.
13587         * posix/setuid.c (__setuid): Likewise.
13588         * posix/sleep.c (__sleep): Likewise.
13589         * posix/sysconf.c (__sysconf): Likewise.
13590         * posix/times.c (__times): Likewise.
13591         * posix/uname.c (__uname): Likewise.
13592         * posix/waitid.c (__waitid): Likewise.
13593         * pwd/getpw.c (__getpw): Likewise.
13594         * resolv/base64.c (b64_pton): Likewise.
13595         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13596         * resolv/gethnamaddr.c (Dprintf): Likewise.
13597         (gethostbyname): Likewise.
13598         (gethostbyname2): Likewise.
13599         (gethostbyaddr): Likewise.
13600         (_sethtent): Likewise.
13601         (_gethtbyname): Likewise.
13602         (_gethtbyname2): Likewise.
13603         (_gethtbyaddr): Likewise.
13604         (map_v4v6_address): Likewise.
13605         (map_v4v6_hostent): Likewise.
13606         (addrsort): Likewise.
13607         (ht_sethostent): Likewise.
13608         (ht_gethostbyname): Likewise.
13609         (ht_gethostbyaddr): Likewise.
13610         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13611         (inet_net_ntop_ipv4): Likewise.
13612         * resolv/inet_neta.c (inet_neta): Likewise.
13613         * resolv/inet_ntop.c (inet_ntop): Likewise.
13614         (inet_ntop4): Likewise.
13615         (inet_ntop6): Likewise.
13616         * resolv/inet_pton.c (__inet_pton): Likewise.
13617         (inet_pton4): Likewise.
13618         (inet_pton6): Likewise.
13619         * resolv/res_debug.c (loc_aton): Likewise.
13620         (loc_ntoa): Likewise.
13621         * resource/getpriority.c (__getpriority): Likewise.
13622         * resource/getrusage.c (__getrusage): Likewise.
13623         * resource/nice.c (nice): Likewise.
13624         * resource/setpriority.c (__setpriority): Likewise.
13625         * resource/setrlimit64.c (setrlimit64): Likewise.
13626         * resource/vlimit.c (vlimit): Likewise.
13627         * resource/vtimes.c (vtimes): Likewise.
13628         * rt/aio_error.c (aio_error): Likewise.
13629         * rt/aio_return.c (aio_return): Likewise.
13630         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13631         * signal/kill.c (__kill): Likewise.
13632         * signal/killpg.c (killpg): Likewise.
13633         * signal/raise.c (raise): Likewise.
13634         * signal/sigaction.c (__sigaction): Likewise.
13635         * signal/sigaddset.c (sigaddset): Likewise.
13636         * signal/sigaltstack.c (sigaltstack): Likewise.
13637         * signal/sigandset.c (sigandset): Likewise.
13638         * signal/sigblock.c (__sigblock): Likewise.
13639         * signal/sigdelset.c (sigdelset): Likewise.
13640         * signal/sigempty.c (sigemptyset): Likewise.
13641         * signal/sigfillset.c (sigfillset): Likewise.
13642         * signal/sighold.c (sighold): Likewise.
13643         * signal/sigignore.c (sigignore): Likewise.
13644         * signal/sigintr.c (siginterrupt): Likewise.
13645         * signal/sigisempty.c (sigisemptyset): Likewise.
13646         * signal/sigismem.c (sigismember): Likewise.
13647         * signal/signal.c (signal): Likewise.
13648         * signal/sigorset.c (sigorset): Likewise.
13649         * signal/sigpause.c (__sigpause): Likewise.
13650         * signal/sigpending.c (sigpending): Likewise.
13651         * signal/sigprocmask.c (__sigprocmask): Likewise.
13652         * signal/sigrelse.c (sigrelse): Likewise.
13653         * signal/sigreturn.c (__sigreturn): Likewise.
13654         * signal/sigset.c (sigset): Likewise.
13655         * signal/sigsetmask.c (__sigsetmask): Likewise.
13656         * signal/sigstack.c (sigstack): Likewise.
13657         * signal/sigsuspend.c (__sigsuspend): Likewise.
13658         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13659         * signal/sysv_signal.c (__sysv_signal): Likewise.
13660         * socket/accept.c (accept): Likewise.
13661         * socket/accept4.c (__libc_accept4): Likewise.
13662         * socket/bind.c (__bind): Likewise.
13663         * socket/connect.c (__connect): Likewise.
13664         * socket/getpeername.c (getpeername): Likewise.
13665         * socket/getsockname.c (__getsockname): Likewise.
13666         * socket/getsockopt.c (getsockopt): Likewise.
13667         * socket/listen.c (__listen): Likewise.
13668         * socket/recv.c (__recv): Likewise.
13669         * socket/recvmsg.c (__recvmsg): Likewise.
13670         * socket/send.c (__send): Likewise.
13671         * socket/sendmsg.c (__sendmsg): Likewise.
13672         * socket/shutdown.c (shutdown): Likewise.
13673         * socket/sockatmark.c (sockatmark): Likewise.
13674         * socket/socket.c (__socket): Likewise.
13675         * stdio-common/ctermid.c (ctermid): Likewise.
13676         * stdio-common/cuserid.c (cuserid): Likewise.
13677         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13678         * stdio-common/remove.c (remove): Likewise.
13679         * stdio-common/rename.c (rename): Likewise.
13680         * stdio-common/renameat.c (renameat): Likewise.
13681         * stdio-common/tempname.c (__gen_tempname): Likewise.
13682         * stdio-common/xbug.c (InitBuffer): Likewise.
13683         (AppendToBuffer): Likewise.
13684         (ReadFile): Likewise.
13685         * stdlib/a64l.c (a64l): Likewise.
13686         * stdlib/drand48_r.c (drand48_r): Likewise.
13687         * stdlib/getcontext.c (getcontext): Likewise.
13688         * stdlib/getenv.c (getenv): Likewise.
13689         * stdlib/l64a.c (l64a): Likewise.
13690         * stdlib/llabs.c (llabs): Likewise.
13691         * stdlib/lldiv.c (lldiv): Likewise.
13692         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13693         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13694         * stdlib/putenv.c (putenv): Likewise.
13695         * stdlib/random.c (__srandom): Likewise.
13696         (__initstate): Likewise.
13697         (__setstate): Likewise.
13698         * stdlib/random_r.c (__srandom_r): Likewise.
13699         (__setstate_r): Likewise.
13700         (__random_r): Likewise.
13701         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13702         * stdlib/setcontext.c (setcontext): Likewise.
13703         * stdlib/setenv.c (setenv): Likewise.
13704         (unsetenv): Likewise.
13705         * stdlib/srand48.c (srand48): Likewise.
13706         * stdlib/srand48_r.c (__srand48_r): Likewise.
13707         * stdlib/swapcontext.c (swapcontext): Likewise.
13708         * stdlib/system.c (__libc_system): Likewise.
13709         * stdlib/tst-strtod.c (expand): Likewise.
13710         * stdlib/tst-strtol.c (expand): Likewise.
13711         * stdlib/tst-strtoll.c (expand): Likewise.
13712         * streams/fattach.c (fattach): Likewise.
13713         * streams/fdetach.c (fdetach): Likewise.
13714         * streams/getmsg.c (getmsg): Likewise.
13715         * streams/isastream.c (isastream): Likewise.
13716         * string/ffs.c (__ffs): Likewise.
13717         * string/ffsll.c (ffsll): Likewise.
13718         * string/memcmp.c (memcmp_common_alignment): Likewise.
13719         (memcmp_not_common_alignment): Likewise.
13720         (MEMCMP): Likewise.
13721         * string/memcpy.c (memcpy): Likewise.
13722         * string/memmove.c (MEMMOVE): Likewise.
13723         * string/memset.c (memset): Likewise.
13724         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13725         * string/strchrnul.c (STRCHRNUL): Likewise.
13726         * string/strerror.c (strerror): Likewise.
13727         * string/strndup.c (__strndup): Likewise.
13728         * string/strverscmp.c (__strverscmp): Likewise.
13729         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13730         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13731         (clnttcp_freeres): Likewise.
13732         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13733         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13734         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13735         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13736         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13737         (xdr_callhdr): Likewise.
13738         * sunrpc/rpcinfo.c (udpping): Likewise.
13739         (tcpping): Likewise.
13740         (pstatus): Likewise.
13741         (pmapdump): Likewise.
13742         (brdcst): Likewise.
13743         (deletereg): Likewise.
13744         (getprognum): Likewise.
13745         (getvers): Likewise.
13746         (get_inet_address): Likewise.
13747         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13748         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13749         (svcudp_stat): Likewise.
13750         (svcudp_recv): Likewise.
13751         (svcudp_reply): Likewise.
13752         (svcudp_getargs): Likewise.
13753         (svcudp_freeargs): Likewise.
13754         (svcudp_destroy): Likewise.
13755         * sunrpc/xdr.c (xdr_bytes): Likewise.
13756         (xdr_netobj): Likewise.
13757         (xdr_string): Likewise.
13758         (xdr_wrapstring): Likewise.
13759         * sunrpc/xdr_float.c (xdr_float): Likewise.
13760         (xdr_double): Likewise.
13761         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13762         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13763         * sysvipc/ftok.c (ftok): Likewise.
13764         * sysvipc/msgctl.c (msgctl): Likewise.
13765         * sysvipc/msgget.c (msgget): Likewise.
13766         * sysvipc/msgrcv.c (msgrcv): Likewise.
13767         * sysvipc/msgsnd.c (msgsnd): Likewise.
13768         * sysvipc/semget.c (semget): Likewise.
13769         * sysvipc/semop.c (semop): Likewise.
13770         * sysvipc/shmat.c (shmat): Likewise.
13771         * sysvipc/shmctl.c (shmctl): Likewise.
13772         * sysvipc/shmdt.c (shmdt): Likewise.
13773         * sysvipc/shmget.c (shmget): Likewise.
13774         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13775         * termios/speed.c (cfgetospeed): Likewise.
13776         (cfgetispeed): Likewise.
13777         (cfsetospeed): Likewise.
13778         (cfsetispeed): Likewise.
13779         * termios/tcflow.c (tcflow): Likewise.
13780         * termios/tcflush.c (tcflush): Likewise.
13781         * termios/tcgetattr.c (__tcgetattr): Likewise.
13782         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13783         * termios/tcgetsid.c (tcgetsid): Likewise.
13784         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13785         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13786         * time/adjtime.c (__adjtime): Likewise.
13787         * time/dysize.c (dysize): Likewise.
13788         * time/ftime.c (ftime): Likewise.
13789         * time/getitimer.c (__getitimer): Likewise.
13790         * time/gettimeofday.c (__gettimeofday): Likewise.
13791         * time/gmtime.c (__gmtime_r): Likewise.
13792         (gmtime): Likewise.
13793         * time/localtime.c (__localtime_r): Likewise.
13794         (localtime): Likewise.
13795         * time/offtime.c (__offtime): Likewise.
13796         * time/settimeofday.c (__settimeofday): Likewise.
13797         * time/stime.c (stime): Likewise.
13798         * time/strftime_l.c (tm_diff): Likewise.
13799         (iso_week_days): Likewise.
13800         * time/strptime.c (strptime): Likewise.
13801         * time/time.c (time): Likewise.
13802         * time/timespec_get.c (timespec_get): Likewise.
13803         * time/tzset.c (tzset_internal): Likewise.
13804         (compute_change): Likewise.
13805         (__tz_compute): Likewise.
13806         * wcsmbs/btowc.c (__btowc): Likewise.
13807         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13808         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13809         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13810         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13811         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13812         * wcsmbs/wcscat.c (__wcscat): Likewise.
13813         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13814         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13815         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13816         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13817         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13818         * wcsmbs/wcslen.c (__wcslen): Likewise.
13819         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13820         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13821         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13822         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13823         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13824         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13825         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13826         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13827         * wcsmbs/wcstok.c (wcstok): Likewise.
13828         * wcsmbs/wctob.c (wctob): Likewise.
13829         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13830         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13831         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13832         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13833         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13834         * wcsmbs/wmemset.c (__wmemset): Likewise.
13835         * wctype/wcfuncs.c (__towlower): Likewise.
13836         (__towupper): Likewise.
13838         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13839         (lll_unlock_elision): Add adapt_count parameter.
13841 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13843         * sysdeps/nptl/configure.ac: Do not give errors based on the
13844         results of top-level configure tests.
13845         * sysdeps/nptl/configure: Regenerated.
13847         * configure.ac (libc_cv_Bgroup): Remove configure test.
13848         * configure: Regenerated.
13849         * config.make.in (have-Bgroup): Remove variable.
13851         * configure.ac (sizeof_long_double): Remove configure test.
13852         * configure: Regenerated.
13853         * config.make.in (sizeof-long-double): Remove variable.
13855         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13856         * configure: Regenerated.
13857         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13858         variable.
13859         (exceptions): Likewise.
13860         * sysdeps/arm/configure: Regenerated.
13861         * config.make.in (exceptions): Remove variable.
13862         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13863         $(exceptions).
13864         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13865         (CFLAGS-vdprintf_chk.c): Likewise.
13866         (CFLAGS-printf_chk.c): Likewise.
13867         (CFLAGS-fprintf_chk.c): Likewise.
13868         (CFLAGS-vprintf_chk.c): Likewise.
13869         (CFLAGS-vfprintf_chk.c): Likewise.
13870         (CFLAGS-gets_chk.c): Likewise.
13871         (CFLAGS-fgets_chk.c): Likewise.
13872         (CFLAGS-fgets_u_chk.c): Likewise.
13873         (CFLAGS-fread_chk.c): Likewise.
13874         (CFLAGS-fread_u_chk.c): Likewise.
13875         (CFLAGS-wprintf_chk.c): Likewise.
13876         (CFLAGS-fwprintf_chk.c): Likewise.
13877         (CFLAGS-vwprintf_chk.c): Likewise.
13878         (CFLAGS-vfwprintf_chk.c): Likewise.
13879         (CFLAGS-fgetws_chk.c): Likewise.
13880         (CFLAGS-fgetws_u_chk.c): Likewise.
13881         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13882         (CFLAGS-fputc.c): Likewise.
13883         (CFLAGS-fputwc.c): Likewise.
13884         (CFLAGS-freopen64.c): Likewise.
13885         (CFLAGS-freopen.c): Likewise.
13886         (CFLAGS-fseek.c): Likewise.
13887         (CFLAGS-fseeko64.c): Likewise.
13888         (CFLAGS-fseeko.c): Likewise.
13889         (CFLAGS-ftello64.c): Likewise.
13890         (CFLAGS-ftello.c): Likewise.
13891         (CFLAGS-fwide.c): Likewise.
13892         (CFLAGS-genops.c): Likewise.
13893         (CFLAGS-getc.c): Likewise.
13894         (CFLAGS-getchar.c): Likewise.
13895         (CFLAGS-getwc.c): Likewise.
13896         (CFLAGS-getwchar.c): Likewise.
13897         (CFLAGS-iofclose.c): Likewise.
13898         (CFLAGS-iofflush.c): Likewise.
13899         (CFLAGS-iofgetpos64.c): Likewise.
13900         (CFLAGS-iofgetpos.c): Likewise.
13901         (CFLAGS-iofgets.c): Likewise.
13902         (CFLAGS-iofgetws.c): Likewise.
13903         (CFLAGS-iofputs.c): Likewise.
13904         (CFLAGS-iofputws.c): Likewise.
13905         (CFLAGS-iofread.c): Likewise.
13906         (CFLAGS-iofsetpos64.c): Likewise.
13907         (CFLAGS-iofsetpos.c): Likewise.
13908         (CFLAGS-ioftell.c): Likewise.
13909         (CFLAGS-iofwrite.c): Likewise.
13910         (CFLAGS-iogetdelim.c): Likewise.
13911         (CFLAGS-iogetline.c): Likewise.
13912         (CFLAGS-iogets.c): Likewise.
13913         (CFLAGS-iogetwline.c): Likewise.
13914         (CFLAGS-ioputs.c): Likewise.
13915         (CFLAGS-ioseekoff.c): Likewise.
13916         (CFLAGS-ioseekpos.c): Likewise.
13917         (CFLAGS-iosetbuffer.c): Likewise.
13918         (CFLAGS-iosetvbuf.c): Likewise.
13919         (CFLAGS-ioungetc.c): Likewise.
13920         (CFLAGS-ioungetwc.c): Likewise.
13921         (CFLAGS-oldfileops.c): Likewise.
13922         (CFLAGS-oldiofclose.c): Likewise.
13923         (CFLAGS-oldiofgetpos64.c): Likewise.
13924         (CFLAGS-oldiofgetpos.c): Likewise.
13925         (CFLAGS-oldiofsetpos64.c): Likewise.
13926         (CFLAGS-oldiofsetpos.c): Likewise.
13927         (CFLAGS-peekc.c): Likewise.
13928         (CFLAGS-putc.c): Likewise.
13929         (CFLAGS-putchar.c): Likewise.
13930         (CFLAGS-putwc.c): Likewise.
13931         (CFLAGS-putwchar.c): Likewise.
13932         (CFLAGS-rewind.c): Likewise.
13933         (CFLAGS-wfileops.c): Likewise.
13934         (CFLAGS-wgenops.c): Likewise.
13935         (CFLAGS-oldiofopen.c): Likewise.
13936         (CFLAGS-iofopen.c): Likewise.
13937         (CFLAGS-iofopen64.c): Likewise.
13938         (CFLAGS-oldtmpfile.c): Likewise.
13939         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13940         (CFLAGS-fprintf.c): Likewise.
13941         (CFLAGS-printf.c): Likewise.
13942         (CFLAGS-vfwprintf.c): Likewise.
13943         (CFLAGS-vfscanf.c): Likewise.
13944         (CFLAGS-vfwscanf.c): Likewise.
13945         (CFLAGS-fscanf.c): Likewise.
13946         (CFLAGS-scanf.c): Likewise.
13947         (CFLAGS-isoc99_vfscanf.c): Likewise.
13948         (CFLAGS-isoc99_vscanf.c): Likewise.
13949         (CFLAGS-isoc99_fscanf.c): Likewise.
13950         (CFLAGS-isoc99_scanf.c): Likewise.
13951         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13952         (CFLAGS-isoc99_fwscanf.c): Likewise.
13953         (CFLAGS-isoc99_vwscanf.c): Likewise.
13954         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13956         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13957         after mkstemp64.
13958         * login/tst-utmp.c (do_prepare): Likewise.
13959         * rt/tst-aio.c (do_prepare): Likewise.
13960         * rt/tst-aio64.c (do_prepare): Likewise.
13962 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13964         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13965         (__lll_lock_elision): Remove adapt_count decrement...
13966         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13967         (__lll_trylock_elision): Likewise.
13968         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13969         (__lll_unlock_elision): ... to here. And utilize
13970         new adapt_count parameter.
13971         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13972         (__lll_unlock_elision): Update to include adapt_count
13973         parameter.
13974         (lll_unlock_elision): Pass pointer to adapt_count
13975         variable.
13977 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13979         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13980         Add elision adapt_count parameter to list of arguments.
13981         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13982         (lll_unlock_elision): Update with new parameter list
13983         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13984         (lll_unlock_elision): Likewise.
13985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13986         (lll_unlock_elision): Likewise.
13988 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13990         [BZ #19122]
13991         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13992         attribute_hidden.
13994         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13995         attribute_hidden.
13996         [IS_IN (rtld)] (__strdup): Likewise.
13997         [IS_IN (rtld)] (__strerror_r): Likewise.
13998         [IS_IN (rtld)] (__strsep_g): Likewise.
13999         [IS_IN (rtld)] (memchr): Likewise.
14000         [IS_IN (rtld)] (memcmp): Likewise.
14001         [IS_IN (rtld)] (memcpy): Likewise.
14002         [IS_IN (rtld)] (memmove): Likewise.
14003         [IS_IN (rtld)] (memset): Likewise.
14004         [IS_IN (rtld)] (rawmemchr): Likewise.
14005         [IS_IN (rtld)] (stpcpy): Likewise.
14006         [IS_IN (rtld)] (strchr): Likewise.
14007         [IS_IN (rtld)] (strcmp): Likewise.
14008         [IS_IN (rtld)] (strlen): Likewise.
14009         [IS_IN (rtld)] (strnlen): Likewise.
14010         [IS_IN (rtld)] (strsep): Likewise.
14012         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14013         attribute_hidden.
14014         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14016         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14017         attribute_hidden.
14018         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14020         * include/setjmp.h (__longjmp): Add attribute_hidden.
14021         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14023         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14024         Add attribute_hidden.
14026         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14027         [IS_IN (rtld)] (__open): Likewise.
14028         [IS_IN (rtld)] (__fcntl): Likewise.
14030         * include/dirent.h (__opendirat): Add attribute_hidden.
14031         (__getdents): Likewise.
14032         (__getdents64): Likewise.
14033         (__alloc_dir): Likewise.
14034         [IS_IN (rtld)] (__closedir): Likewise.
14035         [IS_IN (rtld)] (__fdopendir): Likewise.
14036         [IS_IN (rtld)] (__readdir): Likewise.
14037         [IS_IN (rtld)] (__readdir64): Likewise.
14038         [IS_IN (rtld)] (__rewinddir): Likewise.
14040         * include/dlfcn.h (_dl_catch_error): Moved to ...
14041         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14042         attribute_hidden.
14044         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14045         (_itoa_word): Likewise.
14047         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14048         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14049         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14050         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14051         (_dl_higher_prime_number): Likewise.
14052         (_dl_debug_printf_c): Likewise.
14053         (_dl_signal_cerror): Likewise.
14054         (_dl_receive_error): Likewise.
14055         (_dl_reloc_bad_type): Likewise.
14056         (_dl_resolve_conflicts): Likewise.
14057         (_dl_check_all_versions): Likewise.
14058         (_dl_check_map_versions): Likewise.
14059         (_dl_sort_fini): Likewise.
14060         (_dl_debug_initialize): Likewise.
14061         (_dl_init_paths): Likewise.
14062         (_dl_show_auxv): Likewise.
14063         (_dl_next_ld_env_entry): Likewise.
14064         (_dl_important_hwcaps): Likewise.
14065         (_dl_load_cache_lookup): Likewise.
14066         (_dl_update_slotinfo): Likewise.
14067         (_dl_show_scope): Likewise.
14069         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14070         attribute_hidden.
14071         (_wordcopy_fwd_dest_aligned): Likewise.
14072         (_wordcopy_bwd_aligned): Likewise.
14073         (_wordcopy_bwd_dest_aligned): Likewise.
14075         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14076         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14077         Likewise.
14078         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14079         Likewise.
14080         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14082 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14085         GCC 5 requirement.
14087 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14089         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14090         test.
14091         * sysdeps/i386/configure: Regenerated.
14092         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14093         code unconditional.
14095         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14096         test.
14097         (libc_cv_asm_popsection_directive): Likewise.
14098         * configure: Regenerated.
14099         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14100         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14101         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14102         (__make_section_unallocated): Make definition unconditional.
14103         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14104         Remove conditional definition.
14105         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14106         (__make_section_unallocated): Likewise.
14108         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14109         * configure: Regenerated.
14110         * config.make.in (static-libgcc): Remove variable.
14111         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14112         $(static-libgcc).
14113         (build-module-helper): Likewise.
14115         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14116         * configure: Regenerated.
14118 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14120         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14121         (struct char_buffer): New type.
14122         (char_buffer_start, char_buffer_size, char_buffer_error)
14123         (char_buffer_rewind, char_buffer_add): New functions.
14124         (ADDW): Remove macro, replaced by the char_buffer_add function.
14125         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14126         of extend_alloca.  Make control flow more explicit.
14128 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14130         [BZ #19137]
14131         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14132         Add -fomit-frame-pointer.
14133         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14135 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14137         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14138         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14140         only if !__GNUC_PREREQ (5,0).
14141         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14142         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14143         (INTERNAL_SYSCALL_NCS): Likewise.
14144         (LOADREGS_0): New macro for GCC 5.
14145         (ASMARGS_0): Likewise.
14146         (LOADREGS_1): Likewise.
14147         (ASMARGS_1): Likewise.
14148         (LOADREGS_2): Likewise.
14149         (ASMARGS_2): Likewise.
14150         (LOADREGS_3): Likewise.
14151         (ASMARGS_3): Likewise.
14152         (LOADREGS_4): Likewise.
14153         (ASMARGS_4): Likewise.
14154         (LOADREGS_5): Likewise.
14155         (ASMARGS_5): Likewise.
14156         (LOADREGS_6): Likewise.
14157         (ASMARGS_6): Likewise.
14159 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14161         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14162         -fomit-frame-pointer.
14163         (CFLAGS-mmap64.c): Likewise.
14164         (CFLAGS-semtimedop.c): Likewise.
14165         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14166         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14167         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14168         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14170 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14172         [BZ #18928]
14173         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14174         _dl_pointer_guard member.
14175         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14176         initializer.
14177         (security_init): Always set up pointer guard.
14178         (process_envvars): Do not process LD_POINTER_GUARD.
14180 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14182         [BZ #19134]
14183         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14184         (.LC2): Likewise.
14185         (.LC3): Likewise.
14186         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14188 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14190         [BZ #19129]
14191         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14192         r0 and r1.
14194 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14196         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14198 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14200         * include/stap-probe.h: Fix macro definition formatting.
14202 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14204         [BZ #19074]
14205         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14206         load and store num_ifs.
14208 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14210         [BZ #18822]
14211         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14212         (__sched_getaffinity_new): Add libc_hidden_proto and
14213         libc_hidden_def.
14215 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14217         [BZ #19007]
14218         * scripts/localplt.awk: Also allow GOT references.
14219         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14220         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14221         with "+ REL R_386_GLOB_DAT".
14222         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14223         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14225 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14227         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14228         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14229         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14230         Likewise.
14231         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14232         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14233         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14234         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14235         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14236         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14237         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14238         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14239         Likewise.
14240         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14242 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14244         [BZ #19125]
14245         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14246         <math_private.h> and <stdint.h>.
14247         (__llround): Avoid conversions to and from long long int, and
14248         subtractions, where those might raise spurious exceptions.
14249         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14250         <math_private.h> and <stdint.h>.
14251         (__llroundf): Avoid conversions to and from long long int, and
14252         subtractions, where those might raise spurious exceptions.
14254 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14256         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14257         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14258         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14259         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14260         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14261         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14262         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14263         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14264         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14265         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14266         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14267         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14268         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14269         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14270         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14271         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14272         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14273         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14274         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14275         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14276         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14277         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14278         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14279         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14280         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14281         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14282         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14283         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14284         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14285         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14286         (__xstat64_conv): Likewise.
14287         (__xstat32_conv): Likewise.
14289 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14291         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14292         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14293         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14294         <sysdeps/unix/sysv/linux/sysdep.h>.
14295         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14296         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14297         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14298         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14299         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14300         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14301         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14302         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14303         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14306         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14308         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14309         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14311         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14312         (sysdep-dl-routines): Add sysdep.
14313         [$(subdir) == nptl] (libpthread-routines): Likewise.
14314         [$(subdir) == rt] (librt-routines): Likewise.
14315         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14316         PIC when branching to SYSCALL_ERROR_LABEL.
14317         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14318         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14319         <sysdeps/unix/sysv/linux/sysdep.h>.
14320         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14321         (SYSCALL_ERROR_ERRNO): Removed.
14322         (SYSCALL_ERROR_HANDLER): Changed to empty.
14323         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14324         (__syscall_error): New prototype.
14325         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14326         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14328 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14330         [BZ #19124]
14331         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14332         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14333         _dl_runtime_resolve_avx.
14334         (_dl_runtime_profile_avx512): Make it a hidden alias of
14335         _dl_runtime_profile_avx.
14337 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14339         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14340         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14341         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14342         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14344         [BZ #16422]
14345         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14346         New configure test.
14347         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14348         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14349         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14350         <math_private.h> and <stdint.h>.
14351         (__llrint): Avoid conversions to long long int where those might
14352         raise spurious exceptions.
14353         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14354         <math_private.h> and <stdint.h>.
14355         (__llrintf): Avoid conversions to long long int where those might
14356         raise spurious exceptions.
14358 2015-10-12  Andreas Schwab  <schwab@suse.de>
14360         [BZ #18969]
14361         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14362         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14363         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14364         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14365         $(gen-locales).
14366         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14367         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14368         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14369         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14370         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14371         $(gen-locales).
14372         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14373         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14374         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14375         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14376         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14377         ($(objpfx)tst-ftell-active-handler.out)
14378         ($(objpfx)tst-ftell-append.out)
14379         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14380         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14381         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14382         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14383         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14384         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14385         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14386         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14387         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14388         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14389         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14390         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14391         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14392         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14393         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14394         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14395         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14396         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14397         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14398         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14399         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14400         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14401         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14402         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14403         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14404         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14405         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14406         $(gen-locales).
14407         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14408         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14409         $(gen-locales).
14410         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14411         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14412         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14413         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14414         $(gen-locales).
14415         * libio/tst_wprintf2.c (main): Use explicit locale.
14416         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14418 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14420         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14421         __msg_sig_post.
14422         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14424 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14426         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14427         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14429         * sysdeps/arm/libm-test-ulps: Regenerated.
14431         [BZ #15470]
14432         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14434         [BZ #16399]
14435         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14436         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14437         and <fix-fp-int-convert-overflow.h>.
14438         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14439         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14440         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14441         and <fix-fp-int-convert-overflow.h>.
14442         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14443         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14444         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14445         <fix-fp-int-convert-overflow.h>.
14446         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14447         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14448         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14449         <fix-fp-int-convert-overflow.h>.
14450         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14451         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14452         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14453         and <fix-fp-int-convert-overflow.h>.
14454         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14455         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14456         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14457         <limits.h> and <fix-fp-int-convert-overflow.h>.
14458         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14459         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14460         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14461         and <fix-fp-int-convert-overflow.h>.
14462         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14463         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14464         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14465         and <fix-fp-int-convert-overflow.h>.
14466         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14467         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14468         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14470 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14472         [BZ #18589]
14473         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14474         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14475         $(gen-locales).
14477 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14478             Phil Blundell <pb@pbcl.net>
14480         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14481         * nptl/tst-cancel26.c: New file.
14482         * nptl/tst-cancel27.c: Likewise.
14484 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14486         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14487         __ILP32__ isn't defined.
14488         (lrint): Likewise.
14489         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14490         (lrintf): Likewise.
14491         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14492         (lrintl): Likewise.
14493         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14494         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14495         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14497 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14499         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14500         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14503         file.
14504         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14505         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14507 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14509         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14510         configure test.
14511         * sysdeps/i386/configure: Regenerated.
14512         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14513         configure test.
14514         * sysdeps/x86_64/configure: Regenerated.
14515         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14516         Make code unconditional.
14518         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14519         test.
14520         * sysdeps/i386/configure: Regenerated.
14521         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14522         test.
14523         * sysdeps/x86_64/configure: Regenerated.
14524         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14525         Make code unconditional.
14526         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14527         Likewise.
14528         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14529         Likewise.
14530         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14531         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14532         code unconditional.
14533         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14534         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14535         code unconditional.
14536         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14537         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14538         code unconditional.
14539         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14540         code unconditional.
14541         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14542         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14543         code unconditional.
14544         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14545         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14546         code unconditional.
14547         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14548         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14549         code unconditional.
14550         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14551         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14552         code unconditional.
14553         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14554         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14556         [BZ #19095]
14557         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14558         mantissa to long int before shifting left.
14560 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14562         [BZ #19094]
14563         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14564         <limits.h>.
14565         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14566         when result overflows but exception would not result from cast.
14567         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14568         <limits.h>.
14569         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14570         when result overflows but exception would not result from cast.
14571         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14572         <limits.h>.
14573         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14574         when result overflows but exception would not result from cast.
14575         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14576         <limits.h>.
14577         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14578         when result overflows but exception would not result from cast.
14579         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14580         <limits.h>.
14581         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14582         when result overflows but exception would not result from cast.
14583         * math/libm-test.inc (lrint_test_data): Add more tests.
14584         (llrint_test_data): Likewise.
14586 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14588         [BZ #18872]
14589         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14590         Move out from under [$(run-built-tests) = yes] conditional.
14591         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14592         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14594 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14596         [BZ #18589]
14597         * string/Makefile (tests): Add bug-strcoll2.
14598         (LOCALES): Add cs_CZ.UTF-8.
14599         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14601         [BZ #18589]
14602         * string/bug-strcoll2.c: New file.
14603         * locale/categories.def: Revert commit
14604         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14605         * locale/langinfo.h: Likewise.
14606         * locale/localeinfo.h: Likewise.
14607         * locale/C-collate.c: Likewise.
14608         * locale/programs/ld-collate.c (collate_output): Likewise.
14609         * string/strcoll_l.c (STRDIFF): Likewise.
14610         (STRCOLL): Likewise.
14611         * wcsmbs/wcscoll_l.c: Likewise.
14613 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14615         * math/libm-test.inc (lround_test_data): Do not expect the absence
14616         of "inexact" for some tests with non-integer arguments.
14617         (llround_test_data): Likewise.
14619         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14620         test.
14621         (libc_cv_cc_sse2avx): Likewise.
14622         * sysdeps/i386/configure: Regenerated.
14623         * sysdeps/i386/i686/multiarch/Makefile
14624         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14625         [$(subdir) = math].
14626         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14627         code unconditional.
14628         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14629         Likewise.
14630         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14631         Likewise.
14632         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14633         Likewise.
14634         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14635         test.
14636         (libc_cv_cc_sse2avx): Likewise.
14637         * sysdeps/x86_64/configure: Regenerated.
14638         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14639         unconditional.
14640         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14641         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14642         unconditional.
14643         (_dl_runtime_profile)
14644         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14645         conditional code.
14646         * sysdeps/x86_64/fpu/multiarch/Makefile
14647         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14648         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14649         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14650         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14651         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14652         * sysdeps/x86_64/fpu/multiarch/e_log.c
14653         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14654         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14655         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14656         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14657         Likewise.
14658         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14659         Likewise.
14660         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14661         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14662         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14663         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14664         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14665         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14666         (HAVE_SSE2AVX_SUPPORT): Likewise.
14668 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14670         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14671         instead of #pragma optimize.
14673 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14675         [BZ #17195]
14676         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14677         as is similarly done in systrim and _int_free already.
14679 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14681         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14683 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14685         [BZ #19088]
14686         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14687         <limits.h>.
14688         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14689         overflows but exception would not result from cast.
14690         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14691         and <limits.h>.
14692         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14693         overflows but exception would not result from cast.
14694         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14695         <limits.h>.
14696         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14697         overflows but exception would not result from cast.
14698         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14699         <limits.h>.
14700         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14701         overflows but exception would not result from cast.
14702         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14703         <limits.h>.
14704         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14705         overflows but exception would not result from cast.
14706         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14707         <limits.h>.
14708         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14709         overflows but exception would not result from cast.
14710         * math/libm-test.inc (lround_test_data): Add more tests.
14711         (llround_test_data): Likewise.
14713 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14715         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14716         (CFLAGS-ialloc.c): Ditto.
14717         (CFLAGS-scheck.c): Ditto.
14719 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14721         [BZ #19086]
14722         * manual/filesys.texi (Storage Allocation): Fix argument order for
14723         posix_fallocate64.
14725 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14727         [BZ #19085]
14728         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14729         exponent below 48 inside case for non-overflowing exponent.
14730         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14732 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14734         * iconvdata/cp737.h (from_idx): Add const.
14735         * iconvdata/cp775.h (from_idx): Likewise.
14737 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14739         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14740         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14741         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14743         [BZ #19079]
14744         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14745         file, conditioned on [!_LP64].
14746         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14747         [!_LP64] (__lround): Do not define as function or alias.
14748         [!_LP64] (lround): Likewise.
14749         [!_LP64] (__lroundl): Likewise.
14750         [!_LP64] (lroundl): Likewise.
14751         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14752         macro.
14753         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14754         Likewise.
14756 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14758         * math/libm-test.inc (lrint_test_data): Add more tests.
14759         (llrint_test_data): Likewise.
14760         (lround_test_data): Likewise.
14761         (llround_test_data): Likewise.
14763         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14764         (llrint_test_data): Add tests used for lrint.
14766         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14767         test.
14768         * sysdeps/i386/configure: Regenerated.
14769         * sysdeps/i386/i686/multiarch/Makefile
14770         [$(config-cflags-sse4) = yes]: Make code unconditional.
14771         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14772         Likewise.
14773         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14774         Likewise.
14775         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14776         test.
14777         * sysdeps/x86_64/configure: Regenerated.
14778         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14779         Make code unconditional.
14780         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14781         Likewise.
14782         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14783         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14785         * scripts/rpm2dynsym.sh: Remove file.
14787 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14789         * configure.ac (libc_cv_cxx_thread_local): Define.
14790         * configure: Regenerate.
14791         * config.make.in (have-cxx-thread_local): Define.
14792         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14793         (LDLIBS-tst-thread_local1): Define.
14794         (tests): Add tst-thread_local1.
14795         [have-cxx-thread_local != yes] (tests-unsupported): Add
14796         tst-thread_local1.
14797         * nptl/tst-thread_local1.cc: New file.
14799 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14801         [BZ #19078]
14802         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14803         (u_thres): Likewise.
14804         (__expl): Determine whether to call __kernel_standard_l based on
14805         value of result, not argument.
14807         * math/libm-test.inc (scalb_test_data): Add more expectations for
14808         the "inexact" exception.
14810         [BZ #19077]
14811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14812         0.0L for argument 1.0L.
14814         [BZ #19076]
14815         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14816         constant 0.0L when computing infinite result.
14818 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14820         [BZ #10432]
14821         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14822         malloc_usable_size.
14824 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14826         [BZ #19018]
14827         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14828         Mangle function pointer before storing it.
14829         (__call_tls_dtors): Demangle function pointer before calling it.
14831 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14833         [BZ #19012]
14834         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14835         Clean up on failure.
14837 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14839         [BZ #19071]
14840         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14841         long int variable to store possibly incremented high part of
14842         mantissa.
14843         * math/libm-test.inc (lround_test_data): Add tests used for
14844         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14845         for tests requiring 64-bit long.  Do not condition tests on
14846         [TEST_FLOAT] unnecessarily.
14847         (llround_test_data): Add tests used for lround.  Add another
14848         expectation for the "inexact" exception.  Do not condition tests
14849         on [TEST_FLOAT] unnecessarily.
14851         [BZ #887]
14852         [BZ #19049]
14853         [BZ #19050]
14854         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14855         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14856         <fix-int-fp-convert-zero.h>.
14857         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14858         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14859         <fix-int-fp-convert-zero.h>.
14860         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14861         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14862         <fix-int-fp-convert-zero.h>.
14863         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14864         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14865         <fix-int-fp-convert-zero.h>.
14866         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14867         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14868         <fix-int-fp-convert-zero.h>.
14869         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14870         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14871         <fix-int-fp-convert-zero.h>.
14872         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14873         * sysdeps/ieee754/flt-32/s_erff.c: Include
14874         <fix-int-fp-convert-zero.h>.
14875         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14876         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14877         <fix-int-fp-convert-zero.h>.
14878         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14880         <fix-int-fp-convert-zero.h>.
14881         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14883         <fix-int-fp-convert-zero.h>.
14884         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14885         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14886         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14887         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14888         file.
14889         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14891 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14895 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14897         [BZ #19059]
14898         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14899         overflowing computation.
14900         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14901         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14903         Likewise.
14904         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14905         Likewise.
14906         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14907         Likewise.
14908         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14909         Likewise.
14910         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14911         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14912         Likewise.
14913         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14914         Likewise.
14915         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14917         * nss/rewrite_field.c (__nss_rewrite_field): Use
14918         internal_function.
14919         * nss/valid_field.c (__nss_valid_field): Likewise.
14920         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14922 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14924         [BZ #18724]
14925         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14926         (__nss_invalid_field_characters, __nss_valid_field)
14927         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14928         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14929         tst-field.c: New file.
14930         * nss/Makefile (routines): Add valid_field, rewrite_field.
14931         (tests-static): Define unconditionally.
14932         (tests): Include tests-static.
14933         [build-static-nss] (tests-static): Use append.
14934         [build-static-nss] (tests): Remove modification.
14935         * nss/getent.c (print_group): Call putgrent.  Report error.
14936         (print_gshadow): Call putsgent.  Report error.
14937         (print_passwd): Call putpwent.  Report error.
14938         (print_shadow): Call putspent.  Report error.
14939         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14940         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14941         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14942         name, password, directory, shell fields for valid syntax.  Rewrite
14943         GECOS field to match syntax.
14944         * pwd/Makefile (tests): Add tst-putpwent.
14945         * pwd/tst-putpwent.c: New file.
14946         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14947         Check grName, grpasswd, gr_mem fields for valid syntax.
14948         Change loop variable i to size_t.
14949         * grp/Makefile (tests): Add tst-putgrent.
14950         * grp/tst-putgrent.c: New file.
14951         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14952         valid syntax.
14953         * shadow/Makefile (tests): Add tst-putspent.
14954         * shadow/tst-putspent.c: New file.
14955         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14956         sg_mem fields for valid syntax.
14957         * gshadow/Makefile (tests): Add tst-putsgent.
14958         * gshadow/tst-putsgent.c: New file.
14960 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14962         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14963         assembly instructions.
14965 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14967         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14968         prefix from operands.
14970 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14972         [BZ #16347]
14973         [BZ #19046]
14974         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14975         <libc-internal.h>.
14976         (MAXLGM): Do not use diagnostic control macros.
14977         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14978         threshold for ldbl-128ibm.
14979         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14980         instead of multiplying by log then subtracting.
14981         * math/auto-libm-test-in: Add more tests of lgamma.
14982         * math/auto-libm-test-out: Regenerated.
14984         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14985         (TYPE_HEX_DIG): Likewise.
14986         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14987         precisions when printing floating-point numbers.
14988         (check_float_internal): Likewise.
14990 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14992         [BZ #16620]
14993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14994         of log (10) rounded downward to 48 bits.
14995         (log10_low): Use corresponding low part of log (10).
14997         [BZ #19032]
14998         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14999         compute result as (x - x) / (x - x) not as 0 / 0.
15000         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15001         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15003         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15004         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15005         and expm1.
15006         * math/auto-libm-test-out: Regenerated.
15007         * math/libm-test.inc (acos_test_data): Add more tests.
15008         (asin_test_data): Likewise.
15009         (asinh_test_data): Likewise.
15010         (atan_test_data): Likewise.
15011         (atanh_test_data): Likewise.
15012         (atan2_test_data): Likewise.
15013         (cbrt_test_data): Likewise.
15014         (ceil_test_data): Likewise.
15015         (copysign_test_data): Likewise.
15016         (cos_test_data): Likewise.
15017         (cosh_test_data): Likewise.
15018         (erf_test_data): Likewise.
15019         (erfc_test_data): Likewise.
15020         (exp_test_data): Likewise.
15021         (exp10_test_data): Likewise.
15022         (exp2_test_data): Likewise.
15023         (expm1_test_data): Likewise.
15024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15026 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15028         [BZ #19006]
15029         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15030         to ...
15031         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15032         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15033         to ...
15034         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15035         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15036         to ...
15037         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15038         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15039         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15040         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15041         to ...
15042         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15043         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15044         Moved to ...
15045         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15046         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15047         Moved to ...
15048         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15049         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15050         to ...
15051         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15052         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15053         Moved to ...
15054         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15055         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15056         to ...
15057         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15058         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15059         Removed.
15060         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15061         Likewise.
15062         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15063         Likewise.
15064         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15065         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15066         Likewise.
15067         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15068         Likewise.
15069         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15070         Likewise.
15071         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15072         Likewise.
15073         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15074         Likewise.
15075         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15076         Likewise.
15077         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15078         Likewise.
15079         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15080         Likewise.
15081         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15082         Likewise.
15083         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15084         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15085         Likewise.
15086         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15087         Likewise.
15088         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15089         Likewise.
15090         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15095         Replace ../i486/pthread_cond_timedwait.S with
15096         ../pthread_cond_timedwait.S.
15098 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15100         * math/libm-test.inc (acos_test_data): Refine expectations for
15101         errno and "inexact" exceptions.
15102         (acosh_test_data): Likewise.
15103         (asin_test_data): Likewise.
15104         (asinh_test_data): Likewise.
15105         (atan_test_data): Likewise.
15106         (atanh_test_data): Likewise.
15107         (atan2_test_data): Likewise.
15108         (cbrt_test_data): Likewise.
15109         (ceil_test_data): Likewise.
15110         (copysign_test_data): Likewise.
15111         (cosh_test_data): Likewise.
15112         (erf_test_data): Likewise.
15113         (erfc_test_data): Likewise.
15114         (exp_test_data): Likewise.
15115         (exp10_test_data): Likewise.
15116         (exp2_test_data): Likewise.
15117         (expm1_test_data): Likewise.
15118         (fabs_test_data): Likewise.
15119         (floor_test_data): Likewise.
15120         (fma_test_data): Likewise.
15121         (fmax_test_data): Likewise.
15122         (fmin_test_data): Likewise.
15123         (fmod_test_data): Likewise.
15124         (fpclassify_test_data): Likewise.
15125         (frexp_test_data): Likewise.
15126         (hypot_test_data): Likewise.
15127         (ilogb_test_data): Likewise.
15128         (isgreater_test_data): Likewise.
15129         (isgreaterequal_test_data): Likewise.
15130         (isinf_test_data): Likewise.
15131         (isless_test_data): Likewise.
15132         (islessequal_test_data): Likewise.
15133         (islessgreater_test_data): Likewise.
15134         (isnan_test_data): Likewise.
15135         (isnormal_test_data): Likewise.
15136         (issignaling_test_data): Likewise.
15137         (isunordered_test_data): Likewise.
15138         (j0_test_data): Likewise.
15139         (j1_test_data): Likewise.
15140         (jn_test_data): Likewise.
15141         (lgamma_test_data): Likewise.
15142         (lrint_test_data): Likewise.
15143         (llrint_test_data): Likewise.
15144         (log_test_data): Likewise.
15145         (log10_test_data): Likewise.
15146         (log1p_test_data): Likewise.
15147         (log2_test_data): Likewise.
15148         (logb_test_data): Likewise.
15149         (lround_test_data): Likewise.
15150         (llround_test_data): Likewise.
15151         (modf_test_data): Likewise.
15152         (nearbyint_test_data): Likewise.
15153         (nextafter_test_data): Likewise.
15154         (nexttoward_test_data): Likewise.
15155         (pow_test_data): Likewise.
15156         (remainder_test_data): Likewise.
15157         (remquo_test_data): Likewise.
15158         (rint_test_data): Likewise.
15159         (round_test_data): Likewise.
15160         (signbit_test_data): Likewise.
15161         (sinh_test_data): Likewise.
15162         (sqrt_test_data): Likewise.
15163         (tanh_test_data): Likewise.
15164         (tgamma_test_data): Likewise.
15165         (trunc_test_data): Likewise.
15166         (y0_test_data): Likewise.
15167         (y1_test_data): Likewise.
15168         (yn_test_data): Likewise.
15169         (significand_test_data): Likewise.
15171 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15173         * manual/filesys.texi (Storage Allocation): Document that
15174         posix_fallocate emulation fails when fd is open with O_WRONLY.
15176 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15178         [BZ #19016]
15179         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15180         allow more cases with X^2 + Y^2 >= 0.5.
15181         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15182         normal element in sum instead of special-casing based on values of
15183         arguments.
15184         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15185         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15186         -1 as normal element in sum instead of special-casing based on
15187         values of arguments.
15188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15189         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15190         (__x2y2m1): Update comment.
15191         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15192         as normal element in sum instead of special-casing based on values
15193         of arguments.
15194         * math/s_clog.c (__clog): Handle more cases using log1p without
15195         hypot.
15196         * math/s_clog10.c (__clog10): Likewise.
15197         * math/s_clog10f.c (__clog10f): Likewise.
15198         * math/s_clog10l.c (__clog10l): Likewise.
15199         * math/s_clogf.c (__clogf): Likewise.
15200         * math/s_clogl.c (__clogl): Likewise.
15201         * math/auto-libm-test-in: Add more tests of clog and clog10.
15202         * math/auto-libm-test-out: Regenerated.
15203         * sysdeps/i386/fpu/libm-test-ulps: Update.
15204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15206 2015-09-28  Martin Sebor  <msebor@redhat.com>
15208         [BZ #18969]
15209         * string/Makefile (LOCALES): Define.
15210         (gen-locales.mk): Include.
15211         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15212         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15213         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15214         on setlocale failure.
15216 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15218         [BZ #18985]
15219         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15220         (__strftime_internal): Likewise.
15221         * time/tst-strftime.c (do_bz18985): New test.
15222         (do_test): Call it.
15224 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15226         [BZ #18956]
15227         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15228         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15229         extracting high part.
15230         * math/auto-libm-test-in: Add another test of pow.
15231         * math/auto-libm-test-out: Regenerated.
15232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15234 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15236         [BZ #18825]
15237         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15238         New macro.
15239         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15240         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15241         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15242         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15243         DBL_NARROW_EVAL, reloading the PIC register as needed.
15244         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15245         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15246         FLT_NARROW_EVAL.  Use separate return path for case when first
15247         argument is NaN.
15248         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15249         DEFINE_LDBL_MIN.
15250         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15251         PIC register.
15252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15253         math_check_force_underflow_nonneg.
15254         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15255         underflow for subnormal result.
15256         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15258         math_check_force_underflow_nonneg.
15259         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15260         math_check_force_underflow.
15261         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15262         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15263         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15264         DEFINE_LDBL_MIN.
15265         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15266         * math/auto-libm-test-in: Add more tests of pow.
15267         * math/auto-libm-test-out: Regenerated.
15269 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15271         * nss/bug17079.c (init_test_items): Add diagnostic for
15272         inconsistent entries.
15273         (test_buffer_size): Skip inconsistent entries.
15275 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15277         [BZ #13304]
15278         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15279         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15280         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15282         [BZ #13304]
15283         * sysdeps/microblaze/s_fma.c: New file.
15284         * sysdeps/microblaze/s_fmaf.c: Likewise.
15285         * sysdeps/microblaze/sfp-machine.h: Likewise.
15287 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15289         [BZ #17250]
15290         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15291         member.
15293 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15295         [BZ #18803]
15296         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15297         (MO): New macro.
15298         (__ieee754_hypot) [PIC]: Load PIC register.
15299         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15300         DBL_NARROW_EVAL.
15301         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15302         math_check_force_underflow_nonneg in case where result might be
15303         tiny.
15304         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15305         Likewise.
15306         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15307         Likewise.
15308         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15309         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15310         * math/auto-libm-test-in: Add more tests of hypot.
15311         * math/auto-libm-test-out: Regenerated.
15313 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15315         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15317 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15319         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15320         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15321         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15322         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15323         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15324         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15325         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15327         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15328         LOAD_PIC_REG.
15330         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15331         (FLT_CHECK_FORCE_UFLOW): Likewise.
15332         (DBL_CHECK_FORCE_UFLOW): Likewise.
15333         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15334         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15335         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15336         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15337         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15338         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15339         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15340         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15341         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15342         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15343         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15344         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15345         (flt_min): Replace with use of DEFINE_FLT_MIN.
15346         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15347         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15348         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15349         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15350         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15351         (flt_min): Replace with use of DEFINE_FLT_MIN.
15352         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15353         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15354         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15355         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15356         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15357         (flt_min): Replace with use of DEFINE_FLT_MIN.
15358         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15359         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15360         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15361         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15362         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15363         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15364         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15365         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15366         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15367         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15368         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15369         (flt_min): Replace with use of DEFINE_FLT_MIN.
15370         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15371         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15372         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15373         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15374         main computation.
15375         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15376         (flt_min): Replace with use of DEFINE_FLT_MIN.
15377         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15378         main computation.
15379         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15380         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15381         (MO): New macro.
15382         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15383         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15384         (flt_min): Replace with use of DEFINE_FLT_MIN.
15385         (MO): New macro.
15386         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15387         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15388         (__log1pl): Use MO.
15390         [BZ #19003]
15391         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15392         $(config-cflags-nofma).
15394 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15396         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15398 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15400         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15401         (TWO127): Likewise.
15403         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15404         (min_of_type): Likewise.
15405         (math_check_force_underflow): Likewise.
15406         (math_check_force_underflow_nonneg): Likewise.
15407         (math_check_force_underflow_complex): Likewise.
15408         * math/e_exp2l.c (__ieee754_exp2l): Use
15409         math_check_force_underflow_nonneg.
15410         * math/k_casinh.c (__kernel_casinh): Likewise.
15411         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15412         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15413         * math/s_catan.c (__catan): Use
15414         math_check_force_underflow_complex.
15415         * math/s_catanf.c (__catanf): Likewise.
15416         * math/s_catanh.c (__catanh): Likewise.
15417         * math/s_catanhf.c (__catanhf): Likewise.
15418         * math/s_catanhl.c (__catanhl): Likewise.
15419         * math/s_catanl.c (__catanl): Likewise.
15420         * math/s_ccosh.c (__ccosh): Likewise.
15421         * math/s_ccoshf.c (__ccoshf): Likewise.
15422         * math/s_ccoshl.c (__ccoshl): Likewise.
15423         * math/s_cexp.c (__cexp): Likewise.
15424         * math/s_cexpf.c (__cexpf): Likewise.
15425         * math/s_cexpl.c (__cexpl): Likewise.
15426         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15427         * math/s_clog10.c (__clog10): Likewise.
15428         * math/s_clog10f.c (__clog10f): Likewise.
15429         * math/s_clog10l.c (__clog10l): Likewise.
15430         * math/s_clogf.c (__clogf): Likewise.
15431         * math/s_clogl.c (__clogl): Likewise.
15432         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15433         * math/s_csinf.c (__csinf): Likewise.
15434         * math/s_csinh.c (__csinh): Likewise.
15435         * math/s_csinhf.c (__csinhf): Likewise.
15436         * math/s_csinhl.c (__csinhl): Likewise.
15437         * math/s_csinl.c (__csinl): Likewise.
15438         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15439         * math/s_csqrtf.c (__csqrtf): Likewise.
15440         * math/s_csqrtl.c (__csqrtl): Likewise.
15441         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15442         * math/s_ctanf.c (__ctanf): Likewise.
15443         * math/s_ctanh.c (__ctanh): Likewise.
15444         * math/s_ctanhf.c (__ctanhf): Likewise.
15445         * math/s_ctanhl.c (__ctanhl): Likewise.
15446         * math/s_ctanl.c (__ctanl): Likewise.
15447         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15448         instead of volatile.
15449         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15450         math_check_force_underflow.
15451         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15452         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15453         volatile when forcing underflow.
15454         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15455         math_check_force_underflow_nonneg.
15456         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15457         Likewise.
15458         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15459         math_check_force_underflow.
15460         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15461         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15462         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15464         math_check_force_underflow_nonneg.
15465         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15466         math_check_force_underflow.
15467         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15469         instead of volatile.
15470         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15471         math_check_force_underflow.
15472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15473         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15474         math_check_force_underflow_nonneg.
15475         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15476         math_check_force_underflow.
15477         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15478         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15479         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15480         math_check_force_underflow_nonneg.
15481         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15482         Likewise.
15483         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15484         math_check_force_underflow.
15485         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15486         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15487         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15488         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15489         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15490         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15491         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15492         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15493         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15494         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15495         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15496         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15497         Likewise.
15498         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15499         math_check_force_underflow_nonneg.
15500         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15501         Likewise.
15502         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15503         math_check_force_underflow.
15504         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15505         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15506         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15507         Likewise.
15508         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15509         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15510         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15511         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15512         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15513         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15515         instead of volatile.
15516         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15517         math_check_force_underflow.
15518         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15520         math_check_force_underflow.
15521         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15522         Likewise.
15523         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15524         Use math_check_force_underflow_nonneg.
15525         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15526         math_check_force_underflow.
15527         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15528         Likewise.
15529         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15530         Likewise.
15531         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15532         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15534         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15536         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15537         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15538         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15539         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15540         math_check_force_underflow_nonneg.
15541         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15542         math_check_force_underflow.
15543         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15544         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15545         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15546         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15547         math_check_force_underflow_nonneg.
15548         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15549         math_check_force_underflow.
15550         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15552         instead of volatile.
15553         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15554         math_check_force_underflow.
15556         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15557         * stdlib/strtod_l.c: Include <math_private.h>.
15558         (overflow_value): Use math_narrow_eval.
15559         (underflow_value): Likewise.
15560         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15561         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15562         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15563         (__ieee754_gamma_r): Likewise.
15564         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15565         Likewise.
15566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15567         Likewise.
15568         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15569         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15570         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15571         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15572         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15573         (__ieee754_gammaf_r): Likewise.
15574         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15575         Likewise.
15576         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15577         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15578         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15579         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15580         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15581         volatile.
15582         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15583         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15584         math_narrow_eval.
15585         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15586         Likewise.
15587         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15588         Likewise.
15589         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15590         Likewise.
15591         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15592         volatile.
15593         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15594         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15595         math_narrow_eval.
15596         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15597         Likewise.
15598         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15599         Likewise.
15601 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15603         * nptl/Versions: Remove ignored symbols.
15605 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15607         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15608         * nss/Makefile (tests): Update.
15610 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15612         * nss/bug18287.c: New file.
15613         * nss/Makefile (tests): Add bug18287.
15615 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15617         * mach/Versions (__mach_host_self_): Add symbol.
15619 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15621         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15622         vm_page_size.
15624 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15626         Really fix sysdeps/i386/fpu/s_scalbn.S build
15628         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15629         (libc: GLIBC_2_22): Remove unused version set.
15631 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15633         * config.make.in (enable-timezone-tools): New variable.
15634         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15635         (enable_timezone_tools): Export to generated files.
15636         * configure: Regenerate.
15637         * INSTALL: Regenerate.
15638         * manual/install.texi (--disable-timezone-tools): Document new flag.
15639         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15640         ifeq ($(enable-timezone-tools),yes) check.
15642 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15644         * timezone/Makefile: Revert previous change.
15646         [BZ #18980]
15647         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15648         (DEFINE_DBL_MIN): Likewise.
15649         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15650         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15651         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15652         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15653         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15654         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15655         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15656         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15657         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15658         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15659         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15660         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15661         (flt_min): Replace with use of DEFINE_FLT_MIN.
15662         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15663         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15664         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15665         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15666         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15667         (flt_min): Replace with use of DEFINE_FLT_MIN.
15668         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15669         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15670         (flt_min): Replace with use of DEFINE_FLT_MIN.
15671         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15672         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15673         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15674         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15675         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15676         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15677         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15678         (__ieee754_pow): Use DBL_NARROW_EVAL.
15679         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15680         (__ieee754_powf): Use FLT_NARROW_EVAL.
15681         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15682         (__ieee754_expf_sse2): Convert double-precision result to single
15683         precision.
15684         * sysdeps/i386/fpu/libm-test-ulps: Update.
15686 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15688         * timezone/Makefile: Ignore unused variable errors due to private.h
15689         (time_t_min) and (time_t_max).
15690         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15691         Likewise.
15693 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15695         [BZ #18981]
15696         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15697         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15698         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15699         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15700         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15701         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15702         (__scalbn): Use DBL_NARROW_EVAL.
15703         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15704         (__scalbnf): Use FLT_NARROW_EVAL.
15706 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15708         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15709         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15710         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15711         * stdio-common/printf_fp.c (___printf_fp):
15712         Use signbit to get the sign. Use isinf macro to allow inlining.
15713         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15714         * stdio-common/printf_size.c (__printf_size): Likewise.
15716 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15718         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15720 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15722         [BZ #18980]
15723         * sysdeps/generic/math_private.h: Include <float.h>.
15724         (math_narrow_eval): New macro.
15725         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15726         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15727         math_narrow_eval on overflowing return value.
15728         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15729         Likewise.
15730         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15731         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15732         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15733         Likewise.
15734         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15736 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15738         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15739         * math/Makefile: Remove isinf_ns.c.
15740         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15741         * math/multc3.c (__multc3): Likewise.
15742         * math/s_casin.c (__casin): Likewise.
15743         * math/s_casinf.c (__casinf): Likewise.
15744         * math/s_casinl.c (__casinl): Likewise.
15745         * math/s_cproj.c (__cproj): Likewise.
15746         * math/s_cprojf.c (__cprojf): Likewise.
15747         * math/s_cprojl.c (__cprofl): Likewise.
15748         * math/s_ctan.c (__ctan): Likewise.
15749         * math/s_ctanf.c (__ctanf): Likewise.
15750         * math/s_ctanh.c (__ctanh): Likewise.
15751         * math/s_ctanhf.c (__ctanhf): Likewise.
15752         * math/s_ctanhl.c (__ctanhl): Likewise.
15753         * math/s_ctanl.c (__ctanl): Likewise.
15754         * math/w_fmod.c (__fmod): Likewise.
15755         * math/w_fmodf.c (__fmodf): Likewise.
15756         * math/w_fmodl.c (_fmodl): Likewise.
15757         * math/w_remainder.c (__remainder): Likewise.
15758         * math/w_remainderf.c (__remainderf): Likewise.
15759         * math/w_remainderl.c (__remainderl): Likewise.
15760         * math/w_scalb.c (__scalb): Likewise.
15761         * math/w_scalbf.c (__scalbf): Likewise.
15762         * math/w_scalbl.c (__scalbl): Likewise.
15763         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15764         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15765         with isinf.
15766         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15767         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15768         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15769         __isinf_nsf with isinf.
15770         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15771         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15772         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15773         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15774         with isinf.
15775         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15776         __isinf_nsl with isinf.
15777         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15778         with isinf.
15779         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15780         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15781         __isinf_nsl with isinf.
15782         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15783         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15784         with isinf.
15786 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15788         * resolv/base64.c (rcsid): Remove unused static.
15789         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15790         static.  (tqpi1): Likewise.
15791         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15792         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15793         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15794         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15795         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15796         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15797         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15798         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15799         Likewise.
15801 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15803         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15804         <nptl/pthreadP.h>.
15805         (_longjmp_unwind): Use __libc_ptf_call.
15806         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15808 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15810         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15811         * sysdeps/arm/__longjmp.S: Likewise.
15813 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15815         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15816         Use __builtin_signbit.
15817         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15818         Use __builtin_signbitf.
15819         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15820         Use __builtin_signbitl.
15821         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15822         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15824 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15826         [BZ #15367]
15827         [BZ #17441]
15829         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15830         * math/math.h (fpclassify): Use __builtin_fpclassify when
15831         available.  (signbit): Use __builtin_signbit(f/l).
15832         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15833         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15834         (isinf): Use __builtin_isinf_sign.
15836 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15838         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15839         * benchtests/bench-math-inlines.c: New benchmark.
15840         * benchtests/bench-util.h: New file.
15841         * benchtests/bench-util.c: New file.
15842         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15844 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15846         * elf/tst-dlmopen1.c: Define TEST_SO.
15847         (do_test): Use TEST_SO.
15849         * elf/dl-load.c: Include libc-internal.h.
15850         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15852 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15854         [BZ #17887]
15855         * time/strptime_l.c (__strptime_internal): Make %z accept
15856         [+-]HH:MM time zones.
15858 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15860         [BZ #17886]
15861         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15862         valid time zone.
15864 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15866         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15867         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15868         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15869         (__ASSUME_FDATASYNC): Delete.
15871 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15873         * conform/linknamespace.pl: Require weak undefined symbols to be
15874         in the standard namespace.
15875         (%strong_syms): Rename to %seen_syms.
15876         (%strong_seen): Rename to %seen_where.
15878 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15880         [BZ #18970]
15881         * misc/error.c (error): Replace pthread_setcancelstate with
15882         __pthread_setcancelstate.
15883         (error_at_line): Likewise.
15884         * posix/wordexp.c (parse_comm): Likewise.
15885         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15886         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15887         (__pthread_setcancelstate): This.
15888         (pthread_setcancelstate): Add an alias.
15889         * nptl/nptl-init.c (pthread_functions): Replace
15890         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15891         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15892         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15893         hidden_proto.
15894         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15895         it with hidden_def.
15896         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15897         (pthread_setcancelstate): Renamed to ...
15898         (__pthread_setcancelstate): This.
15899         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15900         __libc_ptf_call with __pthread_setcancelstate.
15902 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15903             Andreas Schwab  <schwab@suse.de>
15905         [BZ #17118]
15906         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15907         result when imaginary part of argument is infinite using sine and
15908         cosine.
15909         * math/s_ctanf.c (__ctanf): Likewise.
15910         * math/s_ctanl.c (__ctanl): Likewise.
15911         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15912         of result when real part of argument is infinite using sine and
15913         cosine.
15914         * math/s_ctanhf.c (__ctanhf): Likewise.
15915         * math/s_ctanhl.c (__ctanhl): Likewise.
15916         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15917         (ctanh_test_data): Add more tests of ctanh.
15919 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15921         [BZ #15384]
15922         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15923         bit-mask as in subtraction.
15924         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15925         Likewise.
15926         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15927         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15928         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15930         [BZ #18951]
15931         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15932         underflow exception for small results.
15933         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15934         Likewise.
15935         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15936         Likewise.
15937         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15938         Likewise.
15939         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15940         Likewise.
15941         * math/auto-libm-test-in: Add more tests of tgamma.
15942         * math/auto-libm-test-out: Regenerated.
15944 2015-09-17  Andreas Schwab  <schwab@suse.de>
15946         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15948 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15950         [BZ #18977]
15951         * math/bits/mathcalls.h
15952         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15953         not declare.
15954         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15955         Likewise.
15956         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15957         Likewise.
15958         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15959         Likewise.
15960         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15961         Likewise.
15962         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15963         Likewise.
15964         * conform/data/math.h-data
15965         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15966         function.
15967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15969         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15970         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15971         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15973         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15979         [BZ #6803]
15980         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15981         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15982         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15983         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15984         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15985         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15986         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15987         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15988         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15989         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15990         Likewise.
15991         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15992         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15993         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15994         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15995         long_double_symbol calls.
15996         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15997         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15998         strong alias of __ldexpl.
15999         (scalbnl): Define using long_double_symbol.
16000         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16001         Remove alias.
16002         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16003         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16004         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16005         (scalbln_test_data): Add more errno expectations.
16007 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16009         Cache the host port like we cache the task port.  This way we do not
16010         need to call the kernel just to get the port.  Furthermore, we no
16011         longer increase the reference count on every invocation of
16012         `mach_host_self'.
16014         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16015         Protect declarations against the macro expansion.
16016         * mach/mach_init.c (__mach_host_self_): New variable.
16017         (mach_init): Initialize `__mach_host_self_'.
16018         * mach/mach_init.h (__mach_host_self_): New declaration.
16019         (__mach_host_self, mach_host_self): New macros.
16020         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16021         Release reference.
16023 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16025         [BZ #4404]
16026         * po/de.po: Update from Translation Project.
16028         [BZ #16415]
16029         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16030         (__expm1l): Remove code to handle positive infinity and overflow.
16031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16032         variable.
16033         (__expm1l): Remove code to handle positive infinity and overflow.
16035 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16036             Paul Pluzhnikov  <ppluzhnikov@google.com>
16038         [BZ #18872]
16039         * stdio-common/Makefile (tst-printf-bz18872): New test.
16040         (tst-printf-bz18872-mem.out): Likewise.
16041         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16042         * stdio-common/vfprintf.c: Fix memory leaks.
16044 2015-09-16  Andreas Schwab  <schwab@suse.de>
16046         [BZ #17244]
16047         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16048         Remove extra va_start/va_end calls.
16050         [BZ #17243]
16051         * posix/execl.c (execl): Add missing va_end.
16052         * posix/execle.c (execle): Likewise.
16053         * posix/execlp.c (execlp): Likewise.
16055 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16057         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16058         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16060 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16062         [BZ #18967]
16063         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16064         undefine around includes of <bits/mathcalls.h>.
16065         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16066         not declare function.
16067         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16068         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16069         (scalb): Likewise.
16070         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16071         not define macro.
16072         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16073         variable.
16074         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16075         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16076         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16078         [BZ #18857]
16079         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16080         return non-finite argument without doing ordered comparisons on
16081         it.
16083         [BZ #16296]
16084         * math/fenv.h (fegetround): Use __attribute_pure__.
16085         * include/fenv.h (__fegetround): Likewise.
16087         [BZ #18595]
16088         * math/s_ctan.c (__ctan): Force underflow exception for results
16089         whose real or imaginary part has small absolute value.
16090         * math/s_ctanf.c (__ctanf): Likewise.
16091         * math/s_ctanh.c (__ctanh): Likewise.
16092         * math/s_ctanhf.c (__ctanhf): Likewise.
16093         * math/s_ctanhl.c (__ctanhl): Likewise.
16094         * math/s_ctanl.c (__ctanl): Likewise.
16095         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16096         and ctanh.  Add more tests of ctan and ctanh.
16098         [BZ #15918]
16099         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16100         handling of cases where one argument is an infinity.
16102         [BZ #18875]
16103         [BZ #18966]
16104         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16105         (MO): New macro.
16106         (__ieee754_exp10): For small results, force underflow exception
16107         and remove excess range and precision from return value.
16108         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16109         (MO): New macro.
16110         (__ieee754_exp10f): For small results, force underflow exception
16111         and remove excess range and precision from return value.
16112         * math/auto-libm-test-in: Add more tests of exp10.
16113         * math/auto-libm-test-out: Regenerated.
16115 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16117         [BZ #18875]
16118         [BZ #18961]
16119         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16120         (MO): New macro.
16121         (__ieee754_exp): For small results, force underflow exception and
16122         remove excess range and precision from return value.
16123         (__exp_finite): Likewise.
16124         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16125         (MO): New macro.
16126         (__ieee754_expf): For small results, force underflow exception and
16127         remove excess range and precision from return value.
16128         (__expf_finite): Likewise.
16129         * math/auto-libm-test-in: Add more tests of exp.
16130         * math/auto-libm-test-out: Regenerated.
16132         [BZ #16521]
16133         [BZ #18875]
16134         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16135         small results.
16136         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16137         (MO): New macro.
16138         (__ieee754_exp2): For small results, force underflow exception and
16139         remove excess range and precision from return value.
16140         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16141         (MO): New macro.
16142         (__ieee754_exp2f): For small results, force underflow exception
16143         and remove excess range and precision from return value.
16144         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16145         (MO): New macro.
16146         (__ieee754_exp2l): Force underflow exception for small results.
16147         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16148         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16149         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16150         (MO): New macro.
16151         (__ieee754_exp2l): Force underflow exception for small results.
16152         * math/auto-libm-test-in: Add more tests or exp2.
16153         * math/auto-libm-test-out: Regenerated.
16155 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16157         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16159         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16160         /dev/null.
16162 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16164         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16165         io fs process)): Drop spurious backslash.
16167 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16169         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16170         Use sysinfo system call instead of parsing /proc/meminfo.
16171         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16172         Likewise.
16174 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16176         [BZ #16985]
16177         * programs/localedef.c (main): Display argv[remaining] when
16178         output_path is NULL.
16180 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16182         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16183         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16184         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16185         tanh.
16186         * math/auto-libm-test-out: Regenerated.
16187         * sysdeps/i386/fpu/libm-test-ulps: Update.
16188         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16189         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16192 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16194         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16195         Use 'override' keyword to freeze the value here, preventing
16196         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16198 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16200         [BZ #14912]
16201         * sysdeps/aarch64/bits/atomic.h: Move to ...
16202         * sysdeps/aarch64/atomic-machine.h: ...here.
16203         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16204         _AARCH64_ATOMIC_MACHINE_H.
16205         * sysdeps/alpha/bits/atomic.h: Move to ...
16206         * sysdeps/alpha/atomic-machine.h: ...here.
16207         * sysdeps/arm/bits/atomic.h: Move to ...
16208         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16209         * bits/atomic.h: Move to ...
16210         * sysdeps/generic/atomic-machine.h: ...here.
16211         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16212         * sysdeps/i386/bits/atomic.h: Move to ...
16213         * sysdeps/i386/atomic-machine.h: ...here.
16214         * sysdeps/ia64/bits/atomic.h: Move to ...
16215         * sysdeps/ia64/atomic-machine.h: ...here.
16216         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16217         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16219         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16220         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16221         * sysdeps/microblaze/bits/atomic.h: Move to ...
16222         * sysdeps/microblaze/atomic-machine.h: ...here.
16223         * sysdeps/mips/bits/atomic.h: Move to ...
16224         * sysdeps/mips/atomic-machine.h: ...here.
16225         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16226         * sysdeps/powerpc/bits/atomic.h: Move to ...
16227         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16228         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16229         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16230         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16231         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16232         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16233         <atomic-machine.h> instead of <bits/atomic.h>.
16234         * sysdeps/s390/bits/atomic.h: Move to ...
16235         * sysdeps/s390/atomic-machine.h: ...here.
16236         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16237         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16238         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16239         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16240         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16241         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16242         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16243         * sysdeps/tile/bits/atomic.h: Move to ...
16244         * sysdeps/tile/atomic-machine.h: ...here.
16245         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16246         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16247         <sysdeps/tile/atomic-machine.h> instead of
16248         <sysdeps/tile/bits/atomic.h>.
16249         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16250         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16251         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16252         <sysdeps/tile/atomic-machine.h> instead of
16253         <sysdeps/tile/bits/atomic.h>.
16254         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16255         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16256         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16257         <sysdeps/arm/atomic-machine.h> instead of
16258         <sysdeps/arm/bits/atomic.h>.
16259         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16260         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16261         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16262         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16263         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16264         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16265         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16266         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16267         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16268         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16269         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16270         * sysdeps/x86_64/bits/atomic.h: Move to ...
16271         * sysdeps/x86_64/atomic-machine.h: ...here.
16272         * include/atomic.h: Include <atomic-machine.h> instead of
16273         <bits/atomic.h>.
16275         * sysdeps/mips/mips32/libm-test-ulps: Update.
16276         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16278         [BZ #18952]
16279         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16280         not convert non-integer negative arguments to int to determine the
16281         value of signgam.
16282         * math/auto-libm-test-in: Add more tests of lgamma.
16283         * math/auto-libm-test-out: Regenerated.
16285         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16286         cosh, csqrt, erfc, expm1 and lgamma.
16287         * math/auto-libm-test-out: Regenerated.
16288         * sysdeps/i386/fpu/libm-test-ulps: Update.
16289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16291 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16293         [BZ #2542]
16294         [BZ #2543]
16295         [BZ #2558]
16296         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16297         __lgamma_neg for arguments from -28.0 to -2.0.
16298         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16299         __lgamma_negf for arguments from -15.0 to -2.0.
16300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16301         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16303         Call __lgamma_negl for arguments from -33.0 to -2.0.
16304         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16305         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16306         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16307         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16308         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16309         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16310         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16311         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16312         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16313         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16314         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16315         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16316         (__lgamma_neg): Likewise.
16317         (__lgamma_negl): Likewise.
16318         (__lgamma_product): Likewise.
16319         (__lgamma_productl): Likewise.
16320         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16321         * math/auto-libm-test-in: Add more tests of lgamma.
16322         * math/auto-libm-test-out: Regenerated.
16323         * sysdeps/i386/fpu/libm-test-ulps: Update.
16324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16326 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16328         [BZ #18675]
16329         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16331 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16333         [BZ #14912]
16334         * bits/libc-lock.h: Move to ...
16335         * sysdeps/generic/libc-lock.h: ...here.
16336         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16337         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16338         * sysdeps/mach/hurd/libc-lock.h: ...here.
16339         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16340         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16341         * sysdeps/mach/bits/libc-lock.h: Move to ...
16342         * sysdeps/mach/libc-lock.h: ...here.
16343         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16344         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16345         * sysdeps/nptl/libc-lock.h: ...here.
16346         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16347         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16348         * sysdeps/nptl/libc-lockP.h: ...here.
16349         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16350         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16351         <bits/libc-lock.h>.
16352         * dirent/scandir-tail.c: Likewise.
16353         * dlfcn/dlerror.c: Likewise.
16354         * elf/dl-close.c: Likewise.
16355         * elf/dl-iteratephdr.c: Likewise.
16356         * elf/dl-lookup.c: Likewise.
16357         * elf/dl-open.c: Likewise.
16358         * elf/dl-support.c: Likewise.
16359         * elf/dl-writev.h: Likewise.
16360         * elf/rtld.c: Likewise.
16361         * grp/fgetgrent.c: Likewise.
16362         * gshadow/fgetsgent.c: Likewise.
16363         * gshadow/sgetsgent.c: Likewise.
16364         * iconv/gconv_conf.c: Likewise.
16365         * iconv/gconv_db.c: Likewise.
16366         * iconv/gconv_dl.c: Likewise.
16367         * iconv/gconv_int.h: Likewise.
16368         * iconv/gconv_trans.c: Likewise.
16369         * include/link.h: Likewise.
16370         * inet/getnameinfo.c: Likewise.
16371         * inet/getnetgrent.c: Likewise.
16372         * inet/getnetgrent_r.c: Likewise.
16373         * intl/bindtextdom.c: Likewise.
16374         * intl/dcigettext.c: Likewise.
16375         * intl/finddomain.c: Likewise.
16376         * intl/gettextP.h: Likewise.
16377         * intl/loadmsgcat.c: Likewise.
16378         * intl/localealias.c: Likewise.
16379         * intl/textdomain.c: Likewise.
16380         * libidn/idn-stub.c: Likewise.
16381         * libio/libioP.h: Likewise.
16382         * locale/duplocale.c: Likewise.
16383         * locale/freelocale.c: Likewise.
16384         * locale/newlocale.c: Likewise.
16385         * locale/setlocale.c: Likewise.
16386         * login/getutent_r.c: Likewise.
16387         * login/getutid_r.c: Likewise.
16388         * login/getutline_r.c: Likewise.
16389         * login/utmp-private.h: Likewise.
16390         * login/utmpname.c: Likewise.
16391         * malloc/mtrace.c: Likewise.
16392         * misc/efgcvt.c: Likewise.
16393         * misc/error.c: Likewise.
16394         * misc/fstab.c: Likewise.
16395         * misc/getpass.c: Likewise.
16396         * misc/mntent.c: Likewise.
16397         * misc/syslog.c: Likewise.
16398         * nis/nis_call.c: Likewise.
16399         * nis/nis_callback.c: Likewise.
16400         * nis/nss-default.c: Likewise.
16401         * nis/nss_compat/compat-grp.c: Likewise.
16402         * nis/nss_compat/compat-initgroups.c: Likewise.
16403         * nis/nss_compat/compat-pwd.c: Likewise.
16404         * nis/nss_compat/compat-spwd.c: Likewise.
16405         * nis/nss_nis/nis-alias.c: Likewise.
16406         * nis/nss_nis/nis-ethers.c: Likewise.
16407         * nis/nss_nis/nis-grp.c: Likewise.
16408         * nis/nss_nis/nis-hosts.c: Likewise.
16409         * nis/nss_nis/nis-network.c: Likewise.
16410         * nis/nss_nis/nis-proto.c: Likewise.
16411         * nis/nss_nis/nis-pwd.c: Likewise.
16412         * nis/nss_nis/nis-rpc.c: Likewise.
16413         * nis/nss_nis/nis-service.c: Likewise.
16414         * nis/nss_nis/nis-spwd.c: Likewise.
16415         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16416         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16417         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16418         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16419         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16420         * nis/nss_nisplus/nisplus-network.c: Likewise.
16421         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16422         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16423         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16424         * nis/nss_nisplus/nisplus-service.c: Likewise.
16425         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16426         * nis/ypclnt.c: Likewise.
16427         * nptl/libc_pthread_init.c: Likewise.
16428         * nss/getXXbyYY.c: Likewise.
16429         * nss/getXXent.c: Likewise.
16430         * nss/getXXent_r.c: Likewise.
16431         * nss/nss_db/db-XXX.c: Likewise.
16432         * nss/nss_db/db-netgrp.c: Likewise.
16433         * nss/nss_db/nss_db.h: Likewise.
16434         * nss/nss_files/files-XXX.c: Likewise.
16435         * nss/nss_files/files-alias.c: Likewise.
16436         * nss/nsswitch.c: Likewise.
16437         * posix/regex_internal.h: Likewise.
16438         * posix/wordexp.c: Likewise.
16439         * pwd/fgetpwent.c: Likewise.
16440         * resolv/res_hconf.c: Likewise.
16441         * resolv/res_libc.c: Likewise.
16442         * shadow/fgetspent.c: Likewise.
16443         * shadow/lckpwdf.c: Likewise.
16444         * shadow/sgetspent.c: Likewise.
16445         * socket/opensock.c: Likewise.
16446         * stdio-common/reg-modifier.c: Likewise.
16447         * stdio-common/reg-printf.c: Likewise.
16448         * stdio-common/reg-type.c: Likewise.
16449         * stdio-common/vfprintf.c: Likewise.
16450         * stdio-common/vfscanf.c: Likewise.
16451         * stdlib/abort.c: Likewise.
16452         * stdlib/cxa_atexit.c: Likewise.
16453         * stdlib/fmtmsg.c: Likewise.
16454         * stdlib/random.c: Likewise.
16455         * stdlib/setenv.c: Likewise.
16456         * string/strsignal.c: Likewise.
16457         * sunrpc/auth_none.c: Likewise.
16458         * sunrpc/bindrsvprt.c: Likewise.
16459         * sunrpc/create_xid.c: Likewise.
16460         * sunrpc/key_call.c: Likewise.
16461         * sunrpc/rpc_thread.c: Likewise.
16462         * sysdeps/arm/backtrace.c: Likewise.
16463         * sysdeps/generic/ldsodefs.h: Likewise.
16464         * sysdeps/generic/stdio-lock.h: Likewise.
16465         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16466         * sysdeps/i386/backtrace.c: Likewise.
16467         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16468         * sysdeps/m68k/backtrace.c: Likewise.
16469         * sysdeps/mach/hurd/cthreads.c: Likewise.
16470         * sysdeps/mach/hurd/dirstream.h: Likewise.
16471         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16472         * sysdeps/nptl/malloc-machine.h: Likewise.
16473         * sysdeps/nptl/stdio-lock.h: Likewise.
16474         * sysdeps/posix/dirstream.h: Likewise.
16475         * sysdeps/posix/getaddrinfo.c: Likewise.
16476         * sysdeps/posix/system.c: Likewise.
16477         * sysdeps/pthread/aio_suspend.c: Likewise.
16478         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16479         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16480         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16481         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16482         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16483         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16484         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16485         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16486         * sysdeps/unix/sysv/linux/system.c: Likewise.
16487         * sysdeps/x86_64/backtrace.c: Likewise.
16488         * time/alt_digit.c: Likewise.
16489         * time/era.c: Likewise.
16490         * time/tzset.c: Likewise.
16491         * wcsmbs/wcsmbsload.c: Likewise.
16492         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16493         instead of <bits/libc-lock.h> in comment.
16495 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16497         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16498         Only use .set mips2 if the current ISA is below mips2.
16499         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16500         Likewise.
16501         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16502         mips32r2 if the current ISA is below mips32r2.
16503         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16504         (TLS_IE): Updated to use the TLD_RDHWR macro.
16505         (TLS_LE): Likewise.
16506         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16507         __ASSEMBLER__ condition.
16509 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16511         Fix parallel build of before-compile targets.
16513         * sysdeps/mach/Makefile ($(patsubst
16514         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16515         mach-before-compile target.
16516         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16517         io fs process)): Move rule to dedicated hurd-before-compile target.
16519 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16521         Fix rules generating headers in hurd/ and mach/ when initial make call
16522         has subdir= explicitly set.
16524         * sysdeps/mach/Makefile ($(patsubst
16525         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16526         calling $(MAKE).
16527         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16528         io fs process)): Force subdir to hurd when calling $(MAKE).
16529         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16530         subdir to mach when calling $(MAKE).
16532 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16534         Check sysheaders when looking for Mach and Hurd headers
16536         * sysdeps/mach/configure.ac: Add sysheaders check.
16537         * sysdeps/mach/configure: Regenerate.
16538         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16539         * sysdeps/mach/hurd/configure: Regenerate.
16541 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16543         [BZ #18921]
16544         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16545         Fix inverted sense of test of 'o_directory_works' value.
16546         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16547         Bernhard Voelker <mail@bernhard-voelker.de>.
16549 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16551         [BZ #14912]
16552         * bits/linkmap.h: Move to ...
16553         * sysdeps/generic/linkmap.h: ...here.
16554         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16555         * sysdeps/aarch64/linkmap.h: ...here.
16556         * sysdeps/arm/bits/linkmap.h: Move to ...
16557         * sysdeps/arm/linkmap.h: ...here.
16558         * sysdeps/hppa/bits/linkmap.h: Move to ...
16559         * sysdeps/hppa/linkmap.h: ...here.
16560         * sysdeps/ia64/bits/linkmap.h: Move to ...
16561         * sysdeps/ia64/linkmap.h: ...here.
16562         * sysdeps/mips/bits/linkmap.h: Move to ...
16563         * sysdeps/mips/linkmap.h: ...here.
16564         * sysdeps/s390/bits/linkmap.h: Move to ...
16565         * sysdeps/s390/linkmap.h: ...here.
16566         * sysdeps/sh/bits/linkmap.h: Move to ...
16567         * sysdeps/sh/linkmap.h: ...here.
16568         * sysdeps/x86/bits/linkmap.h: Move to ...
16569         * sysdeps/x86/linkmap.h: ...here.
16570         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16572 2015-09-04  Andreas Schwab  <schwab@suse.de>
16574         [BZ #18635]
16575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16576         (__makecontext): Terminate FDE before return label.
16577         (__novec_makecontext): Likewise.
16579 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16581         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16582         first member of struct sv in syscall macro.
16584 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16586         [BZ #14912]
16587         * bits/stdio-lock.h: Move to ...
16588         * sysdeps/generic/stdio-lock.h: ...here.
16589         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16590         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16591         * sysdeps/nptl/stdio-lock.h: ...here.
16592         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16593         * include/libio.h: Include <stdio-lock.h> instead of
16594         <bits/stdio-lock.h>.
16595         * sysdeps/nptl/fork.c: Likewise.
16596         * sysdeps/pthread/flockfile.c: Likewise.
16597         * sysdeps/pthread/ftrylockfile.c: Likewise.
16598         * sysdeps/pthread/funlockfile.c: Likewise.
16600         [BZ #14912]
16601         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16602         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16603         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16604         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16605         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16606         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16607         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16609 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16611         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16612         (test-xfail-tst-protected1b): New variable.
16614 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16616         [BZ #14912]
16617         * bits/libc-tsd.h: Move to ...
16618         * sysdeps/generic/libc-tsd.h: ...here.
16619         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16620         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16621         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16622         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16623         * include/ctype.h: Include <libc-tsd.h> instead of
16624         <bits/libc-tsd.h>.
16625         * include/rpc/rpc.h: Likewise.
16626         * locale/localeinfo.h: Likewise.
16627         * sunrpc/rpc_thread.c: Likewise.
16628         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16629         * sysdeps/nptl/malloc-machine.h: Likewise.
16631         * Makefile (headers): Remove bits/libc-lock.h.
16632         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16634         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16635         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16636         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16637         <bits/stdio-lock.h>.
16638         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16639         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16641 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16643         [BZ #18757]
16644         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16645         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16646         BZ #18757.
16648 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16650         * malloc/mtrace.pl: Filter out NULL entries.
16652 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16654         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16655         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16656         macro.
16658         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16659         (TCP_CC_INFO): Likewise.
16660         (TCP_SAVE_SYN): Likewise.
16661         (TCP_SAVED_SYN): Likewise.
16663 2015-08-31  Brett Neumeier <brett@neumeier.us>
16665         [BZ #18870]
16666         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16668 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16670         [BZ #18873]
16671         Fix broken overflow check in posix_fallocate
16672         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16673         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16674         Fix parenthesization typo.
16676 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16678         [BZ #18887]
16679         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16680         tst-mntent-blank-passno.
16681         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16682         * misc/tst-mntent-blank-corrupt.c: New test.
16683         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16684         * misc/tst-mntent.c (do_test): ... here.
16686 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16688         [BZ #4404]
16689         * po/de.po: Fix SIGALRM typo.
16691 2015-08-28  James Perkins  <james@loowit.net>
16693         * time/tst-strptime2.c (tests): Replace short list of test
16694         strings for strptime %z specifier with code which exhaustively
16695         tests every combination of sign and 0 to 5 digits. Tests for
16696         rejection of invalid strings.
16698 2015-08-28  James Perkins  <james@loowit.net>
16700         [BZ #16141]
16701         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16702         calculation, removing incorrect decimal time rounding, so that
16703         all minute values result in a valid seconds value.
16704         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16705         offset range limits to UTC-99:59 through UTC+99:59 to parse
16706         current and historical use cases.
16707         * time/tst-strptime2.c (tests): Modify and add tests for the
16708         strptime %z input field descriptor, specifically conversion of
16709         minutes to seconds and validating an offset range of -9959 to
16710         +9959.
16712 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16713             Dmitry V. Levin  <ldv@altlinux.org>
16715         [BZ #18877]
16716         * posix/Makefile (tests): Add tst-mmap-offset.
16717         * posix/tst-mmap.c: New file.
16718         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16719         offset calculation for negative values.
16721 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16723         * sysdeps/i386/init-arch.h: New file.
16724         * sysdeps/i386/i586/init-arch.h: Likewise.
16725         * sysdeps/i386/i686/init-arch.h: Likewise.
16726         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16727         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16728         * sysdeps/x86/cpu-features.h (bit_I586): New.
16729         (bit_I686): Likewise.
16730         (bit_CX8): Likewise.
16731         (bit_CMOV): Likewise.
16732         (index_CX8): Likewise.
16733         (index_CMOV): Likewise.
16734         (index_I586): Likewise.
16735         (index_I686): Likewise.
16736         (reg_CX8): Likewise.
16737         (reg_CMOV): Likewise.
16738         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16739         available at compile-time.
16740         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16741         available at compile-time.
16742         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16743         (USE_I686): Likewise.
16745 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16747         * sysdeps/i386/bcopy.S: New file.
16748         * sysdeps/i386/bzero.S: Likewise.
16749         * sysdeps/i386/memcpy.S: Likewise.
16750         * sysdeps/i386/memmove.S: Likewise.
16751         * sysdeps/i386/mempcpy.S: Likewise.
16752         * sysdeps/i386/memset.S: Likewise.
16753         * sysdeps/i386/bzero.c: Removed.
16754         * sysdeps/i386/memset.c: Likewise.
16755         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16756         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16757         * sysdeps/i386/i586/memset_chk.S: Likewise.
16758         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16759         * sysdeps/i386/memcpy_chk.S: Here.
16760         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16761         * sysdeps/i386/memmove_chk.S: Here.
16762         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16763         * sysdeps/i386/mempcpy_chk.S: Likewise.
16764         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16765         * sysdeps/i386/memset_chk.S: Likewise.
16767 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16769         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16770         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16771         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16772         * soft-fp/fmadf4.c: Ditto.
16773         * soft-fp/fmatf4.c: Ditto.
16775 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16777         * sysdeps/i386/i586/Implies: Removed.
16778         * sysdeps/i386/i686/Implies: Likewise.
16780 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16782         * sysdeps/i386/i486/strlen.S: Moved to ...
16783         * sysdeps/i386/strlen.S: Here.
16785 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16787         * sysdeps/i386/i486/strcat.S: Moved to ...
16788         * sysdeps/i386/strcat.S: Here.
16790 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16792         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16793         * sysdeps/i386/pthread_spin_trylock.S: Here.
16794         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16795         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16797 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16799         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16800         * sysdeps/i386/string-inlines.c: Here.
16802 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16804         * sysdeps/i386/i486/htonl.S: Moved ...
16805         * sysdeps/i386/htonl.S: here.
16807 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16809         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16810         * sysdeps/i386/bits/atomic.h: Here.
16812 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16814         * sysdeps/i386/i486/Versions: Removed.
16816 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16818         [BZ #2898]
16819         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16820         Based on patch by Aurelien Jarno.
16822 2015-08-26  Stan Shebs  <stanshebs@google.com>
16824         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16825         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16827 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16829         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16830         * sysdeps/powerpc/dl-procinfo.c:
16831         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16832         feature so it shows when LD_SHOW_AUXV=1.
16834 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16836         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16837         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16838         definition.  ISA 2.07B no longer requires full sync.
16840 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16842         [BZ #18863]
16843         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16844         (si_call_addr): Define.
16845         (si_syscall): Define.
16846         (si_arch): Define.
16848 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16850         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16851         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16852         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16853         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16854         (__memset_zero_constant_len_parameter): New.
16855         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16856         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16857         (__memset_zero_constant_len_parameter): Don't define if
16858         __memset_chk or USE_AS_BZERO are defined.
16860         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16861         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16862         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16864         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16865         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16866         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16867         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16868         comments.
16869         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16870         -mno-mmx for $(all-rtld-routines).
16871         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16872         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16873         i386.
16875 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16877         * sysdeps/generic/unwind.h
16878         (_Unwind_Word): Use __mode__(__unwind_word__)
16879         instead of __mode__(__word__).
16880         (_Unwind_Sword): Likewise.
16882         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16883         (MAX_NEEDED_INPUT): New define.
16884         (MAX_NEEDED_OUTPUT): New define.
16886         * NEWS: New item for IBM z13 string optimizations.
16888         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16889         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16890         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16891         * sysdeps/s390/multiarch/Makefile
16892         (sysdep_routines): Add memrchr functions.
16893         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16894         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16896         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16897         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16898         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16899         * sysdeps/s390/multiarch/Makefile
16900         (sysdep_routines): Add wmemcmp functions.
16901         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16902         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16903         * benchtests/bench-wmemcmp.c: New File.
16904         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16906         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16907         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16908         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16909         * sysdeps/s390/multiarch/Makefile
16910         (sysdep_routines): Add wmemset functions.
16911         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16912         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16913         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16914         * string/test-memset.c: Add wmemset support.
16915         * wcsmbs/test-wmemset.c: New File.
16916         * wcsmbs/Makefile (strop-tests): Add wmemset.
16917         * benchtests/bench-memset.c: Add wmemset support.
16918         * benchtests/bench-wmemset.c: New File.
16919         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16921         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16922         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16923         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16924         * sysdeps/s390/multiarch/Makefile
16925         (sysdep_routines): Add memccpy functions.
16926         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16927         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16928         * string/memccpy.c: Use MEMCCPY if defined.
16930         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16931         * sysdeps/s390/multiarch/memchr.c: Likewise.
16932         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16933         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16934         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16935         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16936         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16937         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16938         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16939         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16941         and rawmemchr functions.
16942         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16943         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16944         and wmemchr.
16945         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16946         * string/test-memchr.c: Add wmemchr support.
16947         * wcsmbs/test-wmemchr.c: New File.
16948         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16949         * benchtests/bench-memchr.c: Add wmemchr support.
16950         * benchtests/bench-wmemchr.c: New File.
16951         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16953         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16954         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16955         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16956         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16957         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16958         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16960         wcscspn functions.
16961         * sysdeps/s390/multiarch/ifunc-impl-list.c
16962         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16963         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16964         * string/test-strcspn.c: Add wcscspn support.
16965         * wcsmbs/test-wcscspn.c: New File.
16966         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16967         * benchtests/bench-strcspn.c: Add wcscspn support.
16968         * benchtests/bench-wcscspn.c: New File.
16969         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16971         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16972         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16973         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16974         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16975         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16976         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16977         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16978         wcspbrk functions.
16979         * sysdeps/s390/multiarch/ifunc-impl-list.c
16980         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16981         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16982         * string/test-strpbrk.c: Add wcspbrk support.
16983         * wcsmbs/test-wcspbrk.c: New File.
16984         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16985         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16986         * benchtests/bench-wcspbrk.c: New File.
16987         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16989         * sysdeps/s390/multiarch/strspn-c.c: New File.
16990         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16991         * sysdeps/s390/multiarch/strspn.c: Likewise.
16992         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16993         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16994         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16995         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16997         wcsspn functions.
16998         * sysdeps/s390/multiarch/ifunc-impl-list.c
16999         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17000         * string/test-strspn.c: Add wcsspn support.
17001         * wcsmbs/test-wcsspn.c: New File.
17002         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17003         * benchtests/bench-strspn.c: Add wcsspn support.
17004         * benchtests/bench-wcsspn.c: New File.
17005         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17007         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17008         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17009         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17010         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17011         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17012         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17013         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17014         wcsrchr functions.
17015         * sysdeps/s390/multiarch/ifunc-impl-list.c
17016         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17017         * benchtests/bench-wcsrchr.c: New File.
17018         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17020         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17021         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17022         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17023         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17024         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17025         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17026         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17027         wcschrnul functions.
17028         * sysdeps/s390/multiarch/ifunc-impl-list.c
17029         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17030         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17031         * string/test-strchr.c: Add wcschrnul support.
17032         * wcsmbs/test-wcschrnul.c: New File.
17033         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17034         * benchtests/bench-strchr.c: Add wcschrnul support.
17035         * benchtests/bench-wcschrnul.c: New File.
17036         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17038         * sysdeps/s390/multiarch/strchr-c.c: New File.
17039         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17040         * sysdeps/s390/multiarch/strchr.c: Likewise.
17041         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17042         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17043         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17044         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17045         wcschr functions.
17046         * sysdeps/s390/multiarch/ifunc-impl-list.c
17047         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17048         * string/strchr.c (STRCHR): Define and use macro.
17049         * benchtests/bench-wcschr.c: New File.
17050         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17052         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17053         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17054         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17055         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17056         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17057         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17058         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17059         wcsncmp functions.
17060         * sysdeps/s390/multiarch/ifunc-impl-list.c
17061         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17062         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17063         * benchtests/bench-strncmp.c: Add wcsncmp support.
17064         * benchtests/bench-wcsncmp.c: New File.
17065         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17067         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17068         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17069         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17070         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17071         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17072         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17073         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17074         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17075         wcscmp functions.
17076         * sysdeps/s390/multiarch/ifunc-impl-list.c
17077         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17078         * string/strcmp.c (STRCMP): Define and use macro.
17079         * benchtests/bench-wcscmp.c: New File.
17080         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17081         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17082         instead of _HAVE_STRING_ARCH_memchr.
17084         * sysdeps/s390/multiarch/strncat-c.c: New File.
17085         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17086         * sysdeps/s390/multiarch/strncat.c: Likewise.
17087         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17088         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17089         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17090         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17091         wcsncat functions.
17092         * sysdeps/s390/multiarch/ifunc-impl-list.c
17093         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17094         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17095         * string/test-strncat.c: Add wcsncat support.
17096         * wcsmbs/test-wcsncat.c: New File.
17097         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17098         * benchtests/bench-strncat.c: Add wcsncat support.
17099         * benchtests/bench-wcsncat.c: New File.
17100         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17102         * sysdeps/s390/multiarch/strcat-c.c: New File.
17103         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17104         * sysdeps/s390/multiarch/strcat.c: Likewise.
17105         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17106         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17107         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17108         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17109         wcscat functions.
17110         * sysdeps/s390/multiarch/ifunc-impl-list.c
17111         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17112         * string/strcat.c (STRCAT): Define and use macro.
17113         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17114         * string/test-strcat.c: Add wcscat support.
17115         * wcsmbs/test-wcscat.c: New File.
17116         * wcsmbs/Makefile (strop-tests): Add wcscat.
17117         * benchtests/bench-strcat.c: Add wcscat support.
17118         * benchtests/bench-wcscat.c: New File.
17119         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17121         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17122         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17123         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17124         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17125         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17126         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17127         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17128         wcpncpy functions.
17129         * sysdeps/s390/multiarch/ifunc-impl-list.c
17130         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17131         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17132         * string/test-stpncpy.c: Add wcpncpy support.
17133         * wcsmbs/test-wcpncpy.c: New File.
17134         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17135         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17136         * benchtests/bench-wcpncpy.c: New File.
17137         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17139         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17140         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17141         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17142         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17143         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17144         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17145         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17146         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17147         wcsncpy functions.
17148         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17149         * sysdeps/s390/multiarch/ifunc-impl-list.c
17150         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17151         * string/test-strncpy.c: Add wcsncpy support.
17152         * wcsmbs/test-wcsncpy.c: New File.
17153         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17154         * benchtests/bench-strncpy.c: Add wcsncpy support.
17155         * benchtests/bench-wcsncpy.c: New File.
17156         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17158         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17159         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17160         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17161         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17162         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17163         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17164         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17165         wcpcpy functions.
17166         * string/stpcpy.c: Use STPCPY if defined.
17167         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17168         * sysdeps/s390/multiarch/ifunc-impl-list.c
17169         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17170         * string/test-stpcpy.c: Add wcpcpy support.
17171         * wcsmbs/test-wcpcpy.c: New File.
17172         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17173         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17174         * benchtests/bench-wcpcpy.c: New File.
17175         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17177         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17178         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17179         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17180         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17181         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17182         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17183         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17184         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17185         wcscpy functions.
17186         * sysdeps/s390/multiarch/ifunc-impl-list.c
17187         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17188         * benchtests/bench-wcscpy.c: New File.
17189         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17191         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17192         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17193         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17194         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17195         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17196         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17198         wcsnlen functions.
17199         * sysdeps/s390/multiarch/ifunc-impl-list.c
17200         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17201         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17202         * string/test-strnlen.c: Add wcsnlen support.
17203         * wcsmbs/test-wcsnlen.c: New File.
17204         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17205         * benchtests/bench-strnlen.c: Add wcsnlen support.
17206         * benchtests/bench-wcsnlen.c: New File.
17207         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17209         * sysdeps/s390/multiarch/Makefile: New File.
17210         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17211         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17212         * sysdeps/s390/multiarch/strlen.c: Likewise.
17213         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17214         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17215         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17216         * string/strlen.c (STRLEN): Define and use macro.
17217         * sysdeps/s390/multiarch/ifunc-impl-list.c
17218         (IFUNC_VX_IMPL): New macro function.
17219         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17220         * benchtests/Makefile (wcsmbs-bench): New variable.
17221         (string-bench-all): Added wcsmbs-bench.
17222         * benchtests/bench-wcslen.c: New File.
17224         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17225         s390_vx_libc_ifunc2): New macro function.
17227         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17228         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17229         assembler support.
17230         * sysdeps/s390/configure: Regenerated.
17232         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17233         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17235         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17236         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17237         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17239         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17240         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17241         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17242         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17243         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17244         (memcmp, bcmp): Use __memcmp_default as alias source.
17245         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17246         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17247         Rename to __memcmp_default.
17248         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17249         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17250         (memcpy): Use __memcpy_default as alias source.
17251         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17252         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17253         Rename to __memcpy_default.
17254         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17255         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17256         (memset): Use __memset_default as alias source.
17257         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17258         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17259         Rename to __memset_default.
17260         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17261         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17263         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17264         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17265         (memcmp, bcmp): Use __memcmp_default as alias source.
17266         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17267         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17268         Rename to __memcmp_default.
17269         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17270         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17271         (memcpy): Use __memcpy_default as alias source.
17272         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17273         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17274         Rename to __memcpy_default.
17275         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17276         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17277         (memset): Use __memset_default as alias source.
17278         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17279         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17280         Rename to __memset_default.
17281         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17282         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17284         [BZ #18610]
17285         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17286         __ieee_instruction_pointer to __unused.
17287         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17288         __ieee_instruction_pointer.
17289         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17290         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17291         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17292         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17293         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17294         Mark dxc-field as reserved.
17296 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17298         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17299         if the weak reference is not null.
17301 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17303         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17305         [BZ #11214]
17306         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17308 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17310         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17311         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17312         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17313         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17314         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17315         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17316         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17317         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17318         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17319         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17320         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17321         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17322         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17323         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17324         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17325         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17326         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17327         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17329 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17331         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17332         register other than r0 for tabort, it has special meaning.
17333         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17334         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17335         transaction before starting syscall.
17337 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17339         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17341 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17343         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17345         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17346         * sysdeps/x86_64/rtld-memset.S: Likewise.
17347         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17348         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17349         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17350         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17352         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17354 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17356         * debug/strcpy_chk.c: Improve performance.
17357         * debug/stpcpy_chk.c: Likewise.
17358         * sysdeps/x86_64/strcpy_chk.S: Remove.
17359         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17361         [BZ #18240]
17362         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17364 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17366         [BZ #15128]
17367         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17368         ifuncmain8.
17369         (modules-names): Add ifuncmod8.
17370         ($(objpfx)ifuncmain8): New rule.
17371         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17372         <cpuid.h>.
17373         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17374         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17375         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17376         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17377         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17378         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17379         * sysdeps/x86_64/ifuncmain8.c: New file.
17380         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17381         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17382         Removed.
17383         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17384         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17385         Change rtld_savespace_sse to __glibc_unused2.
17386         (RTLD_CHECK_FOREIGN_CALL): Removed.
17387         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17388         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17389         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17391 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17393         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17395 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17397         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17398         Unconditionally set __fpcr to avoid uninialized warning.
17399         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17401 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17403         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17404         is corrupt.
17406         * malloc/arena.c (arena_get2): Drop unused argument.
17407         (arena_lock): Adjust.
17408         (arena_get_retry): Likewise.
17410 2015-08-24  Andreas Schwab  <schwab@suse.de>
17412         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17413         Don't define.
17414         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17415         (__ASSUME_IPC64): Don't undef.
17416         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17417         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17418         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17419         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17420         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17421         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17422         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17423         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17424         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17425         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17426         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17427         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17428         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17429         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17430         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17431         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17432         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17433         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17434         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17435         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17436         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17438 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17440         * manual/Makefile (install): Only build manual when perl is available.
17442 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17444         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17445         '#undef memcpy' by '#undef memchr'.
17447 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17449         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17450         memchr not point to the internal __GI_memchr implementation.
17452 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17454         * timezone/Makefile (CFLAGS-zdump.c): Remove
17455         -Wno-strict-prototypes.
17456         (CFLAGS-zic.c): Likewise.
17457         (CFLAGS-ialloc.c): Likewise.
17458         (CFLAGS-scheck.c): Likewise.
17460         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17461         -Wno-error=undef.
17463 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17465         * i386/i686/multiarch/strcasestr-c.c: Removed.
17466         * x86_64/multiarch/strcasestr.c: Likewise.
17467         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17468         Remove strcasestr.
17470 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17472         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17474         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17475         variables for high and low parts before possibly modifying them.
17477 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17479         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17480         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17481         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17482         of "multiarch/init-arch.h".
17483         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17484         * sysdeps/x86/init-arch.h: This.
17486 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17488         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17489         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17491 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17493         [BZ #17787]
17494         * manual/macros.texi: Add twoexp macro.
17495         * manual/filesys.texi: Fix exponents.
17496         * manual/llio.texi: Likewise.
17497         * manual/stdio.texi: Likewise.
17499 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17501         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17502         incorrect use.
17504 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17506         [BZ #18370]
17507         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17508         whose real or imaginary part has small absolute value.
17509         * math/s_csqrtf.c (__csqrtf): Likewise.
17510         * math/s_csqrtl.c (__csqrtl): Likewise.
17511         * math/auto-libm-test-in: Add more tests of csqrt.
17512         * math/auto-libm-test-out: Regenerated.
17513         * sysdeps/i386/fpu/libm-test-ulps: Update.
17515 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17517         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17518         __ppc_set_ppr_very_low): New functions.
17519         * manual/platform.texi: Add documentation about
17520         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17522 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17524         * string/stpncpy.c (stpncpy): Improve performance using
17525         __strnlen/memcpy/memset.
17527 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17529         [BZ #18796]
17530         * scripts/test-installation.pl: Don't add -lmvec to build options if
17531         libmvec wasn't built.
17533 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17535         [BZ #14341]
17536         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17537         case when there is a gap between DT_REL and DT_JMPREL sections.
17538         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17539         (LDFLAGS-tst-split-dynreloc): New.
17540         (tst-split-dynreloc-ENV): Likewise.
17541         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17542         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17544 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17546         [BZ #18822]
17547         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17548         attribute_hidden.
17549         (__xstat64_conv): Likewise.
17550         (__xstat32_conv): Likewise.
17552 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17554         [BZ #18822]
17555         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17556         Don't load %ebx when calling __setcontext.  Call __setcontext
17557         with HIDDEN_JUMPTARGET.
17558         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17559         libc_hidden_def.
17561 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17563         * sysdeps/i386/i686/Makefile
17564         [$(subdir) == string] (sysdep_routines): Moved to ...
17565         * sysdeps/i386/Makefile: Here.
17566         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17567         * sysdeps/i386/cacheinfo.c: Here.
17568         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17569         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17570         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17571         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17573 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17575         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17576         __i586__ is defined.
17577         (HAS_I686): Defined to 1 if __i686__ is defined.
17579 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17581         * elf/Makefile [$(have-z-execstack) = yes]
17582         (CPPFLAGS-tst-execstack.c): New variable.
17584         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17585         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17586         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17587         UTMPX || _HAVE_UT_TV].
17588         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17589         UTMPX || _HAVE_UT_TV - 0].
17591 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17593         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17594         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17595         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17597 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17599         * sysdeps/powerpc/dl-procinfo.c:
17600         (_dl_powerpc_cap_flags): Added missing strings for some
17601         hwcap features.
17602         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17604 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17606         Port the 0x7efe...feff pattern to GCC 6.
17607         See Steve Ellcey's bug report in:
17608         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17609         * string/memrchr.c (MEMRCHR):
17610         * string/rawmemchr.c (RAWMEMCHR):
17611         * string/strchr.c (strchr):
17612         * string/strchrnul.c (STRCHRNUL):
17613         Rewrite code to avoid issues with signed shift overflow.
17615 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17617         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17618         whether cpuid is available only if HAS_CPUID is 0.
17619         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17620         (HAS_I586): Likewise.
17621         (HAS_I686): Likewise.
17623 2015-08-18  Zack Weinberg  <zackw@panix.com>
17625         * misc/Versions (libc): Add GLIBC_2.23.
17627 2015-08-18  Alan Modra  <amodra@gmail.com>
17629         [BZ #18421]
17630         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17631         .Lp__global.
17632         (_start): Load %dp via .Lp__global.
17633         [!SHARED]: Use .section .rodata.
17635 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17637         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17638         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17640 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17642         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17643         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17645 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17647         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17648         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17650 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17652         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17653         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17655 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17657         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17658         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17660 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17662         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17663         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17665 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17667         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17669 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17671         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17672         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17673         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17674         (__ASSUME_LWS_CAS): Delete.
17676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17678         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17679         * sysdeps/hppa/configure: Regenerated.
17680         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17681         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17682         * sysdeps/hppa/nptl/tls.h: Likewise.
17684 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17686         [BZ #18823]
17687         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17688         for scaling up small arguments.
17689         * math/s_csqrtf.c (__csqrtf): Likewise.
17690         * math/s_csqrtl.c (__csqrtl): Likewise.
17691         * math/auto-libm-test-in: Add more tests of csqrt.
17692         * math/auto-libm-test-out: Regenerated.
17694 2015-08-17  Andreas Schwab  <schwab@suse.de>
17696         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17697         version set GLIBC_2.19.
17699 2015-08-16  Zack Weinberg  <zackw@panix.com>
17701         [BZ #18681]
17702         * misc/regexp.h: This interface is no longer supported.
17703         Remove all contents, leaving only an #error directive.
17704         * misc/regexp.c (loc1, loc2, locs, step, advance):
17705         Demote to compatibility symbols.
17707 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17709         [BZ #18084]
17710         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17711         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17712         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17713         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17714         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17715         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17716         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17717         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17718         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17720 2015-08-15  Zack Weinberg  <zackw@panix.com>
17722         [BZ #18795]
17723         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17724         buffer length is known to be too large, not if it's known to be
17725         small enough.
17726         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17727         overflow at runtime, involving a length parameter, twice: once
17728         with a compile-time constant length parameter, once without.
17730 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17732         [BZ #18824]
17733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17734         scaling x * y up instead of down.
17735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17737         * math/auto-libm-test-in: Add more tests of fma.
17738         * math/auto-libm-test-out: Regenerated.
17740 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17742         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17744 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17746         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17747         unnecessary movq.
17748         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17749         Likewise.
17751 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17753         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17754         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17755         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17756         and tgamma.
17757         * math/auto-libm-test-out: Regenerated.
17758         * sysdeps/i386/fpu/libm-test-ulps: Update.
17759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17761         [BZ #16520]
17762         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17763         (__tanh): Force underflow exception for arguments with small
17764         absolute value.
17765         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17766         (__tanhf): Force underflow exception for arguments with small
17767         absolute value.
17768         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17769         (__tanhl): Force underflow exception for arguments with small
17770         absolute value.
17771         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17772         (__tanhl): Force underflow exception for arguments with small
17773         absolute value.
17774         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17775         (__tanhl): Force underflow exception for arguments with small
17776         absolute value.
17777         * math/auto-libm-test-in: Add more tests of tanh.
17778         * math/auto-libm-test-out: Regenerated.
17779         * sysdeps/i386/fpu/libm-test-ulps: Update.
17781 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17783         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17784         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17786 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17788         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17789         <cpuid.h>.
17791 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17793         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17794         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17796 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17798         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17799         Remove $(objpfx)init-arch.o.
17800         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17801         init-arch.
17802         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17803         (INIT_ARCH_EXT): Defined as empty.
17804         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17805         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17806         __init_cpu_features call.  Replace HAS_XXX with
17807         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17809         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17810         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17811         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17812         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17813         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17814         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17815         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17817         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17818         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17819         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17821         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17822         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17823         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17825         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17826         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17827         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17828         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17830         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17831         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17832         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17833         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17834         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17835         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17836         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17837         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17839         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17841         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17842         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17844 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17846         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17847         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17848         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17849         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17850         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17851         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17852         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17853         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17854         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17855         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17856         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17857         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17858         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17859         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17860         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17861         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17862         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17863         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17864         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17865         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17866         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17867         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17868         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17869         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17870         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17871         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17872         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17873         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17874         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17875         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17876         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17877         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17878         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17879         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17880         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17881         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17882         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17883         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17884         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17885         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17886         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17887         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17888         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17890 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17892         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17893         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17894         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17895         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17896         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17897         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17898         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17899         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17900         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17901         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17902         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17903         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17904         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17905         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17906         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17907         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17908         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17909         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17910         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17911         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17913         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17914         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17915         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17916         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17917         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17918         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17919         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17920         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17921         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17922         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17923         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17925         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17927         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17928         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17929         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17930         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17931         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17932         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17933         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17934         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17936 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17938         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17939         (dl_platform_init): Call init_cpu_features.
17940         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17941         * sysdeps/i386/i686/cacheinfo.c
17942         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17943         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17944         * sysdeps/i386/i686/multiarch/Versions: Removed.
17945         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17946         Removed.
17947         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17948         * sysdeps/unix/sysv/linux/x86/Makefile
17949         (libpthread-sysdep_routines): Remove init-arch.
17950         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17951         <sysdeps/x86_64/dl-procinfo.c> instead of
17952         sysdeps/generic/dl-procinfo.c>.
17953         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17954         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17955         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17956         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17957         [$(subdir) == elf] (tests-static): Add
17958         tst-get-cpu-features-static.
17959         * sysdeps/x86/Versions: New file.
17960         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17961         * sysdeps/x86/cpu-features.c: Likewise.
17962         * sysdeps/x86/cpu-features.h: Likewise.
17963         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17964         * sysdeps/x86/libc-start.c: Likewise.
17965         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17966         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17967         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17968         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17969         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17970         Assume USE_MULTIARCH is defined and don't check it.
17971         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17972         (is_amd): Likewise.
17973         (max_cpuid): Likewise.
17974         (intel_check_word): Likewise.
17975         (__cache_sysconf): Don't call __init_cpu_features.
17976         (__x86_preferred_memory_instruction): Removed.
17977         (init_cacheinfo): Don't call __init_cpu_features. Replace
17978         __cpu_features with GLRO(dl_x86_cpu_features).
17979         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17980         (dl_platform_init): Call init_cpu_features.
17981         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17982         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17983         * sysdeps/x86_64/multiarch/Versions: Removed.
17984         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17985         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17986         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17987         Removed.
17988         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17990 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17992         [BZ #18820]
17993         * libio/Makefile (test-fmemopen-mem): New test.
17994         * libio/test-fmemopen.c (do_bz18820): New test.
17995         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17996         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17998 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18000         [BZ #16734]
18001         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18002         (FREE_BUF): Delete.
18003         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18004         * libio/genops.c (_IO_setb): Use malloc and free directly.
18005         (_IO_default_doallocate, _IO_default_finish): Likewise.
18006         ( _IO_unbuffer_all): Likewise.
18007         ( libc_freeres_fn): Likewise.
18008         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18009         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18010         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18011         (_IO_wdefault_doallocate): Likewise.
18013 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18015         [BZ #18086]
18016         * sysdeps/posix/nice.c (nice): Restore old errno.
18017         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18019 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18023 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18025         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18026         __bcopy and add a weak_alias to bcopy.
18027         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18028         for static build.
18030         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18031         cleanup macro usage.
18032         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18034         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18035         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18036         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18037         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18038         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18039         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18040         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18041         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18043         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18045         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18048         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18049         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18050         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18052         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18053         libc_hidden_def.
18054         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18056         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18057         (sysdep_routines): Add strstr-ppc64.
18058         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18060 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18062         [BZ #18778]
18063         * elf/Makefile (tests): Add Add tst-nodelete2.
18064         (modules-names): Add tst-nodelete2mod.
18065         (tst-nodelete2mod.so-no-z-defs): New.
18066         ($(objpfx)tst-nodelete2): Likewise.
18067         ($(objpfx)tst-nodelete2.out): Likewise.
18068         (LDFLAGS-tst-nodelete2): Likewise.
18069         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18070         out of loop through all loaded libraries.
18071         * elf/tst-nodelete2.c: New file.
18072         * elf/tst-nodelete2mod.c: Likewise.
18073         * elf/tst-znodelete-zlib.cc: Delete.
18075 2015-08-11  Andreas Schwab  <schwab@suse.de>
18077         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18078         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18079         (__openat64_nocancel): Likewise.
18081 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18083         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18084         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18085         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18086         * math/auto-libm-test-out: Regenerated.
18087         * sysdeps/i386/fpu/libm-test-ulps: Update.
18088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18090 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18092         [BZ #18790]
18093         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18094         threshold for returning +/- 1.
18095         * math/auto-libm-test-in: Add more tests of tanh.
18096         * math/auto-libm-test-out: Regenerated.
18097         * sysdeps/i386/fpu/libm-test-ulps: Update.
18099 2015-08-10  Andreas Schwab  <schwab@suse.de>
18101         [BZ #18781]
18102         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18103         MORE_OFLAGS to oflag.
18104         * io/test-lfs.c (do_test): Test openat64.
18106 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18108         [BZ #18789]
18109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18110         smaller threshold for returning the argument.
18111         * math/auto-libm-test-in: Add more tests of sinh.
18112         * math/auto-libm-test-out: Regenerated.
18113         * sysdeps/i386/fpu/libm-test-ulps: Update.
18115 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18117         [BZ #18674]
18118         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18119         break.
18121 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18123         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18124         (generated): Don't add $(addprefix z.,$(tzfiles)).
18126 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18128         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18129         * scripts/sysd-rules.awk: Likewise.
18131 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18133         * iconvdata/tst-tables.sh: Change echo -n to printf.
18134         * nss/db-Makefile: Likewise.
18135         * posix/tst-getconf.sh: Likewise.
18136         * stdio-common/tst-unbputc.sh: Likewise.
18138 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18140         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18141         MADV_*_PAGES defines behind this feature check.
18143 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18145         [BZ #18480]
18146         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18147         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18148         Define.
18149         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18150         LOAD_REGS_5, LOAD_REGS_6): Update.
18151         (INTERNAL_SYSCALL): Update using new LOAD defines.
18152         (INTERNAL_SYSCALL_NCS): Likewise.
18153         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18155 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18157         [BZ #16734]
18158         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18160 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18162         [BZ #17905]
18163         * catgets/Makefile (tst-catgets-mem): New test.
18164         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18165         * catgets/open_catalog.c (__open_catalog): Likewise.
18166         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18168 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18170         [BZ #18787]
18171         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18172         clobber registers.
18173         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18174         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18175         Cast return to __typeof (oldval).
18177 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18179         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18180         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18181         and delete sys/syscall.h include.
18183 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18185         [BZ #16517]
18186         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18187         (tan): Force underflow exception for arguments with small absolute
18188         value.
18189         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18190         (__kernel_tanf): Force underflow exception for arguments with
18191         small absolute value.
18192         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18193         (__kernel_tanl): Force underflow exception for arguments with
18194         small absolute value.
18195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18196         (__kernel_tanl): Force underflow exception for arguments with
18197         small absolute value.
18198         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18199         (__kernel_tanl): Force underflow exception for arguments with
18200         small absolute value.
18201         * math/auto-libm-test-in: Add more tests of tan.
18202         * math/auto-libm-test-out: Regenerated.
18204 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18206         Fix sysdeps/i386/fpu/s_scalbn.S build
18208         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18210 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18212         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18214 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18216         Fix gcrt0.o compilation
18218         When static-start-installed-name is different from
18219         start-installed-name, we must not use the shared objects.
18221         * csu/Makefile
18222         (extra-objs): Add gmon-start.o when building shared library and
18223         $(static-start-installed-name) is different from
18224         $(start-installed-name).
18225         $(objpfx)g$(static-start-installed-name): When building shared
18226         library and $(static-start-installed-name) is different from
18227         $(static-start-installed-name), revert to non-shared rule,
18228         i.e. using $(objpfx)% and gmon-start.o.
18230 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18232         [BZ #16519]
18233         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18234         (__ieee754_sinh): Force underflow exception for arguments with
18235         small absolute value.
18236         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18237         (__ieee754_sinhf): Force underflow exception for arguments with
18238         small absolute value.
18239         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18240         (__ieee754_sinhl): Force underflow exception for arguments with
18241         small absolute value.
18242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18243         (__ieee754_sinhl): Force underflow exception for arguments with
18244         small absolute value.
18245         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18246         (__ieee754_sinhl): Force underflow exception for arguments with
18247         small absolute value.
18248         * math/auto-libm-test-in: Add more tests of sinh.
18249         * math/auto-libm-test-out: Regenerated.
18250         * sysdeps/i386/fpu/libm-test-ulps: Update.
18252 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18254         * libio/oldfileops.c: Include unistd.h.
18256 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18258         * stdlib/isomac.c: Include ctype.h.
18260 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18262         * dirent/tst-seekdir.c (main): Converted to ...
18263         (do_test): ... this.
18264         (TEST_FUNCTION): New macro.
18265         Include test-skeleton.c.
18266         * elf/tst-dlmodcount.c (main): Converted to ...
18267         (do_test): ... this.
18268         (TEST_FUNCTION): New macro.
18269         Include test-skeleton.c.
18270         * elf/tst-order-main.c (main): Converted to ...
18271         (do_test): ... this.
18272         (TEST_FUNCTION): New macro.
18273         Include test-skeleton.c.
18274         * elf/tst-pie2.c (main): Converted to ...
18275         (do_test): ... this.
18276         (TEST_FUNCTION): New macro.
18277         Include test-skeleton.c.
18278         * inet/tst-ether_aton.c (main): Converted to ...
18279         (do_test): ... this.
18280         (TEST_FUNCTION): New macro.
18281         Include test-skeleton.c.
18282         * misc/tst-mntent.c (main): Converted to ...
18283         (do_test): ... this.
18284         (TEST_FUNCTION): New macro.
18285         Include test-skeleton.c.
18286         * misc/tst-tsearch.c (main): Converted to ...
18287         (do_test): ... this.
18288         (TEST_FUNCTION): New macro.
18289         Include test-skeleton.c.
18290         * posix/tst-regexloc.c (main): Converted to ...
18291         (do_test): ... this.
18292         (TEST_FUNCTION): New macro.
18293         Include test-skeleton.c.
18294         * resolv/tst-aton.c (main): Converted to ...
18295         (do_test): ... this.
18296         (TEST_FUNCTION): New macro.
18297         Include test-skeleton.c.
18298         * stdio-common/test-fwrite.c (main): Converted to ...
18299         (do_test): ... this.
18300         (TEST_FUNCTION): New macro.
18301         Include test-skeleton.c.
18302         * stdio-common/tst-ferror.c (main): Converted to ...
18303         (do_test): ... this.
18304         (TEST_FUNCTION): New macro.
18305         Include test-skeleton.c.
18306         * stdio-common/tst-printf.c (main): Converted to ...
18307         (do_test): ... this.
18308         (TEST_FUNCTION): New macro.
18309         Include test-skeleton.c.
18310         * stdio-common/tst-printfsz.c (main): Converted to ...
18311         (do_test): ... this.
18312         (TEST_FUNCTION): New macro.
18313         Include test-skeleton.c.
18314         * stdlib/tst-strtod.c (main): Converted to ...
18315         (do_test): ... this.
18316         (TEST_FUNCTION): New macro.
18317         Include test-skeleton.c.
18318         * string/tst-strlen.c (main): Converted to ...
18319         (do_test): ... this.
18320         (TEST_FUNCTION): New macro.
18321         Include test-skeleton.c.
18322         * string/tst-svc.c (main): Converted to ...
18323         (do_test): ... this.
18324         (TEST_FUNCTION): New macro.
18325         Include test-skeleton.c.
18326         * time/tst-strptime.c (main): Converted to ...
18327         (do_test): ... this.
18328         (TEST_FUNCTION): New macro.
18329         Include test-skeleton.c.
18330         * timezone/tst-timezone.c (main): Converted to ...
18331         (do_test): ... this.
18332         (TEST_FUNCTION): New macro.
18333         Include test-skeleton.c.
18335 2015-08-05  Zack Weinberg  <zackw@panix.com>
18337         * misc/regexp.h: Update comments.
18339 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18341         [BZ #18635]
18342         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18343         before return label.
18345 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18347         [BZ #18661]
18348         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18349         when calling __errno_location.
18350         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18351         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18353 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18355         [BZ #18661]
18356         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18357         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18358         __gettimeofday.
18360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18362         [BZ #18661]
18363         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18364         (__start_context): Don't use pop to restore %rdi so that stack
18365         is aligned to 16 bytes when calling __setcontext.
18367 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18369         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18370         only for libc.
18371         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18373 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18375         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18376         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18377         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18379 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18381         * string/memccpy.c (memccpy):
18382         Improve performance by using memchr/memcpy/__mempcpy.
18384 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18386         * string/strncpy.c (strncpy):
18387         Improve performance by using __strnlen/memcpy.
18389 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18391         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18392         Optimize to avoid an unnecessary FPCR read.
18394 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18396         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18397         Optimize to reduce FPCR/FPSR accesses.
18399 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18401         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18402         dead->data[category] != NULL.
18404 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18406         [BZ #18647]
18407         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18408         and |x| close to 1, use absolute value of x when computing log.
18409         * math/auto-libm-test-in: Add more tests of pow.
18410         * math/auto-libm-test-out: Regenerated.
18412 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18414         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18415         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18416         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18418 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18420         [BZ #18525]
18421         * locales/km_KH: Remove timezone definition.
18422         * locales/lo_LA: Likewise.
18423         * locales/my_MM: Likewise.
18424         * locales/nan_TW@latin: Likewise.
18425         * locales/th_TH: Likewise.
18426         * locales/uk_UA: Likewise.
18428 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18430         [BZ #18265]
18431         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18432         (wcsncat): Likewise.
18433         (wcscmp): Likewise.
18434         (wcsncmp): Likewise.
18436 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18438         * test-skeleton.c (usage): New function.
18439         (main): Call usage when opt is '?'.
18441 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18443         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18444         before first use.
18446 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18448         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18449         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18450         in there too.
18452 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18454         * version.h (RELEASE): Set to "development".
18455         (VERSION): Set to "2.22.90"
18457         * version.h (RELEASE): Set to "stable".
18458         (VERSION): Set to "2.22"
18459         * include/features.h (__GLIBC_MINOR__): Set to 22.
18461 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18463         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18464         Restructure macro to avoid "value computed is not used" warning.
18465         (atomic_compare_and_exchange_val_acq): Likewise.
18467 2015-08-04  Andreas Schwab  <schwab@suse.de>
18469         [BZ #18635]
18470         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18471         ret.
18472         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18474 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18476         * po/pl.po: Updated translation.
18477         * po/uk.po: Likewise.
18478         * po/fi.po: Likewise.
18479         * po/ko.po: Likewise.
18480         * po/ru.po: Likewise.
18481         * po/vi.po: Likewise.
18483 2015-07-31  Zack Weinberg  <zackw@panix.com>
18485         [BZ #18681]
18486         * regexp.h: Add unconditional #warning stating that this header
18487         will be removed soon.  Revise banner comment to match.
18488         (compile): Consistently use ERROR instead of RETURN to report
18489         errors (partial fix for bz#18681).
18490         * regexp.c: Don't include regexp.h. Remove some unnecessary
18491         declarations.
18493 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18495         * po/libc.pot: Regenerated.
18497 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18499         [BZ #18740]
18500         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18501         float-vlen4-arch-ext-cflags): Removed.
18502         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18503         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18505 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18507         [BZ #14113]
18508         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18509         aligned to __aligned__.
18510         (pthread_cond_t, pthread_rwlock_t): Likewise.
18512 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18514         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18516 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18518         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18519         (struct sigaction): Change sa_flags from a long to an int, and add
18520         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18522 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18524         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18525         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18526         sysdeps/generic/sysdep.h include.
18527         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18528         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18529         sysdeps/hppa/sysdep.h.
18530         (ENTRY, PSEUDO): Undefine before defining.
18532 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18534         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18535         from scratch to use INTERNAL_SYSCALL.
18537 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18539         [BZ #18078]
18540         * scripts/check-localplt.awk: Support alternate relocations.
18541         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18542         sections.
18543         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18544         malloc entries with + REL R_386_GLOB_DAT.
18545         * sysdeps/x86_64/localplt.data: New file.
18547 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18549         [BZ #18731]
18550         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18551         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18552         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18554 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18556         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18558 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18560         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18561         directly in terms of __sync_fetch_and_add and delete (int) cast.
18563 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18565         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18566         the -D_ASM_IA64_CURRENT_H flag.
18568 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18570         [BZ #18641]
18571         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18573 2015-07-27  Andreas Schwab  <schwab@suse.de>
18575         * conform/conformtest.pl (checknamespace): Filter out string
18576         literals while tokenizing.
18578 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18580         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18581         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18582         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18584 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18586         * nptl/tst-join7mod.c: Add #include <string.h>.
18588 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18590         * sysdeps/nios2/libm-test-ulps: Update.
18592 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18594         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18595         Fix order of arguments to the rt_sigprocmask syscall.
18596         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18597         Likewise.
18599 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18601         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18603 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18605         [BZ #18457]
18606         * nptl/Makefile (tests): New test case tst-join7.
18607         (modules-names): New test case module tst-join7mod.
18608         * nptl/tst-join7.c: New file.
18609         * nptl/tst-join7mod.c: New file.
18610         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18611         all translation units in libc.so, libpthread.so and rtld.
18613 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18617 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18619         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18621         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18622         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18623         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18625         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18628         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18630         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18631         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18632         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18634         implementation.
18636 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18638         [BZ #17711]
18639         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18640         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18641         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18642         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18643         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18644         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18646 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18648         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18649         instead of just saying load lock in the comments.
18651 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18653         * sysdeps/unix/Subdirs: Moved ...
18654         * sysdeps/posix/Subdirs: ... here.
18655         * login/pty.h (struct termios, struct winsize): Add forward decls.
18656         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18657         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18658         * sysdeps/arm/nacl/libc.abilist: Updated.
18659         * sysdeps/nacl/libutil.abilist: New file.
18661         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18662         (SIGWINCH): New macro.
18664         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18665         * sysdeps/arm/nacl/libc.abilist: Add it.
18667 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18669         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18671 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18673         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18674         Swap __glibc_reserved0 and sa_flags order.
18676 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18678         [BZ #18657]
18679         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18680         are pending TLS destructor calls.
18681         * include/link.h (struct link_map): Add concurrency note for
18682         L_TLS_DTOR_COUNT.
18683         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18684         Don't touch the link map flag.  Atomically increment
18685         l_tls_dtor_count.
18686         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18687         Avoid taking the load lock and don't touch the link map flag.
18688         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18689         * stdlib/Makefile (tests): Use it.
18690         * stdlib/tst-tls-atexit.c (do_test): dlopen
18691         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18692         to allow tst-tls-atexit-nodelete test case to use it.
18694 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18696         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18697         to bits/types.h.
18698         (msgqnum_t): New typedef.
18699         (msglen_t): Likewise.
18700         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18701         and msg_qbytes type to msglen_t.
18703 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18705         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18706         pad0 to __glibc_reserved0.
18707         (struct stat64): Likewise.
18709 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18711         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18712         Change sa_flags from a long to an int and add __glibc_reserved0 before
18713         it for padding.
18715 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18717         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18718         anonymous by deleting "siginfo" name.
18720 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18722         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18723         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18724         rather than __nacl_irt_filename.
18725         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18727         * NEWS: New item for arm-nacl port.
18728         * sysdeps/arm/nacl/libc.abilist: New file.
18729         * sysdeps/nacl/ld.abilist: New file.
18730         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18731         * sysdeps/nacl/libanl.abilist: New file.
18732         * sysdeps/nacl/libcrypt.abilist: New file.
18733         * sysdeps/nacl/libdl.abilist: New file.
18734         * sysdeps/nacl/libm.abilist: New file.
18735         * sysdeps/nacl/libpthread.abilist: New file.
18736         * sysdeps/nacl/libresolv.abilist: New file.
18737         * sysdeps/nacl/librt.abilist: New file.
18739 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18741         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18742         __startcontext to initialize the new context.
18743         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18744         up CFI directive to forbid further backtracing.
18746 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18748         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18749         reference.
18750         * charmaps/ANSI_X3.4-1968: Likewise.
18751         * charmaps/BS_4730: Likewise.
18752         * charmaps/BS_VIEWDATA: Likewise.
18753         * charmaps/CP1250: Likewise.
18754         * charmaps/CP1251: Likewise.
18755         * charmaps/CP1252: Likewise.
18756         * charmaps/CP1253: Likewise.
18757         * charmaps/CP1254: Likewise.
18758         * charmaps/CP1255: Likewise.
18759         * charmaps/CP1256: Likewise.
18760         * charmaps/CSN_369103: Likewise.
18761         * charmaps/EBCDIC-DK-NO: Likewise.
18762         * charmaps/GB_1988-80: Likewise.
18763         * charmaps/GREEK-CCITT: Likewise.
18764         * charmaps/GREEK7: Likewise.
18765         * charmaps/INIS-8: Likewise.
18766         * charmaps/ISIRI-3342: Likewise.
18767         * charmaps/ISO_2033-1983: Likewise.
18768         * charmaps/ISO_5427-EXT: Likewise.
18769         * locales/POSIX: Likewise.
18770         * locales/ar_SA: Likewise.
18771         * locales/be_BY: Likewise.
18772         * locales/be_BY@latin: Likewise.
18773         * locales/ca_ES: Likewise.
18774         * locales/cs_CZ: Likewise.
18775         * locales/da_DK: Likewise.
18776         * locales/de_BE: Likewise.
18777         * locales/de_CH: Likewise.
18778         * locales/de_LU: Likewise.
18779         * locales/en_AU: Likewise.
18780         * locales/en_BW: Likewise.
18781         * locales/en_CA: Likewise.
18782         * locales/en_DK: Likewise.
18783         * locales/en_GB: Likewise.
18784         * locales/en_IE: Likewise.
18785         * locales/en_NZ: Likewise.
18786         * locales/en_ZA: Likewise.
18787         * locales/en_ZW: Likewise.
18788         * locales/es_AR: Likewise.
18789         * locales/es_BO: Likewise.
18790         * locales/es_CL: Likewise.
18791         * locales/es_CO: Likewise.
18792         * locales/es_DO: Likewise.
18793         * locales/es_EC: Likewise.
18794         * locales/es_ES: Likewise.
18795         * locales/es_HN: Likewise.
18796         * locales/es_MX: Likewise.
18797         * locales/es_PA: Likewise.
18798         * locales/es_PE: Likewise.
18799         * locales/es_PY: Likewise.
18800         * locales/es_SV: Likewise.
18801         * locales/es_US: Likewise.
18802         * locales/es_UY: Likewise.
18803         * locales/es_VE: Likewise.
18804         * locales/et_EE: Likewise.
18805         * locales/fa_IR: Likewise.
18806         * locales/fo_FO: Likewise.
18807         * locales/fr_CA: Likewise.
18808         * locales/fr_CH: Likewise.
18809         * locales/gv_GB: Likewise.
18810         * locales/he_IL: Likewise.
18811         * locales/hr_HR: Likewise.
18812         * locales/id_ID: Likewise.
18813         * locales/is_IS: Likewise.
18814         * locales/it_CH: Likewise.
18815         * locales/iw_IL: Likewise.
18816         * locales/kl_GL: Likewise.
18817         * locales/ko_KR: Likewise.
18818         * locales/kw_GB: Likewise.
18819         * locales/lg_UG: Likewise.
18820         * locales/lt_LT: Likewise.
18821         * locales/lv_LV: Likewise.
18822         * locales/mi_NZ: Likewise.
18823         * locales/nhn_MX: Likewise.
18824         * locales/nl_BE: Likewise.
18825         * locales/pl_PL: Likewise.
18826         * locales/sk_SK: Likewise.
18827         * locales/sl_SI: Likewise.
18828         * locales/sv_FI: Likewise.
18829         * locales/tl_PH: Likewise.
18830         * locales/tr_TR: Likewise.
18831         * locales/vi_VN: Likewise.
18833 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18835         [BZ #17475]
18836         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18837         of tu_IN and bh_IN.
18839 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18841         [BZ #18694]
18842         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18843         bits/wordsize.h.
18844         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18846 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18848         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18849         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18850         (spawn_thread): New function.
18851         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18852         (do_test): ... here.  Use IS_LOADED to test for its
18853         availability.
18855 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18857         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18859 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18861         [BZ #18696]
18862         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18863         si_addr_bnd.
18864         (si_lower): New.
18865         (si_upper): Likewise.
18867 2015-07-16  David S. Miller  <davem@davemloft.net>
18869         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18871 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18873         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18874         buffer.
18875         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18876         fail output information.
18878 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18881         and strstr-ppc64..
18882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18883         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18884         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18885         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18886         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18888 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18890         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18891         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18892         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18893         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18895 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18897         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18898         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18899         rtld_hidden_proto.
18900         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18902 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18904         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18905         the test can fail.
18907         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18909         [BZ #18676]
18910         * elf/tst-nodelete-opened.c: New test case.
18911         * elf/tst-nodelete-opened-lib.c: New test case module.
18912         * elf/Makefile (tests, modules-names): Use them.
18913         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18914         early.
18916 2015-07-15  David S. Miller  <davem@davemloft.net>
18918         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18919         futex-intenal.h
18920         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18921         * sysdeps/sparc/sparc64/Makefile: Likewise.
18922         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18923         Remove space from macro define.
18924         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18926 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18928         [BZ #17475]
18929         * locale/iso-639.def: Update Bhili and Tulu language codes as
18930         per iso639-3.
18932 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18934         * elf/tst-leaks1.c (main): Converted to ...
18935         (do_test): ... this.
18936         (TEST_FUNCTION): New macro.
18937         Include test-skeleton.c.
18938         * localedata/tst-langinfo.c (main): Converted to ...
18939         (do_test): ... this.
18940         (TEST_FUNCTION): New macro.
18941         Include test-skeleton.c.
18942         * math/test-fpucw.c (main): Converted to ...
18943         (do_test): ... this.
18944         (TEST_FUNCTION): New macro.
18945         Include test-skeleton.c.
18946         * math/test-tgmath.c (main): Converted to ...
18947         (do_test): ... this.
18948         (TEST_FUNCTION): New macro.
18949         Include test-skeleton.c.
18950         * math/test-tgmath2.c (main): Converted to ...
18951         (do_test): ... this.
18952         (TEST_FUNCTION): New macro.
18953         Include test-skeleton.c.
18954         * setjmp/tst-setjmp.c (main): Converted to ...
18955         (do_test): ... this.
18956         (TEST_FUNCTION): New macro.
18957         Include test-skeleton.c.
18958         * stdio-common/tst-sscanf.c (main): Converted to ...
18959         (do_test): ... this.
18960         (TEST_FUNCTION): New macro.
18961         Include test-skeleton.c.
18962         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18963         (do_test): ... this.
18964         (TEST_FUNCTION): New macro.
18965         Include test-skeleton.c.
18967         * elf/tst-audit9.c (main): Converted to ...
18968         (do_test): ... this.
18969         (TEST_FUNCTION): New macro.
18970         Include test-skeleton.c.
18972 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18974         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18976 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18978         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18979         New variable.
18981 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18983         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18985 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18987         * sysdeps/generic/dl-fileid.h: New file.
18988         * sysdeps/posix/dl-fileid.h: New file.
18989         * sysdeps/nacl/dl-fileid.h: New file.
18990         * include/link.h: Include <dl-fileid.h>.
18991         (struct link_map): Replace l_dev and l_ino with l_file_id.
18992         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18993         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18994         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18996 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18998         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19000 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19002         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19003         Add iff $CXX is set.
19004         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19005         Likewise.
19006         (tst-nodelete-zmodiff): Likewise.
19007         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19009 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19011         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19013 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19015         * sysdeps/aarch64/fpu/math_private.h
19016         (define math_opt_barrier): Add AArch64 version.
19017         (math_force_eval): Likewise.
19019 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19021         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19023 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19025         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19026         %ld with %jd and cast to intmax_t.
19027         (do_test_length_zero): Likewise.
19029 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19031         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19033 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19035         * sysdeps/tile/libm-test-ulps: Regenerated.
19037         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19038         Comment out the whole function, not just its body.
19040 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19042         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19043         locks.
19045         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19047 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19049         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19050         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19052 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19054         * sysdeps/nptl/futex-internal.h: New file.
19055         * sysdeps/nacl/futex-internal.h: New file.
19056         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19057         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19058         error checking.
19059         (setxid_unmark_thread): Likewise.
19060         (__nptl_setxid): Likewise.
19061         (__wait_lookup_done): Likewise.
19062         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19063         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19064         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19065         * nptl/pthread_once.c (clear_once_control): Likewise.
19066         (__pthread_once_slow): Likewise.
19067         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19068         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19069         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19070         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19071         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19072         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19073         Likewise.
19074         (__pthread_rwlock_rdlock): Likewise.
19075         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19076         Likewise.
19077         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19078         Likewise.
19079         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19080         Likewise.
19081         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19082         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19083         Likewise.
19084         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19085         __ASSUME_PRIVATE_FUTEX check.
19086         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19087         Check that shared futexes are supported.
19088         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19089         wrappers with error checking.
19090         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19091         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19092         * nptl/pthread_barrierattr_setpshared.c
19093         (pthread_barrierattr_setpshared): Check that shared futexes are
19094         supported.
19095         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19096         Likewise.
19097         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19098         Likewise.
19099         * nptl/sem_init.c (futex_private_if_supported): Remove.
19100         (__new_sem_init): Adapt and check that shared futexes are supported.
19101         * nptl/sem_open.c (sem_open): Likewise.
19102         * nptl/sem_post.c (futex_wake): Remove.
19103         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19104         (do_futex_wait): Use futex wrappers with error checking.
19105         * nptl/sem_wait.c: Include lowlevellock.h.
19106         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19107         Use futex_supports_pshared.
19108         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19109         Use futex wrappers with error checking.
19110         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19111         Likewise.
19112         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19113         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19114         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19115         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19116         (futex_wake): Likewise.
19117         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19118         (do_futex_wait): Use futex wrappers with error checking.
19119         (__new_sem_wait_slow): Update EINTR handling.
19120         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19122 2015-07-09  Martin Sebor  <msebor@redhat.com>
19124         [BZ #18435]
19125         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19126         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19127         * nptl/Makefile (test-xfail-tst-once5): Define.
19129 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19131         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19132         * elf/dl-minimal.c: For readability, reorder some definitions and
19133         introduce more page breaks.  Include <stdio.h>.
19134         (__libc_fatal): New function.
19136         * include/unistd.h: Add rtld_hidden_proto for _exit.
19137         * posix/_exit.c: Add rtld_hidden_def.
19138         * sysdeps/mach/hurd/_exit.c: Likewise.
19139         * sysdeps/nacl/_exit.c: Likewise.
19140         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19141         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19143 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19146         bndmov encoding with zero displacement.
19148 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19149             H.J. Lu  <hongjiu.lu@intel.com>
19151         [BZ #18134]
19152         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19153         * sysdeps/i386/configure: Regenerated.
19154         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19155         (_dl_runtime_profile): Save and restore Intel MPX return bound
19156         registers when calling _dl_call_pltexit.  Add
19157         PRESERVE_BND_REGS_PREFIX before return.
19158         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19159         (LRV_BND1_OFFSET): Likewise.
19160         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19161         lrv_bnd1.
19162         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19163         typo in bndmov encoding.
19164         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19165         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19166         branch instructions to preserve bounds.
19168 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19171         [GLIBC_2.22]: Add fmemopen.
19173 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19175         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19176         returns an error, also try to use host port from __mach_host_self for
19177         the __vm_wire call.
19178         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19180 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19182         [BZ #18400]
19183         [BZ #18648]
19184         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19185         Fix pr_uid and pr_gid members.
19186         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19187         definition to elf_greg_t.
19189 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19191         [BZ #18383]
19192         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19193         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19194         * sysdeps/arm/configure: Regenerated.
19195         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19196         (test-xfail-tst-tlsalign-static): Variable removed.
19198         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19199         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19200         rather than explicit 'ln -s'.
19202         * resolv/rpc/netdb.h: New file.
19203         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19205 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19207         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19208         length buffers.
19209         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19210         test-skeleton.c.
19212         [BZ #6544]
19213         [BZ #11216]
19214         [BZ #12836]
19215         [BZ #13151]
19216         [BZ #13152]
19217         [BZ #14292]
19218         * include/stdio.h (fmemopen): Remove hidden prototype.
19219         (__fmemopen): Add new hidden prototype.
19220         * libio/Makefile: Add oldfmemopen object.
19221         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19222         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19223         compliance.
19224         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19225         symbol compatibility.
19226         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19227         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19228         fmemopen.
19229         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19230         on append and read mode.
19231         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19232         fmemopen.
19233         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19234         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19235         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19236         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19237         Likewise.
19238         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19239         [GLIBC_2.22]: Likewise.
19240         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19241         Likewise.
19242         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19243         Likewise.
19244         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19245         [GLIBC_2.22]: Likewise.
19246         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19247         [GLIBC_2.22]: Likewise.
19248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19249         [GLIBC_2.22]: Likewise.
19250         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19251         [GLIBC_2.22]: Likewise.
19252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19253         [GLIBC_2.22]: Likewise.
19254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19255         [GLIBC_2.22]: Likewise.
19256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19257         [GLIBC_2.22]: Likewise.
19258         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19259         Likewise.
19260         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19261         Likewise.
19262         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19263         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19264         [GLIBC_2.22]: Likewise.
19265         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19266         [GLIBC_2.22]: Likewise.
19267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19268         [GLIBC_2.22]: Likewise.
19269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19270         [GLIBC_2.22]: Likewise.
19271         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19272         Likewise.
19273         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19274         Likewise.
19275         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19276         Likewise.
19277         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19278         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19280 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19282         [BZ #18643]
19283         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19284         IPV6_PATHMTU, and IPV6_DONTFRAG.
19286 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19288         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19289         and _IO_UNBUFFERED.
19290         * libio/oldfileops.c: Likewise.
19291         * libio/wfileops.c: Likewise.
19293 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19295         * nscd/selinux.c: Delete selinux/flask.h include.
19297 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19299         [BZ #18641]
19300         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19301         (putpwent): Likewise.
19302         (getpwnam): Likewise.
19303         (getpwent_r): Likewise.
19304         (getpwuid_r): Likewise.
19305         (getpwnam_r): Likewise.
19306         (fgetpwent_r): Likewise.
19308 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19310         [BZ #18557]
19311         * inet/rcmd.c (__validuser2_sa): Check user first to
19312         short-circuit host check.
19314 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19315             Mikhail Ilin  <m.ilin@samsung.com>
19317         [BZ #17833]
19318         * elf/Makefile (tests): Add tst-nodelete.
19319         (modules-names): Add tst-nodelete-uniquemod.
19320         (tst-nodelete-uniquemod.so-no-z-defs): New.
19321         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19322         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19323         ($(objpfx)tst-nodelete): Likewise.
19324         ($(objpfx)tst-nodelete.out): Likewise.
19325         (LDFLAGS-tst-nodelete): Likewise.
19326         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19327         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19328         implement forced object deletion.
19329         (_dl_close): Pass false to _dl_close_worker.
19330         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19331         * elf/tst-nodelete.cc: New file.
19332         * elf/tst-nodeletelib.cc: Likewise.
19333         * elf/tst-znodeletelib.cc: Likewise.
19334         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19336 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19338         [BZ #18508]
19339         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19340         Depend on $(libdl).
19341         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19342         is not called infinitely times.
19343         (backtrace_helper): New function.
19344         (trace_arg): New struct.
19345         (st1): Enlarge stack size.
19346         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19347         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19348         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19349         Likewise.
19351 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19353         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19355 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19357         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19358         Include sys/types.h instead of bits/types.h.
19359         Remove inclusion of bits/wordsize.h.
19361 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19363         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19364         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19365         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19366         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19367         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19368         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19370 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19372         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19373         link-defines.sym.
19374         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19375         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19376         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19377         and LR_SIZE.
19378         * sysdeps/i386/link-defines.sym: New file.
19380 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19382         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19383         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19384         ($(objpfx)tst-audit3): New rule.
19385         ($(objpfx)tst-audit3.out): Likewise.
19386         * sysdeps/i386/tst-audit3.c: New file.
19387         * sysdeps/i386/tst-audit3.h: Likewise.
19388         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19389         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19391 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19393         [BZ #18633]
19394         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19395         pointer in C code.
19396         (__strcat_c): Likewise.
19397         (__strcat_g): Likewise.
19399 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19401         [BZ #18592]
19402         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19404 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19406         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19407         New function.  (__ieee754_sqrtf): New function.
19408         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19409         New function.
19410         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19411         New function.
19413 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19415         * sysdeps/ieee754/support.c: Remove unused file.
19417 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19419         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19420         registers instead of d ones so the layout is kernel abi compatible.
19421         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19422         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19423         Likewise.
19425 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19427         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19429 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19431         [BZ #18619]
19432         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19433         and return argument in case of subnormal argument.
19435 2015-07-01  Martin Sebor  <msebor@redhat.com>
19437         [BZ #18435]
19438         * nptl/Makefile: Add tst-once5.cc.
19439         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19440         Remove macro redefinitions.
19441         * nptl/tst-once5.cc: New test.
19443 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19445         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19447         * sysdeps/arm/libm-test-ulps: Regenerated.
19449         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19450         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19452 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19454         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19455         lll_lock_wait_private and lll_futex_wake probes.
19457         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19458         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19459         Likewise.
19460         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19461         atomic_spin_nop.
19462         * sysdeps/x86_64/bits/atomic.h: Likewise.
19463         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19464         to atomic_spin_nop and move ...
19465         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19466         ... here and ...
19467         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19468         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19469         atomic_spin_nop instead of BUSY_WAIT_NOP.
19470         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19471         Likewise.
19472         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19473         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19474         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19475         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19476         instead of atomic_delay.
19478 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #18613]
19481         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19482         X_ADJ not X when adjusting exponent.
19483         (__ieee754_gamma_r): Do intermediate computations in
19484         round-to-nearest then adjust overflowing and underflowing results
19485         as needed.
19486         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19487         of X_ADJ not X when adjusting exponent.
19488         (__ieee754_gammaf_r): Do intermediate computations in
19489         round-to-nearest then adjust overflowing and underflowing results
19490         as needed.
19491         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19492         log of X_ADJ not X when adjusting exponent.
19493         (__ieee754_gammal_r): Do intermediate computations in
19494         round-to-nearest then adjust overflowing and underflowing results
19495         as needed.  Use 1.0L not 1.0f as numerator of division.
19496         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19497         log of X_ADJ not X when adjusting exponent.
19498         (__ieee754_gammal_r): Do intermediate computations in
19499         round-to-nearest then adjust overflowing and underflowing results
19500         as needed.  Use 1.0L not 1.0f as numerator of division.
19501         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19502         of X_ADJ not X when adjusting exponent.
19503         (__ieee754_gammal_r): Do intermediate computations in
19504         round-to-nearest then adjust overflowing and underflowing results
19505         as needed.  Use 1.0L not 1.0f as numerator of division.
19506         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19507         to auto-libm-test-in.
19508         (tgamma_test): Use ALL_RM_TEST.
19509         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19510         tests of tgamma with spurious-overflow.
19511         * math/auto-libm-test-out: Regenerated.
19512         * math/gen-libm-have-vector-test.sh: Do not check for START.
19513         * sysdeps/i386/fpu/libm-test-ulps: Update.
19514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19516         [BZ #18612]
19517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19518         arguments, just return 0.5 times the argument, with underflow
19519         forced as needed.
19520         * math/auto-libm-test-in: Add more tests of j1.
19521         * math/auto-libm-test-out: Regenerated.
19523         [BZ #16559]
19524         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19525         (__ieee754_j1): Force underflow exception for small results.
19526         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19527         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19528         (__ieee754_j1f): Force underflow exception for small results.
19529         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19530         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19532         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19533         (__ieee754_j1l): Force underflow exception for small results.
19534         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19535         * math/auto-libm-test-in: Add more tests of j1 and jn.
19536         * math/auto-libm-test-out: Regenerated.
19538         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19539         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19540         (PF_MPLS): Likewise.
19541         (AF_IB): Likewise.
19542         (AF_MPLS): Likewise.
19543         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19544         value and macro.
19545         (MS_RMT_MASK): Include MS_LAZYTIME.
19547 2015-06-26  Mel Gorman  <mgorman@suse.de>
19549         [BZ #18502]
19550         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19551         already minimal.
19553 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19555         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19556         (DT_MIPS_NUM): Update.
19557         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19558         DT_MIPS_RLD_MAP_REL.
19560 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #16559]
19563         [BZ #18602]
19564         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19565         round-to-nearest internally then recompute results that
19566         underflowed to zero in the original rounding mode.
19567         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19568         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19569         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19571         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19572         * sysdeps/i386/fpu/libm-test-ulps: Update.
19573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19575 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19577         * NEWS: Fixed description of link with vector math library.
19579 2015-06-25  Andreas Schwab  <schwab@suse.de>
19581         [BZ #18549]
19582         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19583         * libio/test-fmemopen.c (do_test): Add test for it.
19585 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19587         [BZ #17841]
19588         * Makeconfig (no-pie-ldflag): New.
19589         (+link): Set to $(+link-pie) if default to PIE.
19590         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19591         * config.make.in (build-pie-default): New.
19592         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19593         is default.  AC_SUBST.
19594         * configure: Regenerated.
19595         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19597 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19599         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19600         to 'unsigned int'.
19602         * resolv/gai_misc.h (struct waitlist): Change type of field
19603         counterp to 'volatile unsigned int *'.
19604         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19605         FUTEXADDR and OLDVAL.
19606         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19607         Give local variable TOTAL type 'volatile unsigned int'.
19608         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19609         * resolv/gai_suspend.c (gai_suspend):
19610         Give local variable CNTR type 'unsigned int'.
19612         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19613         counterp to 'volatile unsigned int *'.
19614         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19615         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19616         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19617         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19618         Give local variable TOTAL type 'volatile unsigned int'.
19619         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19621 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19623         [BZ #18383]
19624         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19625         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19626         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19627         comment for i386/x86-64.
19628         (test-xfail-tst-tlsalign-extern-static): Removed.
19630 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19632         * math/test-double.h: New file.
19633         * math/test-float.h: Likewise.
19634         * math/test-ldouble.h: Likewise.
19635         * math/test-math-inline.h: Likewise.
19636         * math/test-math-no-inline.h: Likewise.
19637         * math/test-math-scalar.h: Likewise.
19638         * math/test-math-vector.h: Likewise.
19639         * math/test-vec-loop.h: Remove file.  Contents moved into
19640         test-math-vector.h.
19641         * math/libm-test.inc (MATHCONST): Do not document macro.
19642         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19643         and test-math-scalar.h.
19644         (FUNC): Remove macro.
19645         (FUNC_TEST): Likewise.
19646         (FLOAT): Likewise.
19647         (MATHCONST): Likewise.
19648         (PRINTF_EXPR): Likewise.
19649         (PRINTF_XEXPR): Likewise.
19650         (PRINTF_NEXPR): Likewise.
19651         (TEST_DOUBLE): Likewise.
19652         (TEST_MATHVEC): Likewise.
19653         (__NO_MATH_INLINES): Likewise.
19654         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19655         and test-math-scalar.h.
19656         (FUNC): Remove macro.
19657         (FUNC_TEST): Likewise.
19658         (FLOAT): Likewise.
19659         (MATHCONST): Likewise.
19660         (PRINTF_EXPR): Likewise.
19661         (PRINTF_XEXPR): Likewise.
19662         (PRINTF_NEXPR): Likewise.
19663         (TEST_FLOAT): Likewise.
19664         (TEST_MATHVEC): Likewise.
19665         (__NO_MATH_INLINES): Likewise.
19666         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19667         and test-math-scalar.h.
19668         (FUNC): Remove macro.
19669         (FUNC_TEST): Likewise.
19670         (FLOAT): Likewise.
19671         (MATHCONST): Likewise.
19672         (PRINTF_EXPR): Likewise.
19673         (PRINTF_XEXPR): Likewise.
19674         (PRINTF_NEXPR): Likewise.
19675         (TEST_DOUBLE): Likewise.
19676         (TEST_MATHVEC): Likewise.
19677         (TEST_INLINE): Likewise.
19678         (__NO_MATH_INLINES): Likewise.
19679         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19680         test-math-scalar.h.
19681         (FUNC): Remove macro.
19682         (FUNC_TEST): Likewise.
19683         (FLOAT): Likewise.
19684         (MATHCONST): Likewise.
19685         (PRINTF_EXPR): Likewise.
19686         (PRINTF_XEXPR): Likewise.
19687         (PRINTF_NEXPR): Likewise.
19688         (TEST_FLOAT): Likewise.
19689         (TEST_MATHVEC): Likewise.
19690         (TEST_INLINE): Likewise.
19691         (__NO_MATH_INLINES): Likewise.
19692         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19693         and test-math-scalar.h.
19694         (FUNC): Remove macro.
19695         (FUNC_TEST): Likewise.
19696         (FLOAT): Likewise.
19697         (MATHCONST): Likewise.
19698         (PRINTF_EXPR): Likewise.
19699         (PRINTF_XEXPR): Likewise.
19700         (PRINTF_NEXPR): Likewise.
19701         (TEST_LDOUBLE): Likewise.
19702         (TEST_MATHVEC): Likewise.
19703         (TEST_INLINE): Likewise.
19704         (__NO_MATH_INLINES): Likewise.
19705         * math/test-ldouble.c: Include test-ldouble.h,
19706         test-math-no-inline.h and test-math-scalar.h.
19707         (FUNC): Remove macro.
19708         (FUNC_TEST): Likewise.
19709         (FLOAT): Likewise.
19710         (MATHCONST): Likewise.
19711         (PRINTF_EXPR): Likewise.
19712         (PRINTF_XEXPR): Likewise.
19713         (PRINTF_NEXPR): Likewise.
19714         (TEST_LDOUBLE): Likewise.
19715         (TEST_MATHVEC): Likewise.
19716         (__NO_MATH_INLINES): Likewise.
19717         * math/test-double-vlen2.h: Include test-double.h,
19718         test-math-no-inline.h and test-math-vector.h.
19719         (FLOAT): Remove macro.
19720         (FUNC): Likewise.
19721         (MATHCONST): Likewise.
19722         (PRINTF_EXPR): Likewise.
19723         (PRINTF_XEXPR): Likewise.
19724         (PRINTF_NEXPR): Likewise.
19725         (TEST_DOUBLE): Likewise.
19726         (TEST_MATHVEC): Likewise.
19727         (__NO_MATH_INLINES): Likewise.
19728         (CNCT): Likewise.
19729         (CONCAT): Likewise.
19730         (WRAPPER_NAME): Likewise.
19731         (WRAPPER_DECL): Likewise.
19732         (WRAPPER_DECL_ff): Likewise.
19733         (WRAPPER_DECL_fFF): Likewise.
19734         (VECTOR_WRAPPER): Likewise.
19735         (VECTOR_WRAPPER_ff): Likewise.
19736         (VECTOR_WRAPPER_fFF): Likewise.
19737         (VEC_LEN): New macro.
19738         * math/test-double-vlen4.h: Include test-double.h,
19739         test-math-no-inline.h and test-math-vector.h.
19740         (FLOAT): Remove macro.
19741         (FUNC): Likewise.
19742         (MATHCONST): Likewise.
19743         (PRINTF_EXPR): Likewise.
19744         (PRINTF_XEXPR): Likewise.
19745         (PRINTF_NEXPR): Likewise.
19746         (TEST_DOUBLE): Likewise.
19747         (TEST_MATHVEC): Likewise.
19748         (__NO_MATH_INLINES): Likewise.
19749         (CNCT): Likewise.
19750         (CONCAT): Likewise.
19751         (WRAPPER_NAME): Likewise.
19752         (WRAPPER_DECL): Likewise.
19753         (WRAPPER_DECL_ff): Likewise.
19754         (WRAPPER_DECL_fFF): Likewise.
19755         (VECTOR_WRAPPER): Likewise.
19756         (VECTOR_WRAPPER_ff): Likewise.
19757         (VECTOR_WRAPPER_fFF): Likewise.
19758         (VEC_LEN): New macro.
19759         * math/test-double-vlen8.h: Include test-double.h,
19760         test-math-no-inline.h and test-math-vector.h.
19761         (FLOAT): Remove macro.
19762         (FUNC): Likewise.
19763         (MATHCONST): Likewise.
19764         (PRINTF_EXPR): Likewise.
19765         (PRINTF_XEXPR): Likewise.
19766         (PRINTF_NEXPR): Likewise.
19767         (TEST_DOUBLE): Likewise.
19768         (TEST_MATHVEC): Likewise.
19769         (__NO_MATH_INLINES): Likewise.
19770         (CNCT): Likewise.
19771         (CONCAT): Likewise.
19772         (WRAPPER_NAME): Likewise.
19773         (WRAPPER_DECL): Likewise.
19774         (WRAPPER_DECL_ff): Likewise.
19775         (WRAPPER_DECL_fFF): Likewise.
19776         (VECTOR_WRAPPER): Likewise.
19777         (VECTOR_WRAPPER_ff): Likewise.
19778         (VECTOR_WRAPPER_fFF): Likewise.
19779         (VEC_LEN): New macro.
19780         * math/test-float-vlen4.h: Include test-float.h,
19781         test-math-no-inline.h and test-math-vector.h.
19782         (FLOAT): Remove macro.
19783         (FUNC): Likewise.
19784         (MATHCONST): Likewise.
19785         (PRINTF_EXPR): Likewise.
19786         (PRINTF_XEXPR): Likewise.
19787         (PRINTF_NEXPR): Likewise.
19788         (TEST_FLOAT): Likewise.
19789         (TEST_MATHVEC): Likewise.
19790         (__NO_MATH_INLINES): Likewise.
19791         (CNCT): Likewise.
19792         (CONCAT): Likewise.
19793         (WRAPPER_NAME): Likewise.
19794         (WRAPPER_DECL): Likewise.
19795         (WRAPPER_DECL_ff): Likewise.
19796         (WRAPPER_DECL_fFF): Likewise.
19797         (VECTOR_WRAPPER): Likewise.
19798         (VECTOR_WRAPPER_ff): Likewise.
19799         (VECTOR_WRAPPER_fFF): Likewise.
19800         (VEC_LEN): New macro.
19801         * math/test-float-vlen8.h: Include test-float.h,
19802         test-math-no-inline.h and test-math-vector.h.
19803         (FLOAT): Remove macro.
19804         (FUNC): Likewise.
19805         (MATHCONST): Likewise.
19806         (PRINTF_EXPR): Likewise.
19807         (PRINTF_XEXPR): Likewise.
19808         (PRINTF_NEXPR): Likewise.
19809         (TEST_FLOAT): Likewise.
19810         (TEST_MATHVEC): Likewise.
19811         (__NO_MATH_INLINES): Likewise.
19812         (CNCT): Likewise.
19813         (CONCAT): Likewise.
19814         (WRAPPER_NAME): Likewise.
19815         (WRAPPER_DECL): Likewise.
19816         (WRAPPER_DECL_ff): Likewise.
19817         (WRAPPER_DECL_fFF): Likewise.
19818         (VECTOR_WRAPPER): Likewise.
19819         (VECTOR_WRAPPER_ff): Likewise.
19820         (VECTOR_WRAPPER_fFF): Likewise.
19821         (VEC_LEN): New macro.
19822         * math/test-float-vlen16.h: Include test-float.h,
19823         test-math-no-inline.h and test-math-vector.h.
19824         (FLOAT): Remove macro.
19825         (FUNC): Likewise.
19826         (MATHCONST): Likewise.
19827         (PRINTF_EXPR): Likewise.
19828         (PRINTF_XEXPR): Likewise.
19829         (PRINTF_NEXPR): Likewise.
19830         (TEST_FLOAT): Likewise.
19831         (TEST_MATHVEC): Likewise.
19832         (__NO_MATH_INLINES): Likewise.
19833         (CNCT): Likewise.
19834         (CONCAT): Likewise.
19835         (WRAPPER_NAME): Likewise.
19836         (WRAPPER_DECL): Likewise.
19837         (WRAPPER_DECL_ff): Likewise.
19838         (WRAPPER_DECL_fFF): Likewise.
19839         (VECTOR_WRAPPER): Likewise.
19840         (VECTOR_WRAPPER_ff): Likewise.
19841         (VECTOR_WRAPPER_fFF): Likewise.
19842         (VEC_LEN): New macro.
19843         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19844         test-vec-loop.h.
19845         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19846         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19847         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19848         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19849         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19851         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19853 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19855         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19856         (__getlogin_r): ... this.
19858 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19860         [BZ #18594]
19861         * math/s_ccosh.c (__ccosh): Compare with least normal value
19862         instead of comparing class with FP_SUBNORMAL.
19863         * math/s_ccoshf.c (__ccoshf): Likewise.
19864         * math/s_ccoshl.c (__ccoshl): Likewise.
19865         * math/s_cexp.c (__cexp): Likewise.
19866         * math/s_cexpf.c (__cexpf): Likewise.
19867         * math/s_cexpl.c (__cexpl): Likewise.
19868         * math/s_csin.c (__csin): Likewise.
19869         * math/s_csinf.c (__csinf): Likewise.
19870         * math/s_csinh.c (__csinh): Likewise.
19871         * math/s_csinhf.c (__csinhf): Likewise.
19872         * math/s_csinhl.c (__csinhl): Likewise.
19873         * math/s_csinl.c (__csinl): Likewise.
19874         * math/s_ctan.c (__ctan): Likewise.
19875         * math/s_ctanf.c (__ctanf): Likewise.
19876         * math/s_ctanh.c (__ctanh): Likewise.
19877         * math/s_ctanhf.c (__ctanhf): Likewise.
19878         * math/s_ctanhl.c (__ctanhl): Likewise.
19879         * math/s_ctanl.c (__ctanl): Likewise.
19880         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19881         csin, csinh, ctan and ctanh.
19882         * math/auto-libm-test-out: Regenerated.
19883         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19884         * sysdeps/i386/fpu/libm-test-ulps: Update.
19885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19887 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19889         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19890         return value is wrong, print the expected value too.
19892 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19894         [BZ #18585]
19895         * elf/readlib.c (is_gdb_python_file): New.
19896         (process_file): Don't issue errors on filenames with -gdb.py
19897         suffix.
19899 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19901         * math/auto-libm-test-in: Add more tests of csin and csinh.
19902         * math/auto-libm-test-out: Regenerated.
19903         * math/libm-test.inc (csin_test_data): Remove tests moved to
19904         auto-libm-test-in.
19905         (csinh_test_data): Likewise.
19907         [BZ #18593]
19908         * math/s_csin.c (__csin): Negate before rather than after possibly
19909         overflowing multiplication.
19910         * math/s_csinf.c (__csinf): Likewise.
19911         * math/s_csinh.c (__csinh): Likewise.
19912         * math/s_csinhf.c (__csinhf): Likewise.
19913         * math/s_csinhl.c (__csinhl): Likewise.
19914         * math/s_csinl.c (__csinl): Likewise.
19915         * math/auto-libm-test-in: Add some tests of csin and csinh.
19916         * math/auto-libm-test-out: Regenerated.
19917         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19918         (csinh_test_data): Likewise.
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19921         [BZ #18586]
19922         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19923         underflow exception for small results.
19925 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19929         variable and included header.
19930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19932         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19933         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19934         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19938         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19939         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19940         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19941         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19942         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19943         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19944         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19945         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19947 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19949         [BZ #16526]
19950         [BZ #16538]
19951         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19952         (__sin): Force underflow exception for arguments with small
19953         absolute value.
19954         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19955         (__kernel_sinf): Force underflow exception for arguments with
19956         small absolute value.
19957         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19958         (__kernel_sincosl): Force underflow exception for arguments with
19959         small absolute value.
19960         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19961         (__kernel_sinl): Force underflow exception for arguments with
19962         small absolute value.
19963         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19964         (__kernel_sincosl): Force underflow exception for arguments with
19965         small absolute value.
19966         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19967         (__kernel_sinl): Force underflow exception for arguments with
19968         small absolute value.
19969         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19970         (__kernel_sinl): Force underflow exception for arguments with
19971         small absolute value.
19972         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19973         (__kernel_sinf): Force underflow exception for arguments with
19974         small absolute value.
19975         * math/auto-libm-test-in: Add more tests of sin and sincos.
19976         * math/auto-libm-test-out: Regenerated.
19978         [BZ #18245]
19979         [BZ #18583]
19980         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19981         (__kernel_standard_l): Use feholdexcept and fesetenv around
19982         conversion to double instead of special-casing overflow and
19983         underflow.
19984         * math/libm-test.inc (fmod_test_data): Add more tests.
19985         (remainder_test_data): Likewise.
19986         (sqrt_test_data): Likewise.
19988 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19990         [BZ #17403]
19991         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19992         atomic_read_barrier, atomic_write_barrier): Define.
19993         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19994         atomic_read_barrier, atomic_write_barrier): Define.
19996 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19998         * math/Makefile [$(PERL) != no]
19999         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20000         dependency on libm-test.stmp below the inclusion of Rules.
20002 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20004         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20005         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20006         and included header.
20007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20008         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20009         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20010         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20011         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20012         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20013         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20015         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20016         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20017         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20018         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20019         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20020         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20021         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20022         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20023         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20024         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20025         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20027 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20029         [BZ #18371]
20030         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20031         intermediate but not final result might underflow.
20032         * math/s_csqrtf.c (__csqrtf): Likewise.
20033         * math/s_csqrtl.c (__csqrtl): Likewise.
20034         * math/auto-libm-test-in: Add more tests of csqrt.
20035         * math/auto-libm-test-out: Regenerated.
20036         * sysdeps/i386/fpu/libm-test-ulps: Update.
20038         [BZ #18219]
20039         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20040         threshold on absolute value of exponent for which scaling is used.
20041         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20042         * math/auto-libm-test-in: Add more tests of exp2.
20043         * math/auto-libm-test-out: Regenerated.
20045 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20047         [BZ #17977]
20048         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20049         when initializing interface list, based on the bug analysis
20050         and the patch proposed by Eric Newton.
20051         * resolv/tst-res_hconf_reorder.c: New test.
20052         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20053         tst-res_hconf_reorder.
20054         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20055         and $(shared-thread-library).
20056         (tst-res_hconf_reorder-ENV): New variable.
20058         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20059         in comment.
20061 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20063         [BZ #16353]
20064         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20065         (__expm1): Force underflow exception for arguments with small
20066         absolute value.
20067         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20068         (__expm1f): Force underflow exception for arguments with small
20069         absolute value.
20070         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20071         (__expm1): Force underflow exception for arguments with small
20072         absolute value.
20073         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20074         (__expm1f): Force underflow exception for arguments with small
20075         absolute value.
20076         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20077         Check for small arguments before calling __expm1.
20078         * math/auto-libm-test-in: Do not mark underflow exceptions as
20079         possibly missing for bug 16353.
20080         * math/auto-libm-test-out: Regenerated.
20082 2015-06-22  Andreas Schwab  <schwab@suse.de>
20084         [BZ #18513]
20085         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20086         PTR queries.
20088 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20090         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20092         * string/strcoll_l.c: Remove unused struct element idxnow.
20094 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20096         [BZ #18569]
20097         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20098         underflow and return argument in case of subnormal argument.
20099         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20100         Likewise.
20101         * math/auto-libm-test-in: Add more tests of expm1.
20102         * math/auto-libm-test-out: Regenerated.
20104         [BZ #16361]
20105         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20106         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20107         tiny results.
20108         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20109         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20110         tiny results.
20111         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20112         mark underflow exceptions as possibly missing for bug 16361.
20113         * math/auto-libm-test-out: Regenerated.
20115 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20117         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20118         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20119         Remove variable.
20120         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20121         (test-xfail-XOPEN2K8/utmpx.h/conform).
20123         * conform/conformtest.pl ($xerrors): New variable.
20124         (note_error): New function.
20125         (compiletest): New argument $xfail.  Use not_error.
20126         (runtest): Likewise.
20127         (top level): Handle xfail- lines.  Update calls to compiletest and
20128         runtest.  Handle xfail- and optional- in headers listed with
20129         allow-header.
20130         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20131         (O_EXEC): Likewise.
20132         (O_SEARCH): Likewise.
20133         * conform/data/stropts.h-data (ioctl): Likewise.
20134         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20135         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20136         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20137         (msghdr.msg_controllen): Likewise.
20138         (cmsghdr.cmsg_len): Likewise.
20139         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20140         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20141         variable.
20142         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20143         (test-xfail-XPG4/stropts.h/conform): Likewise.
20144         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20145         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20146         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20147         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20148         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20149         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20150         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20151         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20152         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20153         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20154         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20155         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20156         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20157         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20158         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20159         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20160         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20161         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20162         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20164 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20166         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20167         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20168         definitions for proper unfolding of __MATHDECL_VEC.
20170 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20172         * benchtests/bench-strcoll.c:
20173         Include string.h.
20174         (main): Remove unused variable res.
20176 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20178         * timezone/Makefile (%/UTC %/Universal):
20179         Generate test-result files for UTC and Universal.
20181 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20183         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20185 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20187         [BZ #16350]
20188         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20189         for arguments with small absolute value.
20190         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20191         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20192         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20193         (__asinh): Force underflow exception for arguments with small
20194         absolute value.
20195         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20196         (__asinhf): Force underflow exception for arguments with small
20197         absolute value.
20198         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20199         (__asinhl): Force underflow exception for arguments with small
20200         absolute value.
20201         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20202         (__asinhl): Force underflow exception for arguments with small
20203         absolute value.
20204         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20205         (__asinhl): Force underflow exception for arguments with small
20206         absolute value.
20207         * math/auto-libm-test-in: Do not mark underflow exceptions as
20208         possibly missing for bug 16350.
20209         * math/auto-libm-test-out: Regenerated.
20211         * include/bits/ipc.h: Remove file.
20212         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20213         variable.
20214         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20215         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20216         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20217         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20218         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20219         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20220         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20221         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20222         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20224         * math/auto-libm-test-in: Remove spurious underflow allowance for
20225         tests of cexp.
20226         * math/auto-libm-test-out: Regenerated.
20228         [BZ #18558]
20229         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20230         unconditional definition.
20231         (MCAST_BLOCK_SOURCE): Likewise.
20232         (MCAST_UNBLOCK_SOURCE): Likewise.
20233         (MCAST_LEAVE_GROUP): Likewise.
20234         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20235         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20236         (MCAST_MSFILTER): Likewise.
20237         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20238         Remove variable.
20239         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20240         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20241         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20242         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20243         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20245 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20247         * NEWS: Mention addition of x86_64 vector sincosf.
20248         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20249         * math/test-float-vlen4.h: Likewise.
20250         * math/test-float-vlen8.h: Likewise.
20251         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20252         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20253         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20254         * sysdeps/x86_64/fpu/Versions: New versions added.
20255         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20256         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20257         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20264         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20265         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20266         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20267         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20268         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20269         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20270         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20271         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20272         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20273         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20274         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20275         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20277         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20278         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20280         * NEWS: Mention addition of x86_64 vector sincos.
20281         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20282         * math/math.h (__MATHDECL_VEC): New macro.
20283         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20284         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20285         declaration under condition.
20286         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20287         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20288         TEST_VEC_LOOP change.
20289         * math/test-double-vlen4.h: Likewise.
20290         * math/test-double-vlen8.h: Likewise.
20291         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20292         * math/test-float-vlen4.h: Likewise.
20293         * math/test-float-vlen8.h: Likewise.
20294         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20295         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20296         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20297         * sysdeps/x86_64/fpu/Versions: New versions added.
20298         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20299         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20300         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20307         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20308         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20309         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20310         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20311         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20312         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20313         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20314         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20315         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20316         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20317         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20318         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20319         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20320         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20321         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20323         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20325         redirections for powf.
20326         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20327         * sysdeps/x86_64/fpu/Versions: New versions added.
20328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20329         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20330         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20331         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20332         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20333         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20334         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20335         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20336         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20337         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20338         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20339         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20340         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20341         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20342         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20343         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20344         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20345         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20346         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20347         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20349         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20350         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20351         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20352         * math/test-float-vlen16.h: Fixed 2 argument macro.
20353         * math/test-float-vlen4.h: Likewise.
20354         * math/test-float-vlen8.h: Likewise.
20355         * NEWS: Mention addition of x86_64 vector powf.
20357 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20359         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20360         and redefine.
20361         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20362         and redefine.
20363         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20364         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20365         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20367         [BZ #18553]
20368         * resource/getpriority.c (getpriority): Rename to __getpriority
20369         and define as weak alias of __getpriority.
20370         * resource/setpriority.c (setpriority): Rename to __setpriority
20371         and define as weak alias of __setpriority.
20372         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20373         __getpriority and define as weak alias of __getpriority.
20374         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20375         __setpriority and define as weak alias of __setpriority.
20376         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20377         strong name.
20378         (setpriority): Use __setpriority as strong name.
20379         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20380         __getpriority and define as weak alias of __getpriority.
20381         * include/sys/resource.h (__getpriority): Declare.  Use
20382         libc_hidden_proto.
20383         (__setpriority): Likewise.
20384         (getpriority): Don't use libc_hidden_proto.
20385         (setpriority): Likewise.
20386         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20387         getpriority.  Call __setpriority instead of setpriority.
20388         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20389         Remove variable.
20391         [BZ #18547]
20392         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20393         as weak alias of __getttynam.  Use prototype function definition.
20394         Call __setttyent, __getttyent and __endttyent instead of
20395         setttyent, getttyent and endttyent.
20396         (getttyent): Rename to __getttyent and define as weak alias of
20397         __getttyent.  Call __setttyent instead of setttyent.  Call
20398         __fgets_unlocked instead of fgets_unlocked.
20399         (setttyent): Rename to __setttyent and define as weak alias of
20400         __setttyent.
20401         (endttyent): Rename to __endttyent and define as weak alias of
20402         __endttyent.
20403         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20404         (__setttyent): Likewise.
20405         (__endttyent): Likewise.
20406         (getttyent): Don't use libc_hidden_proto.
20407         (setttyent): Likewise.
20408         (endttyent): Likewise.
20409         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20410         __endttyent instead of setttyent, getttyent and endttyent.
20411         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20412         Remove variable.
20414         [BZ #18546]
20415         * socket/recv.c (__recv): Use libc_hidden_def.
20416         * socket/socket.c (__socket): Likewise.
20417         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20418         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20419         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20420         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20421         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20422         libc_hidden_def.
20423         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20424         libc_hidden_weak.
20425         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20426         Use libc_hidden_proto.
20427         (__recv): Likewise.
20428         * socket/Versions (libc): Export __recv and __socket at version
20429         GLIBC_PRIVATE.
20430         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20431         instead of recv.
20432         (init_mq_netlink): Call __socket instead of socket.
20433         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20434         Remove variable.
20436         [BZ #18545]
20437         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20438         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20439         hidden_weak.
20440         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20441         define as alias of __mq_timedsend.  Use hidden_weak.
20442         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20443         __mq_timedsend as strong name.
20444         (mq_timedreceive): Use __mq_timedreceive as strong name.
20445         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20446         (__mq_timedreceive): Likewise.
20447         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20448         __mq_timedreceive instead of mq_timedreceive.
20449         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20450         instead of mq_timedsend.
20451         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20452         Remove variable.
20454         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20455         hidden_def and hidden_weak instead of libc_hidden_def and
20456         libc_hidden_weak.
20457         (top level): Refer to hidden_def in comment.
20458         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20459         macro.  Use it instead of libc_hidden_def.
20460         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20461         specify __GI_* name explicitly.
20462         (mq_timedreceive): Likewise.
20463         (mq_setattr): Likewise.
20465         [BZ #18544]
20466         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20467         __pthread_barrier_init and define as weak alias of
20468         __pthread_barrier_init.
20469         * sysdeps/sparc/nptl/pthread_barrier_init.c
20470         (pthread_barrier_init): Likewise.
20471         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20472         __pthread_barrier_wait and define as weak alias of
20473         __pthread_barrier_wait.
20474         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20475         (pthread_barrier_wait): Likewise.
20476         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20477         (pthread_barrier_wait): Likewise.
20478         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20479         (pthread_barrier_wait): Likewise.
20480         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20481         (pthread_barrier_wait): Likewise.
20482         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20483         __pthread_barrier_wait at version GLIBC_PRIVATE.
20484         * include/pthread.h (__pthread_barrier_init): Declare.
20485         (__pthread_barrier_wait): Likewise.
20486         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20487         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20488         (helper_thread): Likewise.
20489         (init_mq_netlink): Call __pthread_barrier_init instead of
20490         pthread_barrier_init.
20492         [BZ #18542]
20493         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20494         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20495         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20496         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20497         vswscanf.
20498         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20499         Remove variable.
20501         [BZ #18540]
20502         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20503         strong alias of _IO_fflush.  Use libc_hidden_def.
20504         * libio/iofflush_u.c (fflush_unlocked): Rename to
20505         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20506         Use libc_hidden_weak.
20507         * include/stdio.h (__fflush_unlocked): Declare.  Use
20508         libc_hidden_proto.
20509         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20510         fflush_unlocked.
20511         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20512         Remove variable.
20514         [BZ #18539]
20515         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20516         define as weak alias of __addseverity.
20517         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20518         Remove variable.
20519         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20520         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20521         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20523         [BZ #18536]
20524         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20525         (__tfind): Likewise.
20526         (__tdelete): Likewise.
20527         (__twalk): Likewise.
20528         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20529         __twalk to GLIBC_PRIVATE.
20530         * include/search.h (__tsearch): Use libc_hidden_proto.
20531         (__tfind): Likewise.
20532         (__tdelete): Likewise.
20533         (__twalk): Likewise.
20534         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20535         Call __tdelete instead of tdelete.
20536         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20537         tfind.  Call __tsearch instead of tsearch.
20538         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20539         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20540         Remove variable.
20541         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20543         [BZ #18534]
20544         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20545         (dprintf): Define as a weak alias of __dprintf, not a strong
20546         alias.
20547         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20548         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20549         dprintf.
20550         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20551         Remove variable.
20552         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20553         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20555         [BZ #18533]
20556         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20557         not a strong alias.
20558         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20559         Remove variable.
20561         [BZ #18532]
20562         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20563         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20564         (in6addr_loopback): Rename to __in6addr_loopback and define as
20565         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20566         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20567         libc_hidden_proto.
20568         (__in6addr_any): Likewise.
20569         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20570         in6addr_any.
20571         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20572         variable.
20573         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20575 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20577         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20578         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20579         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20580         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20581         redirections for pow.
20582         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20583         * sysdeps/x86_64/fpu/Versions: New versions added.
20584         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20586         build of SSE, AVX2 and AVX512 IFUNC versions.
20587         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20588         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20590         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20591         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20592         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20593         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20594         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20595         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20596         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20597         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20598         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20599         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20600         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20601         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20604         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20605         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20606         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20607         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20608         * NEWS: Mention addition of x86_64 vector pow.
20610         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20611         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20612         redirections for expf.
20613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20614         * sysdeps/x86_64/fpu/Versions: New versions added.
20615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20616         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20617         build of SSE, AVX2 and AVX512 IFUNC versions.
20618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20620         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20621         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20622         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20623         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20624         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20625         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20626         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20627         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20628         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20629         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20630         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20631         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20632         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20633         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20634         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20635         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20636         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20637         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20638         * NEWS: Mention addition of x86_64 vector expf.
20640         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20641         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20642         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20643         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20644         redirections for exp.
20645         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20646         * sysdeps/x86_64/fpu/Versions: New versions added.
20647         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20648         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20649         build of SSE, AVX2 and AVX512 IFUNC versions.
20650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20653         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20654         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20655         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20656         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20657         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20658         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20659         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20660         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20661         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20662         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20663         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20664         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20665         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20666         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20667         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20668         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20669         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20670         * NEWS: Mention addition of x86_64 vector exp.
20672         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20673         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20674         redirections for logf.
20675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20676         * sysdeps/x86_64/fpu/Versions: New versions added.
20677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20678         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20679         build of SSE, AVX2 and AVX512 IFUNC versions.
20680         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20681         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20682         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20683         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20685         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20686         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20687         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20688         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20689         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20690         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20691         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20692         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20693         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20694         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20695         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20696         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20698         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20699         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20700         * NEWS: Mention addition of x86_64 vector logf.
20702         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20703         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20704         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20705         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20706         redirections for log.
20707         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20708         * sysdeps/x86_64/fpu/Versions: New versions added.
20709         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20710         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20711         build of SSE, AVX2 and AVX512 IFUNC versions.
20712         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20713         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20714         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20715         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20716         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20717         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20718         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20719         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20720         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20721         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20722         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20723         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20724         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20725         test.
20726         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20727         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20728         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20729         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20730         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20731         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20732         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20733         * NEWS: Mention addition of x86_64 vector log.
20735 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20737         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20738         cfi_adjust_cfa_offset argument.
20739         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20740         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20742         [BZ #18034]
20743         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20744         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20745         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20746         ordering using ldar.
20747         (_dl_tlsdesc_dynamic): Likewise.
20748         (_dl_tlsdesc_return_lazy): Likewise.
20749         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20750         relaxed atomics instead of volatile and synchronize with release store.
20751         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20752         volatile.
20753         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20755 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20758         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20760         * sysdeps/x86_64/fpu/Versions: New versions added.
20761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20763         build of SSE, AVX2 and AVX512 IFUNC versions.
20764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20765         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20766         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20767         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20768         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20769         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20770         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20771         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20772         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20773         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20774         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20775         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20776         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20777         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20778         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20779         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20780         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20781         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20782         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20783         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20784         * NEWS: Mention addition of x86_64 vector sinf.
20786 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20788         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20789         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20790         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20791         Remove variable.
20792         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20793         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20795 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20797         [BZ #18530]
20798         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20799         strong alias of _IO_fputs.  Use libc_hidden_def.
20800         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20801         and define as weak alias of __fputs_unlocked.  Use
20802         libc_hidden_weak.
20803         * include/stdio.h (__fputs_unlocked): Declare.  Use
20804         libc_hidden_proto.
20805         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20806         fputs_unlocked.
20808         [BZ #18529]
20809         * resolv/netdb.h [__USE_POSIX]: Change condition to
20810         [__USE_XOPEN2K].
20811         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20812         not expect.
20813         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20814         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20815         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20816         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20817         [XPG4 || UNIX98] (AI_ALL): Likewise.
20818         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20819         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20820         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20821         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20822         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20823         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20824         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20825         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20826         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20827         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20828         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20829         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20830         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20831         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20832         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20833         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20834         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20835         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20836         [XPG4 || UNIX98] (gai_strerror): Likewise.
20837         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20838         [XPG4 || UNIX98] (getnameinfo): Likewise.
20840         [BZ #18528]
20841         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20842         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20843         __USE_XOPEN2K8].
20844         (getgrent): Likewise.
20845         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20846         expect.
20847         [XPG3 || POSIX2008] (endgrent): Likewise.
20848         [XPG3] (setgrent): Likewise.
20849         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20850         variable.
20851         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20853         [BZ #18527]
20854         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20855         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20856         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20857         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20858         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20859         * include/unistd.h (__getlogin_r): Declare.  Use
20860         libc_hidden_proto.
20861         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20862         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20863         variable.
20864         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20865         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20866         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20868 2015-06-12  Martin Sebor  <msebor@redhat.com>
20870         [BZ #18512]
20871         * Makerules (check-install-supported): New target.
20872         (install): Add check-install-supported as a dependency.
20873         * manual/install.texi (Installing the C Library): Document
20874         that overriding prefix and exec_prefix is not supported.
20875         Mention DESTDIR.
20876         * INSTALL: Regenerate from the above.
20878 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20880         [BZ #18519]
20881         * posix/Versions (libc): Export __libc_pread at version
20882         GLIBC_PRIVATE.
20883         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20884         instead of pread.
20885         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20886         variable.
20888         [BZ #18522]
20889         * misc/efgcvt_r.c
20890         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20891         (cvt_symbol): Use weak_alias instead of strong_alias.
20892         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20893         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20894         Remove variable.
20895         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20896         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20898         [BZ #18520]
20899         * inet/herrno.c (h_errno): Rename to __h_errno.
20900         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20901         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20902         to __h_errno instead of h_errno.
20903         * nptl/herrno.c (h_errno): Rename to __h_errno.
20904         (__h_errno_location): Refer to __h_errno not h_errno.
20905         * resolv/Versions (h_errno): Rename to __h_errno.
20906         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20907         Remove variable.
20908         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20910 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20912         * configure.ac: More strict check for AVX512 assembler support.
20913         * configure: Regenerated.
20915         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20916         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20917         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20918         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20919         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20920         * sysdeps/x86_64/fpu/Versions: New versions added.
20921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20922         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20923         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20929         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20930         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20931         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20932         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20933         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20934         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20935         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20936         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20937         test.
20938         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20940         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20941         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20942         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20943         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20944         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20945         * NEWS: Mention addition of x86_64 vector sin.
20947 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20949         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20950         comment.
20952 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20954         [BZ #18479]
20955         * nptl/pt-interp.c: New file.
20956         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20957         Add pt-interp.
20958         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20959         $(common-objpfx)runtime-linker.h.
20961 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20963         * Makeconfig (+interp): Remove unused variable.
20964         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20965         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20966         $(elf-objpfx)runtime-linker.h.
20967         ($(elf-objpfx)runtime-linker.h): Rename to
20968         $(common-objpfx)runtime-linker.h and move ...
20969         * Makerules [$(build-shared) = yes]: ... here.
20970         * elf/interp.c: Include <runtime-linker.h> instead of
20971         <elf/runtime-linker.h>.
20973 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20975         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20976         (__gettimeofday_syscall): Remove vsyscall fallback.
20977         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20978         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20979         Add syscall fallback function.
20980         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20981         if vDSO is not present.
20982         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20983         fallback function.
20984         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20985         present.
20986         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20987         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20989 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20991         [BZ #18497]
20992         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20993         of wcscmp.
20994         (wcscmp): Define as weak alias of WCSCMP.
20995         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20996         wcscoll.
20997         (USE_HIDDEN_DEF): Define.
20998         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20999         __wcscoll.  Don't use libc_hidden_weak.
21000         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21001         wcscmp.
21002         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21003         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21004         __GI_wcscmp.
21005         (weak_alias): Undefine and redefine.
21006         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21007         __wcscmp and define as weak alias of __wcscmp.
21008         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21009         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21010         (__wcscoll): Likewise.
21011         (wcscmp): Don't use libc_hidden_proto.
21012         (wcscoll): Likewise.
21013         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21014         wcscoll.
21015         * posix/regexec.c (check_node_accept_bytes): Likewise.
21016         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21017         variable.
21018         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21019         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21021         [BZ #18507]
21022         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21023         __fstatvfs and define as weak alias of __fstatvfs.  Use
21024         libc_hidden_weak.
21025         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21026         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21027         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21028         Define as alias of __fstatvfs, not fstatvfs.
21029         (fstatvfs64): Likewise.
21030         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21031         Define as alias of __statvfs, not statvfs.
21032         (statvfs64): Likewise.
21033         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21034         Remove variable.
21036 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21039         (HAVE_GETCPU_VSYSCALL): Define.
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21041         (HAVE_GETCPU_VSYSCALL): Likewise.
21042         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21043         * sysdeps/unix/sysv/linux/sched_getcpu.c
21044         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21045         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21046         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21047         prototype.
21048         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21049         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21050         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21052         Define.
21053         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21054         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21055         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21056         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21058 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21060         * sysdeps/x86_64/fpu/Makefile: New file.
21061         * sysdeps/x86_64/fpu/Versions: New file.
21062         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21063         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21064         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21065         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21066         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21067         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21068         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21070         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21071         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21072         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21073         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21074         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21075         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21076         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21077         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21078         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21079         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21080         * sysdeps/x86_64/configure: Regenerated.
21081         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21082         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21083         * manual/install.texi (Configuring and compiling): Document
21084         --disable-mathvec.
21085         * INSTALL: Regenerated.
21086         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21088         * math/Makefile: Added rules for vector tests.
21089         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21090         declaration under condition.
21091         * math/test-double-vlen2.h: New file.
21092         * math/test-double-vlen4.h: New file.
21093         * math/test-double-vlen8.h: New file.
21094         * math/test-vec-loop.h: Added initialization macro.
21095         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21096         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21097         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21098         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21099         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21100         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21101         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21102         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21103         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21104         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21105         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21108         * sysdeps/x86_64/fpu/Versions: New versions added.
21109         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21112         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21113         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21116         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21119         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21120         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21121         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21122         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21123         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21124         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21125         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21126         * NEWS: Mention addition of x86_64 vector cosf.
21128         * math/Makefile: Added CFLAGS for new tests.
21129         * math/test-float-vlen16.h: New file.
21130         * math/test-float-vlen4.h: New file.
21131         * math/test-float-vlen8.h: New file.
21132         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21133         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21134         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21135         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21136         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21137         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21138         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21140         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21141         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21142         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21144 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21146         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21147         * locale/programs/ld-ctype.c: Likewise.
21149 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21151         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21152         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21153         bit_ZMM16_31_state): New macro.
21154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21155         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21157 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21159         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21161 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21163         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21165 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21167         [BZ #18498]
21168         * libio/memstream.c (open_memstream): Rename to __open_memstream
21169         and define as weak alias of __open_memstream.
21170         * include/stdio.h (__open_memstream): Declare.  Use
21171         libc_hidden_proto.
21172         (open_memstream): Don't use libc_hidden_proto.
21173         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21174         open_memstream.
21175         * posix/getopt.c (_getopt_internal_r): Likewise.
21176         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21177         variable.
21178         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21179         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21180         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21182         [BZ #18496]
21183         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21184         instead of wcrtomb.
21186         [BZ #18483]
21187         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21188         [__USE_XOPEN2K8].  Remove redundant #endif.
21189         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21190         Remove redundant #if.
21191         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21192         Remove variable.
21193         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21194         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21196         [BZ #18495]
21197         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21198         (__iswlower): Likewise.
21199         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21200         (__iswlower): Likewise.
21201         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21202         instead of towlower.
21203         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21204         instead of iswlower.  Call __towupper instead of towupper.
21205         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21206         instead of iswalnum.
21208 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21210         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21211         errors to stderr.
21213 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21215         [BZ #15661]
21216         [BZ #17322]
21217         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21218         Check for overflow properly.  Check for O_APPEND.  Ignore large
21219         file system block sizes.  Add comments about problems.
21220         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21221         * manual/filesys.texi (Storage Allocation): New node.
21223 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21225         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21226         cancellable syscalls.
21227         (SYS_ify): Add guard to no redefine it.
21228         (INLINE_SYSCALL): Likewise.
21229         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21230         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21231         SYSCALL_CANCEL instead.
21232         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21233         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21234         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21235         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21236         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21237         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21238         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21239         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21240         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21241         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21242         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21243         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21244         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21245         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21246         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21247         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21248         Likewise.
21249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21250         (__libc_pread64): Likewise.
21251         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21252         (__libc_preadv): Likewise.
21253         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21254         (__libc_readv64): Likewise.
21255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21256         (__libc_pwrite): Likewise.
21257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21258         (__libc_pwrite64): Likewise.
21259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21260         (__libc_pwritev): Likewise.
21261         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21262         (__libc_pwritev64): Likewise.
21263         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21264         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21265         (sync_file_range): Likewise.
21266         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21267         Likewise.
21268         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21269         Likewise.
21270         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21271         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21272         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21273         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21274         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21275         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21276         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21277         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21279         Likewise.
21280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21281         (__libc_read64): Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21283         Likewise.
21284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21285         Likewise.
21286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21287         Likewise.
21288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21289         Likewise.
21290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21291         (__libc_pread64): Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21293         Likewise.
21294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21295         (__libc_pwrite64): Likewise.
21296         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21297         (sync_file_range): Likewise.
21298         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21299         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21300         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21301         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21302         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21303         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21304         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21305         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21306         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21307         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21308         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21309         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21310         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21311         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21312         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21313         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21314         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21315         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21316         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21317         Likewise.
21318         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21319         Likewise.
21320         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21321         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21322         Likewise.
21323         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21324         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21325         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21326         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21327         Likewise.
21328         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21329         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21330         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21331         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21332         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21334 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21336         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21337         Include dl-vdso.
21338         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21339         Use VDSO routines for gettimeofday, clock_gettime if
21340         available.
21341         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21342         Declare VDSO symbols.
21343         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21344         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21345         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21346         * sysdeps/unix/sysv/linux/arm/Versions: Add
21347         __vdso_clock_gettime.
21349 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21351         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21352         be an inline implementation regardless of library is built within.
21353         (open_not_cancel_2): Likewise.
21354         (__read_nocancel): Likewise.
21355         (__write_nocancel): Likewise.
21356         (openat_not_cancel): Likewise.
21357         (openat_not_cancel_3): Likewise.
21358         (openat64_not_cancel): Likewise.
21359         (openat64_not_cancel_3): Likewise.
21360         (__close_nocancel): Likewise.
21361         (pause_not_cancel): Likewise.
21362         (nanosleep_not_cancel): Likewise.
21363         (sigsuspend_not_cancel): Likewise.
21365 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21367         [BZ #14958]
21368         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21369         wake-up.
21370         (__pthread_rwlock_rdlock_slow): Likewise.
21371         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21372         Likewise.
21373         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21374         Likewise.
21375         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21376         * nptl/tst-rwlock16.c: New file.
21377         * nptl/Makefile (tests): Add new test.
21379 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21381         [BZ #18324]
21382         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21383         missing wake-up of readers.
21384         * nptl/tst-rwlock15.c: New file.
21385         * nptl/Makefile (tests): Add new test.
21387 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21389         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21390         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21391         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21392         and __nacl_supply_interface_rtld.
21393         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21394         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21395         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21396         Add __nacl_supply_interface_rtld.
21397         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21399 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21401         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21402         isfinite.
21403         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21404         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21406 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21408         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21409         __signbit* with standard C99 macros.
21410         * math/e_exp10l.c: Likewise.
21411         * math/e_exp2l.c: Likewise.
21412         * math/e_scalb.c: Likewise.
21413         * math/e_scalbf.c: Likewise.
21414         * math/e_scalbl.c: Likewise.
21415         * math/s_ldexp.c: Likewise.
21416         * math/s_ldexpf.c: Likewise.
21417         * math/s_ldexpl.c: Likewise.
21418         * math/w_atan2.c: Likewise.
21419         * math/w_atan2f.c: Likewise.
21420         * math/w_atan2l.c: Likewise.
21421         * math/w_cosh.c: Likewise.
21422         * math/w_coshf.c: Likewise.
21423         * math/w_coshl.c: Likewise.
21424         * math/w_exp10.c: Likewise.
21425         * math/w_exp10f.c: Likewise.
21426         * math/w_exp10l.c: Likewise.
21427         * math/w_exp2.c: Likewise.
21428         * math/w_exp2f.c: Likewise.
21429         * math/w_exp2l.c: Likewise.
21430         * math/w_fmod.c: Likewise.
21431         * math/w_fmodf.c: Likewise.
21432         * math/w_fmodl.c: Likewise.
21433         * math/w_hypot.c: Likewise.
21434         * math/w_hypotf.c: Likewise.
21435         * math/w_hypotl.c: Likewise.
21436         * math/w_jnl.c: Likewise.
21437         * math/w_lgamma.c: Likewise.
21438         * math/w_lgamma_r.c: Likewise.
21439         * math/w_lgammaf.c: Likewise.
21440         * math/w_lgammaf_r.c: Likewise.
21441         * math/w_lgammal.c: Likewise.
21442         * math/w_lgammal_r.c: Likewise.
21443         * math/w_pow.c: Likewise.
21444         * math/w_powf.c: Likewise.
21445         * math/w_powl.c: Likewise.
21446         * math/w_remainder.c: Likewise.
21447         * math/w_remainderf.c: Likewise.
21448         * math/w_remainderl.c: Likewise.
21449         * math/w_scalb.c: Likewise.
21450         * math/w_scalbf.c: Likewise.
21451         * math/w_scalbl.c: Likewise.
21452         * math/w_scalbln.c: Likewise.
21453         * math/w_scalblnf.c: Likewise.
21454         * math/w_scalblnl.c: Likewise.
21455         * math/w_sinh.c: Likewise.
21456         * math/w_sinhf.c: Likewise.
21457         * math/w_sinhl.c: Likewise.
21458         * math/w_tgamma.c: Likewise.
21459         * math/w_tgammaf.c: Likewise.
21460         * math/w_tgammal.c: Likewise.
21461         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21462         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21463         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21464         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21465         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21467         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21468         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21469         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21470         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21471         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21472         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21473         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21474         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21475         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21476         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21477         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21478         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21479         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21480         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21481         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21482         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21484         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21485         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21486         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21487         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21488         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21489         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21490         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21491         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21492         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21493         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21494         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21495         * stdio-common/printf_fp.c: Likewise.
21496         * stdio-common/printf_fphex.c: Likewise.
21497         * stdio-common/printf_size.c: Likewise.
21499 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21501         [BZ #18470]
21502         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21503         strnlen.
21504         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21505         Remove variable.
21506         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21507         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21508         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21509         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21510         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21511         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21512         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21513         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21514         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21515         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21517         [BZ #18468]
21518         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21519         weak alias of __wmemchr.  Use libc_hidden_weak.
21520         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21521         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21522         instead of wmemchr.
21524 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21526         [BZ #18383]
21527         * elf/tst-tlsalign-extern.c: New file.
21528         * elf/tst-tlsalign-extern-static.c: New file.
21529         * elf/tst-tlsalign-vars.c: New file.
21530         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21531         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21532         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21533         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21534         (test-xfail-tst-tlsalign-extern-static): New variable.
21536 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21538         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21539         Use variable name _sc_err instead of err.
21540         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21541         instead of ret.
21542         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21543         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21544         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21545         (INLINE_SYSCALL): Likewise.
21547         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21548         * include/string.h (__strnlen): Use libc_hidden_proto.
21549         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21550         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21551         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21552         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21553         (libc_hidden_def): Undefine and redefine.
21554         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21555         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21556         __GI_strnlen.
21557         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21558         libc_hidden_def.
21559         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21561         [BZ #18469]
21562         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21563         weak alias of __towlower.  Use libc_hidden_weak.
21564         (towupper): Rename to __towupper and define as weak alias of
21565         __towupper.  Use libc_hidden_weak.
21566         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21567         (__towupper): Likewise.
21568         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21569         __towlower instead of towlower.
21571 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21573         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21574         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21576 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21578         * sysdeps/aarch64/libm-test-ulps: Update.
21580 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21582         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21583         Define.
21584         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21586         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21587         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21588         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21589         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21590         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21592 2015-06-01  Martin Sebor  <msebor@redhat.com>
21594         [BZ #18116]
21595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21596         (__setcontext): Use extended four-operand version of mtsf whenever
21597         possible.
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21599         (__novec_swapcontext): Likewise.
21601 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21603         * benchtests/scripts/compare_bench.py: New file.
21604         * benchtests/scripts/import_bench.py (mean): New function.
21605         (split_list): Likewise.
21606         (do_for_all_timings): Likewise.
21607         (compress_timings): Likewise.
21609         * benchtests/scripts/import_bench.py: New file.
21610         * benchtests/scripts/validate_benchout.py: Import import_bench
21611         instead of jsonschema.
21612         (validate_bench): Remove function.
21613         (main): Use import_bench.
21615 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21617         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21618         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21620 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21624 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21626         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21627         set THREAD_SELF->tid to a magic value and futex-wake it.
21628         Pass its address to the thread_exit system call.
21629         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21630         bit is clear.
21631         * sysdeps/nacl/lowlevellock.h: New file.
21632         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21634         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21635         Add TIMEOUT to current time, don't subtract it.
21637 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21639         [BZ #2981]
21640         [BZ #18422]
21641         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21642         ($(objpfx)tst-audit2.out): Also depend on
21643         $(objpfx)tst-auditmod9b.so.
21644         * elf/tst-audit2.c: Include <dlfcn.h>.
21645         (calloc_called): New.
21646         (calloc): Allow to be called more than once.
21647         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21649 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21651         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21652         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21654 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21656         * stdlib/monetary.h: Fix comment.
21658 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21660         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21661         Avoid using variables in #defines that might cause shadowing.
21662         (INTERNAL_VSYSCALL_CALL): Likewise.
21664 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21666         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21668         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21669         * nptl/lll_timedlock_wait.c: ... to this new file.
21670         * nptl/Makefile (libpthread-routines): Add it.
21671         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21672         * nptl/lll_timedwait_tid.c: ... to this new file.
21673         * nptl/Makefile (libpthread-routines): Add it.
21674         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21675         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21676         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21677         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21678         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21679         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21680         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21681         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21682         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21683         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21685 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21687         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21688         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21689         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21691         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21693         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21695         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21696         * sysdeps/unix/sysv/linux/tile/sysdep.h
21697         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21698         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21699         using vDSO syscall macro.
21701 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21703         [BZ #17293]
21704         * uk_UA: Fix sorting order for Ukrainian locale
21706 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21708         * stdlib/monetary.h: Fix comment.
21710 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21712         [BZ #18234]
21713         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21714         st_mtim and st_ctim members.
21715         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21716         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21717         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21718         (struct stat64): Likewise.
21719         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21720         (struct stat64): Likewise.
21721         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21722         (struct stat64): Likewise.
21724 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21726         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21727         Define and include sysdep-vdso.h.
21728         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21729         Likewise.
21730         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21731         Likewise.
21732         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21733         Define with VDSO_SYMBOL and use PTR_MANGLE.
21734         (__vdso_clock_gettime): Likewise.
21735         (__vdso_clock_getres): Likewise.
21736         (_libc_vdso_platform_setup): Likewise.
21737         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21738         Likewise.
21739         (_libc_vdso_platform_setup): Likewise.
21740         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21741         Likewise.
21742         (__vdso_clock_gettime): Likewise.
21743         (__vdso_clock_getres): Likewise.
21744         (__vdso_get_tbfreq): Likewise.
21745         (__vdso_getcpu): Likewise.
21746         (__vdso_time): Likewise.
21747         (__vdso_sigtramp_rt64): Likewise.
21748         (__vdso_signtramp32): Likewise.
21749         (__vdso_sigtramp_rt32): Likewise.
21750         (_libc_vdso_platform_setup): Likewise.
21751         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21752         Likewise.
21753         (__vdso_clock_gettime): Likewise.
21754         (__vdso_clock_getres): Likewise.
21755         (_libc_vdso_platform_setup): Likewise.
21756         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21757         Likewise.
21758         (__vdso_clock_gettime): Likewise.
21759         (_libc_vdso_platform_setup): Likewise.
21760         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21761         Likewise.
21762         (__vdso_getcpu): Likewise.
21763         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21764         Use VDSO_SYMBOL macro to define.
21765         (__vdso_clock_gettime): Likewise.
21766         (__vdso_clock_getres): Likewise.
21767         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21768         Likewise.
21769         (__vdso_clock_gettime): Likewise.
21770         (__vdso_clock_getres): Likewise.
21771         (__vdso_get_tbfreq): Likewise.
21772         (__vdso_getcpu): Likewise.
21773         (__vdso_time): Likewise.
21774         (__vdso_sigtramp_rt64): Likewise.
21775         (__vdso_signtramp32): Likewise.
21776         (__vdso_sigtramp_rt32): Likewise.
21777         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21778         Likewise.
21779         (__vdso_clock_gettime): Likewise.
21780         (__vdso_clock_getres): Likewise.
21781         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21782         Likewise.
21783         (__vdso_clock_gettime): Likewise.
21784         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21785         Likewise.
21786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21787         macro.
21788         (INTERNAL_VSYSCALL): Likewise.
21789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21790         Remove macro.
21791         (INTERNAL_VSYSCALL): Likewise.
21792         (INTERNAL_VSYSCALL_NCS): Likewise.
21793         (INTERNAL_VSYSCALL_CALL): New macro.
21794         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21796         Likewise.
21797         (INTERNAL_VSYSCALL): Likewise.
21798         (INTERNAL_VSYSCALL_NCS): Likewise.
21799         (INTERNAL_VSYSCALL_CALL): New macro.
21800         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21802         (INLINE_VSYSCALL): Remove macro.
21803         (INTERNAL_VSYSCALL): Remove macro.
21804         (INTERNAL_VSYSCALL_NCS): Remove macro.
21805         (INTERNAL_VSYSCALL_CALL): New macro.
21806         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21807         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21808         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21809         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21810         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21812         (INLINE_VSYSCALL): Remove macro.
21813         (INTERNAL_VSYSCALL): Likewise.
21814         (INTERNAL_VSYSCALL_NCS): Likewise.
21815         (INTERNAL_VSYSCALL_CALL): New macro.
21816         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21817         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21818         PTR_DEMANGLE on vDSO pointer.
21819         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21820         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21821         macro.
21822         (INTERNAL_SYSCALL): Likewise.
21823         (INTERNAL_VSYSCALL_NCS): Remove macro.
21824         (INTERNAL_VSYSCALL_CALL): New macro.
21825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21826         Remove macro.
21827         (INTERNAL_VSYSCALL): Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21829         sysdep-vdso.h instead of libc-vdso.h.
21830         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21831         definition.
21832         (INLINE_VSYSCALL): Likewise.
21833         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21834         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21835         definition.
21836         (INLINE_VSYSCALL): Likewise.
21837         (INTERNAL_VSYSCALL): Likewise.
21838         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21839         * sysdeps/unix/sysv/linux/timespec_get.c
21840         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21841         (timespec_get): Use ANSI prototype.
21842         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21843         and definition for Linux.
21845 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21847         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21848         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21850 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21852         [BZ #2981]
21853         [BZ #18410]
21854         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21855         for missing DT_PLTRELSZ.
21857 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21859         Remove obsolete aliases that broke 'locale -a'
21860         [BZ #18412]
21861         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21862         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21863         breaking some applications that use 'locale -a' output.
21864         Change the encoding of this file from Latin-1 to ASCII to avoid
21865         other potential problems with people grepping this file.
21867 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21869         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21870         -fasynchronous-unwind-tables.
21871         (CFLAGS-sendto.c): Likewise.
21872         (CFLAGS-sendmsg.c): Likewise.
21873         (CFLAGS-connect.c): Likewise.
21874         (CFLAGS-recvmsg.c): Likewise.
21875         (CFLAGS-recvfrom.c): Likewise.
21876         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21877         (SOCKETCALL): New macro: non-cancellable socketcall.
21878         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21879         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21880         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21881         * sysdeps/unix/sysv/linux/accept.c: New file.
21882         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21883         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21884         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21885         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21886         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21887         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21888         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21889         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21890         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21891         * sysdeps/unix/sysv/linux/send.c: Likewise.
21892         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21893         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21894         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21895         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21896         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21897         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21898         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21899         prototype.
21900         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21901         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21902         instead of __internal_xxx function.
21903         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21904         prototype.
21905         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21906         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21907         instead of __internal_xxx function.
21908         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21909         prototype.
21910         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21911         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21912         instead of __internal_xxx function.
21913         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21914         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21915         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21916         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21917         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21918         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21919         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21920         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21921         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21922         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21923         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21924         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21925         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21926         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21927         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21928         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21929         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21930         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21931         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21932         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21935         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21936         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21937         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21938         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21939         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21940         * sysdeps/unix/sysv/linux/send.S: Likewise.
21941         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21942         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21943         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21944         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21945         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21946         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21947         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21948         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21949         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21950         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21951         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21952         socketcall is implemented in GLIBC.
21954 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21956         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21957         (__fma): Ignore uninitialized warnings around packing.
21958         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21959         (__fmaf): Ignore uninitialized warnings around packing.
21960         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21961         (__fmal): Ignore uninitialized warnings around packing.
21963         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21964         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21965         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21966         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21968         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21969         switch statement into default case.
21970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21972         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21973         a conditional in forcing "inexact".
21974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21975         Likewise.
21977 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21979         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21980         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21981         for each INTERNAL_SYSCALL use.
21983 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21985         [BZ #438]
21986         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21987         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21988         variable.
21990         [BZ #18444]
21991         * string/basename.c (basename): Rename to __basename and define as
21992         weak alias of __basename.  Use libc_hidden_weak.
21993         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21994         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21995         __basename instead of basename.
21996         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21997         Remove variable.
21998         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22000 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22002         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22003         (_IO_JUMPS_FILE_plus): New.
22004         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22005         _IO_CAST_FIELD_ACCESS.
22006         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22007         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22008         * libio/freopen.c (freopen): Likewise.
22009         * libio/freopen64.c (freopen64): Likewise.
22010         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22011         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22012         * libio/iofwide.c (_IO_fwide): Likewise.
22013         * libio/memstream.c (open_memstream): Likewise.
22014         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22015         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22016         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22018 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22020         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22021         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22022         NADJ.
22023         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22024         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22025         NADJ.
22026         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22027         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22028         NADJ.
22030         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22031         (p == 4) case.
22033         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22034         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22035         Remove variable.
22036         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22037         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22038         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22040 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22042         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22043         Adjust jump table label generation macros.
22045 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22047         * stdio-common/vfprintf.c (vfprintf): Move local variables
22048         args_malloced, specs, specs_malloced, and the code after
22049         do_positional to the printf_positional function.
22050         (printf_positional): New function.
22052 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22054         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22055         function.
22056         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22057         STEP4_TABLE, process_arg): Move macro definitions
22058         out of the vfprintf function.  (Cosmetic change only.)
22060 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22062         * benchtests/Makefile (stdio-common-bench): Define.
22063         (benchset): Add stdio-common-bench.
22064         * sprintf-inputs: New file.
22065         * sprintf-source.c: New file.
22067 2015-05-21  Andreas Schwab  <schwab@suse.de>
22069         [BZ #13028]
22070         [BZ #17053]
22071         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22072         of struct __res_state.
22073         * resolv/res_send.c (__libc_res_nsend): Likewise.
22074         (get_nsaddr): New function.
22075         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22076         statp directly.
22078 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22080         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22081         -D_POSIX_C_SOURCE=199506L.
22083         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22085         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22086         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22087         Do not mention otherwise.
22088         [POSIX] (_XOPEN_VERSION): Do not expect.
22089         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22090         [POSIX] (_POSIX2_C_BIND): Likewise.
22091         [POSIX] (_POSIX2_VERSION): Likewise.
22092         [POSIX] (_XOPEN_XPG2): Likewise.
22093         [POSIX] (_XOPEN_XPG3): Likewise.
22094         [POSIX] (_XOPEN_XPG4): Likewise.
22095         [POSIX] (_XOPEN_UNIX): Likewise.
22096         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22097         [POSIX] (_POSIX_BARRIERS): Likewise.
22098         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22099         [POSIX] (_POSIX_CPUTIME): Likewise.
22100         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22101         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22102         [POSIX] (_POSIX_SHELL): Likewise.
22103         [POSIX] (_POSIX_SPAWN): Likewise.
22104         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22105         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22106         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22107         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22108         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22109         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22110         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22111         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22112         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22113         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22114         [POSIX] (_POSIX2_PBS): Likewise.
22115         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22116         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22117         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22118         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22119         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22120         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22121         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22122         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22123         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22124         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22125         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22126         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22127         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22128         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22129         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22130         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22131         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22132         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22133         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22134         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22135         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22136         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22137         [POSIX] (_SC_2_C_BIND): Likewise.
22138         [POSIX] (_SC_2_C_VERSION): Likewise.
22139         [POSIX] (_SC_2_PBS): Likewise.
22140         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22141         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22142         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22143         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22144         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22145         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22146         [POSIX] (_SC_BARRIERS): Likewise.
22147         [POSIX] (_SC_BASE): Likewise.
22148         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22149         [POSIX] (_SC_DEVICE_IO): Likewise.
22150         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22151         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22152         [POSIX] (_SC_FD_MGMT): Likewise.
22153         [POSIX] (_SC_FIFO): Likewise.
22154         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22155         [POSIX] (_SC_FILE_LOCKING): Likewise.
22156         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22157         [POSIX] (_SC_IOV_MAX): Likewise.
22158         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22159         [POSIX] (_SC_NETWORKING): Likewise.
22160         [POSIX] (_SC_PAGE_SIZE): Likewise.
22161         [POSIX] (_SC_PASS_MAX): Likewise.
22162         [POSIX] (_SC_PIPE): Likewise.
22163         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22164         [POSIX] (_SC_REGEXP): Likewise.
22165         [POSIX] (_SC_SHELL): Likewise.
22166         [POSIX] (_SC_SIGNALS): Likewise.
22167         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22168         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22169         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22170         [POSIX] (_SC_USER_GROUPS): Likewise.
22171         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22172         [POSIX] (_SC_STREAMS): Likewise.
22173         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22174         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22175         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22176         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22177         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22178         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22179         [POSIX] (_PC_FILESIZEBITS): Likewise.
22180         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22181         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22182         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22183         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22184         [POSIX] (uid_t): Likewise.
22185         [POSIX] (gid_t): Likewise.
22186         [POSIX] (off_t): Likewise.
22187         [POSIX] (pid_t): Likewise.
22188         [POSIX] (cuserid): Allow.
22189         (_SC_2_CHAR_TERM): Require constant.
22190         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22191         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22192         variable.
22194 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22196         * sysdeps/nacl/pthread-pids.h: New file.
22197         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22198         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22200         * nptl/pthread-pids.h: New file.
22201         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22202         * nptl/nptl-init.c: Include <pthread-pids.h>.
22203         (__pthread_initialize_minimal_internal):
22204         Call __pthread_initialize_pids instead of set_tid_address syscall.
22206         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22207         * sysdeps/posix/usleep.c: ... here.
22209 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22211         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22212         call_pselect6 object.
22213         [$(subdir) = io]: Remove call_sync_file_range object.
22214         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22215         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22216         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22217         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22219 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22221         * math/s_cproj.c: Add include "math_private.h".
22222         * math/s_cprojf.c: Likewise.
22223         * math/s_cprojl.c: Likewise.
22225 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22227         [BZ #18244]
22228         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22229         high mantissa bit when testing whether P is a NaN.
22230         * math/libm-test.inc (remainder_test_data): Add more tests.
22231         (remquo_test_data): Likewise.
22233         [BZ #18049]
22234         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22235         below -32, return the argument, with underflow if subnormal.
22236         * math/auto-libm-test-in: Add more tests of atanh.
22237         * math/auto-libm-test-out: Regenerated.
22239 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22241         [BZ #18434]
22242         * nptl/tst-sem15.c: New file.
22243         * nptl/Makefile (tests): Add it.
22244         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22245         s/<</>>/ to fix typo in EOVERFLOW check.
22246         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22248 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22250         * manual/strings.texi (envz_remove): Fix typo in safety
22251         annotations.
22253 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22254             Steve Ellcey  <sellcey@imgtec.com>
22256         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22257         in order to avoid strict alias warnings.
22258         (iruserok_af): Ditto for ra.
22260 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22262         [BZ #17581]
22263         * malloc/hooks.c
22264         (magicbyte): Convert to a function and avoid returning 0x01.
22265         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22266         (mem2chunk_check): Fix unsigned comparisons to zero.
22267         Hoist defs of sz and magic.
22269 2015-05-19  Richard Henderson  <rth@redhat.com>
22271         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22273         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22275 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22277         [BZ #16159]
22278         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22279         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22280         (reused_arena): Find a non-corrupt arena.
22281         (heap_trim): Pass arena to unlink.
22282         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22283         malloc_printerr.
22284         (top_check): Likewise.
22285         (free_check): Likewise.
22286         (realloc_check): Likewise.
22287         * malloc/malloc.c (malloc_printerr): Add arena argument.
22288         (unlink): Likewise.
22289         (munmap_chunk): Adjust.
22290         (ARENA_CORRUPTION_BIT): New macro.
22291         (arena_is_corrupt): Likewise.
22292         (set_arena_corrupt): Likewise.
22293         (sysmalloc): Use mmap if there are no usable arenas.
22294         (_int_malloc): Likewise.
22295         (__libc_malloc): Don't fail if arena_get returns NULL.
22296         (_mid_memalign): Likewise.
22297         (__libc_calloc): Likewise.
22298         (__libc_realloc): Adjust for additional argument to
22299         malloc_printerr.
22300         (_int_free): Likewise.
22301         (malloc_consolidate): Likewise.
22302         (_int_realloc): Likewise.
22303         (_int_memalign): Don't touch corrupt arenas.
22304         * malloc/tst-malloc-backtrace.c: New test case.
22306         * Makefile (summarize-tests): Fix return value on success.
22308         * manual/string.texi (Envz Functions): Add envz_remove.
22310 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22312         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22313         (invalid_name): New function, broken out of ...
22314         (__opendirat): ... here.  Call it.
22315         (need_isdir_precheck): New function, broken out of ...
22316         (__opendirat): ... here.  Call it.
22317         Use __fxstatat64, not __xstatat64.
22318         (opendir_oflags): New function, broken out of ...
22319         (__opendirat): ... here.  Call it.
22320         (opendir_tail): New function, broken out of ...
22321         (__opendirat): ... here.  Call it.
22322         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22323         opendir_tail, rather than punting to __opendirat.
22324         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22326 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22328         * .gitignore: Ignore generated *.pyc.
22330 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22332         * include/stdio.h: Define __need_wint_t.
22333         * test-skeleton.c: Avoid `for' loop initial declaration.
22334         * nptl/tst-initializers1.c: Use test-skeleton.c.
22336 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22338         [BZ #18418]
22339         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22341 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22343         [BZ #16352]
22344         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22345         (__ieee754_atanh): Force underflow exception for results with
22346         small absolute value.
22347         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22348         (__ieee754_atanhf): Force underflow exception for results with
22349         small absolute value.
22350         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22351         (__ieee754_atanh): Force underflow exception for results with
22352         small absolute value.
22353         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22354         (__ieee754_atanhf): Force underflow exception for results with
22355         small absolute value.
22356         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22357         (__ieee754_atanhl): Force underflow exception for results with
22358         small absolute value.
22359         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22360         (__ieee754_atanhl): Force underflow exception for results with
22361         small absolute value.
22362         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22363         (__ieee754_atanhl): Force underflow exception for results with
22364         small absolute value.
22365         * math/auto-libm-test-in: Do not allow missing underflow
22366         exceptions from atanh.
22367         * math/auto-libm-test-out: Regenerated.
22369         [BZ #18221]
22370         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22371         2**-28 as threshold for returning x or +/- 1/x.
22372         * math/auto-libm-test-in: Add more tests of tan.
22373         * math/auto-libm-test-out: Regenerated.
22375         [BZ #18220]
22376         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22377         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22378         * math/auto-libm-test-in: Add another test of lgamma.
22379         * math/auto-libm-test-out: Regenerated.
22381 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22383         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22384         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22385         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22386         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22387         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22388         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22389         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22390         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22392         (log1): Use fabs.  (my_log2): Use fabs.
22393         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22394         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22395         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22396         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22397         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22398         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22399         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22400         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22401         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22402         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22403         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22405 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22407         [BZ #18217]
22408         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22409         as threshold for returning 1 - x.
22410         * math/auto-libm-test-in: Add more tests of erfc.
22411         * math/auto-libm-test-out: Regenerated.
22413 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22415         [BZ #18196]
22416         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22417         threshold for large arguments.
22418         * math/auto-libm-test-in: Add another test of atan.
22419         * math/auto-libm-test-out: Regenerated.
22421         [BZ #16339]
22422         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22423         (__log1p): Force underflow exception for results with small
22424         absolute value.
22425         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22426         (__log1pf): Force underflow exception for results with small
22427         absolute value.
22428         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22429         (__log1p): Force underflow exception for results with small
22430         absolute value.
22431         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22432         (__log1pf): Force underflow exception for results with small
22433         absolute value.
22434         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22435         (__log1pl): Force underflow exception for results with small
22436         absolute value.
22437         * math/auto-libm-test-in: Do not allow missing underflow
22438         exceptions from log1p.
22439         * math/auto-libm-test-out: Regenerated.
22441 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22442             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22444         [BZ #16704]
22445         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22447 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22449         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22450         (libmvec): New variable.
22451         * configure.ac: Added option for mathvec build.
22452         * configure: Regenerated.
22453         * mathvec/Depend: New file.
22454         * mathvec/Makefile: New file.
22455         * shlib-versions: Added libmvec.
22456         * math/Makefile: Added rule for libm.so installation.
22458         * bits/math-vector.h: New file.
22459         * bits/libm-simd-decl-stubs.h: New header.
22460         * math/Makefile (headers): Added new header
22461         libm-simd-decl-stubs.h.
22462         * math/math.h (__MATHCALL_VEC): New macro.
22464         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22465         for conditions in testing functions.
22466         * math/Makefile: Added call of libm-have-vector-test.sh.
22467         * math/libm-test.inc (HAVE_VECTOR): New macros.
22469         * math/libm-test.inc: START refactored.
22470         * math/test-double.c (TEST_MATHVEC): Add define.
22471         * math/test-float.c: Likewise.
22472         * math/test-idouble.c: Likewise.
22473         * math/test-ifloat.c: Likewise.
22474         * math/test-ildoubl.c: Likewise.
22475         * math/test-ldouble.c: Likewise.
22476         * sysdeps/generic/math-tests-arch.h
22477         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22478         architecture check.
22480         * math/test-double.c (FUNC_TEST): New macro.
22481         * math/test-float.c: Likewise.
22482         * math/test-idouble.c: Likewise.
22483         * math/test-ifloat.c: Likewise.
22484         * math/test-ildoubl.c: Likewise.
22485         * math/test-ldouble.c: Likewise.
22486         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22488 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22490         * sysdeps/nacl/fdopendir.c: New file.
22492         * dirent/scandir-tail.c: New file.
22493         * dirent/scandir64-tail.c: New file.
22494         * dirent/Makefile (routines): Add them.
22495         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22496         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22497         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22498         [!SCANDIR] (SCANDIR_TAIL): New macro.
22499         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22500         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22501         (SCANDIRAT): Macro removed.
22502         (SCANDIR_TAIL): New macro.
22503         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22504         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22505         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22506         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22507         (READDIR): Macro removed.
22508         (SCANDIR_TAIL): New macro.
22509         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22510         (SCANDIR_TAIL): New macro.
22512         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22513         * dirent/scandir-cancel.c: ... to this new file.
22514         * dirent/Makefile (routines): Add it.
22515         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22516         * sysdeps/unix/sysv/linux/i386/scandir64.c
22517         (SKIP_SCANDIR_CANCEL): Macro removed.
22518         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22520         * dirent/tst-scandir.c: New file.
22521         * dirent/tst-scandir64.c: New file.
22522         * dirent/Makefile (tests): Add them.
22524 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22526         [BZ #18409]
22527         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22529 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22531         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22532         list.
22534 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22536         * benchtests/bench-strcoll.c: New benchmark.
22537         * benchtests/Makefile: Generate locales and run benchmark.
22538         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22539         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22540         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22541         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22542         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22543         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22544         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22545         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22546         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22547         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22548         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22549         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22550         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22551         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22552         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22553         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22554         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22555         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22556         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22557         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22558         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22559         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22560         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22561         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22563 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22565         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22566         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22568 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22570         * posix/uname-values.h: New file.
22571         * posix/uname.c: Include that instead of <config-name.h>.
22572         * sysdeps/nacl/uname-values.h: New file.
22573         * sysdeps/arm/nacl/uname-values.h: New file.
22575 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22577         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22578         splitting into fields.
22580 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22582         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22583         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22584         * locale/localeinfo.h: Add enum collation_encoding_type.
22585         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22586         * programs/ld-collate.c (collate_output): Add encoding type info.
22587         * string/strcoll_l.c (STRDIFF): New function.
22588         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22589         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22591 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22593         [BZ #18397]
22594         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22595         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22596         <fpu_control.h> instead of <math/fpu_control.c>.
22597         * sysdeps/mips/mips32/fpu/Makefile: New file.
22599 2015-05-11  Andreas Schwab  <schwab@suse.de>
22601         [BZ #18007]
22602         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22603         nss_endgrent.
22604         (_nss_compat_endgrent): Call nss_endgrent.
22605         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22606         nss_endpwent.
22607         (_nss_compat_endpwent): Call nss_endpwent.
22608         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22609         needent, call nss_setspent only if non-zero.
22610         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22611         (internal_endspent): Don't call nss_endspent.
22612         (_nss_compat_endspent): Call nss_endspent.
22613         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22614         Remove.  All uses removed.
22615         (internal_setent): Remove parameter stayopen, add parameter
22616         stream.  Use it instead of global variable.
22617         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22618         (internal_endent, internal_getent): Add parameter stream.  Use it
22619         instead of global variable.
22620         (CONCAT(_nss_files_end,ENTNAME))
22621         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22622         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22623         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22624         uses removed.
22625         (internal_setent, internal_endent): Add parameter stream.  Use it
22626         instead of global variable.
22627         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22628         stream.
22629         (get_next_alias): Add parameter stream.
22630         (_nss_files_getaliasent_r): Pass global stream.
22631         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22632         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22633         (_nss_files_gethostbyname4_r): Pass local stream to
22634         internal_setent, internal_getent and internal_endent.  Remove
22635         locking.
22637 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22639         * tst-strfmon1.c (tests): Update expected currency symbol.
22641 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22643         * sysdeps/nacl/gethostname.c: New file.
22645 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22647         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22648         and sinh.
22649         * math/auto-libm-test-out: Regenerated.
22650         * sysdeps/i386/fpu/libm-test-ulps: Update.
22651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22653 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22655         [BZ #18125]
22656         * stdlib/tst-setcontext3.c: New file.
22657         * stdlib/tst-setcontext3.sh: New file.
22658         * stdlib/Makefile (tests): Add tst-setcontext3.
22659         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22660         to verify test program created output file.
22661         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22662         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22663         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22664         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22666 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22668         [BZ #18383]
22669         * elf/tst-tlsalign.c: New file.
22670         * elf/tst-tlsalign-static.c: New file.
22671         * elf/tst-tlsalign-lib.c: New file.
22672         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22673         (tests-static): Add tst-tlsalign-static.
22674         (modules-names): Add tst-tlsalign-lib.
22675         (test-xfail-tst-tlsalign): New variable.
22676         (test-xfail-tst-tlsalign-static): New variable.
22678         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22679         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22681 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22683         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22684         csqrt, erfc, sin and sincos.
22685         * math/auto-libm-test-out: Regenerated.
22686         * sysdeps/i386/fpu/libm-test-ulps: Update.
22687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22689 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22691         * sysdeps/aarch64/libm-test-ulps: Update.
22693 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22695         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22696         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22697         * math/auto-libm-test-out: Regenerated.
22698         * sysdeps/i386/fpu/libm-test-ulps: Update.
22699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22701 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22703         [BZ #18265]
22704         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22705         (wcsncpy): Likewise.
22707 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22709         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22710         Assume __ASSUME_FALLOCATE is always true.
22711         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22712         (__posix_fallocate64_l64): Likweise.
22713         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22714         (posix_fallocate): Likewise.
22715         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22716         (__posix_fallocate64_l64): Likewise.
22717         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22718         [!__ASSUME_FALLOCATE]: Add comment.
22720 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22722         * sysdeps/unix/sysv/linux/i386/Makefile
22723         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22724         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22725         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22726         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22727         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22728         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22729         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22731 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22733         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22734         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22735         tgamma.
22736         * math/auto-libm-test-out: Regenerated.
22737         * sysdeps/i386/fpu/libm-test-ulps: Update.
22738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22740 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22742         * math/auto-libm-test-in: Add more tests of tgamma.
22743         * math/auto-libm-test-out: Regenerated.
22744         * sysdeps/i386/fpu/libm-test-ulps: Update.
22745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747         * math/auto-libm-test-in: Add more tests of tanh.
22748         * math/auto-libm-test-out: Regenerated.
22749         * sysdeps/i386/fpu/libm-test-ulps: Update.
22750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22752         * math/auto-libm-test-in: Add more tests of tan.
22753         * math/auto-libm-test-out: Regenerated.
22754         * sysdeps/i386/fpu/libm-test-ulps: Update.
22755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22757         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22758         * math/auto-libm-test-out: Regenerated.
22759         * sysdeps/i386/fpu/libm-test-ulps: Update.
22760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762         * math/auto-libm-test-in: Add another test of pow.
22763         * math/auto-libm-test-out: Regenerated.
22764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22766         * math/auto-libm-test-in: Add more tests of lgamma.
22767         * math/auto-libm-test-out: Regenerated.
22768         * sysdeps/i386/fpu/libm-test-ulps: Update.
22769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22771         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22772         log1p.
22773         * math/auto-libm-test-out: Regenerated.
22774         * sysdeps/i386/fpu/libm-test-ulps: Update.
22775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22777 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22779         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22780         Elf64_Chdr structs and ELFCOMPRESS constants.
22782 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22784         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22785         expm1.
22786         * math/auto-libm-test-out: Regenerated.
22787         * sysdeps/i386/fpu/libm-test-ulps: Update.
22788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22790         * math/auto-libm-test-in: Add more tests of erf and erfc.
22791         * math/auto-libm-test-out: Regenerated.
22792         * sysdeps/i386/fpu/libm-test-ulps: Update.
22793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22795 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22797         * config.h.in (HAVE_AARCH64_BE): Add.
22799 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22801         * math/auto-libm-test-in: Add more tests of csqrt.
22802         * math/auto-libm-test-out: Regenerated.
22803         * sysdeps/i386/fpu/libm-test-ulps: Update.
22804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22806         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22807         * math/auto-libm-test-out: Regenerated.
22808         * sysdeps/i386/fpu/libm-test-ulps: Update.
22809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22811         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22813 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22815         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22816         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22818         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22819         (euidaccess, eaccess): Define as weak aliases.
22821         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22822         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22823         but __suseconds_t is often 'long int' so some sources assume that
22824         type is being used (e.g. they use %ld to print tv_usec).
22826 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22828         [BZ #18007]
22829         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22830         (CVE-2014-8121)
22831         * nss/tst-nss-getpwent.c: New file.
22832         * nss/Makefile (tests): Add new test.
22834 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22836         [BZ #18346]
22837         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22838         exponents less than 48 as cases where high part of mantissa needs
22839         examining to determine whether argument is integral.
22840         * math/libm-test.inc (round_test_data): Add more tests.
22842 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22844         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22846 2015-04-27  David S. Miller  <davem@davemloft.net>
22848         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22849         __tls_get_addr.
22850         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22852 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22854         [BZ#18333]
22855         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22857 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22859         [BZ#18333]
22860         * time/tzset.c (parse_tzname): Return error on memory allocation
22861         failure.
22862         * test-skeleton.c (struct temp_name_list): Change type of name
22863         member to non-const.
22864         (add_temp_file): Create a copy of the file name.
22865         (delete_temp_files): Deallocate memory.
22866         (create_temp_file): Add comment.
22868 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22870         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22871         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22873 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22875         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22876         * sysdeps/arm/configure: Regenerated.
22878 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22880         [BZ #17715]
22881         * time/tzfile.c (__tzfile_read): Check for large values of
22882         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22883         * time/tzset.c (__tzstring_len): New function, based on the old
22884         __tzstring function.
22885         (__tzstring): Call __tzstring_len.
22886         (parse_tzname): New helper function extracted from
22887         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22888         the input string.
22889         (parse_offset): New helper function extracted from
22890         __tzset_parse_tz.  Replace switch with fallthrough with
22891         initialization before sscanf.
22892         (parse_rule): Likewise.
22893         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22894         new-style function definition.
22895         * timezone/Makefile (tests): Add tst-tzset.
22896         (tst-tzset.out): Dependencies on time zone files.
22897         (tst-tzset-ENV): Set TZDIR.
22898         (testdata/XT%): Copy crafted time zone files.
22899         * timezone/README: Mention crafted time zone files.
22900         * timezone/testdata/XT1, timezone/testdata/XT2,
22901         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22902         files.
22903         * timezone/tst-tzset.c: New test.
22905 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22907         * Makeconfig (+gccwarn): Remove -Winline.
22909 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22911         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22913 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22915         * NEWS: Mention sysconf() cache information support for s390.
22916         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22918 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22920         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22921         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22922         (__nearbyint): Likewise.
22923         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22924         (copysignl): Likewise.
22926 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22928         [BZ #18287]
22929         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22930         based on padding.  (CVE-2015-1781)
22932 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22934         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22935         libc-vdso.h.
22936         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22937         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22938         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22939         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22940         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22941         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22942         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22943         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22944         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22945         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22946         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22947         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22948         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22949         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22950         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22951         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22952         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22953         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22954         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22955         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22956         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22957         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22958         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22960 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22962         * stdlib/setenv.c (__add_to_environ):
22963         Dump core quickly if setenv (..., NULL, ...) is called.
22964         This time, do it the right way, and pacify GCC with a pragma.
22966 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22968         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22969         IMAP->l_prev cannot be null, and #if out the code for the contrary
22970         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22971         believe that NS (&_dl_ns[NSID]) could point outside the array.
22973         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22974         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22975         before using NSID as an index.
22977 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22979         [BZ #17825]
22980         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22981         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22982         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22984 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22986         Add preliminary port to Google Native Client on ARM.
22987         * abi-tags (.*-.*-nacl.*): New entry.
22988         * sysdeps/arm/nacl: New directory.
22989         * sysdeps/nacl: New directory.
22991 2015-04-16  David S. Miller  <davem@davemloft.net>
22993         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22994         lowlevellock-futex.h
22996 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22998         * sysdeps/tile/configure.ac: New file.
22999         * sysdeps/tile/configure: Regenerated.
23001 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23003         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23004         conditionals for weak_alias and libc_hidden_weak.
23005         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23006         libc_hidden_weak and weak_alias.
23007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23008         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23009         and weak_alias for static one.
23011 2015-04-15  David S. Miller  <davem@davemloft.net>
23013         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23015 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23017         [BZ #18206]
23018         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23019           Use signed comparision instead of substraction to avoid
23020           overflow bug.
23021         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23022           Take the sign of ret.
23023         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23024           Do not expect precise return values. Only the sign matters.
23025         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23026         * wcsmbs/test-wcsncmp.c: New File.
23027         * string/test-strncmp.c: Add wcsncmp support.
23029 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23031         [BZ #6792]
23032         * math/w_log1p.c: New file.
23033         * math/w_log1pf.c: Likewise.
23034         * math/w_log1pl.c: Likewise.
23035         * math/Makefile (libm-calls): Add w_log1p.
23036         * math/s_log1pl.c (log1pl): Remove weak_alias.
23037         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23038         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23039         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23040         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23041         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23042         [NO_LONG_DOUBLE] (log1pl): Likewise.
23043         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23044         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23045         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23046         (log1p): Remove long_double_symbol.
23047         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23048         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23049         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23050         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23051         remove weak_alias for corresponding log1p function.
23052         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23053         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23054         * sysdeps/ia64/fpu/w_log1p.c: New file.
23055         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23056         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23057         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23059 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23061         [BZ #18247]
23062         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23063         decimal exponent by 1.
23064         * stdlib/tst-strtod-round-data: Add more tests.
23065         * stdlib/tst-strtod-round.c (tests): Regenerated.
23067 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23069         * math/auto-libm-test-in: Add more tests of clog and clog10.
23070         * math/auto-libm-test-out: Regenerated.
23071         * sysdeps/i386/fpu/libm-test-ulps: Update.
23072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23074 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23076         * Makeconfig (module-cppflags): Exclude all .v.i files.
23077         (skip-module-cppflags): Variable removed.
23079         * configure.ac (libc_config_ok): Initialize before reading
23080         preconfigure scripts, not after.
23081         * configure: Regenerated.
23083         * test-skeleton.c (TIMEOUT): Move #define to top level.
23084         (main): Grok environment variable TEST_DIRECT.  If set, print
23085         test expectation details into that file and then behave as if
23086         given --direct.
23088 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23090         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23091         warning on 32-bit.
23093 2015-04-08  David S. Miller  <davem@davemloft.net>
23095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23097 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23099         * math/auto-libm-test-in: Add more tests of atanh.
23100         * math/auto-libm-test-out: Regenerated.
23101         * sysdeps/i386/fpu/libm-test-ulps: Update.
23102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23104         * math/auto-libm-test-in: Add more tests of atan.
23105         * math/auto-libm-test-out: Regenerated.
23106         * sysdeps/i386/fpu/libm-test-ulps: Update.
23107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23109 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23111         * elf/pldd.c (main): Rewrite to use struct
23112         scratch_buffer instead of extend_alloca.
23113         * elf/pldd-xx.c (find_maps): Likewise.
23114         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23115         <alloca.h>.
23116         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23117         scratch_buffer instead of extend_alloca.
23118         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23119         grp/compat-initgroups.c.
23120         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23121         Rewrite to use struct scratch_buffer instead of extend_alloca.
23122         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23123         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23125 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23127         * math/auto-libm-test-in: Add more tests of cbrt.
23128         * math/auto-libm-test-out: Regenerated.
23129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23131         * math/auto-libm-test-in: Add more tests of cabs.
23132         * math/auto-libm-test-out: Regenerated.
23133         * sysdeps/i386/fpu/libm-test-ulps: Update.
23134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23136         [BZ #18210]
23137         [BZ #18211]
23138         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23139         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23140         computations.
23141         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23142         clog10.
23143         * math/auto-libm-test-out: Regenerated.
23144         * sysdeps/i386/fpu/libm-test-ulps: Update.
23145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23147         [BZ #18197]
23148         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23149         (atan): Set FE_TONEAREST mode for internal computations.
23150         * math/auto-libm-test-in: Add more tests of atan.
23151         * math/auto-libm-test-out: Regenerated.
23153 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23155         [BZ #17930]
23156         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23158 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23160         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23162 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23164         * include/scratch_buffer.h: New file.
23165         * malloc/scratch_buffer_grow.c: Likewise.
23166         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23167         * malloc/scratch_buffer_set_array_size.c: Likewise.
23168         * malloc/tst-scratch_buffer.c: Likewise.
23169         * malloc/Makefile (routines): Add scratch_buffer_grow.
23170         (tests): Add test case.
23171         * malloc/Versions (GLIBC_PRIVATE): Export
23172         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23173         __libc_scratch_buffer_set_array_size.
23175 2015-04-06  Richard Henderson  <rth@redhat.com>
23177         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23178         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23180         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23181         unsigned int before printing.
23183 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23185         [BZ #17596]
23186         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23187         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23189 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23191         * include/libc-internal.h (libc_max_align_t): Define.
23193 2015-04-02  Andreas Schwab  <schwab@suse.de>
23195         [BZ #16850]
23196         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23198 2015-04-02  Mel Gorman  <mgorman@suse.de>
23200         [BZ #17195]
23201         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23202         as well as the main arena.
23204 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23206         [BZ #18185]
23207         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23208         sharing L2 cache to 2 for Silvermont/Knights Landing.
23210 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23212         [BZ #17711]
23213         * config.make.in (have-protected-data): New.
23214         * configure.ac: Check linker support for protected data symbol.
23215         * configure: Regenerated.
23216         * elf/Makefile (modules-names): Add tst-protected1moda and
23217         tst-protected1modb if $(have-protected-data) is yes.
23218         (tests): Add tst-protected1a and tst-protected1b if
23219         $(have-protected-data) is yes.
23220         ($(objpfx)tst-protected1a): New.
23221         ($(objpfx)tst-protected1b): Likewise.
23222         (tst-protected1modb.so-no-z-defs): Likewise.
23223         * elf/tst-protected1a.c: New file.
23224         * elf/tst-protected1b.c: Likewise.
23225         * elf/tst-protected1mod.h: Likewise.
23226         * elf/tst-protected1moda.c: Likewise.
23227         * elf/tst-protected1modb.c: Likewise.
23229 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23231         [BZ #17711]
23232         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23233         indicates it is called from do_lookup_x on relocation against
23234         protected data, skip the data definion in the executable from
23235         copy reloc.
23236         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23237         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23238         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23239         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23240         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23241         otherwise to 0.
23242         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23243         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23244         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23245         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23246         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23247         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23249 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23251         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23252         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23254 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23256         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23257         THREAD_SETMEM_NC.
23258         * sysdeps/x86_64/nptl/tls.h: Ditto.
23260 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23262         * dlfcn/tststatic.c (main): Converted to ...
23263         (do_test): ... this.
23264         (TEST_FUNCTION): New macro.
23265         Include test-skeleton.c.
23267 2015-03-26  Alan Modra  <amodra@gmail.com>
23269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23270         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23271         zero for undefined weak.
23272         (elf_machine_plt_conflict): Similarly.
23274 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23276         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23277         atanh.
23278         * math/auto-libm-test-out: Regenerated.
23279         * sysdeps/i386/fpu/libm-test-ulps: Update.
23280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23282         * math/auto-libm-test-in: Add another test of asin.
23283         * math/auto-libm-test-out: Regenerated.
23284         * sysdeps/i386/fpu/libm-test-ulps: Update.
23285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23288         Remove macro.
23289         (LLL_EBX_REG): Likewise.
23290         (LLL_ENTER_KERNEL): Likewise.
23292         * math/auto-libm-test-in: Add more tests of asin.
23293         * math/auto-libm-test-out: Regenerated.
23294         * sysdeps/i386/fpu/libm-test-ulps: Update.
23295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23297         [BZ #18138]
23298         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23299         libc_do_syscall_args): New structure.
23300         (INTERNAL_SYSCALL_MAIN_0): New macro.
23301         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23302         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23303         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23304         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23305         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23306         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23307         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23308         Replace conditional definitions by conditional definitions of ....
23309         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23310         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23311         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23312         (libpthread-sysdep_routines): Add libc-do-syscall.
23313         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23314         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23315         to __NR_futex not 240.
23317 2015-03-25  Alan Modra  <amodra@gmail.com>
23319         * NEWS: Advertise TLS optimization.
23320         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23321         (DT_PPC_NUM): Increment.
23322         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23323         (CHECK_STATIC_TLS): Use here.
23324         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23325         TLS descriptors.
23326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23327         * sysdeps/powerpc/dl-tls.c: New file.
23328         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23329         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23330         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23331         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23336 2015-03-25  Alan Modra  <amodra@gmail.com>
23338         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23339         for overlapping .opd entries" to "support...".
23340         * sysdeps/powerpc/powerpc64/configure: Regenerate
23342 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23344         * math/auto-libm-test-in: Add more tests of acos.
23345         * math/auto-libm-test-out: Regenerated.
23346         * sysdeps/i386/fpu/libm-test-ulps: Update.
23347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23349         * math/auto-libm-test-in: Add more tests of expm1.
23350         * math/auto-libm-test-out: Regenerated.
23351         * sysdeps/i386/fpu/libm-test-ulps: Update.
23352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23354 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23356         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23357         * math/auto-libm-test-out: Regenerated.
23358         * sysdeps/i386/fpu/libm-test-ulps: Update.
23359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23361         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23364         * math/auto-libm-test-in: Add more tests of log2.
23365         * math/auto-libm-test-out: Regenerated.
23366         * sysdeps/i386/fpu/libm-test-ulps: Update.
23367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23369 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23371         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23372         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23373         _IO_IS_APPENDING bit in READ_WRITE instead.
23375 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23377         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23378         (__determine_cpumask_size): Replace extend_alloca with a
23379         variable-length array.  Do not treat res == 0 as an error.
23381 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23383         [BZ #18100]
23384         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23385         and integer overflow.
23386         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23387         (main): Add integer overflow tests.
23388         * manual/pattern.texi (Calling Wordexp): Document additional use
23389         for WRDE_SYNTAX.
23391 2015-03-23  Alan Modra  <amodra@gmail.com>
23393         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23394         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23395         and false branch of conditional.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23397         Likewise.
23399 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23401         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23402         libc-modules.h
23403         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23404         unused declaration of _hurd_intr_rpc_msg_in_trap.
23405         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23406         defined instead of whether it is non-zero.
23407         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23408         input constraint instead of both input and output constraint.  Use ecx
23409         clobber instead of %ecx.
23410         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23411         mutex_unlock): Use a statement expression instead of an expression list.
23412         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23413         type to vm_size_t instead of vm_address_t.
23414         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23415         defined instead of whether it is non-zero.
23416         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23417         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23418         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23419         comparisons with mapaddr.
23420         * nscd/nscd-client.h: Include <time.h>.
23421         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23422         9th parameter to __vm_region instead of int.
23423         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23424         * scripts/check-local-headers.sh (exclude): Add device/,
23425         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23426         cthreads.h.
23428 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23430         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23431         to account for alignment padding.
23432         * sysdeps/arm/memmove.S: Likewise.
23434 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23436         * sysdeps/unix/sysv/linux/generic/README: New file.
23438 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23440         [BZ #18138]
23441         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23442         (futex_abstimed_wait)
23443         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23444         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23445         of lll_futex_timed_wait.
23447 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23449         [BZ #17542]
23450         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23452 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23454         [BZ #17090]
23455         [BZ #17620]
23456         [BZ #17621]
23457         [BZ #17628]
23458         * NEWS: Update.
23459         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23460         entries with Static TLS too.  Skip entries past the end of the
23461         allocated DTV, from Alan Modra.
23462         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23463         Static TLS DTV entry set up from...
23464         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23465         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23466         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23467         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23468         for Static TLS.
23469         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23470         that the slot we find is associated with the given map before
23471         using its generation count.
23472         * nptl_db/db_info.c: Include ldsodefs.h.
23473         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23474         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23475         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23476         (link_map::l_tls_offset): New struct field.
23477         (dtv_t::counter): Likewise.
23478         (rtld_global): New struct.
23479         (_rtld_global): New rtld variable.
23480         (dl_tls_dtv_slotinfo_list): New rtld global field.
23481         (dtv_slotinfo_list): New struct.
23482         (dtv_slotinfo): Likewise.
23483         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23484         (td_lookup): Rename to...
23485         (td_mod_lookup): ... this.  Use new mod parameter instead of
23486         LIBPTHREAD_SO.
23487         * nptl_db/td_thr_tlsbase.c: Include link.h.
23488         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23489         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23490         addresses even if the DTV is out of date or missing them.
23491         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23492         index zero-length arrays.
23493         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23494         (td_lookup): Make it a macro implemented in terms of...
23495         (td_mod_lookup): ... this declaration.
23496         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23497         (DB_MAIN_VARIABLE): Likewise.
23499 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23501         [BZ #18134]
23502         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23504 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23506         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23508 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23510         [BZ #18128]
23511         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23512         (atomic_add, atomic_increment_and_test)
23513         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23515 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23517         * stdlib/setenv.c (__add_to_environ):
23518         Dump core quickly if setenv (..., NULL, ...) is called.
23520 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23522         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23523         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23524         all the necessary asm magic in one place.
23525         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23526         using those.
23528 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23530         [BZ #14906]
23531         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23532         traced file mtime. Use consistent log message.
23533         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23534         (register_traced_file): Call install_watches. Always set mtime.
23535         (invalidate_cache): Iterate over all trace files. Call install_watches.
23536         (inotify_check_files): Don't inline. Handle watching parent
23537         directories and configuration file movement in and out.
23538         (handle_inotify_events): New function.
23539         (main_loop_poll): Call handle_inotify_events.
23540         (main_loop_epoll): Likewise.
23541         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23542         (struct traced_file): Use array of inotify fds. Add parent directory,
23543         and basename.
23544         (struct database_dyn): Remove unused file_mtime.
23545         (init_traced_file): New inline function.
23546         (define_traced_file): New macro.
23547         * nss/nss_db/db-init.c: Use define_traced_file.
23548         (_nss_db_init): Use init_traced_file.
23549         * nss/nss_files/files-init.c: Use define_traced_file.
23550         (_nss_files_init): Use init_traced_file.
23552 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23554         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23555         [_LIBC]: Do not include <stdlib.h>.
23556         [!_LIBC] (abort): Remove declaration.
23557         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23558         _FP_STATIC_ASSERT instead of conditionally calling abort.
23559         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23560         (_FP_EXTEND_CNAN): Likewise.
23561         (FP_TRUNC): Likewise.
23562         (__FP_CLZ): Likewise.
23563         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23565 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23567         * manual/string.texi (XPG basename): Fix prototype.
23569 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23571         [BZ #18080]
23572         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23573         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23574         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23575         (__setcontext): Likewise.
23576         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23577         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23578         Call rt_sigprocmask syscall one time to set new signal mask
23579         and retrieve the current signal mask instead of two calls.
23580         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23581         (__swapcontext): Likewise.
23582         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23583         * stdlib/tst-setcontext2.c: New file.
23585 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23587         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23589 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23591         [BZ #18093]
23592         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23593         the wrong size.
23595 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23597         [BZ #18043]
23598         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23600 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23602         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23603         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23604         Remove define.
23605         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23606         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23607         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23608         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23609         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23610         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23611         define.
23612         * nptl_db/td_symbol_list.c (td_lookup): Remove
23613         HAVE_ASM_GLOBAL_DOT_NAME code.
23614         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23615         HAVE_ASM_GLOBAL_DOT_NAME check.
23616         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23617         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23618         (DOT_LABEL): Remove define.
23619         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23620         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23621         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23622         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23623         (__TLS_GET_ADDR): Likewise.
23624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23625         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23627 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23629         [BZ #18111]
23630         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23631         (_FPU_SETCW): Initialize cw from fpsr before storing.
23632         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23633         (fesetexceptflag): Rewrite using fpu_control.h.
23634         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23636 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23638         [BZ #18110]
23639         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23640         asms.
23641         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23643 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23645         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23646         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23647         abort.
23648         (_FP_FMA): Likewise.
23649         (_FP_DIV): Likewise.
23651 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23653         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23654         with 0 in that case.
23655         * Makefile (summarize-tests): New canned sequence, factored out of
23656         commands for targets tests and xtests.  Display summary lines that
23657         don't start with PASS: or XFAIL: rather than ones that do start with
23658         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23659         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23660         do start with ERROR: or FAIL:.
23661         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23662         (except for [$(build-shared) = yes]).
23663         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23664         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23665         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23666         * nptl/Makefile: Revert 2015-03-04 changes.
23667         [$(CXX) empty] (tests-unsupported): New variable.
23668         * debug/Makefile: Likewise.
23670         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23671         gnulib file.  Replace __attribute with __attribute__ throughout.
23673 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23675         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23677 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23679         [BZ #18104]
23680         * math/auto-libm-test-in: Add another test of pow.
23681         * math/auto-libm-test-out: Regenerated.
23683 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23685         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23686         $(config-cflags-nofma).
23688 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23690         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23691         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23692         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23693         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23694         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23695         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23696         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23697         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23698         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23699         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23700         Add comment on closing #endif.
23702 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23704         * posix/wordexp.c (CHAR_IN_SET): New macro.
23705         (parse_param): Use it.
23707 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23709         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23711 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23713         [BZ #18043]
23714         * posix/wordexp.c (parse_param): Fix buffer overflow.
23715         * posix/wordexp-test.c (test_case): Add test case.
23717 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23719         [BZ #18042]
23720         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23721         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23723 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23725         [BZ #18043]
23726         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23727         (do_bz18043): Delete.
23728         (at_page_end): New.
23729         (testit): Refactor to have words at the edge of unreadable page.
23731 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23733         [BZ #16734]
23734         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23735         Cleanup read-only streams as well.
23736         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23738 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23740         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23741         <bits/libc-lockP.h>
23743 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23745         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23746         on [__KERNEL__].
23747         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23748         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23749         * soft-fp/op-common.h (_FP_DECL): Likewise.
23751 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23753         * elf/ifuncdep2.c (global): Replace
23754         __attribute__((visibility("protected"))) with
23755         asm (".protected global").
23756         * elf/ifuncmod1.c (global): Likewise.
23757         * elf/ifuncmod5.c (global): Likewise.
23759 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23761         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23762         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23764 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23766         * manual/install.texi (Configuring and compiling):
23767         Document test-wrapper-env-only.
23768         * INSTALL: Regenerated.
23770 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23772         [BZ #18043]
23773         * posix/wordexp.c (parse_param): Fix buffer overflow.
23774         * posix/wordexp-test.c (do_bz18043): Add test case.
23776 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23778         * time/tst-strptime2.c (do_test): Ensure failing tests are
23779         reported correctly.
23780         * time/tst-strptime3.c (do_test): Likewise.
23782 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23784         Fix aio_error thread-safety.
23785         * sysdeps/pthread/aio_error.c: New file
23786         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23787         synchronization.
23789 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23791         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23792         (group_number, vfprintf): Use it.
23793         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23794         (JUMP, REF): Use it.
23795         (WORK_BUFFER_SIZE): New enum constant.
23796         (process_arg, vfprintf): Use it.
23798 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23800         * manual/errno.texi (Error Messages): Complete example function
23801         by adding missing #define.
23802         (program_invocation_name): Add statement indicating GNU
23803         extension and reference which header file declares the variable.
23804         (program_invocation_short_name): Likewise.
23806 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23808         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23809         compatibility note.
23811 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23813         * Makeconfig (test-wrapper-env-only): New variable.
23814         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23815         then use that with $(test-wrapper-env-only) rather than using
23816         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23818 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23820         [BZ #18082]
23821         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23822         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23823         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23824         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23825         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23826         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23827         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23828         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23829         Likewise.
23830         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23831         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23832         Likewise.
23833         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23834         Likewise.
23835         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23836         Likewise.
23837         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23838         Likewise.
23839         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23840         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23841         Likewise.
23842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23843         Likewise.
23844         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23845         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23847 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23849         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23850         (ETH_ALEN): New macro.
23851         (struct ether_addr): Use it for length of ether_addr_octet.
23853         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23854         (setdb): Don't call __nss_configure_lookup for "rpc".
23855         (do_test): Don't call test_rpc.
23856         (output_rpcent, test_rpc): Functions moved ...
23857         * sunrpc/test-rpcent.c: ... to this new file.
23858         * sunrpc/Makefile (tests): Add it.
23860         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23861         __xpg_sigpause.
23862         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23863         * nptl/tst-signal6.c: Likewise.
23864         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23865         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23867         * configure.ac (libc_cv_cxx_link_ok): New check.
23868         Reset CXX to empty if it fails to link.
23869         * configure: Regenerated.
23870         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23871         bug-atexit3-lib only if $(CXX) is nonempty.
23872         * nptl/Makefile (tests): Likewise for tst-cancel24.
23873         (tests, tests-static): Likewise for tst-cancel24-static.
23874         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23875         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23876         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23877         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23879 2015-03-04  Andreas Schwab  <schwab@suse.de>
23881         [BZ #17631]
23882         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23883         for non-GCC compilers.
23884         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23885         Likewise.
23887 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23889         [BZ #17776]
23890         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23891         integer before bitwise and assembly operations.
23892         (feclearexcept): Likewise.
23893         * math/test-fenvinline.c: New file.
23894         * math/Makefile: Add test-fenvinline test.
23896 2015-03-03  Alan Modra  <amodra@gmail.com>
23898         [BZ #16512]
23899         * scripts/localplt.awk: Strip off symbol version.
23900         * NEWS: Mention bug fix.
23902 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23904         * sysdeps/pthread/timer_routines.c
23905         (timer_free_list, thread_free_list, thread_active_list): Make static.
23907 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23909         [BZ #17779]
23910         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23911         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23912         Undefine.
23913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23914         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23915         Likewise.
23916         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23917         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23918         Likewise.
23920 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23922         [BZ #18036]
23923         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23924         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23926 2015-03-02  Andreas Schwab  <schwab@suse.de>
23928         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23929         variable name.
23931 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23933         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23934         Return error status.
23936 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23938         [BZ #15969]
23939         * locale/findlocale.c (_nl_find_locale): Introduce const
23940         version of loc_name and drop unsafe type casts.
23942 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23944         * dlfcn/tststatic2.c (main): Converted to ...
23945         (do_test): ... this.
23946         (TEST_FUNCTION): New macro.
23947         Include test-skeleton.c.
23949 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23951         [BZ #17711]
23952         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23953         (tests-pie): Add vismain.
23954         (CFLAGS-vismain.c): New.
23955         * elf/vismain.c: Add comments for PIE requirement.
23957 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23959         [BZ #18046]
23960         [BZ #18047]
23961         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23962         0x1p-56L as threshold for just returning the argument.
23963         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23964         0x1p-32L as threshold for just returning the argument.
23965         * math/auto-libm-test-in: Add more tests of atanh.
23966         * math/auto-libm-test-out: Regenerated.
23967         * sysdeps/i386/fpu/libm-test-ulps: Update.
23968         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23970 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23972         * string/bcopy.c (bcopy): Call memmove for performance.
23974 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23976         * string/bzero.c (__bzero): Call memset for performance.
23978 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23980         [BZ #18068]
23981         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23982         to 00100000.
23984 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23986         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23988 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23990         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23991         (__kernel_standard): Use CSTR macro when setting exc.name.
23992         * sysdeps/ieee754/Makefile [$(subdir) = math]
23993         (CFLAGS-k_standard.c): Remove variable.
23995         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23996         setting p and q from "else if" to "else".
23997         (qzero): Likewise.
23998         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23999         (qone): Likewise.
24000         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24001         (qzerof): Likewise.
24002         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24003         (qonef): Likewise.
24004         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24005         (qzero): Likewise.
24006         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24007         (qone): Likewise.
24009         [BZ #18038]
24010         [BZ #18039]
24011         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24012         return pi/2 for arguments below 0x1p-113L.
24013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24014         return pi/2 for arguments below 0x1p-106L.
24015         * math/auto-libm-test-in: Add more tests of acos.
24016         * math/auto-libm-test-out: Regenerated.
24018         [BZ #16351]
24019         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24020         (MO): New macro.
24021         (__ieee754_asin): Force underflow exception for results with small
24022         absolute value.
24023         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24024         (MO): New macro.
24025         (__ieee754_asinf): Force underflow exception for results with
24026         small absolute value.
24027         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24028         (__ieee754_asin): Force underflow exception for results with small
24029         absolute value.
24030         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24031         (__ieee754_asinf): Force underflow exception for results with
24032         small absolute value.
24033         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24034         (__ieee754_asinl): Force underflow exception for results with
24035         small absolute value.
24036         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24037         (__ieee754_asinl): Force underflow exception for results with
24038         small absolute value.
24039         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24040         (__ieee754_asinl): Force underflow exception for results with
24041         small absolute value.
24042         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24043         Include <math.h>.
24044         * math/auto-libm-test-in: Do not mark underflow exceptions as
24045         possibly missing for bug 16351.
24046         * math/auto-libm-test-out: Regenerated.
24048         [BZ #18030]
24049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24050         of power of 2 down when low part has opposite sign.
24051         * math/libm-test.inc (logb_test_data): Add more tests.
24053 2015-02-26  Andreas Schwab  <schwab@suse.de>
24055         [BZ #18032]
24056         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24057         over collating symbol inside a bracket expression.  Minor cleanup.
24058         * posix/tst-fnmatch3.c (do_test): Add test case.
24060 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24062         [BZ #18029]
24063         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24064         Adjust exponent of power of 2 down when low part has opposite
24065         sign.
24066         * math/libm-test.inc (ilogb_test_data): Add more tests.
24068 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24070         [BZ #15969]
24071         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24072         the previous change.
24074         [BZ #15969]
24075         * locale/findlocale.c (_nl_find_locale): Retry archive search
24076         after alias expansion.
24078 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24080         * iconv/tst-iconv3.c (main): Converted to ...
24081         (do_test): ... this.
24082         (TEST_FUNCTION): New macro.
24083         Include test-skeleton.c.
24085         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24086         (convert): Make function static.
24087         (test_unalign): Likewise.  Add const to argument pointee types.
24088         (main): Replace with static function do_test.
24089         Print "Succeeded." only if RET is zero.
24090         (TEST_FUNCTION): New macro.
24091         Include test-skeleton.c.
24093         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24094         returns a null pointer.
24096 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24098         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24099         to __memcpy_ppc only for static builds.
24101 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24103         [BZ #18020]
24104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24105         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24106         * math/auto-libm-test-in: Add more tests of asinh.
24107         * math/auto-libm-test-out: Regenerated.
24108         * sysdeps/i386/fpu/libm-test-ulps: Update.
24109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24111 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24113         [BZ #15850]
24114         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24115         and ip6_mtuinfo definitions here.
24116         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24117         in this define too.  Update comment.
24119 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24121         * elf/sprof.c (load_shobj): Tweak error message to match others.
24123 2015-02-24  Kevin Easton  <kevin@guarana.org>
24125         [BZ #16145] (partial fix)
24126         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24127         to reduce lock contention.
24129 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24131         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24132         (struct timex): Update time comment.
24133         (ADJ_SETOFFSET): Define.
24135 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24137         [BZ #18019]
24138         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24139         2**56 not 2**28 as threshold for log (2x) formula.
24140         * math/auto-libm-test-in: Add more tests of acosh.
24141         * math/auto-libm-test-out: Regenerated.
24142         * sysdeps/i386/fpu/libm-test-ulps: Update.
24143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24145 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24147         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24148         parenthesis around the buf assignment.
24149         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24151 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #16783]
24154         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24155         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24156         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24157         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24158         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24159         * math/libm-test.inc (scalb_test_data): Add more tests.
24161 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24163         [BZ #17916]
24164         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24165         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24167 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24169         [BZ #17523]
24170         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24171         * io/bits/fcntl2.h (open): Use it.
24172         (openat): Likewise.
24173         * io/open.c (__libc_open): Likewise.
24174         * io/open64.c (__libc_open64): Likewise.
24175         * io/open64_2.c (__open64_2): Likewise.
24176         * io/open_2.c (__open_2): Likewise.
24177         * io/openat.c (__openat): Likewise.
24178         * io/openat64.c (__openat64): Likewise.
24179         * io/openat64_2.c (__openat64_2): Likewise.
24180         * io/openat_2.c (__openat_2): Likewise.
24181         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24182         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24183         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24184         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24185         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24186         (__open_nocancel): Likewise.
24187         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24188         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24189         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24191 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24193         [BZ #14841]
24194         * resolv/gethnamaddr.c (getanswer): Skip logging if
24195         RES_USE_DNSSEC is set.
24196         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24198 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24200         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24202 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24204         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24205         201304L, for Unicode 7.
24207 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24209         [BZ #17836]
24210         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24211         shared library.  Add gmon-start.os otherwise.
24212         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24213         $(objpfx)gmon-start.os if builing shared library.
24214         ($(objpfx)g$(static-start-installed-name)): Likewise.
24216 2015-02-23  Andreas Schwab  <schwab@suse.de>
24218         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24220 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24222         [BZ #17269]
24223         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24224         (enlarge_userbuf): Likewise.
24226 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24228         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24229         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24230         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24231         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24233 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24235         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24236         expression inside statement expression.
24238 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24240         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24241         <sysdeps/nptl/lowlevellock.h> and remove macros and
24242         functions that are now defined there.
24243         (SYS_futex): Remove.
24244         (lll_compare_and_swap): Remove.
24245         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24247 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24249         [BZ #17999]
24250         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24251         instead of scandirat.
24252         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24253         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24254         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24255         __scandirat.
24256         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24257         (__scandirat): Declare.  Use libc_hidden_proto.
24258         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24259         Remove variable.
24260         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24262 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24264         [BZ #15319]
24265         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24266         (MO): New macro.
24267         (__ieee754_atan2): For results with small absolute value, force
24268         underflow exception and remove excess range and precision from
24269         return value.
24270         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24271         (MO): New macro.
24272         (__ieee754_atan2f): For results with small absolute value, force
24273         underflow exception and remove excess range and precision from
24274         return value.
24275         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24276         (MO): New macro.
24277         (__atan): For results with small absolute value, force underflow
24278         exception and remove excess range and precision from return value.
24279         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24280         (MO): New macro.
24281         (__atanf): For results with small absolute value, force underflow
24282         exception and remove excess range and precision from return value.
24283         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24284         <math.h>.
24285         (__ieee754_atan2): Force underflow exception for results with
24286         small absolute value.
24287         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24288         <math_private.h>.
24289         (atan): Force underflow exception for results with small absolute
24290         value.
24291         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24292         (__atanf): Force underflow exception for results with small
24293         absolute value.
24294         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24295         <math.h>.
24296         (__atanl): Force underflow exception for results with small
24297         absolute value.
24298         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24299         (__atanl): Force underflow exception for results with small
24300         absolute value.
24301         * sysdeps/x86/fpu/bits/mathinline.h
24302         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24303         (__ieee754_atan2): Only define inline for long double.
24304         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24305         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24306         * math/auto-libm-test-in: Do not mark underflow exceptions as
24307         possibly missing for bug 15319.  Add more tests of atan2.
24308         * math/auto-libm-test-out: Regenerated.
24309         * math/libm-test.inc (casin_test_data): Do not mark underflow
24310         exceptions as possibly missing for bug 15319.
24311         (casinh_test_data): Likewise.
24312         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24316         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24317         * sysdeps/mips/bits/endian.h: Fix comments.
24319 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24321         [BZ #17996]
24322         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24323         (hdestroy_r): Likewise.
24324         (hsearch_r): Likewise.
24325         (__hcreate_r): Declare and use libc_hidden_proto.
24326         (__hdestroy_r): Likewise.
24327         (__hsearch_r): Likewise.
24328         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24329         (hcreate): Call __hcreate_r instead of hcreate_r.
24330         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24331         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24332         as weak alias of __hcreate_r.
24333         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24334         __hdestroy_r.
24335         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24336         __hsearch_r.
24337         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24338         Remove variable.
24339         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24340         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24341         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24342         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24344 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24346         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24347         arena_lock into a single arena_get.
24349 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24351         * dl-reloc.c: Inlucde libc-internal.h.
24352         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24353         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24354         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24355         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24356         (grow_heap): Likewise.
24357         * malloc/malloc.c: Include libc-internal.h.
24358         (do_check_malloc): Call powerof2.
24359         (sysmalloc): Use pagesize. Call ALIGN_UP.
24360         (systrim): Use pagesize.
24361         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24362         (__libc_valloc): Use pagesize.
24363         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24365 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24367         [BZ #17991]
24368         * include/sys/resource.h (__getrlimit64): Declare.  Use
24369         libc_hidden_proto.
24370         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24371         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24372         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24373         getrlimit64.
24374         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24375         __getrlimit64.
24376         [!getrlimit64] (getrlimit64): Define as weak alias of
24377         __getrlimit64.  Use libc_hidden_weak.
24378         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24379         using __getrlimit64 not __new_getrlimit64.
24380         (__GI_getrlimit64): Likewise.
24381         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24382         Likewise.
24383         (__GI_getrlimit64): Likewise.
24384         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24386         (getrlimit): Add __getrlimit64 alias.
24387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24388         Likewise.
24389         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24390         Remove variable.
24391         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24392         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24394 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24396         * libio/fileops.c: Add missing sys/mman.h
24397         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24399 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24401         * manual/math.texi (Errors in Math Functions): Clarify goals
24402         regarding inexact and underflow exceptions.
24404 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24406         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24407         * sysdeps/mips/memset.S: Ditto.
24409 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24411         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24413 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24415         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24416         (__v1longjmp): Remove versioned symbol.
24417         (__v1siglongjmp): Remove alias and versioned symbol.
24418         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24419         (__v2siglongjmp): Likewise.
24421 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24423         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24425 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24427         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24429 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24431         [BZ #17987]
24432         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24433         zero result does not depend on the sign resulting from
24434         subtraction.
24435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24436         Likewise.
24437         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24438         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24439         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24440         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24441         * math/libm-test.inc (remquo_test_data): Add more tests.
24443 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24445         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24446         Problem reported by J William Piggott.
24448 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24450         [BZ #17978]
24451         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24452         products 4 * y and 2 * y where those would overflow.
24453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24454         Likewise.
24455         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24456         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24457         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24458         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24459         * math/libm-test.inc (remquo_test_data): Add more tests.
24461         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24463         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24464         [defined _COMPILING_NEWLIB].
24465         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24466         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24468         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24469         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24471 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24473         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24474         acquired.
24476 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24478         [BZ #17792]
24479         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24480         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24481         HOST_STACK_END_ADDR): Likewise.
24483 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24485         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24486         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24487         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24489 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24491         * sysdeps/generic/c++-types.data: New file.
24492         * sysdeps/generic/ld.abilist: New file.
24493         * sysdeps/generic/libBrokenLocale.abilist: New file.
24494         * sysdeps/generic/libanl.abilist: New file.
24495         * sysdeps/generic/libc.abilist: New file.
24496         * sysdeps/generic/libcrypt.abilist: New file.
24497         * sysdeps/generic/libdl.abilist: New file.
24498         * sysdeps/generic/libm.abilist: New file.
24499         * sysdeps/generic/libpthread.abilist: New file.
24500         * sysdeps/generic/libresolv.abilist: New file.
24501         * sysdeps/generic/librt.abilist: New file.
24503 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24505         [BZ #17569]
24506         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24507         Compute absolute value of x as modified by fmod, not original
24508         value of x.
24509         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24510         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24511         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24512         RUN_TEST_ffI_f1_mod8.
24513         (remquo_test_data): Add more tests.
24515 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24517         * sysdeps/init_array/pt-crti.S: New file.
24519 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24521         [BZ #17967]
24522         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24523         __builtin_fmaf instead of relying on contraction of a * b + c.
24525 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24527         [BZ #17969]
24528         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24529         node.
24531 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24533         [BZ #17964]
24534         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24535         __builtin_fma instead of relying on contraction of a * b + c.
24537 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24539         * Makeconfig (ASFLAGS): Add -Werror=undef.
24540         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24541         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24542         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24544         * Makeconfig (after-link): New variable.
24545         (+link-pie, +link-pie-tests): Use it.
24546         (+link-static, +link-static-tests): Likewise.
24547         (+link, +link-tests): Likewise.
24548         * Makerules (build-module, build-module-asneeded): Likewise.
24549         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24550         Likewise.
24551         * elf/Makefile ($(objpfx)ld.so): Likewise.
24553 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24555         [BZ #17965]
24556         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24557         both struct timeval and struct timespec.
24559 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24561         [BZ #16560]
24562         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24563         and redefine.
24564         (__ieee754_exp2l): Do not multiply small fractional parts by
24565         M_LN2l.
24566         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24567         small argument.
24568         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24569         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24570         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24571         * math/auto-libm-test-in: Add more tests of exp2.
24572         * math/auto-libm-test-out: Regenerated.
24574 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24576         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24577         unaligned path.
24579 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24581         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24582         little endian.
24584 2015-02-12  Andreas Schwab  <schwab@suse.de>
24586         [BZ #15790]
24587         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24588         Filter out elision flags from value returned in kind.
24589         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24590         * nptl/tst-pthread-mutexattr.c: New file.
24592 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24594         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24595         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24596         into gnu-gnu, and update comment to refer to abi-tags.
24598 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24600         [BZ #15467]
24601         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24602         (__sincos): Set errno to EDOM for infinite argument.
24603         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24604         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24605         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24606         (__sincosl): Set errno to EDOM for infinite argument.
24607         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24608         (__sincosl): Set errno to EDOM for infinite argument.
24609         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24610         (__sincosl): Set errno to EDOM for infinite argument.
24611         * math/libm-test.inc (sincos_test_data): Test errno setting.
24613 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24615         * string/strxfrm_l.c: Remove #define STRCMP.
24616         * string/strcoll_l.c: Remove #define STRLEN.
24617         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24618         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24620 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24622         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24623         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24624         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24625         * sysdeps/mips/mips64/Makefile: ... here.
24626         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24627         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24628         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24629         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24630         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24631         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24632         * sysdeps/mips/mips64/n64/Implies: Likewise.
24634 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24636         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24637         <sys/time.h>, <string.h>, and <errno.h>.
24638         (dest_offset, dest_address, value, zero): Remove unused variables.
24639         (ldouble): Remove typedef.
24640         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24641         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24642         1).  Fix code style.
24643         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24644         (check): Function removed.
24645         (CHECK): New macro.
24646         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24647         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24648         Don't call set_sigaction_FP and remove_sigaction_FP here.
24649         (ldouble_test): Just use 'long double' as macro argument, no need for
24650         the 'ldouble' typedef.
24651         (do_test): Set up SIGFPE handler at start, using plain signal rather
24652         than sigaction.  Fix code style.
24654 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24656         [BZ #17949]
24657         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24658         jump label.
24660 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24662         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24663         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24665         * sysdeps/powerpc/configure.ac: Remove file.
24666         * sysdeps/powerpc/configure: Likewise.
24668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24669         [sysdep_routines]: Remove wordcopy-power6 object.
24670         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24671         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24672         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24673         (__memmove_ppc32): Likewise.
24674         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24675         file.
24676         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24677         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24678         Remove preprocessor.
24680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24681         [sysdep_routines]: Remove wide chars objects.
24682         [wcsmbs]: New rule for wide char objects.
24684         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24685         Remove wordcopy-power6 obejct.
24686         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24687         Use local call for wordcopy and memcpy symbols.
24688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24689         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24690         implementation for loader.
24691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24694         Remove wordcopy-power7 object.
24695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24697         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24698         (_wordcopy_fwd_dest_aligned): Likewise.
24699         (_wordcopy_bwd_aligned): Likewise.
24700         (_wordcopy_bwd_dest_aligned): Likewise.
24702         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24703         Rewrite to call __memmove_ppc instead of include default
24704         implementation.
24706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24707         Remove wide chars objects.
24708         [wcsmbs]: New rule for wide char objects.
24710 2015-02-09  Andreas Schwab  <schwab@suse.de>
24712         [BZ #17912]
24713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24714         in terms of __O_DIRECTORY.
24716 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24718         * time/getdate.c: Include <stdbool.h>.
24719         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24720         call PTR_MANGLE.
24721         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24722         PTR_DEMANGLE.
24724 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24726         Add ersatz _Static_assert on older C hosts
24727         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24728         pre-C11 C platform that is not known to support _Static_assert.
24730 2015-02-07  Richard Braun  <rbraun@sceen.net>
24732         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24733         sigstate.
24734         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24736 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24738         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24739         priority against unexistent AIO_PRIO_DELTA_MAX.
24740         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24741         instead of int.
24742         * misc/fchflags.c (fchflags): Likewise.
24743         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24744         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24745         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24746         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24747         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24748         Declare macros.
24749         [__USE_MISC] (chflags, fchflags): Declare functions.
24750         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24751         EINVAL when nfds is greater than FD_SETSIZE.
24752         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24753         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24754         45.
24755         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24756         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24757         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24758         MACH_RCV_TIMED_OUT.
24759         * hurd/hurd/signal.h (_hurd_self_sigstate,
24760         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24761         Explicit casts from void *.
24762         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24763         * abi-tags: Rename gnu-gnu os into gnu.
24765         [BZ #4719]
24766         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24767         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24768         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24769         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24770         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24771         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24773         [BZ #17944]
24774         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24775         duplicates ADDR->sun_path with sockaddr LEN limitation.
24776         * sysdeps/mach/hurd/connect.c: Include <string.h>
24777         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24778         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24779         * sysdeps/mach/hurd/sendto.c: Likewise.
24780         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24781         implementing it by hand.
24783 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24785         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24786         Use sfi_breg on ldr.
24787         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24788         Likewise.
24790         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24791         it's defined.
24792         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24793         Test SIGSETXID only if it's defined.
24795         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24797         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24798         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24800         * nptl/tst-align2.c: Moved ...
24801         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24802         * nptl/Makefile (tests): Remove tst-align2.
24803         * sysdeps/unix/sysv/linux/Makefile
24804         [$(subdir) = nptl] (tests): Add tst-align-clone.
24805         * nptl/tst-getpid1.c: Moved ...
24806         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24807         * nptl/tst-getpid2.c: Moved ...
24808         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24809         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24810         * sysdeps/unix/sysv/linux/Makefile
24811         [$(subdir) = nptl] (tests): ... here.
24812         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24813         * sysdeps/unix/sysv/linux/Makefile
24814         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24816         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24817         Drop trailing \n from perror argument.  Use return rather than exit.
24819         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24820         on [SA_SIGINFO].
24821         * nptl/tst-cancel21.c (do_test): Likewise.
24822         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24823         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24824         [!SA_SIGINFO]: Make it a stub test.
24826         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24827         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24829         * posix/tst-getlogin.c: Move to ...
24830         * login/tst-getlogin.c: ... here.
24831         * posix/Makefile (tests): Move tst-getlogin to ...
24832         * login/Makefile (tests): ... here.
24834         * libio/tst-atime.c (do_test): Move local variables SV and E
24835         inside [ST_NOATIME] conditional.
24837         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24839         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24841         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24842         (wait_code): New function replaces macro.
24843         Call nanosleep rather than syscall.
24845         * nptl/pt-system.c: Rewritten.  Put everything under
24846         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24847         Use IFUNC to redirect when possible.
24849         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24850         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24851         Use IFUNC to redirect when possible.
24853         * nptl/pt-fork.c: Rewritten.  Put everything under
24854         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24855         Use IFUNC to redirect when possible.
24856         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24858         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24859         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24860         unconditionally nowadays.  This included the only reference to
24861         __vdso_clock_gettime that appears outside libc proper.
24862         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24863         Remove version set (containing only __vdso_clock_gettime).
24864         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24865         Add attribute_hidden.
24866         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24867         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24868         libc_hidden_data_def.
24869         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24870         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24872         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24873         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24874         setrpcent, and getrpcport to ...
24875         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24876         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24877         getrpcbynumber_r, and getrpcent_r to ...
24878         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24879         * inet/getrpcbyname.c: Moved ...
24880         * sunrpc/getrpcbyname.c: ... here.
24881         * inet/getrpcbyname_r.c: Moved ...
24882         * sunrpc/getrpcbyname_r.c: ... here.
24883         * inet/getrpcbynumber.c: Moved ...
24884         * sunrpc/getrpcbynumber.c: ... here.
24885         * inet/getrpcbynumber_r.c: Moved ...
24886         * sunrpc/getrpcbynumber_r.c: ... here.
24887         * inet/getrpcent.c: Moved ...
24888         * sunrpc/getrpcent.c: ... here.
24889         * inet/getrpcent_r.c: Moved ...
24890         * sunrpc/getrpcent_r.c: ... here.
24891         * inet/Makefile (routines): Move those to ...
24892         * sunrpc/Makefile (routines): ... here.
24893         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24894         the $(subdirs) list.
24895         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24896         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24897         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24898         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24900         * elf/Makefile (routines): Include $(all-dl-routines), not just
24901         $(dl-routines).
24902         (rtld-routines): Likewise.  Use = rather than :=.
24903         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24904         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24905         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24906         * sysdeps/arm/Makefile: Likewise.
24907         * sysdeps/i386/Makefile: Likewise.
24908         * sysdeps/x86_64/Makefile: Likewise.
24909         * sysdeps/hppa/Makefile [$(subdir) = elf]
24910         (sysdep_routines, sysdep-rtld-routines): Don't add
24911         $(sysdep-dl-routines) to these.
24912         * sysdeps/ia64/Makefile: Likewise.
24913         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24914         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24915         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24916         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24917         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24918         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24919         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24920         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24921         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24922         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24923         these; sysdep-dl-routines alone is enough.
24925 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24927         [BZ #17932]
24928         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24929         where multiplication results in zero and third argument is finite
24930         and nonzero.
24931         * math/auto-libm-test-in: Add more tests of fma.
24932         * math/auto-libm-test-out: Regenerated.
24934         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24935         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24936         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24937         (_FP_CMP_EQ): Likewise.
24938         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24940         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24941         extra argument CHECK_NAN.  Redefine as wrapper around
24942         _FP_EXTEND_CNAN.
24944 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24946         * version.h (RELEASE): Set to "stable".
24947         (VERSION): Set to "2.21"
24948         * include/features.h (__GLIBC_MINOR__): Set to 21.
24950         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24952 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24953             Paul Eggert  <eggert@cs.ucla.edu>
24955         [BZ #16618]
24956         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24957         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24958         size in bytes. Store needed elements in wpmax. Use needed size
24959         in bytes for extend_alloca.
24961 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24963         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24964         binutls 2.25, and texinfo 5.2.
24965         * INSTALL: Regenerate.
24966         * sysdeps/nios2/configure: Regenerate.
24967         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24968         * manual/contrib.texi: Update.
24969         * po/be.po: Update.
24970         * po/bg.po: Update.
24971         * po/ca.po: Update.
24972         * po/cs.po: Update.
24973         * po/da.po: Update.
24974         * po/de.po: Update.
24975         * po/el.po: Update.
24976         * po/eo.po: Update.
24977         * po/es.po: Update.
24978         * po/fi.po: Update.
24979         * po/fr.po: Update.
24980         * po/gl.po: Update.
24981         * po/hr.po: Update.
24982         * po/hu.po: Update.
24983         * po/ia.po: Update.
24984         * po/id.po: Update.
24985         * po/it.po: Update.
24986         * po/ja.po: Update.
24987         * po/ko.po: Update.
24988         * po/lt.po: Update.
24989         * po/nb.po: Update.
24990         * po/nl.po: Update.
24991         * po/pl.po: Update.
24992         * po/pt_BR.po: Update.
24993         * po/ru.po: Update.
24994         * po/rw.po: Update.
24995         * po/sk.po: Update.
24996         * po/sl.po: Update.
24997         * po/sv.po: Update.
24998         * po/tr.po: Update.
24999         * po/uk.po: Update.
25000         * po/vi.po: Update.
25001         * po/zh_CN.po: Update.
25002         * po/zh_TW.po: Update.
25004         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25005         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25006         * sysdeps/hppa/dl-irel.h: Remove #warning.
25007         * sysdeps/hppa/entry.h: Provide prototype for
25008         __canonicalize_funcptr_for_compare and cast argument.
25009         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25010         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25011         * sysdeps/hppa/sotruss-lib.c: New file.
25012         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25013         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25014         (atomic_compare_and_exchange_bool_acq): Likewise.
25015         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25016         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25018         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25019         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25020         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25022 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25024         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25025         called function in non-PIC case.
25027 2015-01-31  David S. Miller  <davem@davemloft.net>
25029         * sysdeps/sparc/sparc32/bits/atomic.h
25030         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25031         unlock not after it.
25032         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25033         volatile register usage warnings from the compiler.
25035         * sysdeps/sparc/nptl/sem_init.c: Delete.
25036         * sysdeps/sparc/nptl/sem_post.c: Delete.
25037         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25038         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25039         * sysdeps/sparc/sparc32/sem_init.c: New file.
25040         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25041         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25042         padding explicitly initialized.
25043         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25044         padding for in-semaphore spinlock.
25045         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25046         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25047         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25048         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25049         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25050         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25051         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25052         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25053         version.
25054         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25055         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25057 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25059         [BZ #17801]
25060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25061         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25062         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25063         New.
25064         (index_AVX_Fast_Unaligned_Load): Likewise.
25065         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25066         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25067         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25068         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25069         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25070         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25071         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25072         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25073         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25075 2015-01-29  Andreas Schwab  <schwab@suse.de>
25077         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25079 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25081         [BZ #17892]
25082         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25084 2015-01-28  Martin Sebor  <msebor@redhat.com>
25086         * math/README.libm-test: Clarify. Add "How to read the test output."
25088 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25090         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25091         Define to 0.
25093 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25095         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25096         (__HAVE_64B_ATOMICS): Define to 0.
25098 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25100         [BZ #17885]
25101         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25102         value to set as new flag.
25104         [BZ #16576]
25105         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25106         and use _ARCH_PPCSQ instead.
25107         (__ieee754_sqrt): Likewise.
25108         (__ieee754_sqrtf): Likewise.
25109         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25110         _ARCH_PPCSQ is defined.
25111         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25112         fsqrt instruction.
25113         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25114         _ARCH_PPCSQ is defined.
25115         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25116         fsqrts instruction.
25117         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25119 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25121         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25122         bug (GCC BZ #64739).
25124 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25126         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25127         Mark _retval as used.
25128         (lll_futex_wake_unlock): Likewise.
25129         (lll_futex_timed_wait_requeue_pi): Likewise.
25131         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25132         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25133         register variables.
25135         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25136         libm_hidden_def.
25138         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25139         (__bswap_64): Mark as __always_inline.
25141 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25143         [BZ #15378]
25144         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25145         when none of the search directories exist.
25147 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25149         [BZ #17869]
25150         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25151         power8 in .machine directive.
25153         [BZ #17868]
25154         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25155         set dependency from opd value.
25157 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25160         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25161         architecture.
25163 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25165         [BZ #17870]
25166         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25167         with uint64_t.
25168         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25169         (uint64_t) 1.
25170         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25171         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25172         Replace 1UL with (uint64_t) 1.
25173         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25174         int with uint64_t.
25176 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25178         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25179         (if_freenameindex): Likewise.
25181         * resource/getrlimit64.c: Add missing libc_hidden_def.
25183 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25185         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25186         __label__.
25187         (_FP_FMA): Likewise.
25188         (_FP_TO_INT_ROUND): Likewise.
25189         (_FP_FROM_INT): Likewise.
25191 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25193         [BZ #16418]
25194         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25195         Make code racy and cancel safe.
25197 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25199         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25200         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25201         attribution.
25203         * pwd/tst-getpw.c: Rewrite.
25205         [BZ #17702]
25206         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25207         (modules-names): Add moddummy1 and moddummy2.
25208         ($(objpfx)tst-rec-dlopen): Define.
25209         * dlfcn/moddummy1.c: New file.
25210         * dlfcn/moddummy2.c: New file.
25211         * dlfcn/tst-rec-dlopen.c: New file.
25212         * elf/dl-cache.c (_dl_load_cache_lookup):
25213         Return char*. Copy result with alloca/strcpy/strdup.
25214         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25215         returns char*. Free cached. If not saving realname
25216         free cached.
25217         * elf/dl-open.c (dl_open_worker): Do not assert that
25218         _r_debug->r_state is RT_CONSISTENT.
25219         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25220         returns char*.
25222 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25223             Carlos O'Donell  <carlos@redhat.com>
25225         [BZ #12674]
25226         * nptl/sem_waitcommon.c: New file.
25227         * nptl/sem_wait.c: Include sem_waitcommon.c.
25228         (__sem_wait_cleanup, do_futex_wait): Remove.
25229         (__new_sem_wait): Adapt.
25230         (__new_sem_trywait): New function.
25231         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25232         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25233         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25234         (sem_timedwait): Adapt.
25235         * nptl/sem_post.c (__new_sem_post): Adapt.
25236         (futex_wake): New function.
25237         (__old_sem_post): Add release MO fence.
25238         * nptl/sem_open.c (sem_open): Adapt.
25239         * nptl/sem_init.c (__new_sem_init): Adapt.
25240         (futex_private_if_supported): New function.
25241         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25242         (__old_sem_getvalue): Add using previous code.
25243         * sysdeps/nptl/internaltypes.h: Adapt.
25244         * nptl/tst-sem13.c (do_test): Adapt.
25245         * nptl/tst-sem11.c (main): Adapt.
25246         * nptl/sem_trywait.c: Remove.
25247         * nptl/DESIGN-sem.txt: Remove.
25248         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25249         (gen-as-const-headers): Remove structsem.sym.
25250         * nptl/structsem.sym: Remove.
25251         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25252         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25253         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25254         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25255         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25256         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25257         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25258         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25259         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25260         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25261         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25262         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25263         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25264         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25265         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25266         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25267         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25268         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25269         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25270         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25271         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25272         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25274 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25276         * INSTALL: Regenerated.
25278         * po/libc.pot: Regenerated.
25280 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25281             Sandra Loosemore  <sandra@codesourcery.com>
25282             Andrew Jenner  <andrew@codesourcery.com>
25283             Joseph Myers  <joseph@codesourcery.com>
25284             Nathan Sidwell  <nathan@codesourcery.com>
25286         * NEWS: Mention new Nios II port.
25287         * sysdeps/nios2/Implies: New file.
25288         * sysdeps/nios2/Makefile: New file.
25289         * sysdeps/nios2/Subdirs: New file.
25290         * sysdeps/nios2/Versions: New file.
25291         * sysdeps/nios2/__longjmp.S: New file.
25292         * sysdeps/nios2/abort-instr.h: New file.
25293         * sysdeps/nios2/backtrace.c: New file.
25294         * sysdeps/nios2/bits/endian.h: New file.
25295         * sysdeps/nios2/bits/fenv.h: New file.
25296         * sysdeps/nios2/bits/link.h: New file.
25297         * sysdeps/nios2/bits/setjmp.h: New file.
25298         * sysdeps/nios2/bsd-_setjmp.S: New file.
25299         * sysdeps/nios2/bsd-setjmp.S: New file.
25300         * sysdeps/nios2/configure: New generated file.
25301         * sysdeps/nios2/configure.ac: New file.
25302         * sysdeps/nios2/crti.S: New file.
25303         * sysdeps/nios2/crtn.S: New file.
25304         * sysdeps/nios2/dl-init.c: New file.
25305         * sysdeps/nios2/dl-machine.h: New file.
25306         * sysdeps/nios2/dl-sysdep.h: New file.
25307         * sysdeps/nios2/dl-tls.h: New file.
25308         * sysdeps/nios2/dl-trampoline.S: New file.
25309         * sysdeps/nios2/gccframe.h: New file.
25310         * sysdeps/nios2/gmp-mparam.h: New file.
25311         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25312         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25313         * sysdeps/nios2/ldsodefs.h: New file.
25314         * sysdeps/nios2/libc-tls.c: New file.
25315         * sysdeps/nios2/libm-test-ulps: New file.
25316         * sysdeps/nios2/machine-gmon.h: New file.
25317         * sysdeps/nios2/math-tests.h: New file.
25318         * sysdeps/nios2/math_private.h: New file.
25319         * sysdeps/nios2/memusage.h: New file.
25320         * sysdeps/nios2/nptl/Makefile: New file.
25321         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25322         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25323         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25324         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25325         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25326         * sysdeps/nios2/nptl/tls.h: New file.
25327         * sysdeps/nios2/preconfigure: New file.
25328         * sysdeps/nios2/s_fma.c: New file.
25329         * sysdeps/nios2/s_fmaf.c: New file.
25330         * sysdeps/nios2/setjmp.S: New file.
25331         * sysdeps/nios2/sfp-machine.h: New file.
25332         * sysdeps/nios2/sotruss-lib.c: New file.
25333         * sysdeps/nios2/stackguard-macros.h: New file.
25334         * sysdeps/nios2/stackinfo.h: New file.
25335         * sysdeps/nios2/start.S: New file.
25336         * sysdeps/nios2/sysdep.h: New file.
25337         * sysdeps/nios2/tls-macros.h: New file.
25338         * sysdeps/nios2/tst-audit.h: New file.
25339         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25340         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25341         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25342         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25343         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25344         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25345         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25346         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25347         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25348         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25349         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25350         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25351         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25352         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25353         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25354         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25355         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25356         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25357         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25358         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25359         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25360         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25361         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25362         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25363         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25364         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25365         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25366         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25367         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25368         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25369         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25370         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25371         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25372         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25373         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25374         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25375         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25376         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25377         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25378         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25379         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25380         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25381         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25382         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25384 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25386         [BZ #17844]
25387         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25388         (getutent): Use weak_alias in non SHARED case
25389         and default_symbol_version in SHARED case.
25390         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25391         (getutent_r, pututline): Likewise.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25393         (getutid): Likewise.
25394         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25395         (getutid_r): Likewise.
25396         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25397         (getutline): Likewise.
25398         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25399         (getutline_r): Likewise.
25400         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25401         (updwtmp): Likewise.
25403 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25405         [BZ #17848]
25406         * sysdeps/s390/s390-32/memcmp.S
25407         (memcmp_g5): Rename to __memcmp_g5.
25408         * sysdeps/s390/s390-32/memcpy.S
25409         (memcpy_g5): Rename to __memcpy_g5.
25410         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25411         (memcpy_mvcle) Rename to __memcpy_mvcle.
25412         * sysdeps/s390/s390-32/memset.S
25413         (memset_g5): Rename to __memset_g5.
25414         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25415         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25416         and use prefixed functions.
25417         * sysdeps/s390/s390-32/multiarch/memcmp.S
25418         (memcmp_z196): Rename to __memcmp_z196.
25419         (memcmp_z10): Rename to __memcmp_z10.
25420         (memcmp): Set alias to __memcmp_g5.
25421         (bcmp): Set alias to __memcmp_g5.
25422         * sysdeps/s390/s390-32/multiarch/memcpy.S
25423         (memcpy_z196): Rename to __memcpy_z196.
25424         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25425         (memcpy_z10): Rename to __memcpy_z10.
25426         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25427         (memcpy): Set alias to __memcpy_g5.
25428         * sysdeps/s390/s390-32/multiarch/memset.S
25429         (memset_z196): Rename to __memset_z196.
25430         Jump to __memset_mvcle instead of memset_mvcle.
25431         (memset_z10): Rename to __memset_z10.
25432         Jump to __memset_mvcle instead of memset_mvcle.
25433         (memset_mvcle) Rename to __memset_mvcle.
25434         (memset): Set alias to __memset_g5.
25435         * sysdeps/s390/s390-64/memcmp.S
25436         (memcmp_z900): Rename to __memcmp_z900.
25437         * sysdeps/s390/s390-64/memcpy.S
25438         (memcpy_z900): Rename to __memcpy_z900.
25439         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25440         (memcpy_mvcle) Rename to __memcpy_mvcle.
25441         * sysdeps/s390/s390-64/memset.S
25442         (memset_z900): Rename to __memset_z900.
25443         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25444         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25445         and use prefixed functions.
25446         * sysdeps/s390/s390-64/multiarch/memcmp.S
25447         (memcmp_z196): Rename to __memcmp_z196.
25448         (memcmp_z10): Rename to __memcmp_z10.
25449         (memcmp): Set alias to __memcmp_z900.
25450         (bcmp): Set alias to __memcmp_z900.
25451         * sysdeps/s390/s390-64/multiarch/memcpy.S
25452         (memcpy_z196): Rename to __memcpy_z196.
25453         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25454         (memcpy_z10): Rename to __memcpy_z10.
25455         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25456         (memcpy): Set alias to __memcpy_z900.
25457         * sysdeps/s390/s390-64/multiarch/memset.S
25458         (memset_z196): Rename to __memset_z196.
25459         Jump to __memset_mvcle instead of memset_mvcle.
25460         (memset_z10): Rename to __memset_z10.
25461         Jump to __memset_mvcle instead of memset_mvcle.
25462         (memset_mvcle) Rename to __memset_mvcle.
25463         (memset): Set alias to __memset_z900.
25465 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25467         [BZ #17748]
25468         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25469         __fesetenv instead of fesetenv.
25471 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25473         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25474         macro.
25476 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25478         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25479         regression on LE.
25481         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25482         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25484         strncmp-power8 object.
25485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25486         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25487         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25488         * NEWS: Update.
25490 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25491             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25493         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25494         trailing byte check.
25496 2015-01-13  David S. Miller  <davem@davemloft.net>
25498         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25500 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25502         * login/logout.c (logout): Use memset rather than bzero.
25503         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25504         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25505         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25506         (_gethtbyaddr): Likewise.
25507         * locale/programs/simple-hash.c (bcopy): Macro removed.
25509 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25511         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25512         Add strcmp-power8 object.
25513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25514         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25515         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25516         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25517         __strcmp_power8 implementation.
25518         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25519         * NEWS: Update.
25521         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25522         Add strncpy-power8 and stpncpy-power8 objects.
25523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25524         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25525         implementations.
25526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25527         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25528         __stpncpy_power8 implementation.
25529         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25530         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25531         __strncpy_power8 implementation.
25532         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25533         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25534         * NEWS: Update.
25536         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25537         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25538         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25540         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25541         strncat-power8 object.
25542         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25543         __strcat_power8 implementation.
25544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25545         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25546         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25547         optimized strcat for power8.
25549         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25550         strcpy-power8 and stpcpy-power8 objects.
25551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25552         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25553         implementations.
25554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25555         multiarch stpcpy implementation for POWER8.
25556         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25557         multiarch strcpy implementation for POWER8.
25558         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25559         __strcpy_power8 function.
25560         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25561         stpcpy for POWER8.
25562         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25563         strcpy for POWER8.
25564         * NEWS: Update.
25566 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25568         [BZ #16009]
25569         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25570         weights and rules. Use do_xfrm_cached if data fits in cache,
25571         do_xfrm otherwise.  Moved former main loop to...
25572         * (do_xfrm_cached): New function.
25573         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25574         find_idx, find_position and stack_push.
25575         * (find_idx): New function.
25576         * (find_position): Likewise.
25577         * localedata/sort-test.sh: Added test run for do_xfrm.
25578         * localedata/xfrm-test.c (main): Added command line option
25579         -nocache to run the test with strings that are too large for
25580         the STRXFRM cache.
25582 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25584         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25585         variable to lll_futex_wake call, not the value itself.
25587 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25589         [BZ #17803]
25590         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25591         twom64.  Adjust value to 0x1p-64L.
25592         (__scalblnl): Only return standard underflowing result for K <=
25593         -64 not K <= -63; adjust exponent for underflowing result by 64
25594         not 63.
25595         * math/libm-test.inc (scalbn_test_data): Add more tests.
25596         (scalbln_test_data): Likewise.
25598         [BZ #17834]
25599         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25600         0x1p63L.
25601         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25602         not HX.
25603         * math/libm-test.inc (scalbn_test_data): Add more tests.
25604         (scalbln_test_data): Likewise.
25606 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25607             Stefani Seibold  <stefani@seibold.net>
25609         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25610         (sysdep_routines): Add dl-vdso here, ...
25611         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25612         (sysdep_routines): ... not here.
25613         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25614         fallback when vDSO is not presented.
25615         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25616         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25617         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25618         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25619         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25620         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25621         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25622         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25623         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25624         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25625         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25626         fallback configurable symbol when vDSO is not available.
25627         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25628         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25629         be able to redefine fallback symbol when vDSO is not available.
25630         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25631         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25633 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25635         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25636         (TLS_INIT_TP): Add tm_capable initialization.
25637         (TLS_DEFINE_INIT_TP): Likewise.
25638         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25639         TCB.
25640         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25641         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25642         calculation.
25643         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25644         transactoion is lock elision is built and TCB tm_capable is set.
25645         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25647         (INTERNAL_SYSCALL_NCS): Likewise.
25648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25649         (INTERNAL_SYSCALL_NCS): Likewise.
25650         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25652         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25653         for powerpc.
25654         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25655         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25656         and remove it for 32 bits case.
25657         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25658         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25659         initialization.
25660         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25661         Disable lock elision with rdlocks if elision is not available.
25663         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25664         (sysdep_routines): Add lock elision objects.
25665         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25666         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25667         [pthread_mutex_t] (__elision): Add field.
25668         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25669         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25670         elision definitions for powerpc.
25671         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25672         implementation of lock elision for powerpc.
25673         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25674         implementation of timed lock elision for powerpc.
25675         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25676         implementation of trylock with lock elision for powerpc.
25677         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25678         implementaion of unlock for lock elision for powerpc.
25679         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25680         automatic enable lock elision for mutexes.
25681         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25682         transaction execution definitions for powerpc.
25683         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25684         definitions.
25685         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25686         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25687         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25688         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25689         * NEWS: Update.
25691 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25693         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25694         for #include of <shm-directory.h>.
25696 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25698         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25699         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25701 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25703         [BZ #17791]
25704         * NEWS: Mention bug fix.
25705         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25706         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25707         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25709 2015-01-09  Torvald Riegel <triegel@redhat.com>
25711         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25713 2015-01-09  Torvald Riegel <triegel@redhat.com>
25715         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25717 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25719         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25720         pointer and cast to uintptr_t.
25722 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25724         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25725         removed.
25726         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25728 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25730         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25731         of 0.
25733 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25735         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25736         <nptl/pthreadP.h> instead.
25737         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25739         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25740         already defined.
25741         [__SIGRTMIN] (init): Function removed.
25742         [__SIGRTMIN] (initialized): Variable removed.
25743         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25744         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25745         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25746         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25747         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25748         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25749         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25750         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25751         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25752         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25753         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25754         * sysdeps/nptl/allocrtsig.c: New file.
25755         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25756         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25757         * sysdeps/generic/testrtsig.h: File removed.
25759         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25760         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25762         * nptl/nptl-init.c (pthread_functions): Conditionalize
25763         .ptr__nptl_setxid initialization on [SIGSETXID].
25765         * sysdeps/nptl/sys/procfs.h: New file.
25766         * nptl_db/Makefile (headers): Add it.
25767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25769         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25770         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25771         * nptl/pthread_attr_setaffinity.c: Include it.
25772         * nptl/pthread_setattr_default_np.c: Likewise.
25773         * nptl/check-cpuset.h: New file.
25775 2015-01-08  Richard Henderson  <rth@redhat.com>
25777         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25778         (CFLAGS-tst-execstack-prog.c): Likewise.
25779         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25781 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25782             Sandra Loosemore  <sandra@codesourcery.com>
25783             Andrew Jenner  <andrew@codesourcery.com>
25784             Joseph Myers  <joseph@codesourcery.com>
25785             Nathan Sidwell  <nathan@codesourcery.com>
25787         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25788         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25789         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25790         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25791         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25792         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25793         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25794         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25795         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25796         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25797         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25798         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25799         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25800         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25801         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25802         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25803         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25805 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25807         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25808         timespec struct member in syscall macro.
25809         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25810         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25811         first timeval struct member in syscall macro.
25812         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25814 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25816         [BZ #17748]
25817         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25818         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25819         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25820         __feupdateenv and define as weak alias of __feupdateenv.  Use
25821         libm_hidden_weak.
25822         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25823         libm_hidden_def.
25824         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25825         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25826         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25827         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25828         libm_hidden_def.
25829         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25830         __feupdateenv and define as weak alias of __feupdateenv.  Use
25831         libm_hidden_weak.
25832         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25833         libm_hidden_def.
25834         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25835         __feupdateenv and define as weak alias of __feupdateenv.  Use
25836         libm_hidden_weak.
25837         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25838         libm_hidden_def.
25839         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25840         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25841         (__feupdateenv): Likewise.
25842         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25843         __feupdateenv and define as weak alias of __feupdateenv.  Use
25844         libm_hidden_weak.
25845         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25846         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25847         libm_hidden_def.
25848         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25849         function.
25850         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25851         libm_hidden_def.
25852         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25853         __feupdateenv instead of feupdateenv.
25854         (default_libc_feupdateenv_test): Likewise.
25855         (libc_feresetround_ctx): Likewise.
25857 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25859         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25860         prototype.
25862 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25864         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25865         COLL_SYM in a couple of places to avoid uninitialized variable
25866         wanings on tilegx gcc 4.8.2.
25868 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25870         * sysdeps/aarch64/strcpy.S: New file.
25871         * sysdeps/aarch64/stpcpy.S: New file.
25872         * NEWS: Updated.
25874 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25876         * sysdeps/aarch64/strrchr.S: New file.
25877         * NEWS: Updated.
25879 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25881         [BZ #17658]
25882         * stdlib/setenv.c: Fix memory leak when setting large,
25883         duplicate string.
25885 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25887         [BZ #17273]
25888         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25889         and tabs from buffer before parsing fstab entry.
25890         * misc/tst-mntent.c (main): Add test for mount entry with
25891         trailing spaces and tabs.
25893 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25895         [BZ #17748]
25896         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25897         * math/fesetround.c (fesetround): Rename to __fesetround and
25898         define as weak alias of __fesetround.  Use libm_hidden_weak.
25899         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25900         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25901         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25902         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25903         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25904         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25905         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25906         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25907         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25908         __fesetround_inline.
25909         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25910         __fesetround_inline instead of __fesetround.
25911         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25912         __fesetround and define as weak alias of __fesetround.  Use
25913         libm_hidden_weak.  Call __fesetround_inline instead of
25914         __fesetround.
25915         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25916         __fesetround and define as weak alias of __fesetround.  Use
25917         libm_hidden_weak.
25918         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25919         Likewise.
25920         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25921         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25922         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25923         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25924         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25925         __fesetround and define as weak alias of __fesetround.  Use
25926         libm_hidden_weak.
25927         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25928         __fesetround instead of fesetround.
25929         (default_libc_feholdexcept_setround): Likewise.
25930         (libc_feholdsetround_ctx): Likewise.
25931         (libc_feholdsetround_noex_ctx): Likewise.
25933         [BZ #17748]
25934         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25935         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25936         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25937         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25938         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25939         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25940         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25941         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25942         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25943         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25944         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25945         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25946         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25947         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25948         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25949         libm_hidden_def.
25950         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25951         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25952         Likewise.
25953         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25954         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25955         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25956         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25957         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25958         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25959         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25960         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25961         __fesetenv instead of fesetenv.
25962         (libc_feresetround_noex_ctx): Likewise.
25963         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25964         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25965         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25966         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25967         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25968         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25969         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25970         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25971         (__feupdateenv): Likewise.
25972         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25973         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25974         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25975         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25977 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25979         [BZ #17806]
25980         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25981         addresses have been freed.
25983 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25985         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25986         and nservall.
25988 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25990         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25991         Clean up check_pf allocation pattern. addresses
25993 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25995         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25996         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25997         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25998         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25999         * nptl/pthread_join.c (pthread_join): Likewise.
26000         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26001         * sysdeps/posix/waitid.c (__waitid): Likewise.
26002         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26003         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26004         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26005         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26007         Likewise.
26008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26009         (__libc_pread64): Likewise.
26010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26011         (__libc_pwrite): Likewise.
26012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26013         (__libc_pwrite64): Likewsie.
26014         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26015         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26016         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26017         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26018         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26019         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26020         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26022         Likewise.
26023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26024         (__libc_pread64): Likewise.
26025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26026         Likewise.
26027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26028         (__libc_pwrite64): Likewise.
26029         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26030         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26031         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26032         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26033         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26034         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26035         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26036         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26037         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26038         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26039         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26040         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26041         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26042         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26043         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26044         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26045         Likewise.
26047 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26049         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26050         (CFLAGS-test-double.c): Likewise.
26051         (CFLAGS-test-ldouble.c): Likewise.
26052         (CPPFLAGS-test-ifloat.c): Likewise.
26053         (CPPFLAGS-test-idouble.c): Likewise.
26054         (CPPFLAGS-test-ildoubl.c): Likewise.
26055         (CFLAGS-test-test-fenv.c): Remove variable.
26056         (CFLAGS-test-misc.c): Likewise.
26058 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26060         [BZ #17797]
26061         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26062         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26063         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26064         CLOCKS_PER_SEC == 1000000.
26065         * time/clocktest.c (main): Replace %ld with %jd and cast to
26066         intmax_t.
26068 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26070         * sysdeps/generic/unwind-resume.h: New file.
26071         * sysdeps/gnu/unwind-resume.c: Include it.
26072         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26073         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26074         argument list.
26075         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26076         global rather than static.
26077         (_Unwind_Resume): Update user.
26078         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26079         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26080         rather than static.  Add __attribute__ ((cold)).
26081         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26082         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26083         * sysdeps/arm/arm-unwind-resume.S: New file.
26084         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26085         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26086         * sysdeps/arm/Makefile [$(subdir) = csu]
26087         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26088         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26089         Add rt-arm-unwind-resume.
26090         [$(subdir) = nptl]
26091         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26092         Add pt-arm-unwind-resume.
26093         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26094         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26096 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26098         [BZ #17748]
26099         * include/fenv.h (__feholdexcept): Declare.  Use
26100         libm_hidden_proto.
26101         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26102         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26103         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26104         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26105         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26106         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26107         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26108         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26109         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26110         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26111         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26112         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26113         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26114         (feholdexcept): Likewise.
26115         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26116         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26117         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26118         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26119         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26120         __feholdexcept instead of feholdexcept.
26121         (default_libc_feholdexcept_setround): Likewise.
26123 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26125         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26126         to avoid using stl/str to align destination.
26128 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26130         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26132 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26134         [BZ #17796]
26135         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26136         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26137         Define as weak alias not strong alias.
26139 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26141         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26142         bltzal with addiupc.
26143         (RTLD_START): Ditto.
26145 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26147         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26148         for __vdso_* functions in declarations.
26149         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26150         definitions.
26151         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26152         INTERNAL_VSYSCALL): Use struct return types to check for error.
26154         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26155         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26156         function with cast from llround().
26157         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26158         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26159         Define.
26161 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26163         [BZ #17793]
26164         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26165         Define as weak alias not strong alias.
26167         [BZ #17635]
26168         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26169         ...
26170         * ctype/ctype-extn.c: ... here.
26171         (__isblank_l): Move to ...
26172         * ctype/ctype-c99_l.c: ... here.  New file.
26173         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26174         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26175         Remove variable.
26176         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26177         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26178         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26179         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26180         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26182         [BZ #17777]
26183         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26184         (posix_fadvise64): Define as weak alias not strong alias.
26185         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26186         (posix_fallocate64): Likewise.
26187         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26188         Remove variable.
26189         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26190         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26191         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26192         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26193         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26195 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26197         [BZ #16191]
26198         * NEWS: Mention bug fix.
26199         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26200         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26201         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26202         (HOST_STACK_END_ADDR): Likewise.
26204 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26206         [BZ #17748]
26207         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26208         * math/fegetround.c (fegetround): Rename to __fegetround and
26209         define as weak alias of __fegetround.  Use libm_hidden_weak.
26210         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26211         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26212         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26213         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26214         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26215         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26216         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26217         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26218         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26219         Undefine after rather than before function definition; use
26220         parentheses around function name in definition.
26221         (__fegetround): Also undefine macro after function definition.
26222         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26223         __fegetround and define as weak alias of __fegetround.  Use
26224         libm_hidden_weak.  Do not undefine as macro.
26225         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26226         Likewise.
26227         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26228         __fegetround and define as weak alias of __fegetround.  Use
26229         libm_hidden_weak.
26230         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26231         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26232         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26233         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26234         __fegetround and define as weak alias of __fegetround.  Use
26235         libm_hidden_weak.
26236         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26237         __fegetround instead of fegetround.
26239         [BZ #17782]
26240         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26241         Condition macro definition on [__USE_MISC].
26243         [BZ #17781]
26244         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26245         (struct sigaction): Change type of sa_flags field to int.
26247         [BZ #17780]
26248         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26249         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26250         __glibc_reserved0.
26252         * nptl/version.c (banner): Use single year in copyright notice.
26254         * NEWS: Update copyright dates.
26255         * catgets/gencat.c (print_version): Likewise.
26256         * csu/version.c (banner): Likewise.
26257         * debug/catchsegv.sh: Likewise.
26258         * debug/pcprofiledump.c (print_version): Likewise.
26259         * debug/xtrace.sh (do_version): Likewise.
26260         * elf/ldconfig.c (print_version): Likewise.
26261         * elf/ldd.bash.in: Likewise.
26262         * elf/pldd.c (print_version): Likewise.
26263         * elf/sotruss.sh: Likewise.
26264         * elf/sprof.c (print_version): Likewise.
26265         * iconv/iconv_prog.c (print_version): Likewise.
26266         * iconv/iconvconfig.c (print_version): Likewise.
26267         * locale/programs/locale.c (print_version): Likewise.
26268         * locale/programs/localedef.c (print_version): Likewise.
26269         * login/programs/pt_chown.c (print_version): Likewise.
26270         * malloc/memusage.sh (do_version): Likewise.
26271         * malloc/memusagestat.c (print_version): Likewise.
26272         * malloc/mtrace.pl: Likewise.
26273         * manual/libc.texinfo: Likewise.
26274         * nptl/version.c (banner): Likewise.
26275         * nscd/nscd.c (print_version): Likewise.
26276         * nss/getent.c (print_version): Likewise.
26277         * nss/makedb.c (print_version): Likewise.
26278         * posix/getconf.c (main): Likewise.
26279         * scripts/test-installation.pl: Likewise.
26280         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26282 2015-01-02  Will Newton  <will.newton@linaro.org>
26284         * sysdeps/arm/armv7/configure: Removed.
26285         * sysdeps/arm/armv7/configure.ac: Likewise.
26287 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26289         * All files with FSF copyright notices: Update copyright dates
26290         using scripts/update-copyrights.
26291         * intl/plural.c: Regenerated.
26292         * locale/programs/charmap-kw.h: Likewise.
26293         * locale/programs/locfile-kw.h: Likewise.
26295 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26297         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26299 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26301         [BZ #17748]
26302         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26303         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26304         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26305         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26306         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26307         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26308         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26309         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26310         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26311         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26312         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26313         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26314         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26315         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26316         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26317         libm_hidden_def.
26318         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26319         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26320         Likewise.
26321         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26322         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26323         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26324         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26325         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26326         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26327         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26328         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26329         __fegetenv instead of fegetenv.
26330         (libc_feholdsetround_noex_ctx): Likewise.
26332 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26334         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26335         (Elf_MIPS_ABIFlags_v0): New structure.
26336         (EF_MIPS_FP64): Define.
26337         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26338         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26339         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26340         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26341         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26342         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26343         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26344         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26345         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26346         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26347         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26348         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26349         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26350         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26351         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26352         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26353         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26354         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26355         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26356         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26357         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26358         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26359         field.
26360         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26361         EF_MIPS_FP64.
26362         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26363         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26364         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26365         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26366         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26367         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26368         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26369         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26370         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26371         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26372         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26373         record the current FP ABI extension.
26374         (mips-mode-switch): Define to show if kernel headers support mode
26375         switching.
26376         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26377         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26378         supported SYSV ABI version to 3.
26379         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26380         feature.
26382 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26383             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26385         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26386         path.
26387         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26389 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26391         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26392         __fegetround and redefine to call __fegetround.  Remove condition
26393         on [!__NO_MATH_INLINES].
26394         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26395         function.
26396         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26397         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26398         Remove macro.
26399         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26400         instead of <fenv_libc.h>.
26401         (__llrintl): Call fegetround instead of __fegetround.
26402         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26403         instead of <fenv_libc.h>.
26404         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26405         (__lrintl): Call fegetround instead of __fegetround.
26406         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26407         instead of <fenv_libc.h>.
26408         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26409         (__rintl): Call fegetround instead of __fegetround.
26411 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26413         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26414         arrays.
26416 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26418         [BZ #17775]
26419         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26420         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26421         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26423 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26425         * sysdeps/i386/tls-macros.h: Include <features.h>.
26426         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26427         (TLS_IE): Likewise.
26428         (TLS_LD): Likewise.
26429         (TLS_GD): Likewise.
26430         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26431         define for GCC >= 5.0.
26433 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26435         * math/test-fenv.c (test_single_exception, set_single_exc,
26436         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26437         feexcp_mask_test, feenable_test, fe_single_test): Add
26438         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26439         case where they are not used.
26440         * math/libm-test.inc: Likewise.
26441         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26442         unused in the absence of FP rounding/exception support.
26443         * stdio-common/tst-printf-round.c: Likewise.
26444         * stdlib/tst-strtod-round.c: Likewise.
26445         * stdlib/tst-strtod-underflow.c: Likewise.
26447 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26449         [BZ #17723]
26450         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26451         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26452         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26453         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26454         libm_hidden_weak.
26455         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26456         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26457         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26458         libm_hidden_def.
26459         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26460         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26461         libm_hidden_weak.
26462         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26463         Likewise.
26464         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26465         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26466         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26467         libm_hidden_weak.
26468         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26469         libm_hidden_def.
26470         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26471         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26472         (__feraiseexcept): Likewise.
26473         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26474         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26475         libm_hidden_weak.
26476         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26477         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26478         libm_hidden_def.
26479         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26480         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26481         Use libm_hidden_def.
26482         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26483         libm_hidden_def.
26484         (feraiseexcept): Define as weak not strong alias.  Use
26485         libm_hidden_weak.
26486         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26487         New inline function.  Factored out of ...
26488         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26489         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26490         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26491         feraiseexcept.
26492         * math/w_acos.c (__acos): Likewise.
26493         * math/w_asin.c (__asin): Likewise.
26494         * math/w_ilogb.c (__ilogb): Likewise.
26495         * math/w_j0.c (y0): Likewise.
26496         * math/w_j1.c (y1): Likewise.
26497         * math/w_jn.c (yn): Likewise.
26498         * math/w_log.c (__log): Likewise.
26499         * math/w_log10.c (__log10): Likewise.
26500         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26501         * sysdeps/aarch64/fpu/math_private.h
26502         (libc_feupdateenv_test_aarch64): Likewise.
26503         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26504         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26505         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26506         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26507         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26508         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26509         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26510         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26511         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26512         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26514 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26516         [BZ #17732]
26517         * io/test-utime.c (main): Replace %ld with %jd and cast to
26518         intmax_t.
26519         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26520         * nptl/tst-mutex5.c: Include <stdint.h>.
26521         (do_test): Replace %ld with %jd and cast to intmax_t.
26522         * posix/tst-regex.c (run_test): Likewise.
26523         (run_test_backwards): Likewise.
26524         * rt/tst-clock.c: Include <stdint.h>.
26525         (clock_test): Replace %ld with %jd and cast to intmax_t.
26526         * rt/tst-cpuclock1.c: Include <stdint.h>.
26527         (do_test): Replace %lu with %ju and cast to uintmax_t.
26528         * rt/tst-cpuclock2.c: Include <stdint.h>.
26529         (do_test): Replace %lu with %ju and cast to uintmax_t.
26530         * rt/tst-mqueue1.c: Include <stdint.h>.
26531         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26532         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26533         intmax_t.
26534         * rt/tst-mqueue4.c (do_test): Likewise.
26535         * rt/tst-timer4.c: Include <stdint.h>.
26536         (check_ts): Replace %ld with %jd and cast to intmax_t.
26537         (do_test): Likewise.
26538         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26539         and cast to intmax_t.
26540         * sysdeps/pthread/tst-timer.c (main): Likewise.
26541         * time/clocktest.c (main): Likewise.
26542         * time/tst-posixtz.c (do_test): Likewise.
26543         * timezone/tst-timezone.c (main): Likewise.
26545 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26546             H.J. Lu  <hongjiu.lu@intel.com>
26548         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26549         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26550         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26551         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26552         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26553         version if bit_Fast_Unaligned_Load is set.
26554         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26555         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26556         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26557         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26558         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26559         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26560         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26561         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26562         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26563         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26564         to 4.
26565         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26566         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26567         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26568         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26570 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26572         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26573         instead of #if to avoid a Wundef warning.
26574         * stdlib/tst-limits.c (do_test): Likewise.
26576         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26577         parallel other exception macros.
26578         (fegetenv): Convert from macro to extern inline so that it applies
26579         retroactively to inline functions already seen by the compiler.
26580         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26582         * posix/Makefile (before-compile): Use $(objpfx) for
26583         posix-conf-vars-def.h.
26585 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26587         * posix/getconf.c (main): Use size_t for type of I.
26588         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26589         NSPEC.
26591         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26592         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26593         * posix/posix-envs.def: Likewise.
26594         * sysdeps/posix/sysconf.c: Likewise.
26595         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26596         (specs): Remove array.
26597         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26598         array.
26600         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26601         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26602         (__sysconf): Use CONF_IS_* macros.
26604         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26605         ($(objpfx)posix-conf-vars-def.h): New target.
26606         * posix/posix-conf-vars.list: New file.
26607         * posix/posix-conf-vars.h: New file.
26608         * posix/confstr.c: Include posix-conf-vars.h.
26609         (confstr): Use CONF_IS_* macros.
26610         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26611         CONF_IS_* macros.
26612         * scripts/gen-posix-conf-vars.awk: New file.
26614 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26616         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26617         fegetround): Add no-op macros to avoid linknamespace issues.
26619         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26620         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26622         * sysdeps/unix/sysv/linux/tile/sysdep.h
26623         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26624         assembly-specific section to avoid a redefinition warning.
26626         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26627         long before casting to pointer to avoid a cast warning.
26629 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26631         * sysdeps/tile/tilegx/Implies: New file.
26633 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26635         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26637 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26639         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26641 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26644         not define.
26645         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26646         <kernel-features.h>.
26647         (__utimes) [__NR_utimes]: Make code unconditional.
26648         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26649         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26650         (__ASSUME_UTIMES): Do not undefine.
26651         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26652         (__ASSUME_UTIMES): Likewise.
26653         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26654         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26655         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26656         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26658 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26660         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26662 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26664         [BZ #17747]
26665         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26666         alias to weak alias for j0l, y0l.
26667         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26668         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26670         [BZ #17746]
26671         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26672         conversion.
26674 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26676         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26677         to zero if not already defined.
26679 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26681         [BZ #17724]
26682         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26683         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26684         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26685         (char *) casts added.
26686         * sysdeps/ieee754/k_standardf.c: New file.
26687         * sysdeps/ieee754/k_standardl.c: Likewise.
26688         * math/Makefile (libm-support): Remove k_standard.
26689         (libm-calls): Add k_standard.
26691 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26693         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26694         Optimize to avoid an unnecessary FPCR read.
26696 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26698         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26699         Optimize to reduce FPCR/FPSR accesses.
26701 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26703         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26704         Call libc_fetestexcept_aarch64.
26706 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26708         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26709         Call libc_fesetround_aarch64.
26711 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26713         [BZ #17733]
26714         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26715         (__bind): Do not define as weak alias.
26716         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26717         define.
26718         (__getsockname): Do not define as weak alias.
26720 2014-12-22  Will Newton  <will.newton@linaro.org>
26722         * manual/install.texi: Document that we require bison 2.7
26723         or above.
26724         * INSTALL: Regenerate.
26725         * configure.ac: Use AC_CHECK_PROG_VER instead of
26726         AC_PATH_PROG when checking for bison and check for
26727         version 2.7 or above.
26728         * configure: Regenerate.
26730 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26732         [BZ #17745]
26733         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26734         * sysdeps/tile/ffsll.c (ffsll): To here.
26736         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26738 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26740         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26741         if not defined.
26742         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26743         definition.
26744         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26745         hidden ___tls_get_addr.
26746         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26747         hidden __tls_get_addr.
26748         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26749         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26750         Likewise.
26752 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26754         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26755         _dl_init call.
26757 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26759         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26760         from "call _dl_init@PLT".
26761         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26763 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26765         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26766         guarantees.
26768 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26770         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26772 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26774         [BZ #17744]
26775         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26776         strnlen.
26778 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26780         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26781         of multu on MIPSr6.
26782         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26783         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26784         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26785         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26786         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26788 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26790         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26791         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26792         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26793         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26794         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26795         mips32r6/mips64r6.
26796         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26798 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26800         * string/strncat.c (STRNCAT): Simplify implementation.
26802 2014-12-19  David S. Miller  <davem@davemloft.net>
26804         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26805         access the quad as both a long double and as a series of 4 words.
26807         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26808         link_map->l_info array access.
26810 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26812         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26814         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26815         * math/atest-exp2.c (TIMEOUT): Likewise.
26816         * math/atest-sincos.c (TIMEOUT): Likewise.
26818 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26820         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26821         -Wno-error with -fno-builtin-lround.
26823 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26825         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26826         Contains futex constants and functions moved over from ...
26827         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26828         <lowlevellock-futex.h>.
26829         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26830         (lll_timedwait_tid): Add comments and parentheses around macro
26831         arguments.
26833 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26835         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26836         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26837         (__lll_private_flag): Remove.
26838         (lll_futex_wait): Likewise.
26839         (lll_futex_timed_wait): Likewise.
26840         (lll_futex_wake): Likewise.
26841         (lll_futex_requeue): Likewise.
26842         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26843         (__lll_timedwait_tid): Spell out argument names.
26844         (lll_timedwait_tid): Add comments and parentheses around macro
26845         arguments.
26846         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26847         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26849 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26851         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26852         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26853         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26854         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26855         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26856         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26857         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26858         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26859         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26860         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26861         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26863         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26864         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26865         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26866         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26867         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26868         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26869         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26871 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26873         * sysdeps/x86_64/x32/Makefile: New file.
26875 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26877         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26878         1L with (mp_limb_t) 1.
26880 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26882         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26883         * nptl/libc_pthread_init.c: ... here.
26884         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26885         * nptl/register-atfork.c: ... here.
26887         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26888         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26889         Use assert_perror to check its return value.
26890         (__gai_create_helper_thread): Likewise.
26892         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26894         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26896 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26898         [BZ #17725]
26899         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26900         __profil_counter.
26901         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26902         Likewise.
26903         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26904         Likewise.
26905         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26906         Likewise.
26907         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26908         (profil_counter): Likewise.
26909         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26910         (profil_counter): Likewise.
26911         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26912         Likewise.
26913         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26914         Likewise.
26915         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26916         (profil_counter): Likewise.
26917         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26918         Likewise.
26919         [!__profil_counter] (profil_counter): Define as weak alias of
26920         __profil_counter.
26921         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26922         (profil_counter): Rename to __profil_counter.
26923         [!__profil_counter] (profil_counter): Define as weak alias of
26924         __profil_counter.
26925         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26926         (profil_counter): Rename to __profil_counter.
26927         [!__profil_counter] (profil_counter): Define as weak alias of
26928         __profil_counter.
26929         * sysdeps/posix/profil.c: Update comment referring to
26930         profil_counter.
26931         (__profil): Use __profil_counter instead of profil_counter.
26932         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26933         __profil_counter.  Use __profil_counter_ushort and
26934         __profil_counter_uint in definitions.
26935         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26936         instead of profil_counter_uint and profil_counter_ushort.
26938         [BZ #17722]
26939         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26940         define as weak alias of __inet_makeaddr.
26941         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26942         as weak alias of __inet_addr.
26943         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26944         as weak alias of __inet_pton.  Use libc_hidden_weak.
26945         * include/arpa/inet.h (__inet_pton): Declare.  Use
26946         libc_hidden_proto.
26947         (inet_makeaddr): Don't use libc_hidden_proto.
26948         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26949         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26950         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26951         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26952         Remove variable.
26953         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26954         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26956 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26958         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26960 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26962         * stdio-common/bug-vfprintf-nargs.c (do_test):
26963         Cast value to intptr_t to avoid format warning
26964         for usage with PRIdPTR printing macro.
26966 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26968         * libio/tst-widetext.c (do_test):
26969         Use format type %td instead of %Zd for ptrdiff_t
26970         in order to avoid format warning.
26972 2014-12-17  Andreas Schwab  <schwab@suse.de>
26974         * nscd/mem.c (gc): Add size_t cast to match printf format.
26976 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26978         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26979         (init): Apply PTR_MANGLE to pointers before storing them.
26980         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26981         before using them.
26983 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26985         [BZ #17719]
26986         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26987         define as weak alias of __memrchr.
26988         (__memrchr): Do not define as strong alias of memrchr.
26989         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26990         Remove variable.
26991         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26992         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26993         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26995         [BZ #17717]
26996         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26997         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26998         (if_indextoname): Rename to __if_indextoname and define as weak
26999         alias of __if_indextoname.  Use libc_hidden_weak.
27000         (if_freenameindex): Rename to __if_freenameindex and define as
27001         weak alias of __if_freenameindex.
27002         (if_nameindex): Rename to __if_nameindex and define as weak alias
27003         of __if_nameindex.
27004         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27005         __if_nametoindex and define as weak alias of __if_nametoindex.
27006         Use libc_hidden_weak.
27007         (if_freenameindex): Rename to __if_freenameindex and define as
27008         weak alias of __if_freenameindex.
27009         (if_nameindex): Rename to __if_nameindex and define as weak alias
27010         of __if_nameindex.
27011         (if_indextoname): Rename to __if_indextoname and define as weak
27012         alias of __if_indextoname.  Use libc_hidden_weak.
27013         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27014         __if_nametoindex and define as weak alias of __if_nametoindex.
27015         Use libc_hidden_weak.
27016         (if_freenameindex): Rename to __if_freenameindex and define as
27017         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27018         (if_nameindex_netlink): Use __if_freenameindex instead of
27019         if_freenameindex.
27020         (if_nameindex): Rename to __if_nameindex and define as weak alias
27021         of __if_nameindex.  Use libc_hidden_weak.
27022         (if_indextoname): Rename to __if_indextoname and define as weak
27023         alias of __if_indextoname.  Use libc_hidden_weak.
27024         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27025         libc_hidden_proto.
27026         [!_ISOMAC] (__if_freenameindex): Likewise.
27027         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27028         if_nametoindex.
27029         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27030         variable.
27031         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27032         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27033         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27034         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27035         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27036         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27037         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27039         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27040         Remove variable.
27041         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27042         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27044 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27046         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27047         subscript above bounds'
27049         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27050         bounds.
27052 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27054         * libio/tst-fopenloc.c: Use test-skeleton.c.
27056         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27057         (entry): Rename to ITEM.
27058         (do_test, comp): Adjust.
27060         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27062 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27064         * string/tester.c: Include <libc-internal.h>.
27065         (test_memset): Ignore -Wmemset-transposed-args.
27067 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27069         * misc/tst-mntent2.c (do_test): Fix warning.
27071 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27073         * elf/tst-unique4lib.cc(a): Mark as used.
27075 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27077         [BZ #17630]
27078         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27079         names.
27081 2014-12-16  Allan McRae  <allan@archlinux.org>
27083         * stdio-common/Makefile (tests): Re-add bug26.
27085 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27087         [BZ #17657]
27088         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27089         static array.
27091 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27093         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27094         (__lll_lock_wait): Likewise.
27095         (__lll_timedlock_wait): Likewise.
27096         (__lll_timedwait_tid): Likewise.
27097         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27098         (__lll_robust_timedlock_wait): Likewise.
27099         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27100         (lll_cond_trylock): Likewise.
27101         (__lll_lock): Likewise.
27102         (__lll_robust_lock): Likewise.
27103         (__lll_cond_lock): Likewise.
27104         (lll_robust_cond_lock): Likewise.
27105         (__lll_timedlock): Likewise.
27106         (__lll_robust_timedlock): Likewise.
27107         (__lll_unlock): Likewise.
27108         (__lll_robust_unlock): Likewise.
27109         (lll_wait_tid): Likewise.
27110         (lll_timedwait_tid): Likewise.
27112 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27114         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27116 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27118         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27120 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27122         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27123         * stdio-common/tst-sprintf.c: Likewise.
27125 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27127         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27129 2014-12-15  Jeff Law  <law@redhat.com>
27131         [BZ #16617]
27132         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27133         on the heap.  (CVE-2012-3406)
27134         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27135         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27136         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27138 2014-12-15  Will Newton  <will.newton@linaro.org>
27140         * manual/install.texi: Bump required version of texinfo
27141         to 4.7 from 4.5.
27142         * INSTALL: Regenerated.
27143         * configure.ac: Check for makeinfo version 4.7 and above.
27144         * configure: Regenerated.
27146 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27148         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27149         PREFIX, string constant to insert between directory and name.
27150         * sysdeps/posix/shm_open.c: Update caller.
27151         * sysdeps/posix/shm_unlink.c: Likewise.
27152         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27153         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27154         (SEM_SHM_PREFIX): New macro.
27155         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27156         [$(have-thread-library) = no].
27157         * nptl/Makefile (libpthread-routines): Add shm-directory.
27158         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27159         * sysdeps/nptl/shm-directory.h: New file.
27160         * sysdeps/posix/shm-directory.c
27161         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27162         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27163         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27164         INTERNAL_SYSCALL.
27165         (__where_is_shmfs): Function removed.
27166         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27167         Variables removed.
27168         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27169         Use SHM_GET_NAME.
27170         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27172         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27173         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27174         unconditional for use inside libpthread.
27175         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27177 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27179         * nptl/pthread_getaffinity.c: New file.
27180         * nptl/pthread_setaffinity.c: New file.
27181         * nptl/pthread_getname.c: New file.
27182         * nptl/pthread_setname.c: New file.
27184         * nptl/pthread_create.c (START_THREAD_DEFN)
27185         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27187 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27188             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27190         * resolv/res_send.c (send_vc): Disable warning resplen may
27191         be used uninitialized.
27193 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27195         * nptl/tst-mutex6.c
27196         (ATTR_NULL): New define checks ATTR against NULL.
27197         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27198         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27200 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27202         [BZ #17581]
27203         * malloc/hooks.c
27204         (mem2mem_check): Revert my previous change.
27205         (malloc_check_get_size): Revert my previous change.
27206         (mem2chunk_check): Revert my previous change.
27208 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27210         * sysdeps/posix/shm-directory.c: New file.
27211         * sysdeps/posix/shm-directory.h: New file.
27212         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27213         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27214         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27215         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27216         Transmute EPERM to EACCES.
27217         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27218         from ...
27219         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27220         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27222 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27224         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27225         pointer and cast to uintptr_t.
27226         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27227         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27228         Add cast to avoid warning.
27229         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27231 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27233         * nptl/semaphore.h: Move to ...
27234         * sysdeps/pthread/semaphore.h: ... here.
27235         * Makefile (installed-headers): Change nptl/semaphore.h to
27236         sysdeps/pthread/semaphore.h.
27238 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27240         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27241         generated error format strings.
27243         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27244         -Wformat-extra-args warnings for scanf formats.
27245         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27246         test of zero-length format (duh).
27247         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27248         corner-case scanf format test.
27249         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27250         generated fprintf format string.
27251         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27252         corner-case sprintf format tests.
27253         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27254         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27255         -Wformat-extra-args warnings throughout.
27256         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27257         (CFLAGS-scanf4.c): Likewise.
27258         (CFLAGS-scanf7.c): Likewise.
27259         (CFLAGS-tst-sprintf.c): Likewise.
27260         (CFLAGS-tst-printf.c): Likewise.
27261         (CFLAGS-tst-printfsz.c): Likewise.
27263 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27265         * include/cpio.h: New file.
27266         * include/fmtmsg.h: Likewise.
27268         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27269         corresponding format argument to size_t.
27270         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27271         arguments.
27272         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27273         corresponding format argument to size_t.
27274         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27275         arguments.
27276         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27277         corresponding format argument to size_t.
27278         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27279         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27280         (CFLAGS-tst-mbswcs2.c): Likewise.
27281         (CFLAGS-tst-mbswcs3.c): Likewise.
27282         (CFLAGS-tst-mbswcs4.c): Likewise.
27283         (CFLAGS-tst-mbswcs5.c): Likewise.
27284         (CFLAGS-tst-trans.c): Likewise.
27286 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27288         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27289         rather than assuming they won't contain any '%'s.
27291 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27293         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27294         inhibit_loop_to_libcall to avoid recursive calls.
27295         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27296         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27298 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27300         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27301         prototype.
27303 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27305         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27306         integer value instead of boolean.
27308 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27310         * malloc/malloc.c: Fix powerof2 check.
27312 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27314         * locale/programs/locfile.h (maybe_swap_uint32):
27315         Remove inline and add unused attribute.
27317 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27319         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27320         Truncating assembler expression to a .long expression.
27322 2014-12-11  Andreas Schwab  <schwab@suse.de>
27324         * elf/rtld.c (struct map_args): Constify str member.
27325         (do_preload): Constify fname argument.
27327 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27329         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27330         constants definition.
27332 2014-12-11  Andreas Schwab  <schwab@suse.de>
27334         [BZ #16657]
27335         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27336         FORCE_ELISION instead of DO_ELISION.
27337         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27338         Remove.
27339         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27340         Likewise.
27342         * iconvdata/gconv-modules: Remove duplicate entry.
27344 2014-12-11  Will Newton  <will.newton@linaro.org>
27346         Merge gettext 0.19.3 into intl/.
27348         This involves a number of cosmetic changes to comments
27349         and ANSI function definitions and prototypes throughout
27350         all the files. The gettext copyright header is used but
27351         with the date ranges taken from the glibc copy.
27353         * NEWS: Add gettext merge to 2.21.
27354         * intl/bindtextdom.c: Switch to gettext copyright.
27355         Use ANSI definitions and prototypes.
27356         Use gl_* locking primitives rather than __libc_* ones.
27357         Use __builtin_expect rather than __glibc_likely/unlikely.
27358         * intl/dcgettext.c: Switch to gettext copyright.
27359         Use ANSI definitions and prototypes.
27360         * intl/dcigettext.c: Switch to gettext copyright.
27361         Use ANSI definitions and prototypes.
27362         (INTDIV0_RAISES_SIGFPE): New define.
27363         Use gl_* locking primitives rather than __libc_* ones.
27364         Include eval-plural.h instead of plural-eval.c.
27365         Use __builtin_expect rather than __glibc_likely/unlikely.
27366         * intl/dcngettext.c: Switch to gettext copyright.
27367         Use ANSI definitions and prototypes.
27368         * intl/dgettext.c: Likewise.
27369         * intl/dngettext.c: Likewise.
27370         * intl/plural-eval.c: Renamed to...
27371         * intl/eval-plural.h: ...this.
27372         * intl/explodename.c: Switch to gettext copyright.
27373         Use ANSI definitions and prototypes.
27374         (_nl_explode_name): Use strchr instead of __rawmemchr.
27375         * intl/finddomain.c: Switch to gettext copyright.
27376         Use ANSI definitions and prototypes.
27377         Use gl_* locking primitives rather than __libc_* ones.
27378         (_nl_find_domain): Use malloc rather than alloca for
27379         allocation of temporary locale name.
27380         * intl/gettext.c: Switch to gettext copyright.
27381         Use ANSI definitions and prototypes.
27382         * intl/gettextP.h: Switch to gettext copyright.
27383         Use ANSI definitions and prototypes.
27384         Use gl_* locking primitives rather than __libc_* ones.
27385         * intl/gmo.h: Switch to gettext copyright.
27386         (struct sysdep_string): Move struct segment_pair outside of
27387         struct definition.
27388         * intl/hash-string.c: Use ANSI definitions and prototypes.
27389         * intl/hash-string.h: Switch to gettext copyright.
27390         Use ANSI definitions and prototypes.
27391         * intl/l10nflist.c: Switch to gettext copyright.
27392         Use ANSI definitions and prototypes.
27393         (_nl_normalize_codeset): Avoid integer overflow.
27394         * intl/loadinfo.h: Switch to gettext copyright.
27395         Use ANSI definitions and prototypes.
27396         (LIBINTL_DLL_EXPORTED): New define.
27397         (PATH_SEPARATOR): New define.
27398         * intl/loadmsgcat.c: Switch to gettext copyright.
27399         * intl/localealias.c: Switch to gettext copyright.
27400         Use ANSI definitions and prototypes.
27401         (_nl_expand_alias): Use PATH_SEPARATOR.
27402         * intl/ngettext.c: Switch to gettext copyright.
27403         Use ANSI definitions and prototypes.
27404         * intl/plural-exp.c: Likewise.
27405         * intl/plural-exp.h: Switch to gettext copyright.
27406         Use ANSI definitions and prototypes.
27407         (struct expression): Move definition of enum operator outside
27408         of struct definition.
27409         * intl/plural.c: Regenerate.
27410         * intl/plural.y: Switch to gettext copyright.
27411         Use ANSI definitions and prototypes.
27412         Port to bison 3.0.
27413         * intl/textdomain.c: Switch to gettext copyright.
27414         Use ANSI definitions and prototypes.
27415         Use gl_* locking primitives rather than __libc_* ones.
27417 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27419         * debug/warning-nop.c: Add used atrribute.
27421 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27423         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27425         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27426         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27427         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27429 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27430             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27432         [BZ #17634]
27433         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27434         Undefine after defining function.  Define as weak alias of
27435         __wcschr.  Use libc_hidden_weak.
27436         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27437         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27438         (libc_hidden_def): Also define __GI___wcschr alias.
27439         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27440         __wcschr and define as weak alias of __wcschr.
27441         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27442         __wcschr.
27443         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27444         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27445         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27446         libc_hidden_weak.  Do not use libc_hidden_def.
27447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27448         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27449         __GI___wcschr alias.
27450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27451         [IS_IN (libc)] (wcschr): Define as macro expanding to
27452         __redirect_wcschr.
27453         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27454         [IS_IN (libc)] (__wcschr_power6): Likewise.
27455         [IS_IN (libc)] (__wcschr_power7): Likewise.
27456         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27457         instead of wcschr.
27458         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27459         __libc_wcschr.
27460         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27461         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27462         __wcschr and define as weak alias of __wcschr.  Use
27463         libc_hidden_builtin_def.
27464         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27465         as weak alias of __wcschr.  Use libc_hidden_weak.
27466         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27467         wcschr.
27468         * time/era.c (_nl_init_era_entries): Likewise.
27469         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27470         variable.
27471         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27472         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27474 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27476         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27477         format for long int variable.
27479 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27481         [BZ #10672]
27482         * manual/search.texi: (Array Sort Function): Remove claim how to make
27483         qsort stable.
27485 2014-12-10  Andreas Schwab  <schwab@suse.de>
27487         [BZ #12847]
27488         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27489         user-controlled locks.
27491 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27493         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27494         register.
27496 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27498         * configure.ac (--disable-werror): New configure option.
27499         (enable_werror): New AC_SUBST.
27500         * configure: Regenerated.
27501         * config.make.in (enable-werror): New variable.
27502         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27503         -Wno-error=undef.
27504         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27505         * manual/install.texi (Configuring and compiling): Document
27506         --disable-werror.
27507         * INSTALL: Regenerated.
27508         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27509         (CFLAGS-tst-chk2.c): Likewise.
27510         (CFLAGS-tst-chk3.c): Likewise.
27511         (CFLAGS-tst-chk4.cc): Likewise.
27512         (CFLAGS-tst-chk5.cc): Likewise.
27513         (CFLAGS-tst-chk6.cc): Likewise.
27514         (CFLAGS-tst-lfschk1.c): Likewise.
27515         (CFLAGS-tst-lfschk2.c): Likewise.
27516         (CFLAGS-tst-lfschk3.c): Likewise.
27517         (CFLAGS-tst-lfschk4.cc): Likewise.
27518         (CFLAGS-tst-lfschk5.cc): Likewise.
27519         (CFLAGS-tst-lfschk6.cc): Likewise.
27521         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27522         (main): Disable -Wdeprecated-declarations around calls to
27523         register_printf_function.
27525         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27526         (do_test): Disable -Wdiv-by-zero around some calls to
27527         fwrite_unlocked and fread_unlocked.
27529         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27530         (DIAG_POP_NEEDS_COMMENT): Likewise.
27531         (_DIAG_STR1): Likewise.
27532         (_DIAG_STR): Likewise.
27533         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27534         * stdio-common/bug21.c: Include <libc-internal.h>.
27535         (do_test): Disable -Wformat around call to sscanf.
27536         * stdio-common/scanf14.c: Include <libc-internal.h>.
27537         (main): Disable -Wformat around some calls to scanf functions.
27539 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27541         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27543 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27545         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27546         stack variable alignment.
27548 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27550         [BZ #17682]
27551         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27552         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27553         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27554         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27555         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27556         __getrlimit instead of getrlimit.
27557         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27558         __gettimeofday instead of gettimeofday.
27559         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27560         Likewise.
27561         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27562         Likewise.
27563         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27564         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27565         Remove variable.
27566         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27567         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27569 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27571         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27572         for wide-character tests.
27574 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27576         * io/openat64.c: #include <libc-internal.h>
27577         (__openat64): Prototypify.  Use ignore_value on MODE.
27578         * io/openat.c: Likewise.
27579         * misc/reboot.c: #include <libc-internal.h>
27580         (reboot): Prototypify.  Use ignore_value on HOWTO.
27581         * misc/ptrace.c: #include <libc-internal.h>
27582         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27584 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27586         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27587         XPG4, UNIX98 and XOPEN2K.
27588         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27589         Remove variable.
27590         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27592 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27594         * libio/fileops.c: Use ISO C style for function definitions.
27595         * libio/iofopen.c: Likewise.
27596         * libio/wfileops.c: Likewise.
27598         [BZ #17653]
27599         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27600         offset on EOF.
27601         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27602         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27603         (fgets_func): Function pointer to fgets and fgetws.
27604         (do_ftell_test): Add test to verify ftell value after read
27605         EOF.
27606         (do_test): Set fgets_func.
27608         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27609         O_TRUNC flag for w and w+ modes.
27610         (do_rewind_test): Likewise.
27611         (do_ftell_test): Likewise.
27612         (do_write_test): Likewise.
27614         [BZ #17647]
27615         * libio/fileops.c (do_ftell): Seek only when there are
27616         unflushed writes.
27617         * libio/wfileops.c (do_ftell_wide): Likewise.
27618         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27619         test case.
27620         (do_one_test): Call it.
27622 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27624         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27625         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27626         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27627         Remove variable.
27628         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27629         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27630         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27632 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27634         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27635         Remove variable.
27636         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27638         [BZ #17668]
27639         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27640         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27641         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27642         __freeifaddrs.  Use libc_hidden_weak.
27643         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27644         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27645         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27646         __freeifaddrs.  Use libc_hidden_weak.
27647         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27648         __getifaddrs and define as weak alias of __getifaddrs.  Use
27649         libc_hidden_weak.
27650         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27651         __freeifaddrs.  Use libc_hidden_weak.
27652         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27653         Remove variable.
27654         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27655         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27657 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27659         [BZ #17601]
27660         * sysdeps/mips/start.S (__start): Use indirect jump to call
27661         __libc_start_main.
27663 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27665         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27667         * nptl/tst-mutex1.c: Include <stdbool.h>.
27668         [!ATTR] (ATTR_NULL): New macro.
27669         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27670         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27671         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27673         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27674         to char *.
27676         [BZ #17665]
27677         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27678         Change conditional to [__USE_MISC].
27680         [BZ #17664]
27681         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27682         fgets_unlocked.
27683         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27684         __fgets_unlocked.
27685         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27686         fgets_unlocked.
27687         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27688         Remove variable.
27689         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27690         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27691         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27692         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27693         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27694         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27695         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27696         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27697         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27699         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27701 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27704         Remove strpbrk objects.
27705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27706         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27707         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27708         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27709         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27710         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27713         Remove strcspn objects.
27714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27715         (__libc_ifunc_impl_list): Remove strcspn implementation.
27716         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27717         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27718         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27719         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27722         Remove strspn objetcs.
27723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27724         (__libc_ifunc_impl_list): Remove strspn implementation.
27725         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27726         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27727         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27728         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27730 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27732         [BZ #17581]
27733         * malloc/hooks.c
27734         (mem2mem_check): Add a terminator to the chain of checking blocks.
27735         (malloc_check_get_size): Use it here.
27736         (mem2chunk_check): Ditto.
27738 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27740         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27741         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27743 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27745         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27747         * nptl/nptl-init.c: Include libc-internal.h.
27748         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27750         * elf/ldconfig.c (search_dir): Expand comment.
27752 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27754         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27755         variable.
27756         (linknamespace-symlist-stdlibs-tests): Likewise.
27757         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27758         instead of $(objpfx)symlist-stdlibs.
27759         (linknamespace-libs-isoc): New variable.
27760         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27761         (linknamespace-libs-ISO): New variable.
27762         (linknamespace-libs-ISO99): Likewise.
27763         (linknamespace-libs-ISO11): Likewise.
27764         (linknamespace-libs-XPG3): Likewise.
27765         (linknamespace-libs-XPG4): Likewise.
27766         (linknamespace-libs-POSIX): Likewise.
27767         (linknamespace-libs-UNIX98): Likewise.
27768         (linknamespace-libs-XOPEN2K): Likewise.
27769         (linknamespace-libs-POSIX2008): Likewise.
27770         (linknamespace-libs-XOPEN2K8): Likewise.
27771         ($(objpfx)symlist-stdlibs): Replace by
27772         $(linknamespace-symlist-stdlibs-tests).  Use
27773         $(linknamespace-libs-$*) as set of libraries.
27774         ($(linknamespace-header-tests)): Update dependencies.  Use
27775         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27776         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27777         * conform/linknamespace.pl: Remove comment about considering
27778         definitions of symbols from irrelevant libraries.
27780 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27782         [BZ #13862]
27783         * elf/dl-tls.c: Include <atomic.h>.
27784         (oom): Remove #ifdef SHARED/#endif.
27785         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27786         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27787         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27788         big enough.
27789         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27790         * nptl/Makefile (tests): Add tst-stack4.
27791         (modules-names): Add tst-stack4mod.
27792         ($(objpfx)tst-stack4): New.
27793         (tst-stack4mod.sos): Likewise.
27794         ($(objpfx)tst-stack4.out): Likewise.
27795         ($(tst-stack4mod.sos)): Likewise.
27796         (clean): Likewise.
27797         * nptl/tst-stack4.c: New file.
27798         * nptl/tst-stack4mod.c: Likewise.
27800 2014-11-27  J. Brown  <jb999@gmx.de>
27802         * sysdeps/x86/bits/string.h: Add recent CPUs.
27804 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27806         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27807         sigblock.
27809         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27810         feof.
27812         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27813         variable.
27815 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27817         * nscd/connections.c: Include libc-internal.h because of macro
27818         usage ignore_value.
27820 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27822         * string/bits/string3.h (__warn_memset_zero_len): Don't
27823         declare for gcc newer than 5.0.
27824         (memset): Don't test for zero-length __LEN for gcc newer than
27825         5.0.
27827 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27829         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27830         size_t for %zu format.
27832         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27833         difference, not %ju.
27835 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27837         * include/libc-internal.h (ignore_value): New macro.
27838         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27839         with ignore_value.
27841         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27842         definition.
27844         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27845         pthread_cleanup_push to void *.
27847         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27848         Undefine.
27850         [BZ #16619]
27851         [BZ #16740]
27852         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27853         instead of 1L << 52.
27855         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27856         * libio/bug-rewind2.c (do_test): Likewise.
27858         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27859         * debug/test-strcpy_chk-ifunc.c: Likewise.
27860         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27861         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27862         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27863         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27864         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27865         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27866         * Rules [$(multi-arch) = no] (tests): Do not filter out
27867         $(tests-ifunc).
27868         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27869         * debug/Makefile (tests-ifunc): Remove variable.
27870         (tests): Do not add $(tests-ifunc).
27871         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27872         (tests): Do not add $(tests-ifunc).
27873         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27874         [TEST_IFUNC]: Remove conditionals.
27875         * string/test-string.h (TEST_IFUNC): Remove macro.
27876         [TEST_IFUNC]: Remove conditionals.
27878         * string/test-strchr.c [!WIDE] (L): New macro.
27879         [WIDE] (L): Likewise.
27880         (check1): Use CHAR instead of char.  Use L on string and character
27881         constants.
27883 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27885         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27886         tests.
27887         * sysdeps/powerpc/bits/atomic.h
27888         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27889         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27890         (atomic_exchange_and_add_acq): Likewise.
27891         (atomic_exchange_and_add_rel): Likewise.
27892         * sysdeps/powerpc/powerpc32/bits/atomic.h
27893         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27894         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27895         * sysdeps/powerpc/powerpc64/bits/atomic.h
27896         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27897         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27899 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27901         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27902         Change synchronization of __sched_fifo_min_prio and
27903         __sched_fifo_max_prio.
27904         * nptl/pthread_mutexattr_getprioceiling.c
27905         (pthread_mutexattr_getprioceiling): Likewise.
27906         * nptl/pthread_mutexattr_setprioceiling.c
27907         (pthread_mutexattr_setprioceiling): Likewise.
27908         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27909         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27910         Likewise.
27912 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27914         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27915         void.
27917 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27919         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27920         third argument const.
27922 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27924         fnmatch: work around GCC compiler warning bug with uninit var
27925         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27926         This works around a bug with x86-64 GCC 4.9.2 and earlier
27927         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27928         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27929         used uninitialized in this function [-Wmaybe-uninitialized]".
27931 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27933         * posix/bug-regex31.c (main): Return RES not 0.
27935 2014-11-25  Anton Blanchard <anton@samba.org>
27937         * sysdeps/powerpc/bits/atomic.h
27938         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27940 2014-11-24  Sterling Augustine  <saugustine@google.com>
27942         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27944 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27946         [BZ #17608]
27947         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27949 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27951         [BZ #17633]
27952         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27953         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27954         variable.
27955         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27956         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27958 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27960         * string/strncpy.c (strncpy): Improve performance by using memset.
27962 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27964         * string/strcpy.c (strcpy):
27965         Improve performance by using strlen and memcpy.
27967 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27969         * string/strcoll_l.c (get_next_seq): __always_inline.
27970         * string/strcoll_l.c (do_compare): __always_inline.
27972 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27974         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27975         defined.
27976         * include/mqueue.h: Likewise.
27977         * include/stdlib.h: Likewise.
27979         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27980         (get_null_defines): Adjust.
27981         * sunrpc/Makefile: Adjust comment.
27982         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27983         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27984         (CFLAGS-interp.c): Likewise.
27985         (CFLAGS-ldconfig.c): Likewise.
27986         (CPPFLAGS-.os): Likewise.
27987         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27988         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27989         * extra-modules.mk (extra-modules.mk): Likewise.
27990         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27991         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27992         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27993         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27994         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27995         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27996         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27997         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27998         * iconvdata/Makefile (CPPFLAGS): Likewise.
27999         (cpp-srcs-left): Add libof for all iconvdata routines.
28000         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28001         * include/assert.h: Likewise.
28002         * include/ctype.h: Likewise.
28003         * include/errno.h: Likewise.
28004         * include/libc-symbols.h: Likewise.
28005         * include/math.h: Likewise.
28006         * include/netdb.h: Likewise.
28007         * include/resolv.h: Likewise.
28008         * include/stdio.h: Likewise.
28009         * include/stdlib.h: Likewise.
28010         * include/string.h: Likewise.
28011         * include/sys/stat.h: Likewise.
28012         * include/wctype.h: Likewise.
28013         * intl/l10nflist.c: Likewise.
28014         * libidn/idn-stub.c: Likewise.
28015         * libio/libioP.h: Likewise.
28016         * nptl/libc_multiple_threads.c: Likewise.
28017         * nptl/pthreadP.h: Likewise.
28018         * posix/regex_internal.h: Likewise.
28019         * resolv/res_hconf.c: Likewise.
28020         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28021         * sysdeps/arm/memmove.S: Likewise.
28022         * sysdeps/arm/sysdep.h: Likewise.
28023         * sysdeps/generic/_itoa.h: Likewise.
28024         * sysdeps/generic/symbol-hacks.h: Likewise.
28025         * sysdeps/gnu/errlist.awk: Likewise.
28026         * sysdeps/gnu/errlist.c: Likewise.
28027         * sysdeps/i386/i586/memcpy.S: Likewise.
28028         * sysdeps/i386/i586/memset.S: Likewise.
28029         * sysdeps/i386/i686/memcpy.S: Likewise.
28030         * sysdeps/i386/i686/memmove.S: Likewise.
28031         * sysdeps/i386/i686/mempcpy.S: Likewise.
28032         * sysdeps/i386/i686/memset.S: Likewise.
28033         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28034         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28035         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28036         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28037         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28038         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28039         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28040         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28041         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28042         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28049         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28050         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28051         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28052         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28053         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28054         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28055         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28056         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28057         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28058         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28059         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28060         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28061         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28062         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28063         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28064         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28066         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28067         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28068         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28069         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28070         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28071         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28072         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28073         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28074         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28075         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28076         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28077         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28078         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28079         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28080         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28081         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28082         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28083         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28084         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28085         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28086         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28087         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28088         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28089         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28090         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28091         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28092         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28093         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28094         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28095         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28096         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28097         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28098         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28099         * sysdeps/posix/closedir.c: Likewise.
28100         * sysdeps/posix/opendir.c: Likewise.
28101         * sysdeps/posix/readdir.c: Likewise.
28102         * sysdeps/posix/rewinddir.c: Likewise.
28103         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28104         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28105         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28106         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28107         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28108         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28109         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28115         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28117         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28119         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28120         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28131         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28139         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28140         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28141         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28142         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28143         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28144         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28145         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28147         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28148         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28149         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28150         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28151         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28153         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28154         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28157         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28159         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28160         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28161         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28162         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28163         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28164         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28165         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28166         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28167         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28168         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28169         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28170         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28171         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28172         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28173         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28174         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28175         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28176         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28177         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28178         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28179         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28180         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28181         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28182         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28183         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28184         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28185         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28186         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28187         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28188         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28189         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28190         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28191         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28192         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28193         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28194         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28195         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28196         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28197         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28198         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28199         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28200         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28201         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28202         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28203         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28204         * sysdeps/unix/alpha/sysdep.S: Likewise.
28205         * sysdeps/unix/alpha/sysdep.h: Likewise.
28206         * sysdeps/unix/make-syscalls.sh: Likewise.
28207         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28209         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28210         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28211         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28212         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28213         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28214         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28215         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28216         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28217         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28218         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28220         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28221         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28222         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28223         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28224         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28225         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28226         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28227         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28228         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28229         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28230         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28231         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28232         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28233         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28236         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28237         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28241         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28245         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28246         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28247         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28248         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28249         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28250         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28251         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28254         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28258         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28259         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28260         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28261         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28263         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28265         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28266         * sysdeps/x86_64/memcpy.S: Likewise.
28267         * sysdeps/x86_64/memmove.c: Likewise.
28268         * sysdeps/x86_64/memset.S: Likewise.
28269         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28270         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28271         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28272         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28273         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28274         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28275         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28276         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28277         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28278         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28279         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28280         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28281         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28282         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28283         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28284         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28285         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28286         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28287         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28288         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28289         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28290         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28291         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28292         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28293         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28294         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28295         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28296         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28297         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28298         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28299         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28300         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28301         * sysdeps/x86_64/strcmp.S: Likewise.
28303         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28305         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28306         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28307         * elf/rtld-Rules: Likewise.
28308         * elf/setup-vdso.h: Likewise.
28309         * include/assert.h: Likewise.
28310         * include/bits/stdlib-float.h: Likewise.
28311         * include/errno.h: Likewise.
28312         * include/sys/stat.h: Likewise.
28313         * include/unistd.h: Likewise.
28314         * sysdeps/aarch64/setjmp.S: Likewise.
28315         * sysdeps/alpha/setjmp.S: Likewise.
28316         * sysdeps/arm/__longjmp.S: Likewise.
28317         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28318         * sysdeps/arm/setjmp.S: Likewise.
28319         * sysdeps/arm/sysdep.h: Likewise.
28320         * sysdeps/generic/_itoa.h: Likewise.
28321         * sysdeps/generic/dl-sysdep.h: Likewise.
28322         * sysdeps/generic/ldsodefs.h: Likewise.
28323         * sysdeps/i386/dl-tls.h: Likewise.
28324         * sysdeps/i386/setjmp.S: Likewise.
28325         * sysdeps/m68k/setjmp.c: Likewise.
28326         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28327         * sysdeps/mach/hurd/opendir.c: Likewise.
28328         * sysdeps/posix/getcwd.c: Likewise.
28329         * sysdeps/posix/opendir.c: Likewise.
28330         * sysdeps/posix/profil.c: Likewise.
28331         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28332         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28333         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28334         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28335         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28336         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28337         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28338         * sysdeps/s390/dl-tls.h: Likewise.
28339         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28340         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28341         * sysdeps/sh/sh3/setjmp.S: Likewise.
28342         * sysdeps/sh/sh4/setjmp.S: Likewise.
28343         * sysdeps/unix/alpha/sysdep.h: Likewise.
28344         * sysdeps/unix/arm/sysdep.S: Likewise.
28345         * sysdeps/unix/i386/sysdep.S: Likewise.
28346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28347         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28348         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28351         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28352         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28353         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28354         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28355         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28356         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28357         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28358         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28361         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28365         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28366         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28367         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28369         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28370         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28373         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28374         * sysdeps/x86_64/setjmp.S: Likewise.
28376         * include/math.h: Use IS_IN instead of IS_IN_libm.
28377         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28378         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28379         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28380         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28381         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28382         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28383         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28384         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28385         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28386         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28387         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28388         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28389         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28390         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28391         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28392         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28393         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28394         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28395         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28396         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28397         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28398         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28399         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28400         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28401         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28402         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28403         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28404         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28405         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28406         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28407         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28408         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28409         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28411         Likewise.
28412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28413         Likewise.
28414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28415         Likewise.
28416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28417         Likewise.
28418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28419         Likewise.
28420         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28421         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28422         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28423         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28424         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28425         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28431         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28432         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28433         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28434         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28435         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28436         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28437         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28438         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28439         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28440         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28441         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28443         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28444         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28446         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28448         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28449         * nptl/pthreadP.h: Likewise.
28450         * nptl_db/structs.def: Likewise.
28451         * sysdeps/arm/sysdep.h: Likewise.
28452         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28453         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28454         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28455         * sysdeps/unix/alpha/sysdep.h: Likewise.
28456         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28458         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28459         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28460         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28461         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28462         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28463         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28464         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28465         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28466         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28467         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28468         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28469         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28474         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28477         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28478         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28479         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28480         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28481         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28483         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28484         * nptl/pthreadP.h: Likewise.
28485         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28486         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28487         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28488         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28489         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28490         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28491         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28492         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28493         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28494         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28495         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28496         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28498         Likewise.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28500         Likewise.
28501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28503         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28506         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28507         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28508         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28510         * dlfcn/dladdr.c: Use IS_IN.
28511         * dlfcn/dladdr1.c: Likewise.
28512         * dlfcn/dlclose.c: Likewise.
28513         * dlfcn/dlerror.c: Likewise.
28514         * dlfcn/dlinfo.c: Likewise.
28515         * dlfcn/dlmopen.c: Likewise.
28516         * dlfcn/dlopen.c: Likewise.
28517         * dlfcn/dlsym.c: Likewise.
28518         * dlfcn/dlvsym.c: Likewise.
28520         * include/ifaddrs.h: Use IS_IN.
28521         * inet/check_pf.c: Likewise.
28522         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28523         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28525         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28526         IS_IN_ldconfig.
28527         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28528         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28530         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28531         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28532         IS_IN (libc).
28534         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28536         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28537         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28538         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28539         * include/libc-symbols.h (IS_IN_LIB): New macro.
28540         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28541         * include/netdb.h: Likewise.
28542         * include/stap-probe.h: Remove all uses of IN_LIB.
28544         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28545         instead of IN_MODULE.
28546         * include/libc-symbols.h (IN_MODULE): Define using
28547         MODULE_NAME.
28548         (PASTE_NAME, PASTE_NAME1): New macros.
28549         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28550         of IN_LIB.
28551         (STAP_PROBE_ASM): Likewise.
28553 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28555         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28556         __mach_init in dlopened libc.
28558 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28560         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28561         * sysdeps/arm/preconfigure: Regenerate.
28563 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28565         * nptl/pthread_create.c (__pthread_create_2_1): Set
28566         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28567         when copying values from IATTR into PD.
28569 2014-11-21  Will Newton  <will.newton@linaro.org>
28570             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28572         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28573         Refactor inline-asm.  Also add comment.
28575         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28576         ElfW macro instead of hardcoded Elf64 types.
28577         (la_aarch64_gnu_pltenter): Likewise.
28578         * sysdeps/aarch64/dl-machine.h
28579         (elf_machine_runtime_setup): Use ElfW(Addr).
28581         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28582         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28583         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28584         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28585         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28586         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28587         (R_AARCH64_TLS_DTPMOD): This.
28588         (R_AARCH64_TLS_DTPREL64): Rename to ...
28589         (R_AARCH64_TLS_DTPREL): This.
28590         (R_AARCH64_TLS_TPREL64): Rename to ...
28591         (R_AARCH64_TLS_TPREL): This.
28592         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28593         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28594         R_AARCH64_TLS_TPREL64.
28595         (elf_machine_rela): Likewise.
28597 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28599         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28600         by setting it to 0.  64b atomics are not supported currently.
28602 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28604         [BZ #16469]
28605         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28606         search domain names.
28608 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28610         [BZ #16469]
28611         * NEWS: Update.
28612         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28613         trailing dot.
28614         * posix/tst-getaddrinfo5.c: New.
28615         * posix/Makefile (tests): Add it.
28617 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28619         [BZ #14498]
28620         * NEWS: Fixed.
28621         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28622         after parsing line but before break_if_match.
28623         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28624         if there is a protocol mismatch.
28626 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28628         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28629         because the potential race is on the user-supplied stream.
28631 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28633         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28634         string literal if not passed a buffer.
28635         * manual/job.texi (ctermid): Update reasoning, note deviation
28636         from posix, suggest mtasurace when not passed a buffer, for
28637         future non-preliminary safety notes.
28639 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28641         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28642         of not passing it a buffer.
28643         Reported by Peng Haitao.
28645 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28647         * manual/Makefile ($(objpfx)stamp-summary): Require
28648         check-safety.sh to pass.
28649         * manual/check-safety.sh: Wish for verification that every
28650         @deftypefn and @deftypefun is followed by a @safety remark.
28652 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28654         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28656         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28657         PTHREAD_CANCEL_ASYNCHRONOUS.
28658         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28659         send SIGCANCEL.
28661         * nptl/default-sched.h: New file.
28662         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28663         * nptl/pthread_create.c: Include it.
28664         (__pthread_create_2_1): Use collect_default_sched instead of making
28665         Linux syscalls here directly.
28667 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28669         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28670         __pthread_once): Use C11 atomics.
28672 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28674         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28676 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28678         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28679         atomic_thread_fence_acquire, atomic_thread_fence_release,
28680         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28681         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28682         atomic_compare_exchange_weak_relaxed,
28683         atomic_compare_exchange_weak_acquire,
28684         atomic_compare_exchange_weak_release,
28685         atomic_exchange_acquire, atomic_exchange_release,
28686         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28687         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28688         atomic_fetch_and_acquire,
28689         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28691 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28693         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28694         USE_ATOMIC_COMPILER_BUILTINS): Define.
28695         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28697         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28699         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28701         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28703         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28705         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28707         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28709         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28711         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28713         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28715         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28717         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28719         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28721         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28723         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28725         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28727         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28729         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28730         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28731         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28733         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28736 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28738         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28739         the sched_priority value here.  It was already checked when the user
28740         called pthread_attr_setschedparam.
28742         * nptl/tst-bad-schedattr.c: New file.
28743         * nptl/Makefile (tests): Add it.
28745 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28746             Florian Weimer  <fweimer@redhat.com>
28747             Joseph Myers  <joseph@codesourcery.com>
28748             Adam Conrad  <adconrad@0c3.net>
28749             Andreas Schwab  <schwab@suse.de>
28750             Brooks  <bmoses@google.com>
28752         [BZ #17625]
28753         * wordexp-test.c (__dso_handle): Add prototype.
28754         (__register_atfork): Likewise.
28755         (__app_register_atfork): New function.
28756         (registered_forks): New global.
28757         (register_fork): New function.
28758         (test_case): Add 3 new tests for WRDE_CMDSUB.
28759         (main): Call __app_register_atfork.
28760         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28761         fork count is non-zero fail the test.
28762         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28763         is set.
28764         (parse_dollars): Remove check for WRDE_NOCMD.
28765         (parse_dquote): Likewise.
28767 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28769         * Makeconfig (built-modules): List non-library modules to be
28770         built.
28771         (module-cppflags): Include libc-modules.h for
28772         everything except shlib-versions.v.i.
28773         (CPPFLAGS): Use it.
28774         (before-compile): Add libc-modules.h.
28775         ($(common-objpfx)libc-modules.h,
28776         $(common-objpfx)libc-modules.stmp): New targets.
28777         (common-generated): Add libc-modules.h and libc-modules.stmp.
28778         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28779         * include/libc-symbols.h: Don't include libc-modules.h.
28780         * include/libc-modules.h: Remove file.
28781         * scripts/gen-libc-modules.awk: New script to generate
28782         libc-modules.h.
28783         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28784         Depend on libc-modules.stmp.
28786         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28788         * Makeconfig (in-module): Get value of libof set for the
28789         translation unit.
28790         (CPPFLAGS): Use $(in-module).
28791         * Makerules: Don't suffix routine names for nonlib.
28792         * include/libc-modules.h: New file.
28793         * include/libc-symbols.h: Include libc-modules.h
28794         (IS_IN): New macro to replace IS_IN_* macros.
28795         * elf/Makefile: Set libof-* for each routine.
28796         * elf/rtld-Rules: Likewise.
28797         * extra-modules.mk: Likewise.
28798         * iconv/Makefile: Likewise.
28799         * iconvdata/Makefile: Likewise.
28800         * locale/Makefile: Likewise.
28801         * malloc/Makefile: Likewise.
28802         * nss/Makefile: Likewise.
28803         * sysdeps/gnu/Makefile: Likewise.
28804         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28805         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28806         * sysdeps/s390/s390-64/Makefile: Likewise.
28807         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28808         CPPFLAGS for nscd instead of nonlib.
28810 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28812         * nptl/createthread.c: New file.
28814         * nptl/createthread.c: Moved ...
28815         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28817         * nptl/createthread.c: Add proper top-line comment.
28818         (do_clone): Folded into ...
28819         (create_thread): ... here.  Take new arguments STOPPED_START and
28820         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28821         increment __nptl_threads, do event-reporting logic, do
28822         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28823         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28824         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28825         just send SIGCANCEL.
28826         * nptl/pthread_create.c: Forward-declare create_thread before
28827         including createthread.c.
28828         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28829         declaration, and new macro START_THREAD_SELF to replace argument.
28830         Remove return statement.
28831         (report_thread_creation): New function.
28832         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28833         synchronization logic, and __nptl_nthreads increment here, around
28834         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28835         PD->parent_cancelhandling here, before create_thread.  When
28836         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28837         __deallocate_stack, and ENOMEM translation here.
28839 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28841         [BZ #17616]
28842         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28843         (mptwo): Rename to __mptwo.
28844         (__inv): Use __mptwo instead of mptwo.
28845         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28846         (mptwo): Rename to __mptwo.
28847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28848         of mpone and __mptwo instead of mptwo.
28849         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28850         instead of mpone.
28851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28852         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28853         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28854         of mpone and __mptwo instead of mptwo.
28855         (__mpranred): Use __mpone instead of mpone.
28856         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28857         variable.
28858         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28859         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28860         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28861         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28862         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28863         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28864         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28865         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28866         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28867         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28868         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28869         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28870         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28871         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28872         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28873         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28874         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28875         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28876         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28878 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28880         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28881         replace BSD Handler xref with BSD Signal Handling.
28883 2014-11-17  Richard Henderson  <rth@redhat.com>
28885         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28886         (_FP_PACK_RAW_2): Remove.
28887         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28888         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28889         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28890         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28891         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28892         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28893         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28894         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28895         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28896         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28897         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28898         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28899         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28900         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28901         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28902         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28904 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28906         * signal/signal.h [__USE_MISC]
28907         (struct sigvec): Remove type.
28908         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28909         (sigvec): Remove declaration.
28910         * sysdeps/posix/sigvec.c: Moved ...
28911         * signal/sigvec.c: ... here, replacing old file.
28912         (struct sigvec): New type, copied from old signal.h definition.
28913         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28914         (__sigvec): Convert definition to prototype.
28915         (sigvec): Replace weak_alias with compat_symbol.
28916         * signal/Versions (libc: GLIBC_2.21): New version set.
28917         * include/signal.h: Remove __sigvec declaration.
28918         * sysdeps/unix/bsd/sigvec.c: Remove file.
28919         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28920         * manual/signal.texi (BSD Handler): Remove subsection.
28921         Move siginterrupt up to ...
28922         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28923         (Blocking in BSD): Fold subsection into its parent.
28924         * NEWS: Mention sigvec removal.
28926 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28928         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28929         (DLA_FMS): Make definition conditional only on [__FMA4__].
28930         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28931         definition.
28933         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28934         Make definition conditional only on [PROF].
28935         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28936         definition.
28937         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28938         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28940         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28941         !__GNUC__].
28942         * include/signal.h (__sigpause): Move declaration above call to
28943         libc_hidden_proto.
28944         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28945         variable.
28946         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28947         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28949 2014-11-14  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28952         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28954 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28956         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28957         * configure: Regenerated.
28958         * manual/install.texi (Tools for Compilation): Document a
28959         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28960         compiler verified to work.
28961         * INSTALL: Regenerated.
28963         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28964         redeclare with asm name.
28965         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28966         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28967         including <string.h>.
28968         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28969         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28970         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28971         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28972         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28973         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28974         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28976 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28978         * stdlib/strtol.c (__strtol): Use prototype definition.
28980         [BZ #17594]
28981         * stdlib/strtol.c (SYM__): New macro.
28982         (SYM__1): Likewise.
28983         (__strtol): Likewise.
28984         (strtol): Rename to __strtol and define as weak alias of
28985         __strtol.  Use libc_hidden_weak.
28987 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28989         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28990         Use numbered labels in inline assembly.
28992 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28994         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28995         Add setjmp LIBC_PROBE.
28996         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28997         Likewise.
28998         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28999         Add longjmp, longjmp_target LIBC_PROBE.
29000         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29001         Likewise.
29003 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29005         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29006         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29007         to get rid of unused variable warning.
29009 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29011         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29012         Check for unwind_backtrace ==  NULL only in SHARED case.
29013         (__backchain_backtrace): Compile only in SHARED case.
29014         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29015         Likewise.
29016         (__backchain_backtrace): Declare as static.
29018 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29020         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29021         (__libc_multiple_threads_ptr): Variable moved ...
29022         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29024 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29026         * conform/GlibcConform.pm: New file.
29027         * conform/conformtest.pl: Use GlibcConform module.
29028         * conform/linknamespace.pl: New file.
29029         * conform/list-header-symbols.pl: Likewise.
29030         * conform/Makefile (linknamespace-symlists-base): New variable.
29031         (linknamespace-symlists-tests): Likewise.
29032         (linknamespace-header-base): Likewise.
29033         (linknamespace-header-tests): Likewise.
29034         (tests-special): Add new tests.
29035         ($(linknamespace-symlists-tests)): New rule.
29036         (linknamespace-libs): New variable.
29037         ($(objpfx)symlist-stdlibs): New rule.
29038         ($(linknamespace-header-tests)): Likewise.
29039         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29040         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29041         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29042         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29043         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29044         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29045         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29046         (test-xfail-ISO/math.h/linknamespace): Likewise.
29047         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29048         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29049         (test-xfail-ISO/time.h/linknamespace): Likewise.
29050         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29051         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29052         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29053         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29054         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29055         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29056         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29057         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29058         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29059         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29060         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29061         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29062         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29063         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29064         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29065         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29066         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29067         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29068         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29069         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29070         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29071         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29072         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29073         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29074         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29075         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29076         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29077         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29078         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29079         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29080         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29081         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29082         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29083         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29084         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29085         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29086         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29087         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29088         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29089         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29090         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29091         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29092         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29093         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29094         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29095         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29096         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29097         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29098         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29099         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29100         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29101         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29102         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29103         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29104         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29105         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29106         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29107         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29108         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29109         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29110         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29111         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29112         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29113         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29114         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29115         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29116         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29117         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29118         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29119         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29120         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29121         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29122         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29123         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29124         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29125         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29126         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29127         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29128         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29129         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29130         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29131         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29132         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29133         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29134         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29135         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29136         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29137         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29138         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29139         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29140         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29141         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29142         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29143         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29144         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29145         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29146         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29147         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29148         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29149         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29150         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29151         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29152         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29153         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29154         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29155         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29156         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29157         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29158         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29159         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29160         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29161         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29162         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29163         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29164         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29165         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29166         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29167         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29168         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29169         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29170         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29171         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29172         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29173         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29174         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29175         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29176         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29177         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29178         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29179         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29180         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29181         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29182         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29183         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29184         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29185         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29186         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29187         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29188         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29189         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29190         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29191         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29192         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29193         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29194         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29195         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29196         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29197         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29198         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29199         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29201         [BZ #17589]
29202         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29203         of fgets_unlocked.
29205         [BZ #17585]
29206         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29207         (memmem): Rename to __memmem and define as weak alias of
29208         __memmem.  Use libc_hidden_weak.
29209         (__memmem): Use libc_hidden_def.
29210         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29211         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29212         memmem.
29214         [BZ #17582]
29215         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29216         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29217         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29218         and define as weak alias of __fgets_unlocked.  Use
29219         libc_hidden_weak.
29220         (__fgets_unlocked): Use libc_hidden_def.
29221         * include/stdio.h (__fgets_unlocked): Declare.  Use
29222         libc_hidden_proto.
29223         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29224         __fgets_unlocked instead of fgets_unlocked.
29225         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29226         (GET_NPROCS_CONF_PARSER): Likewise.
29227         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29228         (GET_NPROCS_CONF_PARSER): Likewise.
29230         [BZ #17574]
29231         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29232         weak alias of __wmemset.  Use libc_hidden_weak.
29233         (__wmemset): Use libc_hidden_def.
29234         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29235         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29236         of wmemset.
29238         [BZ #17573]
29239         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29240         with asm name __mempcpy.
29241         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29243         [BZ #17572]
29244         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29245         and define as weak alias of __rawmemchr.
29246         (__rawmemchr): Do not define as strong alias of rawmemchr.
29248         [BZ #17571]
29249         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29250         alias of __qsort_r.
29251         (qsort): Call __qsort_r instead of qsort_r.
29252         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29253         (__qsort_r): Declare.  Call libc_hidden_proto.
29254         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29255         instead of qsort_r.
29256         * nscd/gai.c (__qsort_r): Define to qsort_r.
29257         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29258         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29259         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29261         [BZ #17570]
29262         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29263         define as weak alias of __malloc_info.
29265         [BZ #17584]
29266         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29267         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29268         (__rewinddir): Use libc_hidden_def.
29269         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29270         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29271         (__rewinddir): Use libc_hidden_def.
29272         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29273         weak alias of __rewinddir.  Don't use libc_hidden_def.
29274         (__rewinddir): Use libc_hidden_def.
29275         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29276         (__rewinddir): Use libc_hidden_proto.
29277         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29278         rewinddir.
29279         (__getcwd): Use __rewinddir instead of rewinddir.
29281         [BZ #17583]
29282         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29283         alias of __fileno.  Use libc_hidden_weak.
29284         (__fileno): Use libc_hidden_def.
29285         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29286         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29287         alias of __ftello.
29288         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29289         __ftello.
29290         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29291         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29292         libc_hidden_def.
29293         (fread_unlocked): Don't use libc_hidden_ver.
29294         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29295         and define as weak alias of __fread_unlocked.  Don't use
29296         libc_hidden_def.
29297         (__fread_unlocked): Use libc_hidden_def.
29298         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29299         (ftello): Don't use libc_hidden_proto.
29300         (__ftello): Declare.  Use libc_hidden_proto.
29301         (fread_unlocked): Don't use libc_hidden_proto.
29302         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29303         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29304         and __ftello instead of fileno, fread_unlocked and ftello.
29306 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29308         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29309         GOT12.
29310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29311         Likewise.
29312         (_dl_start_user): Likewise.
29313         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29315 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29316             Siddhesh Poyarekar  <siddhesh@redhat.com>
29318         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29319         Move argv and envp down instead of moving argc up.
29320         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29322 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29324         [BZ #17506]
29325         * test-skeleton.c (main): Return successful if one of
29326         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29327         * string/tst-strcoll-overflow.c: Define expected status.
29329 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29331         [BZ #17475]
29332         * locale/iso-639.def: Define Bhili and Tulu language codes.
29334 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29336         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29338 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29340         [BZ #17555]
29341         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29343 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29345         * configure.ac: Updated check of minimal required version to
29346         2.22.
29347         * manual/install.texi (Tools for Compilation): Updated version
29348         number.
29349         * configure: Regenerated.
29350         * INSTALL: Likewise.
29352 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29354         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29355         __tls_get_addr.
29357 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29359         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29360         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29361         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29362         libc_hidden_weak.
29363         (waitpid): Define as alias of __waitpid.
29364         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29365         __waitpid.
29366         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29367         libc_hidden_weak.
29368         (waitpid): Define as alias of __waitpid.
29369         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29370         __libc_waitpid alias.
29371         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29372         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29373         Likewise.
29374         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29375         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29376         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29377         alias.
29378         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29379         __waitpid.
29380         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29381         libc_hidden_weak.
29382         (waitpid): Define as alias of __waitpid.
29384 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29386         * manual/llio.texi: Add comment that write safety has been
29387         fixed in Linux.
29389         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29390         (localplt-build-dso): Add elf/ld.so.
29391         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29392         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29393         and free for ld.so.
29394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29395         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29397         Likewise.
29398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29399         Likewise.
29400         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29401         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29402         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29403         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29404         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29405         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29406         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29407         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29408         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29409         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29410         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29412 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29414         [BZ #14132]
29415         * include/libc-symbols.h (INTUSE): Remove macro.
29416         (INTDEF): Likewise.
29417         (INTVARDEF): Likewise.
29418         (_INTVARDEF): Likewise.
29419         (INTDEF2): Likewise.
29420         (INTVARDEF2): Likewise.
29421         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29422         rtld_hidden_def instead of INTVARDEF.
29423         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29424         (_dl_starting_up_internal): Remove declaration.
29425         (_dl_starting_up): Use rtld_hidden_proto.
29426         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29427         declaration.
29428         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29429         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29430         _dl_starting_up.
29431         * elf/dl-writev.h (_dl_writev): Likewise.
29432         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29433         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29434         _dl_starting_up_internal.
29436 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29438         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29439         test-skeleton.c.
29441 2014-11-05  Will Newton  <will.newton@linaro.org>
29443         * benchtests/Makefile: (bench-malloc): Add malloc thread
29444         scalability benchmark.
29445         * benchtests/bench-malloc-threads.c: New file.
29447 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29449         * sysdeps/aarch64/strchrnul.S: New file.
29451 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29453         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29454         definition.
29455         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29456         Likwise.
29457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29458         Likewise.
29459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29460         Likewise.
29461         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29462         Likewise.
29463         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29464         Likewise.
29466 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29468         * catgets/test-gencat.c: Use test-skeleton.c.
29469         * catgets/tst-catgets.c: Likewise.
29470         * csu/tst-empty.c: Likewise.
29471         * elf/tst-audit2.c: Likewise.
29472         * elf/tst-global1.c: Likewise.
29473         * elf/tst-pathopt.c: Likewise.
29474         * elf/tst-piemod1.c: Likewise.
29475         * elf/tst-tls10.c: Likewise.
29476         * elf/tst-tls11.c: Likewise.
29477         * elf/tst-tls12.c: Likewise.
29478         * gnulib/tst-gcc.c: Likewise.
29479         * iconvdata/tst-e2big.c: Likewise.
29480         * iconvdata/tst-loading.c: Likewise.
29481         * iconv/tst-iconv1.c: Likewise.
29482         * iconv/tst-iconv2.c: Likewise.
29483         * inet/test-inet6_opt.c: Likewise.
29484         * inet/tst-gethnm.c: Likewise.
29485         * inet/tst-network.c: Likewise.
29486         * inet/tst-ntoa.c: Likewise.
29487         * intl/tst-codeset.c: Likewise.
29488         * intl/tst-gettext2.c: Likewise.
29489         * intl/tst-gettext3.c: Likewise.
29490         * intl/tst-ngettext.c: Likewise.
29491         * intl/tst-translit.c: Likewise.
29492         * io/test-stat.c: Likewise.
29493         * libio/test-fmemopen.c: Likewise.
29494         * libio/tst-freopen.c: Likewise.
29495         * libio/tst-sscanf.c: Likewise.
29496         * libio/tst-ungetwc1.c: Likewise.
29497         * libio/tst-ungetwc2.c: Likewise.
29498         * libio/tst-widetext.c: Likewise.
29499         * localedata/tst-ctype.c: Likewise.
29500         * localedata/tst-digits.c: Likewise.
29501         * localedata/tst-leaks.c: Likewise.
29502         * localedata/tst-mbswcs1.c: Likewise.
29503         * localedata/tst-mbswcs2.c: Likewise.
29504         * localedata/tst-mbswcs3.c: Likewise.
29505         * localedata/tst-mbswcs4.c: Likewise.
29506         * localedata/tst-mbswcs5.c: Likewise.
29507         * localedata/tst-setlocale.c: Likewise.
29508         * localedata/tst-trans.c: Likewise.
29509         * localedata/tst-wctype.c: Likewise.
29510         * localedata/tst-xlocale1.c: Likewise.
29511         * login/tst-grantpt.c: Likewise.
29512         * malloc/tst-calloc.c: Likewise.
29513         * malloc/tst-malloc.c: Likewise.
29514         * malloc/tst-mallocstate.c: Likewise.
29515         * malloc/tst-mcheck.c: Likewise.
29516         * malloc/tst-mtrace.c: Likewise.
29517         * malloc/tst-obstack.c: Likewise.
29518         * math/atest-exp2.c: Likewise.
29519         * math/atest-exp.c: Likewise.
29520         * math/atest-sincos.c: Likewise.
29521         * math/test-matherr.c: Likewise.
29522         * math/test-misc.c: Likewise.
29523         * math/test-powl.c: Likewise.
29524         * math/tst-definitions.c: Likewise.
29525         * misc/tst-dirname.c: Likewise.
29526         * misc/tst-efgcvt.c: Likewise.
29527         * misc/tst-fdset.c: Likewise.
29528         * misc/tst-hsearch.c: Likewise.
29529         * misc/tst-mntent2.c: Likewise.
29530         * nptl/tst-sem7.c: Likewise.
29531         * nptl/tst-sem8.c: Likewise.
29532         * nptl/tst-sem9.c: Likewise.
29533         * nss/test-netdb.c: Likewise.
29534         * posix/tst-fnmatch.c: Likewise.
29535         * posix/tst-getlogin.c: Likewise.
29536         * posix/tst-gnuglob.c: Likewise.
29537         * posix/tst-mmap.c: Likewise.
29538         * pwd/tst-getpw.c: Likewise.
29539         * resolv/tst-inet_ntop.c: Likewise.
29540         * rt/tst-timer.c: Likewise.
29541         * stdio-common/test-fseek.c: Likewise.
29542         * stdio-common/test-popen.c: Likewise.
29543         * stdio-common/test-vfprintf.c: Likewise.
29544         * stdio-common/tst-cookie.c: Likewise.
29545         * stdio-common/tst-fileno.c: Likewise.
29546         * stdio-common/tst-gets.c: Likewise.
29547         * stdio-common/tst-obprintf.c: Likewise.
29548         * stdio-common/tst-perror.c: Likewise.
29549         * stdio-common/tst-sprintf2.c: Likewise.
29550         * stdio-common/tst-sprintf3.c: Likewise.
29551         * stdio-common/tst-sprintf.c: Likewise.
29552         * stdio-common/tst-swprintf.c: Likewise.
29553         * stdio-common/tst-tmpnam.c: Likewise.
29554         * stdio-common/tst-unbputc.c: Likewise.
29555         * stdio-common/tst-wc-printf.c: Likewise.
29556         * stdlib/tst-environ.c: Likewise.
29557         * stdlib/tst-fmtmsg.c: Likewise.
29558         * stdlib/tst-limits.c: Likewise.
29559         * stdlib/tst-rand48-2.c: Likewise.
29560         * stdlib/tst-rand48.c: Likewise.
29561         * stdlib/tst-random2.c: Likewise.
29562         * stdlib/tst-random.c: Likewise.
29563         * stdlib/tst-strtol.c: Likewise.
29564         * stdlib/tst-strtoll.c: Likewise.
29565         * stdlib/tst-tls-atexit.c: Likewise.
29566         * stdlib/tst-xpg-basename.c: Likewise.
29567         * string/test-ffs.c: Likewise.
29568         * string/tst-bswap.c: Likewise.
29569         * string/tst-inlcall.c: Likewise.
29570         * string/tst-strtok.c: Likewise.
29571         * string/tst-strxfrm.c: Likewise.
29572         * sysdeps/x86_64/tst-audit10.c: Likewise.
29573         * sysdeps/x86_64/tst-audit3.c: Likewise.
29574         * sysdeps/x86_64/tst-audit4.c: Likewise.
29575         * sysdeps/x86_64/tst-audit5.c: Likewise.
29576         * time/tst-ftime_l.c: Likewise.
29577         * time/tst-getdate.c: Likewise.
29578         * time/tst-mktime3.c: Likewise.
29579         * time/tst-mktime.c: Likewise.
29580         * time/tst-posixtz.c: Likewise.
29581         * time/tst-strptime2.c: Likewise.
29582         * time/tst-strptime3.c: Likewise.
29583         * wcsmbs/tst-btowc.c: Likewise.
29584         * wcsmbs/tst-mbrtowc.c: Likewise.
29585         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29586         * wcsmbs/tst-wchar-h.c: Likewise.
29587         * wcsmbs/tst-wcpncpy.c: Likewise.
29588         * wcsmbs/tst-wcrtomb.c: Likewise.
29589         * wcsmbs/tst-wcsnlen.c: Likewise.
29590         * wcsmbs/tst-wcstof.c: Likewise.
29592 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29594         [BZ #14132]
29595         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29596         INTDEF.
29597         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29598         declaration.
29599         (_dl_mcount): Use rtld_hidden_proto.
29600         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29601         _dl_mcount.
29602         * elf/rtld.c (_rtld_global_ro): Likewise.
29604         [BZ #14132]
29605         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29606         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29607         of _dl_init_internal.
29608         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29609         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29610         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29611         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29612         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29613         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29614         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29615         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29616         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29617         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29618         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29619         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29620         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29621         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29622         * sysdeps/tile/dl-start.S (_start): Likewise.
29623         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29624         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29626         [BZ #14132]
29627         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29628         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29629         (rtld_progname): Make macro definition unconditional.
29630         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29631         INTDEF.
29632         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29633         (dl_main): Likewise.
29634         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29635         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29636         instead of _dl_argv_internal.
29637         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29638         __GI__dl_argv instead of INTUSE(_dl_argv).
29639         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29640         __GI__dl_argv instead of _dl_argv_internal.
29642         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29643         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29644         macro.
29645         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29646         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29647         New macro.
29648         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29649         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29650         macro.
29651         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29652         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29654 2014-11-04  Andreas Schwab  <schwab@suse.de>
29656         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29658 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29660         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29661         mtvsrd instruction in binary form.
29663 2014-11-03  Andreas Schwab  <schwab@suse.de>
29665         [BZ #17522]
29666         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29667         for less than MB_LEN_MAX use a local buffer of that size.
29668         * libio/tst-fputws.c: New file.
29669         * libio/Makefile (tests): Add tst-fputws.
29671 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29673         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29674         the size of the fpu_fr.fpu_dregs[] array.
29676 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29678         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29679         (__nanosleep): Do not define as alias.
29680         (nanosleep): Define as alias of __nanosleep.
29681         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29682         __libc_nanosleep name.
29684 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29686         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29687         install.texi in comment.
29689 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29691         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29692         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29693         ... add here and use lwsync or sync ...
29694         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29695         ... and add here using lwsync.
29697 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29699         * elf/dl-machine-reject-phdr.h: New file.
29700         * elf/dl-load.c: #include that.
29701         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29702         if that returned true.
29704 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29706         [BZ #17496]
29707         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29708         gen-as-const-headers chunk.  Add a big scare comment after the last
29709         safe place to touch before-compile.
29711 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29713         * manual/install.texi (Tools for Compilation): Update autoconf
29714         version requirements.
29715         * INSTALL: Regenerated.
29717         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29718         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29719         (__libc_pselect): Likewise.
29721         [BZ #14138]
29722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29727 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29729         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29730         correct barrier instruction.
29731         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29732         Likewise.
29733         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29734         Likewise.
29736 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29738         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29739         after defining inlines.  Instead, just use parens to defeat macro
29740         expansion of __isctype in its declaration.
29742 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29744         * include/sys/uio.h (__libc_readv): Remove declaration.
29745         (__libc_writev): Likewise.
29746         * misc/readv.c (__libc_readv): Rename to __readv.
29747         (__readv): Do not define as alias.
29748         (readv): Define as alias of __readv.
29749         * misc/writev.c (__libc_writev): Rename to __writev.
29750         (__writev): Do not define as alias.
29751         (writev): Define as alias of __writev.
29752         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29753         (__readv): Do not define as alias.
29754         (readv): Define unconditionally as alias of __readv.
29755         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29756         (__writev): Do not define as alias.
29757         (writev): Define unconditionally as alias of __writev.
29758         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29759         name.
29760         (writev): Do not define __libc_writev name.
29762 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29764         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29765         (convert_charseq): New function, broken out of ...
29766         (use_from_charmap): ... here.  Call it.
29767         (use_to_charmap): Use convert_charseq and free instead of duplicating
29768         its code with a variable-length stack struct.
29770 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29772         * include/fcntl.h (__libc_creat): Remove declaration.
29773         * io/creat.c (__libc_creat): Rename to creat.
29774         (creat): Do not define as alias.
29775         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29776         of creat instead of __libc_creat.
29777         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29778         to creat.
29779         (creat): Do not define as alias.
29780         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29781         __libc_creat.
29782         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29783         __libc_creat name.
29784         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29785         Likewise.
29787 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29789         * manual/llio.texi: Add comments discussing why write() may be
29790         considered MT-unsafe on Linux.
29792 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29794         * dl-load.c (local_strdup): Remove.
29795         (expand_dynamic_string_token): Use __strdup.
29796         (decompose_rpath): Likewise.
29797         (_dl_map_object): Likewise.
29799 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29801         [BZ #14132]
29802         * sysdeps/generic/unwind-dw2-fde.c
29803         (__register_frame_info_bases_internal): Do not declare.
29804         (__register_frame_info_table_bases_internal): Likewise.
29805         (__deregister_frame_info_bases_internal): Likewise.
29806         (__register_frame_info_bases): Declare and use hidden_proto before
29807         definition.  Use hidden_def instead of INTDEF.
29808         (__register_frame_info_table_bases): Likewise.
29809         (__deregister_frame_info_bases): Likewise.
29810         (__register_frame_info): Do not use INTUSE.
29811         (__register_frame): Likewise.
29812         (__register_frame_info_table): Likewise.
29813         (__register_frame_table): Likewise.
29814         (__deregister_frame_info): Likewise.
29815         (__deregister_frame): Likewise.
29817 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29819         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29820         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29821         not undefine.
29822         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29823         Likewise.
29824         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29825         Likewise.
29827 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29829         [BZ #14138]
29830         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29831         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29832         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29833         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29834         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29835         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29836         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29837         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29838         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29839         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29840         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29841         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29842         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29843         syscall.
29844         (setfsuid): Likewise.
29845         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29846         (setfsuid): Likewise.
29847         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29848         (setfsuid): Likewise.
29849         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29850         Likewise.
29851         (setfsuid): Likewise.
29852         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29853         (setfsuid): Likewise.
29854         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29855         Likewise.
29856         (setfsuid): Likewise.
29858 2014-10-27  Andreas Schwab  <schwab@suse.de>
29860         [BZ #17501]
29861         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29862         check for Slow_SSE4_2 feature bit.
29863         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29864         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29865         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29866         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29868 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29870         * configure.ac: Validate compiler version with a empirical test of
29871         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29872         $CC -v output.
29873         * configure: Regenerated.
29875         * inet/htons.c (htons): Prototypify.
29876         * inet/htonl.c (htonl): Likewise.
29878 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29880         * string/strncat.c (strncat): Improve performance by using strlen.
29882 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29884         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29886 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29888         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29889         Call libc_fetestexcept_aarch64.
29891 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29893         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29894         Call libc_feholdexcept_aarch64.
29896 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29898         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29899         Call get_rounding_mode.
29901 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29903         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29904         Simplify logic.
29906 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29908         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29909         Simplify logic.
29911 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29913         [BZ #14138]
29914         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29915         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29916         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29917         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29918         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29919         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29920         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29921         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29922         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29923         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29924         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29925         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29926         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29927         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29928         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29929         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29930         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29931         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29932         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29933         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29934         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29935         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29936         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29937         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29938         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29939         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29940         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29941         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29942         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29943         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29944         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29945         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29946         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29947         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29948         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29949         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29950         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29951         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29952         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29953         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29954         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29955         syscall.
29956         (geteuid): Likewise.
29957         (getgid): Likewise.
29958         (getuid): Likewise.
29959         (getresgid): Likewise.
29960         (getresuid): Likewise.
29961         (getgroups): Likewise.
29962         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29963         (geteuid): Likewise.
29964         (getgid): Likewise.
29965         (getuid): Likewise.
29966         (getresgid): Likewise.
29967         (getresuid): Likewise.
29968         (getgroups): Likewise.
29969         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29970         (geteuid): Likewise.
29971         (getgid): Likewise.
29972         (getuid): Likewise.
29973         (getresgid): Likewise.
29974         (getresuid): Likewise.
29975         (getgroups): Likewise.
29976         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29977         Likewise.
29978         (geteuid): Likewise.
29979         (getgid): Likewise.
29980         (getuid): Likewise.
29981         (getresgid): Likewise.
29982         (getresuid): Likewise.
29983         (getgroups): Likewise.
29984         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29985         (geteuid): Likewise.
29986         (getgid): Likewise.
29987         (getuid): Likewise.
29988         (getresgid): Likewise.
29989         (getresuid): Likewise.
29990         (getgroups): Likewise.
29991         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29992         Likewise.
29993         (geteuid): Likewise.
29994         (getgid): Likewise.
29995         (getuid): Likewise.
29996         (getgroups): Likewise.
29998         [BZ #14138]
29999         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30000         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30001         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30002         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30003         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30004         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30005         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30006         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30007         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30008         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30009         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30010         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30011         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30012         __chown.
30013         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30014         (lchown): Likewise.
30015         (fchown): Likewise.
30016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30017         Likewise.
30018         (lchown): Likewise.
30019         (fchown): Likewise.
30020         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30021         (lchown): Likewise.
30022         (fchown): Likewise.
30023         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30024         Likewise.
30025         (lchown): Likewise.
30026         (fchown): Likewise.
30028 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30030         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30031         Simplify logic.
30033 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30035         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30036         Cleanup logic.
30038 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30040         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30041         Remove unused include.
30043 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30045         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30047         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30048         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30050 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30051             Helge Deller <deller@gmx.de>
30053         [BZ #17508]
30054         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30055         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30056         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30058 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30060         [BZ #14132]
30061         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30062         Remove macro definition.
30063         (__ashrdi3_v_glibc20): Likewise.
30064         (__lshrdi3_v_glibc20): Likewise.
30065         (__cmpdi2_v_glibc20): Likewise.
30066         (__ucmpdi2_v_glibc20): Likewise.
30067         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30068         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30069         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30070         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30071         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30072         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30074 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30076         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30077         old GNU extension [0] syntax.
30078         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30079         alloca rather than an array member with variable length.
30080         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30081         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30082         (parse_opt): ... here.  Likewise use alloca there.
30083         Validate the -i argument before checking for rootness.
30084         (send_shutdown): New function, broken out of ...
30085         (parse_opt): ... here.
30087 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30089         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30090         macro to get at the _rt_local_ro field.
30091         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30092         ([PIC] case) or _dl_hwcap ([!PIC] case).
30093         * sysdeps/arm/setjmp.S: Likewise.
30095         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30096         * sysdeps/arm/configure.ac: New check to define it.
30097         * sysdeps/arm/configure: Regenerated.
30098         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30099         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30100         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30101         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30102         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30103         Use move/movt pair instead of a load.
30104         (LDST_GLOBAL): Macro removed.
30105         (LDR_GLOBAL): New macro replaces it.
30106         (LDR_HIDDEN): New macro.
30107         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30108         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30110         * setjmp/tst-setjmp-static.c: New file.
30111         * setjmp/Makefile (tests): Add it.
30112         (tests-static): New variable.
30114 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30116         [BZ #17485]
30117         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30119 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30121         [BZ #14132]
30122         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30124 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30126         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30128 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30130         * io/fts.c (dirent_not_directory): New function.
30131         (fts_build): Call it.
30133 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30135         * nptl/version.c (__nptl_main): Use normal __write rather than
30136         INTERNAL_SYSCALL.
30137         (banner): Update copyright years.
30139         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30140         gettimeofday.
30141         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30142         * nptl/pthread_cond_timedwait.c: Likewise.
30143         * nptl/pthread_mutex_timedlock.c: Likewise.
30144         * nptl/sem_timedwait.c: Likewise.
30146         * sysdeps/nptl/bits/libc-lock.h
30147         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30148         (__libc_lock_init_recursive): Return void, not 0.
30149         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30150         (__libc_rwlock_init): Likewise.
30151         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30153 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30155         [BZ #15215]
30156         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30157         (__pthread_once_slow): ... here.
30158         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30159         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30161 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30163         [BZ #15215]
30164         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30165         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30166         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30167         * nptl/pthread_once.c (__pthread_once): Likewise.
30168         Update comments.
30170 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30172         [BZ #14138]
30173         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30174         name.
30175         (writev): Use __libc_writev as strong name.
30176         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30177         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30179 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30181         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30183         * sysdeps/i386/nptl/tls.h
30184         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30185         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30186         New macros.
30187         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30188         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30189         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30190         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30191         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30192         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30194         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30195         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30196         on [__NR_futex].
30197         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30198         broken out of ...
30199         (__pthread_mutex_init): ... here.  Call it.
30200         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30201         Conditionalize PI cases on [__NR_futex].
30202         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30203         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30204         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30206         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30207         conditional on [SIGSETXID].
30208         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30209         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30210         is defined.  Likewise for SIGSETXID.
30211         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30212         Conditionalize definitions on [SIGSETXID].
30213         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30214         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30215         unblocking on [SIGCANCEL].
30217         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30218         [__NR_set_robust_list].
30220 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30222         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30223         (do_compare): Likewise.
30225 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30227         [BZ #15884]
30228         * string/strcoll_l.c: Don't include stdio.h.
30229         (coll_seq): Remove members idxarr and rulearr.
30230         (get_next_seq_cached): Remove function.
30231         (get_next_seq): Likewise.
30232         (get_next_seq_nocache): Rename to get_next_seq.
30233         (do_compare): Remove function.
30234         (do_compare_nocache): Rename to do_compare.
30235         (STRCOLL): Remove weight and rules cache.
30237 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30239         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30240         * sysdeps/arm/sfp-machine.h: ... to here.
30241         * sysdeps/arm/Implies: Remove arm/soft-fp.
30243 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30245         * conform/data/sys/utsname.h-data (*_t): Allow.
30246         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30247         [POSIX] (WEXITED): Do not expect constant.
30248         [POSIX] (WSTOPPED): Likewise.
30249         [POSIX] (WNOHANG): Likewise.
30250         [POSIX] (WNOWAIT): Likewise.
30251         [POSIX] (siginfo_t): Do not expect type or elements.
30252         [POSIX] (pid_t): Do not expect type.
30253         [POSIX] (signal.h): Do not allow header.
30254         [POSIX] (sys/resource.h): Likewise.
30255         [POSIX] (si_*): Do not allow pattern.
30256         [POSIX] (W*): Likewise.
30257         [POSIX] (P_*): Likewise.
30258         [POSIX] (BUS_*): Likewise.
30259         [POSIX] (CLD_*): Likewise.
30260         [POSIX] (FPE_*): Likewise.
30261         [POSIX] (ILL_*): Likewise.
30262         [POSIX] (POLL_*): Likewise.
30263         [POSIX] (SEGV_*): Likewise.
30264         [POSIX] (SI_*): Likewise.
30265         [POSIX] (TRAP_*): Likewise.
30266         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30267         variable.
30269 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30271         [BZ #12926]
30272         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30273         infinite loop when __recvmsg returns 0.
30275 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30277         * CANCEL-FCT-WAIVE: Remove file.
30278         * CANCEL-FILE-WAIVE: Likewise.
30280         [BZ #14132]
30281         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30282         instead of INTVARDEF.
30283         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30284         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30285         rtld_hidden_data_def instead of INTVARDEF.
30286         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30287         * elf/dl-deps.c (expand_dst): Likewise.
30288         * elf/dl-load.c (_dl_dst_count): Likewise.
30289         (_dl_dst_substitute): Likewise.
30290         (decompose_rpath): Likewise.
30291         (_dl_init_paths): Likewise.
30292         (open_path): Likewise.
30293         (_dl_map_object): Likewise.
30294         * elf/rtld.c (dl_main): Likewise.
30295         (process_dl_audit): Likewise.
30296         (process_envvars): Likewise.
30297         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30298         Remove declaration.
30299         (__libc_enable_secure): Use rtld_hidden_proto.
30301 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30303         * elf/dl-load.c
30304         (add_path): New function broken out of _dl_rtld_di_serinfo.
30305         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30307 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30309         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30310         parentheses around macro arguments.
30311         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30314         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30317         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30322         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30324         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30325         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30326         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30327         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30332         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30333         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30336         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30340         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30341         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30342         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30343         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30344         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30345         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30346         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30347         Likewise.
30348         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30349         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30355         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30356         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30357         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30358         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30359         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30360         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30361         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30362         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30369         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30370         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30371         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30372         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30373         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30374         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30375         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30376         (_FP_FRAC_SRS_1): Likewise.
30377         (_FP_FRAC_CLZ_1): Likewise.
30378         (_FP_MUL_MEAT_1_imm): Likewise.
30379         (_FP_MUL_MEAT_1_wide): Likewise.
30380         (_FP_MUL_MEAT_1_hard): Likewise.
30381         (_FP_SQRT_MEAT_1): Likewise.
30382         (_FP_FRAC_ASSEMBLE_1): Likewise.
30383         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30384         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30385         (__FP_CLZ_2): Likewise.
30386         (_FP_MUL_MEAT_2_wide): Likewise.
30387         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30388         (_FP_MUL_MEAT_2_gmp): Likewise.
30389         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30390         (_FP_SQRT_MEAT_2): Likewise.
30391         (_FP_FRAC_ASSEMBLE_2): Likewise.
30392         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30393         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30394         (_FP_FRAC_CLZ_4): Likewise.
30395         (_FP_MUL_MEAT_4_wide): Likewise.
30396         (_FP_MUL_MEAT_4_gmp): Likewise.
30397         (_FP_SQRT_MEAT_4): Likewise.
30398         (_FP_FRAC_ASSEMBLE_4): Likewise.
30399         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30400         * soft-fp/op-common.h (_FP_CMP): Likewise.
30401         (_FP_CMP_EQ): Likewise.
30402         (_FP_CMP_UNORD): Likewise.
30403         (_FP_TO_INT): Likewise.
30404         (_FP_FROM_INT): Likewise.
30405         [!__FP_CLZ] (__FP_CLZ): Likewise.
30406         (_FP_DIV_HELP_imm): Likewise.
30407         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30408         Likewise.
30409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30412         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30413         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30415         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30420         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30421         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30422         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30423         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30424         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30425         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30430         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30431         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30434         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30438         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30439         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30440         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30441         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30442         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30443         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30444         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30445         (FP_UNPACK_RAW_SP): Likewise.
30446         (FP_PACK_RAW_S): Likewise.
30447         (FP_PACK_RAW_SP): Likewise.
30448         (FP_UNPACK_S): Likewise.
30449         (FP_UNPACK_SP): Likewise.
30450         (FP_UNPACK_SEMIRAW_S): Likewise.
30451         (FP_UNPACK_SEMIRAW_SP): Likewise.
30452         (FP_PACK_S): Likewise.
30453         (FP_PACK_SP): Likewise.
30454         (FP_PACK_SEMIRAW_S): Likewise.
30455         (FP_PACK_SEMIRAW_SP): Likewise.
30456         (_FP_SQRT_MEAT_S): Likewise.
30457         (FP_CMP_S): Likewise.
30458         (FP_CMP_EQ_S): Likewise.
30459         (FP_CMP_UNORD_S): Likewise.
30460         (FP_TO_INT_S): Likewise.
30461         (FP_FROM_INT_S): Likewise.
30463         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30465         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30466         (FP_EX_INVALID_IMZ): Likewise.
30467         (FP_EX_INVALID_IMZ_FMA): Likewise.
30468         (FP_EX_INVALID_ISI): Likewise.
30469         (FP_EX_INVALID_ZDZ): Likewise.
30470         (FP_EX_INVALID_IDI): Likewise.
30471         (FP_EX_INVALID_SQRT): Likewise.
30472         (FP_EX_INVALID_CVI): Likewise.
30473         (FP_EX_INVALID_VC): Likewise.
30474         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30475         "invalid" exceptions.
30476         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30477         (_FP_ADD_INTERNAL): Likewise.
30478         (_FP_MUL): Likewise.
30479         (_FP_FMA): Likewise.
30480         (_FP_DIV): Likewise.
30481         (_FP_CMP_CHECK_NAN): Likewise.
30482         (_FP_SQRT): Likewise.
30483         (_FP_TO_INT): Likewise.
30484         (FP_EXTEND): Likewise.
30486 2014-10-09  Allan McRae  <allan@archlinux.org>
30488         * po/fr.po: Update French translation from translation project.
30490 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30492         [BZ #14132]
30493         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30494         of INTDEF.
30495         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30496         (__cxa_atexit): Use libc_hidden_proto.
30497         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30499         [BZ #14132]
30500         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30501         declaration.
30502         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30503         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30504         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30505         [!_ISOMAC] (__iswctype_internal): Likewise.
30506         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30507         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30508         alias.
30509         (fcntl): Remove __fcntl_internal alias.
30510         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30511         __connect_internal alias.
30512         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30513         Likewise.
30515         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30516         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30517         FP_DENORM_ZERO.
30518         (_FP_CHECK_FLUSH_ZERO): New macro.
30519         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30520         (_FP_CMP): Likewise.
30521         (_FP_CMP_EQ): Likewise.
30522         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30523         FP_DENORM_ZERO.
30524         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30525         (FP_TRUNC): Likewise.
30527         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30528         treated as invalid conversion, not as normal exponent.
30530         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30531         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30532         (_FP_CMP_EQ): Likewise.
30533         (_FP_CMP_UNORD): Likewise.
30534         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30535         (FP_CMP_EQ_D): Likewise.
30536         (FP_CMP_UNORD_D): Likewise.
30537         * soft-fp/extended.h (FP_CMP_E): Likewise.
30538         (FP_CMP_EQ_E): Likewise.
30539         (FP_CMP_UNORD_E): Likewise.
30540         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30541         (FP_CMP_EQ_Q): Likewise.
30542         (FP_CMP_UNORD_Q): Likewise.
30543         * soft-fp/single.h (FP_CMP_S): Likewise.
30544         (FP_CMP_EQ_S): Likewise.
30545         (FP_CMP_UNORD_S): Likewise.
30546         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30547         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30548         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30549         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30550         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30551         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30552         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30553         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30554         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30555         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30556         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30557         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30558         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30559         to FP_CMP_Q.
30560         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30561         FP_CMP_Q.
30562         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30563         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30564         FP_CMP_EQ_Q.
30565         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30566         FP_CMP_Q.
30567         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30568         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30569         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30570         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30571         FP_CMP_EQ_Q.
30572         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30573         FP_CMP_Q.
30574         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30575         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30576         FP_CMP_EQ_Q.
30577         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30578         FP_CMP_Q.
30579         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30580         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30581         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30582         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30583         FP_CMP_EQ_Q.
30585         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30586         a subnormal result, set the underflow exception if trapping on
30587         underflow is enabled.
30588         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30589         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30590         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30591         redefine to 0.
30592         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30593         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30594         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30595         * soft-fp/extendxftf2.c (__extendxftf2): Use
30596         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30598         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30599         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30600         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30601         FP_HANDLE_EXCEPTIONS.
30602         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30603         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30604         FP_HANDLE_EXCEPTIONS.
30605         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30606         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30607         FP_HANDLE_EXCEPTIONS.
30608         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30609         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30610         FP_HANDLE_EXCEPTIONS.
30612 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30614         [BZ #14132]
30615         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30616         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30617         use INTUSE.
30618         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30619         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30620         Remove alias.
30621         (__adjtimex): Define using libc_hidden_ver.
30622         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30623         Remove declaration.
30624         (ntp_gettime): Call __adjtimex directly.
30625         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30626         Remove declaration.
30627         (ntp_gettimex): Call __adjtimex directly.
30628         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30629         __adjtimex_internal alias.
30631 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30633         [BZ #17460]
30634         * nscd/nscd.c (more_help): Rewrite list of tables collection
30635         using xstrdup and asprintf.
30637         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30639 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30640             Roland McGrath  <roland@hack.frob.com>
30642         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30643         (do_lookup_unique): ... local function 'enter' here; update callers.
30645 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30647         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30648         compat_symbol calls on [SHARED].
30649         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30650         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30651         Remove.
30652         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30653         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30654         (oldsetrlimit): Remove.
30655         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30657         (lchown): New syscall entry.
30658         (oldsetrlimit): Remove.
30659         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30660         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30661         (oldsetrlimit): Remove.
30662         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30664         [BZ #14138]
30665         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30666         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30667         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30668         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30669         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30670         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30671         (fchown): Likewise.
30672         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30673         (fchown): Likewise.
30674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30675         Likewise.
30677 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30679         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30680         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30681         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30682         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30683         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30684         Likewise.
30685         (__old_sem_post): Likewise.
30687 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30689         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30690         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30691         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30692         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30693         Use INLINE_VSYSCALL macro.
30694         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30695         __vdso_clock_gettime.
30696         * sysdeps/unix/sysv/linux/tile/init-first.c
30697         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30698         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30699         __vdso_clock_gettime.
30701         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30702         to set up frame more cleanly.
30704         * sysdeps/tile/memcmp.c: New file.
30706         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30708         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30709         * sysdeps/tile/tilegx/strcasestr.c: New file.
30710         * sysdeps/tile/tilegx/strnlen.c: New file.
30711         * sysdeps/tile/tilegx/strstr.c: New file.
30713         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30715 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30717         * nptl/tst-setuid3.c: Write errors to stdout.
30719 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30721         * elf/dl-deps.c
30722         (preload): New functions broken out of _dl_map_object_deps.
30723         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30725 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30727         [BZ #14138]
30728         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30729         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30731 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30733         * sysdeps/mips/strcmp.S: New.
30735 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30737         [BZ #14138]
30738         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30739         (linkat): Likewise.
30740         (mkdirat): Likewise.
30741         (readlinkat): Likewise.
30742         (renameat): Likewise.
30743         (symlinkat): Likewise.
30744         (unlinkat): Likewise.
30745         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30746         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30747         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30748         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30749         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30750         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30751         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30753 2014-09-30  Will Newton  <will.newton@linaro.org>
30755         * math/math.h: Define long double math functions if
30756         _LIBC_TEST is defined.
30757         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30759         * localedata/Makefile: Move assignment to tests-special
30760         into an ifdef testing run-built-tests.
30761         * timezone/Makefile: Likewise.
30763 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30765         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30766         with $(BASH) not $(SHELL).
30768 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30769             Matthew LeGendre  <legendre1@llnl.gov>
30771         [BZ #17411]
30772         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30773         l_reloc_result.
30775 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30777         * stdio-common/printf_fp.c
30778         (hack_digit): New function, broken out of ...
30779         (__printf_fp): ... local function here.  Update call sites.
30780         hack_digit now takes an additional parameter that is a pointer
30781         to a struct of the referenced locals.  Those locals moved inside
30782         the struct and references updated.
30784 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30786         * aclocal.m4: Require autoconf 2.69.
30787         * configure: Regenerated.
30788         * sysdeps/aarch64/configure: Likewise.
30789         * sysdeps/alpha/configure: Likewise.
30790         * sysdeps/arm/armv7/configure: Likewise.
30791         * sysdeps/arm/configure: Likewise.
30792         * sysdeps/ia64/configure: Likewise.
30793         * sysdeps/mach/configure: Likewise.
30794         * sysdeps/mips/configure: Likewise.
30795         * sysdeps/s390/configure: Likewise.
30796         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30799         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30800         file.
30801         * sysdeps/ia64/configure.ac: Likewise.
30803 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30806         specify symbol version for ld.so.  Do not include entry for
30807         libpthread.
30808         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30809         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30810         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30812         [BZ #14171]
30813         * Makeconfig [$(build-shared) = yes]
30814         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30815         makefiles.
30816         [$(build-shared) = yes && $(soversions.mk-done) = t]
30817         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30818         [$(build-shared) = yes && $(soversions.mk-done) = t]
30819         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30820         to Makerules.
30821         [$(build-shared) = yes && $(soversions.mk-done) = t]
30822         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30823         here.
30824         [$(build-shared) = yes && $(soversions.mk-done) = t]
30825         (common-generated): Don't append gnu/lib-names.h and
30826         gnu/lib-names.stmp here.
30827         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30828         (lib-names-h-abi): New variable.
30829         [$(build-shared) = yes && $(soversions.mk-done) = t]
30830         (lib-names-stmp-abi): Likewise.
30831         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30832         abi-variants] (before-compile): Append
30833         $(common-objpfx)$(lib-names-h-abi).
30834         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30835         abi-variants] (common-generated): Append gnu/lib-names.h.
30836         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30837         abi-variants] (install-others-nosubdir): Depend on
30838         $(inst_includedir)/$(lib-names-h-abi).
30839         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30840         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30841         [$(build-shared) = yes && $(soversions.mk-done) = t]
30842         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30843         [$(build-shared) = yes && $(soversions.mk-done) = t]
30844         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30845         [$(build-shared) = yes && $(soversions.mk-done) = t]
30846         (common-generated): Append $(lib-names-h-abi) and
30847         $(lib-names-stmp-abi).
30848         * scripts/lib-names.awk: Do not handle multi being set.
30849         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30850         Remove variable.
30851         (abi-lp64_be-ld-soname): Likewise.
30852         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30853         Likewise.
30854         (abi-hard-ld-soname): Likewise.
30855         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30856         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30857         Remove variable.
30858         (abi-o32_hard-ld-soname): Likewise.
30859         (abi-o32_soft_2008-ld-soname): Likewise.
30860         (abi-o32_hard_2008-ld-soname): Likewise.
30861         (abi-n32_soft-ld-soname): Likewise.
30862         (abi-n32_hard-ld-soname): Likewise.
30863         (abi-n32_soft_2008-ld-soname): Likewise.
30864         (abi-n32_hard_2008-ld-soname): Likewise.
30865         (abi-n64_soft-ld-soname): Likewise.
30866         (abi-n64_hard-ld-soname): Likewise.
30867         (abi-n64_soft_2008-ld-soname): Likewise.
30868         (abi-n64_hard_2008-ld-soname): Likewise.
30869         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30870         Likewise.
30871         (abi-64-v2-ld-soname): Likewise.
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30873         ld.so entries.
30874         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30875         variable.
30876         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30877         entry.
30878         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30879         variable.
30880         (abi-64-ld-soname): Likewise.
30881         (abi-x32-ld-soname): Likewise.
30882         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30883         entry.
30884         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30886 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30888         [BZ #14138]
30889         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30890         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30891         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30892         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30893         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30894         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30895         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30896         syscall entry for GLIBC_2.2 symbol version.
30897         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30898         Likewise.
30899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30900         (setrlimit): Likewise.
30901         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30902         Likewise.
30904 2014-09-23  Will Newton  <will.newton@linaro.org>
30906         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30907         _LINUX_ARM_SYSDEP_H include guard too.
30908         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30909         define.
30911 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30913         * sysdeps/unix/sysv/linux/eventfd.c:
30914         Make first argument unsigned.
30915         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30916         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30918 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30920         [BZ #16852]
30921         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30922         * socket/sys/socket.h: Likewise.
30923         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30925 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30927         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30929 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30931         * time/tst-ftime.c: New test.
30932         * time/Makefile (tests): Add tst-ftime.
30934 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30936         * soft-fp/extended.h: Fix comment formatting.
30937         * soft-fp/op-1.h: Likewise.
30938         * soft-fp/op-2.h: Likewise.
30939         * soft-fp/op-4.h: Likewise.
30940         * soft-fp/op-8.h: Likewise.
30941         * soft-fp/op-common.h: Likewise.
30942         * soft-fp/soft-fp.h: Likewise.
30944         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30946 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30948         [BZ #6652]
30949         * Makeconfig (soversions-default-setname): Remove variable.
30950         ($(common-objpfx)soversions.i): Don't pass default_setname to
30951         soversions.awk.
30952         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30953         oldest_abi to abi-versions.awk.
30954         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30955         * config.make.in (oldest-abi): Remove variable.
30956         * configure.ac (--enable-oldest-abi): Remove configure option.
30957         * configure: Regenerated.
30958         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30959         text.
30960         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30961         * scripts/soversions.awk: Do not handle default_setname variable.
30962         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30963         variable.
30964         * sysdeps/mach/hurd/configure: Regenerated.
30965         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30966         variable.
30967         * sysdeps/unix/sysv/linux/configure: Regenerated.
30969 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30971         * elf/Makefile (CFLAGS-interp.c): Remove.
30972         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30973         path string.
30974         * elf/interp.c: Include generated runtime-linker.h
30976         * Makerules (lib%.so): Don't include $(+interp) in
30977         prerequisites.
30978         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30979         * dlfcn/eval.c: Remove file.
30981         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30982         macros.
30984         [BZ #17266]
30985         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30986         4.2 and newer.
30988         [BZ #17370]
30989         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30991 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30992             Jakub Jelinek  <jakub@redhat.com>
30994         [BZ #17266]
30995         * libio/stdio.h: Check definition of __fortify_function
30996         instead of __extern_always_inline to include bits/stdio2.h.
30997         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30998         check if __extern_always_inline is defined.
30999         [__USE_MISC || __USE_XOPEN]: Likewise.
31000         [__USE_ISOC99] Likewise.
31001         * misc/sys/cdefs.h (__fortify_function): Define only if
31002         __extern_always_inline is defined.
31003         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31004         __extern_always_inline and __extern_inline only for g++-4.3
31005         and newer or a compatible gcc.
31007 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31009         [BZ #17371]
31010         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31011         last change to handle zero prefix length.
31013 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31015         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31016         _SC_REGEX_VERSION.
31018         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31019         _POSIX_RAW_SOCKETS.
31021 2014-09-13  Allan McRae  <allan@archlinux.org>
31023         * po/ru.po: Update Russian translation from translation project.
31025 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31027         * locale/programs/locale.c (show_locale_vars): Inline local function
31028         into its sole call site.  Clean up some style nits.
31029         (print_item): New function, broken out of ...
31030         (show_info): ... local function here.  Clean up style nits.
31032         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31033         out of ...
31034         (set_class_defaults): ... local function set_default here.
31035         Define set_default as a macro locally to pass constant parameters.
31036         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31037         rather than a shared local.
31039         * stdlib/rpmatch.c (try): New function, broken out of ...
31040         (rpmatch): ... local function here.  Also, prototypify definition.
31042 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31044         * scripts/soversions.awk: Do not handle configuration names.
31045         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31046         vendor and os variables to soversions.awk.
31047         * configure.ac: Do not modify gnu-* host_os.
31048         * configure: Regenerated
31049         * shlib-versions: Remove first column with configuration names.
31050         * nptl/shlib-versions: Likewise.
31051         * nptl_db/shlib-versions: Likewise.
31052         * sysdeps/hppa/shlib-versions: Likewise.
31053         * sysdeps/m68k/shlib-versions: Likewise.
31054         * sysdeps/mach/hurd/shlib-versions: Likewise.
31055         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31056         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31057         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31058         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31059         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31060         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31061         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31062         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31064         Likewise.
31065         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31066         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31067         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31068         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31069         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31070         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31071         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31072         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31075         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31077         Regenerated.
31078         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31080         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31082         * shlib-versions: Remove OS-specific entries.  Moved to files in
31083         sysdeps.
31084         * sysdeps/mach/hurd/shlib-versions: New file.
31085         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31087         * nptl/shlib-versions: Remove architecture-specific entries.
31088         Moved to files in sysdeps.
31089         * shlib-versions: Likewise.
31090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31091         file.
31092         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31093         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31094         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31095         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31097         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31098         (UDP_NO_CHECK6_RX): Likewise.
31100 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31102         * sysdeps/posix/sysconf.c (__sysconf): Spell
31103         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31105 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31107         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31108         loading.
31109         * iconv/Versions (__gconv_transliterate): Export for use from
31110         gconv modules.
31111         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31112         (struct __gconv_trans_data, __gconv_trans_fct,
31113         __gconv_trans_context_fct, __gconv_trans_query_fct,
31114         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31115         definitions.
31116         (struct __gconv_step_data): Remove __trans member.
31117         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31118         longer hidden.  Remove unused trans_data argument.
31119         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31120         (__gconv_translit_find): Remove declaration.
31121         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31122         prototype.
31123         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31124         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31125         trans_data argument.  Add hidden definition.
31126         (__gconv_translit_find): Remove.
31127         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31128         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31129         * iconv/skeleton.c: Remove transliteration initialization.
31130         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31131         __gconv_step_data initialization.
31132         * libio/iofwide.c (__libio_translit_): Remove.
31133         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31134         * wcsmbs/btowc.c (__btowc): Likewise.
31135         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31136         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31137         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31138         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31139         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31140         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31141         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31142         * wcsmbs/wctob.c (wctob): Likewise.
31144 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31146         [BZ #16194]
31147         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31148         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31149         register usage.
31150         * sysdeps/x86/Makefile: Adjust.
31152 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31153             Roland McGrath  <roland@hack.frob.com>
31155         * locale/weight.h: Add include guard.
31156         (findidx): Make static rather than auto; take new parameters
31157         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31158         * locale/weightwc.h: Likewise.
31159         * posix/fnmatch_loop.c
31160         (FCT): Change type of EXTRA from int32_t to wint_t.
31161         Don't include either header inside the function.
31162         Call FINDIDX rather than findidx, and pass new arguments.
31163         #undef FINDIDX at the end of the file.
31164         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31165         FINDIDX before including fnmatch_loop.c for the non-wide version.
31166         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31167         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31168         for the wide version.
31169         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31170         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31171         Pass new arguments to findidx.
31172         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31173         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31174         Don't #include it inside the function.  Pass new arguments to findidx.
31175         * posix/regex_internal.h
31176         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31177         (re_string_elem_size_at): Don't #include it inside the function.
31178         Pass new arguments to findidx.
31179         * string/strcoll_l.c: #include WEIGHT_H at top level.
31180         (get_next_seq): Don't #include it inside the function.
31181         Pass new arguments to findidx.
31182         (get_next_seq_nocache): Likewise.
31183         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31184         (STRXFRM): Don't #include it inside the function.
31185         Pass new arguments to findidx.
31187 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31189         [BZ #17344]
31190         * malloc/malloc.c (unlink): Turn asserts into a call to
31191         malloc_printerr.
31193 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31195         [BZ #17370]
31196         * libio/wfileops (do_ftell_wide): Free OUT.
31198 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31200         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31202 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31204         [BZ #17363]
31205         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31206         group if the current group is empty.
31208 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31210         * benchtests/bench-memset.c (test_main): Add more test from size
31211         from 32 to 512 bytes.
31212         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31213         Add POWER8 memset object.
31214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31215         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31216         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31217         implementation.
31218         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31219         Likewise.
31220         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31221         multiarch POWER8 memset optimization.
31222         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31223         POWER8 memset optimization.
31225         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31226         Remove bzero multiarch objects.
31227         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31228         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31229         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31230         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31231         Remove define.
31232         [__bzero]: Redefine to specific name.
31233         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31234         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31235         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31236         define.
31237         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31238         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31240 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31242         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31243         warnings into errors.
31245         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31246         __cxa_thread_atexit_impl prototype.
31248 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31250         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31251         Fix capitalization of error message.
31253 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31255         * sysdeps/mips/preconfigure: Modify ABI tests.
31257 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31259         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31261 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31262             Carlos O'Donell  <carlos@systemhalted.org>
31264         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31265         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31266         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31267         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31268         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31269         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31270         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31271         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31272         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31273         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31275         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31277         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31278         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31279         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31280         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31281         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31282         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31283         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31284         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31285         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31286         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31287         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31288         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31289         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31290         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31291         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31292         Deconditionalize the code that was previously under [RESET_PID].
31293         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31294         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31295         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31296         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31297         include sysdep.h.
31299 2014-09-08  Allan McRae  <allan@archlinux.org>
31301         * version.h (RELEASE): Set to "development".
31302         (VERSION): Set to "2.20.90"
31304 2014-09-07  Allan McRae  <allan@archlinux.org
31306         * version.h (RELEASE): Set to "stable".
31307         (VERSION): Set to "2.20"
31308         * include/features.h (__GLIBC_MINOR__): Set to 20.
31310         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31311         Liebler.
31313         * po/ko.po: Update Korean translation from translation project.
31315 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31317         [BZ #17354]
31318         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31319         macro for handling signed relocations.
31321 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31323         [BZ #17325]
31324         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31325         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31326         assert.
31327         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31328         * iconvdata/ibm935.c (BODY): Likewise.
31329         * iconvdata/ibm937.c (BODY): Likewise.
31330         * iconvdata/ibm939.c (BODY): Likewise.
31331         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31332         assert.
31333         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31334         script.
31335         * iconvdata/run-iconv-test.sh: New test loop for checking for
31336         decoder crashers.
31338 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31340         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31341         libm_hidden_ver.
31343 2014-09-01  Allan McRae  <allan@archlinux.org>
31345         * po/eo.po: Update Esperanto translation from translation project.
31347         * po/ca.po: Update Catalan translation from translation project.
31349 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31351         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31352         __proc_dostop call.
31354 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31356         [BZ #17319]
31357         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31358         to call set_thread_area instead of hand written asm.
31359         (__NR_set_thread_area): Removed define.
31360         (TLS_FLAG_WRITABLE): Likewise.
31361         (__ASSUME_SET_THREAD_AREA): Remove check.
31362         (TLS_EBX_ARG): Remove define.
31363         (TLS_LOAD_EBX): Likewise.
31365 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31367         Simplify atomicity of socket creation in bind.
31369         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31370         looking up the name after linking the file.
31372 2014-08-27  Allan McRae  <allan@archlinux.org>
31374         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31376 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31378         [BZ #17187]
31379         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31380         trans_compare, open_translit, __gconv_translit_find):
31381         Remove module loading code.
31383 2014-08-26  Allan McRae  <allan@archlinux.org>
31385         * po/vi.po: Update Vietnamese translation from translation project.
31387         * po/uk.po: Update Ukrainian translation from translation project.
31389         * po/fr.po: Update French translation from translation project.
31391         * po/ru.po: Update Russian translation from translation project.
31393         * po/pl.po: Update Polish translation from translation project.
31395         * po/cs.po: Update Czech translation from translation project.
31397         * po/de.po: Update German translation from translation project.
31399         * po/bg.po: Update Bulgarian translation from translation project.
31401         * po/sv.po: Update Sweedish translation from translation project.
31403         * po/nl.po: Update Dutch translation from translation project.
31405         * po/es.po: Update Spanish translation from translation project.
31407 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31409         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31411         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31412         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31413         (CPPFLAGS-iconvconfig): Likewise.
31414         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31416         * include/libc-symbols.h: Remove unnecessary check for
31417         NOT_IN_libc.
31418         * nptl/pthreadP.h: Likewise.
31419         * sysdeps/aarch64/setjmp.S: Likewise.
31420         * sysdeps/alpha/setjmp.S: Likewise.
31421         * sysdeps/arm/sysdep.h: Likewise.
31422         * sysdeps/i386/setjmp.S: Likewise.
31423         * sysdeps/m68k/setjmp.c: Likewise.
31424         * sysdeps/posix/getcwd.c: Likewise.
31425         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31426         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31427         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31428         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31429         * sysdeps/sh/sh3/setjmp.S: Likewise.
31430         * sysdeps/sh/sh4/setjmp.S: Likewise.
31431         * sysdeps/unix/alpha/sysdep.h: Likewise.
31432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31433         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31434         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31435         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31440         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31441         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31442         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31443         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31444         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31445         * sysdeps/x86_64/setjmp.S: Likewise.
31447 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #17263]
31450         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31451         <stdint.h>.
31452         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31453         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31455 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31457         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31459         [BZ #17262]
31460         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31461         and __x86_64__ when disabling x87 inline functions.
31463 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31465         [BZ #17259]
31466         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31467         asm statement with __cpuid_count.
31469 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31471         * configure.ac: Change __ehdr_start code to dereference the struct.
31472         Run readelf on the output to look for relocations.
31473         * configure: Regenerated.
31475 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31477         [BZ #17261]
31478         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31479         value to 0.
31480         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31482 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31484         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31486 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31488         [BZ #16892]
31489         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31490         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31492 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31494         * malloc/malloc.c: Fix typo in comment.
31496 2014-08-09  Allan McRae  <allan@archlinux.org>
31498         * Regenerate libc.po.
31500 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31502         * intl/tst-gettext2.sh: Check every lang file for creation.
31504 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31506         * sysdeps/aarch64/fpu/math_private.h
31507         (libc_feholdsetround_noex_aarch64_ctx): New function.
31509 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31511         * sysdeps/arm/armv6/strcpy.S (strcpy):
31512         Fix performance issue in misaligned cases.
31514 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31516         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31517         Move definition from termios.h.
31518         (struct termio): Likewise.
31519         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31520         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31521         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31522         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31523         Likewise.
31524         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31525         Move definition to ioctl-types.h
31526         (struct termio): Likewise.
31527         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31528         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31529         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31530         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31531         Likewise.
31533 2014-08-05  Richard Henderson  <rth@redhat.com>
31535         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31536         exceptions.
31537         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31538         Add fraiseexcpt.
31539         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31540         Use __feraiseexcept.
31541         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31542         Protect libm symbols with IS_IN_libm.
31544         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31546 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31548         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31550 2014-08-04  Will Newton  <will.newton@linaro.org>
31552         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31553         file.
31555 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31557         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31558         variants for each function.
31560 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31562         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31563         appended ...
31564         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31565         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31566         appended ...
31567         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31568         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31569         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31570         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31571         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31572         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31573         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31574         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31575         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31576         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31577         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31578         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31579         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31581         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31582         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31583         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31584         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31585         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31587         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31588         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31589         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31590         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31591         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31592         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31593         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31594         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31595         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31596         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31597         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31598         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31599         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31600         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31601         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31602         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31603         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31604         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31605         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31606         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31607         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31608         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31609         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31610         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31611         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31613         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31615         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31616         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31617         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31618         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31619         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31620         Update #include.
31621         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31622         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31624 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31626         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31627         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31628         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31629         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31630         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31631         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31633 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31635         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31636         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31637         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31638         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31642         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31643         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31644         (__libc_vfork): Define function under this name.
31645         (__vfork): Define as an alias.
31646         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31647         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31649 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31651         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31652         that was previously under [RESET_PID].
31653         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31655 2014-08-04  Andreas Schwab  <schwab@suse.de>
31657         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31659 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31661         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31662         (main): Likewise.
31664 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31666         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31668 2014-08-01  Richard Henderon  <rth@redhat.com>
31670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31671         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31672         typo in exact zero test.
31673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31674         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31675         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31677 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31679         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31680         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31681         * sysdeps/arm/sysdep.h: ... here.
31682         [!__ASSEMBLER__]: Include <stdint.h>.
31684 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31686         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31687         (HAVE_WCTYPE_H): Likewise.
31688         (HAVE_ISWCTYPE): Likewise.
31689         (ENABLE_NLS): Likewise.
31690         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31691         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31693         * posix/regex_internal.c: Check if DEBUG is defined and is
31694         set.
31696         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31697         (HAVE_MBSRTOWCS): Likewise.
31698         * posix/fnmatch.c: Include string.h unconditionally.
31700 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31702         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31703         reversal.
31705 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31707         * sysdeps/generic/safe-fatal.h: New file.
31708         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31709         * nptl/forward.c: Include it.
31710         (__pthread_unwind): Use __safe_fatal as default action, rather
31711         than a bogus use of INTERNAL_SYSCALL that could never work.
31713         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31714         * configure.ac (libc_cv_builtin_trap): New test.
31715         * configure: Regenerated.
31716         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31717         (ABORT_INSTRUCTION): Define using __builtin_trap.
31719         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31720         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31721         * sysdeps/nptl/nptl-signals.h: New file.
31722         * nptl/pthreadP.h: Include <nptl-signals.h>.
31724 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31726         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31727         (ONE_DIRECTION): Define.
31728         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31729         (ONE_DIRECTION): Define.
31730         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31731         (ONE_DIRECTION): Define.
31733 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31735         * sysdeps/s390/Makefile: Delete file.
31736         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31737         * sysdeps/s390/__longjmp.c: Delete file.
31738         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31739         Remove fields __flags and __reserved.
31740         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31741         and add versioning.
31742         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31743         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31744         * sysdeps/s390/rtld-setjmp.S: Likewise.
31745         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31746         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31747         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31748         * sysdeps/s390/s390-32/setjmp.S: ... here.
31749         Add versioning.
31750         (__sigsetjmp): Remove setting __flags field.
31751         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31752         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31753         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31754         * sysdeps/s390/s390-64/setjmp.S: ... here.
31755         Add versioning.
31756         (__sigsetjmp): Remove setting __flags field.
31757         * sysdeps/s390/setjmp.S: Delete file.
31758         * sysdeps/s390/sigjmp.c: Likewise.
31759         * sysdeps/s390/v1-longjmp.c: Likewise.
31760         * sysdeps/s390/v1-setjmp.h: Likewise.
31761         * sysdeps/s390/v1-sigjmp.c: Likewise.
31762         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31763         Remove v1-longjmp_chk.
31764         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31765         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31766         Include debug/longjmp_chk.c and add versioning.
31767         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31768         Include nptl/pt-longjmp.c and add versioning.
31769         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31770         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31771         Include __longjmp.c.
31772         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31773         Move to ...
31774         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31775         (__getcontext): Remove setting __flags field.
31776         Add versioning.
31777         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31778         Don't restore upper high grps.
31779         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31780         Likewise.
31781         (__swapcontext): Remove setting uc_flags field.
31782         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31783         Delete file.
31784         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31785         Include __longjmp.c.
31786         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31787         Move to ...
31788         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31789         (__getcontext): Remove setting __flags field.
31790         Add versioning.
31791         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31792         (__swapcontext): Remove setting uc_flags field.
31793         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31794         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31795         Remove fields uc_high_gprs and __reserved.
31796         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31797         New file with reverted content.
31798         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31799         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31800         Regenerated.
31801         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31802         Regenerated.
31804 2014-07-31  Andreas Schwab  <schwab@suse.de>
31806         * config.h.in (HAVE_IFUNC): Define to 0.
31807         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31808         definedness.
31810 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31813         memmove-avx-unaligned, memcpy-avx-unaligned and
31814         mempcpy-avx-unaligned.
31815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31816         Add tests for AVX memcpy functions.
31817         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31818         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31819         memcpy_chk.
31820         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31821         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31822         memmove_chk.
31823         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31824         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31825         mempcpy_chk.
31826         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31827         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31828         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31830 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31832         [BZ #17213]
31833         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31834         powerpc64le.
31836 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31838         [BZ #16839]
31839         * manual/llio.texi: Add section about open file description locks.
31840         * manual/examples/ofdlocks.c: Example of open file description
31841         lock usage.
31842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31843         F_OFD_SETLK, and F_OFD_SETLKW.
31845 2014-07-23  Allan McRae  <allan@archlinux.org>
31847         * po/es.po: Update Spanish translation from translation project.
31849 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31851         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31853 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31855         [BZ #17078]
31856         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31857         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31858         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31860 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31862         [BZ #17088]
31863         * math/fesetenv.c (__fesetenv)
31864         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31865         * math/feupdateenv.c (__feupdateenv)
31866         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31868         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31869         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31870         (__ASSUME_SOCKETCALL): Do not define.
31872         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31873         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31874         (__ASSUME_SOCKETCALL): Do not define.
31875         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31876         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31877         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31878         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31879         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31880         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31881         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31882         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31884         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31885         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31886         (__ASSUME_SOCKETCALL): Do not define.
31887         (__ASSUME_IPC64): Define unconditionally.
31888         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31889         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31890         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31891         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31892         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31894         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31895         Likewise.
31897         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31898         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31899         (__ASSUME_SOCKETCALL): Do not define.
31900         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31901         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31902         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31903         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31904         (__ASSUME_REQUEUE_PI): Define unconditionally.
31905         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31906         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31907         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31908         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31909         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31910         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31912         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31913         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31914         (__ASSUME_SOCKETCALL): Do not define.
31915         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31916         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31917         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31918         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31920         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31922         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31923         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31924         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31925         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31926         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31927         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31929         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31930         (__ASSUME_GETCPU_SYSCALL): Likewise.
31932         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31933         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31934         cases for individual architectures.
31935         * sysdeps/gnu/configure: Regenerated.
31936         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31937         LIBC_SLIBDIR_RTLDDIR.
31938         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31939         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31940         LIBC_SLIBDIR_RTLDDIR.
31941         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31943         LIBC_SLIBDIR_RTLDDIR.
31944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31945         Regenerated.
31946         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31947         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31948         file.
31949         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31950         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31951         file.
31952         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31953         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31954         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31955         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31957         * sysdeps/aarch64/shlib-versions: Move to ...
31958         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31959         * sysdeps/alpha/shlib-versions: Move to ...
31960         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31961         * sysdeps/arm/shlib-versions: Move to ...
31962         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31963         * sysdeps/hppa/shlib-versions: Move all contents except for
31964         libgcc_s entry to ...
31965         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31966         entry from ...
31967         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31968         * sysdeps/ia64/shlib-versions: Move to ...
31969         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31970         entry from ...
31971         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31972         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31973         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31974         * sysdeps/microblaze/shlib-versions: Move to ...
31975         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31976         * sysdeps/mips/shlib-versions: Move to ...
31977         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31978         entry from ...
31979         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31980         * sysdeps/tile/shlib-versions: Move to ...
31981         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31982         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31983         from ...
31984         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31985         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31986         entry from ...
31987         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31989 2014-07-17  Will Newton  <will.newton@linaro.org>
31991         * sysdeps/arm/bits/atomic.h
31992         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31993         (__arch_compare_and_exchange_bool_16_int): Likewise.
31994         (__arch_compare_and_exchange_bool_64_int): Likewise.
31996         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31997         into an #else block.
31999 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32001         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32002         just Linux configurations.  Test empirically that the compiler sets
32003         __ARM_EABI__, rather than using the tuple to decide.
32004         * sysdeps/arm/preconfigure: Regenerated.
32005         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32006         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32007         contents appended ...
32008         * sysdeps/arm/configure.ac: ... here.
32009         * sysdeps/arm/configure: Regenerated.
32011 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32013         * nptl/pthread_kill.c: New file.
32014         * nptl/pthread_sigmask.c: New file.
32015         * nptl/pthread_sigqueue.c: New file.
32017         * sysdeps/nptl/lowlevellock.h: New file.
32018         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32019         * sysdeps/nptl/lowlevellock-futex.h: New file.
32021         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32022         Remove dead declarations.
32024 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32026         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32027         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32028         config-cflags-avx2.
32029         * sysdeps/x86_64/configure.ac: Likewise.
32030         * sysdeps/i386/configure: Regenerated.
32031         * sysdeps/x86_64/configure: Likewise.
32032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32033         memset-avx2 only if config-cflags-avx2 is yes.
32034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32035         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32036         defined.
32037         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32038         only if HAVE_AVX2_SUPPORT is defined.
32039         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32041 2014-07-14  Alan Modra  <amodra@gmail.com>
32043         [BZ #17153]
32044         * elf/elf.h (DT_PPC64_NUM): Correct value.
32045         * NEWS: Add to fixed bug list.
32047 2014-07-13  Jim Meyering  <meyering@fb.com>
32049         [BZ 17150]
32050         regex: don't deref NULL upon heap allocation failure
32051         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32052         failure in one more place.
32053         To trigger the segfault, configure grep -with-included-regex,
32054         build it, and run these commands:
32055         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32057 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32059         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32061 2014-07-11  Richard Henderson  <rth@redhat.com>
32063         * sysdeps/aarch64/libm-test-ulps: Update.
32065 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32067         [BZ #17135]
32068         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32069         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32070         (__nptl_setxid): Initialize error member.  Call
32071         __nptl_setxid_error.
32072         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32073         * nptl/descr.h (struct xid_command): Add error member.
32074         * nptl/tst-setuid3.c: New file.
32075         * nptl/Makefile (tests): Add it.
32077 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32079         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32080         New define.
32081         (__lll_trylock): Use __lll_base_trylock.
32082         (__lll_cond_trylock): Likewise.
32084 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32086         * nptl/pthread_create.c (start_thread): Use atomic_or and
32087         lll_futex_wake directly rather than lll_robust_dead.
32088         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32089         (lll_robust_dead): Macro removed.
32090         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32091         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32092         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32093         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32094         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32095         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32096         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32097         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32098         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32099         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32100         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32101         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32102         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32103         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32104         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32106         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32107         Use atomic_compare_and_exchange_val_acq directly rather than
32108         lll_robust_trylock.
32109         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32110         (__lll_robust_trylock, lll_robust_trylock): Removed.
32111         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32112         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32113         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32114         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32115         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32116         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32117         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32118         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32119         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32120         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32121         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32122         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32123         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32124         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32126 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32128         * manual/locale.texi (Locale Names): New section documenting
32129         locale name syntax.  Adjust menu and node chaining accordingly.
32130         (Choosing Locale): Reference Locale Names, Locale Categories.
32131         Mention setting LC_ALL=C.  Reflect that name syntax is now
32132         documented.
32133         (Locale Categories): New section title.  Reference Locale Names.
32134         LC_ALL is an environment variable, but not a category.
32135         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32136         description, now in Locale Name.  Reference that section.  Locale
32137         name syntax is now documented.
32139 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32141         [BZ #17137]
32142         * locale/findlocale.c (name_present, valid_locale_name): New
32143         functions.
32144         (_nl_find_locale): Use the loc_name variable to store name
32145         candidates.  Call name_present and valid_locale_name to check and
32146         validate locale names.  Return an error if the locale is invalid.
32148 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32150         * locale/setlocale.c (setlocale): Use strdup for allocating
32151         composite name copy.
32153 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32155         Sync up with gnulib.
32156         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32157         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32158         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32159         and _GL_ARG_NONNULL.
32160         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32161         [!_LIBC]: Include code for Windows and Cygwin.
32162         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32163         Include prototype for int strerror_r.
32164         [!_LIBC] (is_open): New function.
32165         (flush_stdout): New function.
32166         (print_errno_message): Use it.
32167         (error): Likewise.
32168         (error_at_line): Likewise.
32169         (error_tail) Add function attribute macros.  Use
32170         __builtin_expect.
32172         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32174         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32176         * io/ftw.c: Include sys/param.h unconditionally.
32178         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32180         [BZ #17125]
32181         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32182         libc_freeres_ptr.
32183         (freecache): New function to free CACHE on exit.
32185         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32186         initialization.
32188 2014-07-09  David S. Miller  <davem@davemloft.net>
32190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32192         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32193         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32194         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32195         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32196         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32197         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32198         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32199         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32200         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32201         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32202         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32203         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32204         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32206 2014-07-09  Andreas Schwab  <schwab@suse.de>
32208         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32209         output.
32210         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32211         (do_test): Likewise.
32213         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32215 2014-07-09  Will Newton  <will.newton@linaro.org>
32217         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32218         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32219         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32220         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32221         * sysdeps/hppa/start.S (_start): Likewise.
32223 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32225         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32227         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32228         defined.
32230 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32232         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32233         after checking that it is non-NULL.
32235         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32237 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32239         * sysdeps/powerpc/memmove.c: Remove file.
32240         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32241         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32242         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32243         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32244         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32245         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32246         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32247         string memmove instead of removed powerpc one.
32249         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32250         [weak_alias]: Fix compiler warning due trailing data.
32251         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32252         [weak_alias]: Likewise.
32253         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32254         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32257         (__libc_ifunc_impl_list): Add memmove functions.
32259 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32261         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32262         Remove code.
32263         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32264         Likewise.
32265         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32266         Likewise.
32267         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32268         Likewise.
32269         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32270         Likewise.
32271         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32272         Likewise.
32273         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32274         Likewise.
32275         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32276         Likewise.
32277         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32278         Likewise.
32279         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32280         Likewise.
32281         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32282         Likewise.
32283         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32284         Likewise.
32285         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32286         Likewise.
32287         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32288         Likewise.
32289         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32290         Likewise.
32291         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32292         Likewise.
32293         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32294         Likewise.
32296 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32298         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32299         to avoid alignment traps in non-cacheable memory.
32300         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32303         multiarch objects.
32304         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32305         file: multiarch power7 memmove.
32306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32307         multiarch default memmove.
32308         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32309         multiarch memove for powerpc32/power4.
32311         * string/bcopy.c: Use full path to include memmove.c.
32312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32313         multiarch objects.
32314         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32315         bcopy for powerpc64.
32316         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32317         bcopy for powerpc64.
32318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32319         and memmove implementations.
32320         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32321         optimized multiarch memmove for POWER7/powerpc64.
32322         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32323         default multiarch memmove for powerpc64.
32324         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32325         multiarch for powerpc64.
32326         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32327         for POWER7/powerpc64.
32328         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32329         memmove for POWER7/powerpc64.
32331         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32332         glibc default one.
32334         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32335         __ELF_NATIVE_CLASS equal to 64.
32337 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32339         * sysdeps/nptl/lowlevellock.h: File removed.
32341         * NEWS: NPTL is no longer an add-on!
32342         * nptl/internaltypes.h: Moved ...
32343         * sysdeps/nptl/internaltypes.h: ... here.
32344         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32345         * sysdeps/nptl/fork.c: Likewise.
32346         * sysdeps/nptl/gai_misc.h: Likewise.
32347         * sysdeps/nptl/librt-cancellation.c: Likewise.
32348         * sysdeps/nptl/jmp-unwind.c: Likewise.
32349         * sysdeps/nptl/setxid.h: Likewise.
32350         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32351         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32352         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32353         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32354         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32355         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32356         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32357         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32358         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32359         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32360         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32361         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32362         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32363         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32364         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32365         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32366         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32367         * nptl/Makeconfig: Moved ...
32368         * sysdeps/nptl/Makeconfig: ... here.
32369         * nptl/configure: File removed.
32370         * nptl/ANNOUNCE: File removed.
32371         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32372         * sysdeps/unix/sysv/linux/configure: Regenerated.
32374         * nptl/Makefile (routines): Add libc_pthread_init,
32375         libc_multiple_threads, register-atfork and unregister-atfork.
32376         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32377         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32378         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32379         pthread-pi-defines.sym, structsem.sym.
32380         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32381         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32382         [$(subdir) = nptl] (tests): Add tst-setgetname.
32383         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32384         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32385         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32386         [!LIBC_SIGACTION]: Remove aliases.
32387         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32388         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32389         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32390         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32391         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32392         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32393         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32394         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32395         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32396         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32397         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32398         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32399         __libc_allocate_rtsig_private.
32400         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32401         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32402         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32403         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32404         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32405         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32406         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32407         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32408         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32409         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32410         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32411         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32412         * nptl/internaltypes.h: ... here.
32413         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32414         * sysdeps/nptl/jmp-unwind.c: ... here.
32415         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32416         * nptl/libc-lowlevellock.c: ... here.
32417         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32418         * nptl/libc_multiple_threads.c: ... here.
32419         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32420         * nptl/libc_pthread_init.c: ... here.
32421         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32422         * nptl/lowlevelbarrier.sym: ... here.
32423         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32424         * nptl/lowlevelcond.sym: ... here.
32425         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32426         * nptl/lowlevellock.c: ... here.
32427         * nptl/lowlevellock.h: Moved ...
32428         * sysdeps/nptl/lowlevellock.h: ... here.
32429         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32430         * nptl/lowlevelrobustlock.c: ... here.
32431         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32432         * nptl/lowlevelrobustlock.sym: ... here.
32433         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32434         * nptl/lowlevelrwlock.sym: ... here.
32435         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32436         * nptl/pt-fork.c: ... here.
32437         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32438         * nptl/pthread-pi-defines.sym: ... here.
32439         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32440         * nptl/pthread_attr_getaffinity.c: ... here.
32441         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32442         * nptl/pthread_attr_setaffinity.c: ... here.
32443         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32444         * nptl/pthread_mutex_cond_lock.c: ... here.
32445         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32446         Update #include.
32447         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32448         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32449         * nptl/pthread_once.c: ... here, replacing old file.
32450         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32451         * nptl/pthread_yield.c: ... here.
32452         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32453         * nptl/register-atfork.c: ... here.
32454         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32455         * nptl/sem_post.c: ... here.
32456         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32457         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32458         * nptl/sem_timedwait.c: ... here.
32459         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32460         * nptl/sem_trywait.c: ... here.
32461         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32462         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32463         * nptl/sem_wait.c: ... here.
32464         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32465         * nptl/structsem.sym: ... here.
32466         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32467         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32468         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32469         * nptl/unregister-atfork.c: ... here.
32470         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32471         * nptl/unwindbuf.sym: ... here.
32472         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32473         * sysdeps/nptl/fork.c: ... here.
32474         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32475         * sysdeps/nptl/fork.h: ... here.
32476         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32477         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32478         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32479         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32480         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32481         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32482         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32483         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32484         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32485         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32486         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32487         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32488         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32489         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32490         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32491         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32492         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32493         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32494         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32495         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32496         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32497         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32498         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32499         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32500         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32501         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32502         * sysdeps/unix/sysv/linux/raise.c: ... here.
32503         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32504         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32505         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32506         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32507         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32508         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32509         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32510         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32511         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32512         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32513         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32514         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32515         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32516         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32517         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32519 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32521         * sysdeps/generic/memcopy.h: Add comment for
32522         MEMCPY_OK_FOR_FWD_MEMMOVE.
32524 2014-07-04  Will Newton  <will.newton@linaro.org>
32526         * string/memchr.c: Merge from gnulib.
32527         [_LIBC]: Remove conditionals.
32528         (__ptr_t): Remove define.
32529         (LONG_MAX_32_BITS): Likewise.
32530         (LONG_MAX): Likewise.
32531         (MEMCHR): Use ANSI prototype and optimize algorithm.
32533         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32535 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32537         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32538         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32540         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32541         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32542         in a bare environment with no <stdlib.h> installed.
32543         * sysdeps/nptl/configure: Regenerated.
32545         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32547         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32548         AC_EGREP_CPP for kernel header checks, so they only succeed if
32549         including <linux/version.h> actually works right.
32550         * sysdeps/unix/sysv/linux/configure: Regenerated.
32552         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32553         value so it's not diagnosed as unused.
32555         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32556         thing) with "ifeq ($(subdir),rt)".
32558 2014-07-03  Richard Henderson  <rth@redhat.com>
32560         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32561         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32562         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32564         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32565         (math_force_eval): New.
32567         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32568         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32570         * sysdeps/alpha/fpu/s_round.c: Remove file.
32571         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32573         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32574         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32575         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32576         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32577         (_dl_start, print_statistics): Likewise.
32578         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32579         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32581         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32582         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32583         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32584         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32585         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32586         (HP_SMALL_TIMING_AVAIL): Define.
32587         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32588         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32589         (HP_SMALL_TIMING_AVAIL): Define.
32590         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32591         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32593         * sysdeps/aarch64/hp-timing.h: New file.
32595         * sysdeps/generic/hp-timing.h: Remove dead comment.
32596         * sysdeps/generic/hp-timing-common.h: New file.
32597         * sysdeps/alpha/hp-timing.h: Include it.
32598         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32599         * sysdeps/i386/i686/hp-timing.h: Likewise.
32600         * sysdeps/ia64/hp-timing.h: Likewise.
32601         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32602         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32604         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32605         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32606         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32607         (hp_timing_t): New.
32609         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32610         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32611         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32612         * elf/rtld.c (_dl_start_final): Likewise.
32613         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32614         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32615         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32616         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32617         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32619         (HP_TIMING_DIFF_INIT): Remove.
32620         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32621         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32622         (HP_TIMING_DIFF_INIT): Remove.
32623         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32624         * sysdeps/i386/i686/hp-timing.c: Remove file.
32625         * sysdeps/x86_64/hp-timing.c: Remove file.
32626         * sysdeps/ia64/hp-timing.c: Remove file.
32627         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32628         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32629         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32630         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32632         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32633         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32634         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32635         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32637         (HP_TIMING_ACCUM): Remove.
32638         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32640         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32642         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32643         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32644         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32645         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32646         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32647         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32648         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32649         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32651         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32653 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32655         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32657 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32659         Sync up with gettext.
32660         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32661         [_MSC_VER]: Include malloc.h
32662         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32663         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32664         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32665         TEMP_FAILURE_RETRY.  Cast return of alloca.
32666         [!_LIBC] Call gl_rwlock_init.
32667         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32669 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32671         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32672         before checking its value.
32674 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32676         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32678         * debug/memcpy_chk.c: Don't include pagecopy.h.
32679         * debug/mempcpy_chk.c: Likewise.
32680         * string/memcpy.c: Likewise.
32681         * string/memmove.c: Likewise.
32682         * sysdeps/powerpc/memmove.c: Likewise.
32683         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32684         definition of PAGE_COPY_FWD_MAYBE here...
32685         * sysdeps/generic/pagecopy.h: ... from here.
32686         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32688 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32689             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32691         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32693         optimizations.
32694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32695         (__libc_ifunc_impl_list): Likewise.
32696         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32697         multiarch strcat for PPC64.
32698         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32699         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32701 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32703         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32705 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32707         * intl/loadmsgcat.c: Remove declaration of
32708         get_sysdep_segment_value.
32709         (get_sysdep_segment_value): Use ISO C style.
32710         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32711         semicolon.  Fix typo and formatting in comment.
32712         (_nl_unload_domain): Use ISO C style.
32714         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32716 2014-07-02  Will Newton  <will.newton@linaro.org>
32718         * malloc/obstack.c: Merge from gnulib master.
32719         [HAVE_CONFIG_H]: Remove conditional code.
32720         [!_LIBC]: Include config.h.
32721         [!ELIDE_CODE]: Don't include inttypes.h, include
32722         stdint.h unconditionally.
32723         (print_and_abort): Mark as _Noreturn.
32724         (_obstack_allocated_p): Mark as __attribute_pure__.
32725         (obstack_free): Rename to __obstack_free.
32726         [!__attribute__]: Remove conditional code.
32727         * malloc/obstack.h: Merge from gnulib master.
32728         [__cplusplus]: Move conditional down.
32729         [!__attribute_pure__]: Define __attribute_pure__ here
32730         if it is not already defined.
32731         (_obstack_memory_used): Mark as __attribute_pure__.
32732         [!__obstack_free]: Define as obstack_free.
32733         [__GNUC__]: Remove check for ancient NeXT gcc.
32735 2014-07-02  Will Newton  <will.newton@linaro.org>
32736             Paul Eggert  <eggert@cs.ucla.edu>
32738         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32740 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32742         * resolv/gethnamaddr.c: Add comment warning that the file is
32743         not maintained.
32745 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32747         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32748         entries.
32750         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32751         entry for aio_cancel and aio_cancel64.
32752         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32753         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32754         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32755         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32756         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32757         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32758         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32759         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32760         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32761         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32762         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32763         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32764         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32766 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32768         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32769         * nptl/pthread_mutex_lock.c: Likewise.
32770         * nptl/pthread_mutex_timedlock.c: Likewise.
32771         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32773 2014-07-01  Richard henderson  <rth@redhat.com>
32775         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32776         (__isnan, __isnanl): Remove.
32777         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32779         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32781 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32783         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32785 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32787         * resolv/nss_dns/dns-host.c (getanswer_r)
32788         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32790 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32793         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32794         undefine.
32795         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32796         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32798 2014-07-01  Roland McGrath <roland@hack.frob.com>
32800         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32801         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32803         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32804         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32806         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32807         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32808         ... here.
32809         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32810         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32812         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32813         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32814         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32815         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32817         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32818         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32819         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32821         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32822         Moved ...
32823         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32824         ... here.
32825         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32826         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32828         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32832         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32833         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32840         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32841         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32842         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32843         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32844         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32845         ... here.
32846         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32847         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32848         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32849         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32850         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32851         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32852         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32853         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32855 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32857         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32858         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32859         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32860         Add sysdep.
32862 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32866 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32868         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32869         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32871         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32873         * sysdeps/arm/libm-test-ulps: Regenerated.
32875 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32876             Roland McGrath <roland@hack.frob.com>
32878         * test-skeleton.c (signal_handler): Kill the whole process group
32879         before killing the child individually.
32880         (main): Report any failure on `setpgid'.
32882 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32884         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32885         from _TLS_H to _ARM_NPTL_TLS_H.
32886         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32887         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32889 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32891         [BZ #16539]
32892         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32893         (__expm1l): Return argument unchanged when small but not
32894         subnormal.
32896         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32897         include macro name.
32898         (_FP_UNPACK_RAW_1_P): Likewise.
32899         (_FP_PACK_RAW_1): Likewise.
32900         (_FP_PACK_RAW_1_P): Likewise.
32901         (_FP_MUL_MEAT_1_wide): Likewise.
32902         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32903         (_FP_MUL_MEAT_1_hard): Likewise.
32904         (_FP_DIV_MEAT_1_imm): Likewise.
32905         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32906         (_FP_DIV_MEAT_1_udiv): Likewise.
32907         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32908         (_FP_UNPACK_RAW_2): Likewise.
32909         (_FP_UNPACK_RAW_2_P): Likewise.
32910         (_FP_PACK_RAW_2): Likewise.
32911         (_FP_PACK_RAW_2_P): Likewise.
32912         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32913         (_FP_MUL_MEAT_2_wide): Likewise.
32914         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32915         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32916         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32917         (_FP_MUL_MEAT_2_gmp): Likewise.
32918         (_FP_DIV_MEAT_2_udiv): Likewise.
32919         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32920         (_FP_FRAC_SRL_4): Likewise.
32921         (_FP_FRAC_SRST_4): Likewise.
32922         (_FP_FRAC_SRS_4): Likewise.
32923         (_FP_UNPACK_RAW_4): Likewise.
32924         (_FP_UNPACK_RAW_4_P): Likewise.
32925         (_FP_PACK_RAW_4): Likewise.
32926         (_FP_PACK_RAW_4_P): Likewise.
32927         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32928         (_FP_MUL_MEAT_4_wide): Likewise.
32929         (_FP_MUL_MEAT_4_gmp): Likewise.
32930         (umul_ppppmnnn): Likewise.
32931         (_FP_DIV_MEAT_4_udiv): Likewise.
32932         (__FP_FRAC_ADD_4): Likewise.
32933         (__FP_FRAC_SUB_3): Likewise.
32934         (__FP_FRAC_SUB_4): Likewise.
32935         (__FP_FRAC_DEC_3): Likewise.
32936         (__FP_FRAC_DEC_4): Likewise.
32937         (__FP_FRAC_ADDI_4): Likewise.
32938         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32939         (_FP_FRAC_SRL_8): Likewise.
32940         (_FP_FRAC_SRS_8): Likewise.
32942         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32943         include macro name.
32944         (FP_UNPACK_RAW_EP): Likewise.
32945         (FP_PACK_RAW_E): Likewise.
32946         (FP_PACK_RAW_EP): Likewise.
32947         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32948         (_FP_ISSIGNAN): Likewise.
32949         (_FP_ADD_INTERNAL): Likewise.
32950         (_FP_FMA): Likewise.
32951         (_FP_CMP): Likewise.
32952         (_FP_SQRT): Likewise.
32953         (_FP_TO_INT): Likewise.
32954         (_FP_FROM_INT): Likewise.
32955         (FP_EXTEND): Likewise.
32956         (_FP_DIV_MEAT_N_loop): Likewise.
32958 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32960         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32961         throughout.
32963 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32965         [BZ #17097]
32966         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32967         result with correct sign in case of exponents that produce
32968         overflow except for X very close to 1.
32970 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32972         mktime: merge #if/#ifdef usage from glibc
32973         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32974         as that works with both Glibc's and Gnulib's style.
32975         See thread starting at Siddhesh Poyarekar's bug report at:
32976         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32978 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32980         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32981         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32982         * sysdeps/tile/tilegx/memmove.c: Remove file.
32984 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32986         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32987         abi-name definition.
32988         * scripts/soversions.awk: Do not handle or generate ABI lines.
32989         * shlib-versions: Remove ABI entries.
32990         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32991         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32993 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32996         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32997         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32998         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33000         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33002         Moved ...
33003         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33004         ... here.
33005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33006         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33008         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33010         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33012         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33014         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33016         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33018         Moved ...
33019         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33021         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33023         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33025         Moved ...
33026         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33028         Moved ...
33029         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33031         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33033         Moved ...
33034         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33036         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33038         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33040         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33042         Moved ...
33043         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33045         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33046         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33047         Moved ...
33048         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33050         Moved ...
33051         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33052         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33053         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33057         ... here.
33058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33059         Identical file removed.
33060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33064         Identical file removed.
33065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33066         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33068         Moved ...
33069         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33071         Identical file removed.
33072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33073         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33075         Identical file removed.
33076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33077         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33079         Identical file removed.
33080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33081         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33083         Identical file removed.
33084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33088         Identical file removed.
33089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33090         Moved ...
33091         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33093         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33095         Identical file removed.
33096         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33097         Moved ...
33098         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33099         ... here.
33100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33101         Identical file removed.
33102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33103         Moved ...
33104         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33106         Identical file removed.
33107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33108         Moved ...
33109         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33111         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33112         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33113         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33115         Moved ...
33116         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33117         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33118         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33120         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33121         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33122         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33123         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33124         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33126 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33128         [BZ #17092]
33129         * nscd/nscd.c (monitor_child): Return exit status of child
33130         instead of return value from wait syscall.
33132 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33134         * configure.ac (libc_commonpagesize): Remove variable.
33135         (libc_relro_required): Likewise.
33136         (libc_cv_z_relro): Remove configure test.
33137         * configure: Regenerated.
33138         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33139         variable.
33140         (libc_relro_required): Likewise.
33141         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33142         (libc_relro_required): Likewise.
33143         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33144         (libc_relro_required): Likewise.
33145         * sysdeps/arm/preconfigure: Regenerated.
33146         * sysdeps/ia64/preconfigure: Remove file.
33147         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33148         variable.
33149         (libc_relro_required): Likewise.
33151         [BZ #16561]
33152         [BZ #16562]
33153         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33154         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33155         recompute overflowing results in original rounding mode.
33156         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33157         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33158         recompute overflowing results in original rounding mode.
33159         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33160         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33161         recompute overflowing results in original rounding mode.
33162         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33163         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33164         recompute overflowing results in original rounding mode.
33165         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33166         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33167         recompute overflowing results in original rounding mode.
33168         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33169         (libc_feholdsetround_ctx): New macro.
33170         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33171         * sysdeps/i386/fpu/libm-test-ulps: Update.
33172         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33174 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33176         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33177         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33178         corresponding .cpsetup call.
33180 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33182         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33183         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33184         * sysdeps/arm/Makefile [$(subdir) = csu]
33185         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33186         (static-only-routines): Add aeabi_read_tp here.
33187         (shared-only-routines): Add libc-aeabi_read_tp here.
33188         (CFLAGS-libc-start.c): Add -fexceptions here.
33189         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33190         (sysdep_routines, static-only-routines, shared-only-routines):
33191         Don't add to these here.
33192         (CFLAGS-libc-start.c): Likewise.
33194         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33195         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33196         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33197         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33198         * sysdeps/arm/Makefile [$(subdir) = rt]
33199         (librt-sysdep_routines, librt-shared-only-routines):
33200         Append rt-aeabi_unwind_cpp_pr1 here.
33201         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33202         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33203         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33204         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33205         Append nptl-aeabi_unwind_cpp_pr1 here.
33206         (tests): Filter out tst-cleanupx4 here.
33207         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33208         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33209         Don't do those here.
33211 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33213         * scripts/list-sources.sh: Do not handle ports specially.
33215 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33217         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33218         * sysdeps/arm/feupdateenv.c: Likewise.
33220         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33222 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33224         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33225         trailing whitespace removed.
33226         * scripts/config.guess: Update to version 2014-03-23.
33227         * scripts/config.sub: Update to version 2014-05-01
33228         * scripts/install-sh: Update to version 2013-12-25.23.
33229         * scripts/move-if-change: Update from gnulib.
33231 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33233         * debug/memmove_chk.c: Remove pagecopy.h include.
33235 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33237         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33238         identical to gnulib mktime.
33240 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33242         * configure.ac: Do not test for machine being rs6000.  Do not test
33243         for powerpc*-*soft.
33244         * configure: Regenerated.
33246         [BZ #11505]
33247         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33248         test.
33249         * configure: Regenerated.
33250         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33251         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33252         Remove configure test.
33253         * sysdeps/arm/configure: Regenerated.
33254         * sysdeps/nptl/configure.ac: Do not check
33255         libc_cv_asm_cfi_directives.
33256         * sysdeps/nptl/configure: Regenerated.
33257         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33258         * sysdeps/x86_64/nptl/configure: Remove generated file.
33259         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33260         unconditional.
33261         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33263 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33265         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33266         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33267         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33268         it is defined.
33270         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33271         instead of whether it is defined.
33272         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33273         * sysdeps/hppa/dl-machine.h: Likewise.
33274         * sysdeps/ia64/dl-machine.h: Likewise.
33275         * sysdeps/m68k/dl-machine.h: Likewise.
33276         * sysdeps/microblaze/dl-machine.h: Likewise.
33277         * sysdeps/mips/dl-machine.: Likewise.
33278         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33279         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33280         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33281         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33282         * sysdeps/sh/dl-machine.h: Likewise.
33283         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33284         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33285         * sysdeps/tile/dl-machine.h: Likewise.
33286         * sysdeps/x86_64/dl-machine.h: Likewise.
33288         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33289         code.
33290         (verify_persistent_db): Likewise.
33292 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33295         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33297         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33299         Moved ...
33300         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33301         ... here.
33302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33303         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33305         Identical file removed.
33306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33307         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33309         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33311         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33313         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33315         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33317         Moved ...
33318         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33320         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33322         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33324         Moved ...
33325         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33327         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33329         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33331         Identical file removed.
33332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33333         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33335         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33337         Moved ...
33338         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33339         ... here.
33340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33341         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33343         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33345         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33347         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33349         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33351         Moved ...
33352         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33354         Moved ...
33355         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33357         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33359         Moved ...
33360         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33362         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33364         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33365         folded into ...
33366         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33367         * sysdeps/unix/sysv/linux/s390/Versions
33368         (libpthread: GLIBC_2.19): New version set.
33369         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33370         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33371         (librt: GLIBC_2.3.3): New version set.
33372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33373         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33374         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33375         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33376         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33377         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33378         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33379         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33380         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33381         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33382         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33383         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33384         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33385         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33386         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33387         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33388         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33389         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33390         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33391         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33392         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33394         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33396         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33398         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33400         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33402         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33403         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33408         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33410         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33412         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33414         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33416         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33419         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33420         (__libc_vfork): Define the function under this name.
33421         [!NOT_IN_libc] (__vfork): Make this an alias.
33422         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33424         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33425         (__libc_vfork): Define the function under this name.
33426         [!NOT_IN_libc] (__vfork): Make this an alias.
33427         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33428         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33429         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33432         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33434         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33435         code that was previously under [RESET_PID].
33436         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33437         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33440         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33441         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33442         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33443         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33444         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33445         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33446         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33447         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33448         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33449         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33450         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33451         Moved ...
33452         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33453         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33454         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33455         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33456         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33457         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33458         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33459         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33460         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33462         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33463         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33464         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33465         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33466         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33467         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33468         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33470         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33471         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33472         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33473         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33474         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33475         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33476         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33477         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33478         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33479         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33480         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33482 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33484         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33485         that was previously under [RESET_PID].
33486         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33488 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33490         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33491         not undefine and redefine.
33492         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33493         [O_CLOEXEC]: Make code unconditional.
33494         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33495         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33496         <kernel-features.h>.
33497         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33498         conditional variable definition.
33499         (shm_open) [O_CLOEXEC]: Make code unconditional.
33500         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33501         code.
33503         * configure.ac (USE_REGPARMS): Don't define here.
33504         * configure: Regenerated.
33505         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33506         * sysdeps/i386/configure: Regenerated.
33508         * nptl/createthread.c: Don't include kernel-features.h.
33509         * nptl/pthread_cancel.c: Likewise.
33510         * nptl/pthread_condattr_setclock.c: Likewise.
33511         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33512         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33513         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33514         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33515         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33516         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33517         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33518         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33520         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33521         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33522         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33523         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33524         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33525         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33526         * nscd/gai.c: Likewise.
33527         * nss/nss_db/db-open.c: Likewise.
33528         * sysdeps/generic/ldsodefs.h: Likewise.
33529         * sysdeps/sh/nptl/tls.h: Likewise.
33530         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33531         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33532         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33533         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33534         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33535         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33536         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33537         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33538         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33539         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33540         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33541         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33542         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33543         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33544         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33545         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33546         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33547         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33548         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33549         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33552         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33553         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33558         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33559         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33560         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33561         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33562         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33563         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33564         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33565         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33566         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33567         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33568         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33569         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33570         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33571         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33572         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33573         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33574         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33575         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33576         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33577         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33578         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33579         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33580         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33581         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33582         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33583         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33584         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33585         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33586         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33587         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33610         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33611         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33612         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33613         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33614         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33615         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33616         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33617         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33618         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33619         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33620         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33621         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33622         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33623         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33624         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33625         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33627         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33628         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33629         * sysdeps/unix/sysv/linux/system.c: Likewise.
33630         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33631         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33632         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33633         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33634         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33635         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33636         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33638         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33639         * configure: Regenerated.
33640         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33642         * configure.ac (base_machine): Do not set specially for particular
33643         machines here.
33644         * configure: Regenerated.
33645         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33646         settings from configure.ac.
33647         * sysdeps/i386/preconfigure: New file.
33648         * sysdeps/s390/preconfigure: Likewise.
33649         * sysdeps/sh/preconfigure: Likewise.
33650         * sysdeps/sparc/preconfigure: Likewise.
33652 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33654         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33655         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33656         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33657         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33658         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33659         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33660         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33661         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33662         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33663         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33664         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33665         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33666         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33667         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33668         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33669         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33670         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33671         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33672         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33674         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33675         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33676         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33677         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33678         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33679         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33680         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33681         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33682         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33683         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33684         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33685         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33686         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33687         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33688         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33689         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33690         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33691         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33692         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33693         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33694         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33695         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33696         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33697         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33699         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33700         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33701         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33702         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33704         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33705         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33706         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33707         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33708         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33709         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33710         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33711         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33714         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33716         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33718         Moved ...
33719         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33720         ... here.
33721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33722         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33724         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33726         Moved ...
33727         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33729         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33733         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33735         Moved ...
33736         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33738         Moved ...
33739         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33741         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33743         Moved ...
33744         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33746         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33748         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33750         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33752         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33754         Moved ...
33755         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33756         ... here.
33757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33758         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33760         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33762         Moved ...
33763         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33765         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33767         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33769         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33771         Moved ...
33772         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33774         Moved ...
33775         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33777         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33779         Moved ...
33780         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33782         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33784         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33786 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33788         * timezone/checktab.awk: Update from tzcode 2014e.
33789         * timezone/private.h: Likewise.
33790         * timezone/tzfile.h: Likewise.
33791         * timezone/zdump.c: Likewise.
33792         * timezone/zic.c: Likewise.
33794         * sysdeps/unix/sysv/linux/kernel-features.h
33795         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33797         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33798         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33799         Remove conditional code.
33801 2014-06-25  Will Newton  <will.newton@linaro.org>
33803         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33804         (_dl_arm_cap_flags): Add HWCAP2 values.
33805         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33806         (_DL_HWCAP_COUNT): Increase to 37.
33807         (_DL_HWCAP_LAST): New define.
33808         (_DL_HWCAP2_LAST): New define.
33809         (_dl_procinfo): Add support for printing
33810         AT_HWCAP2 entries.
33811         (_dl_string_hwcap): Use _dl_hwcap_string.
33813 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33817 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33819         * README: Do not mention ports directory.
33821         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33822         Remove macro.
33823         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33824         <kernel-features.h>.
33825         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33826         conditional variable definition.
33827         (__futimes): Update comment.
33828         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33829         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33831         [BZ #16560]
33832         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33833         arguments close to 0.
33834         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33835         Likewise.
33836         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33837         Likewise.
33838         * math/auto-libm-test-in: Add more tests of exp10.
33839         * math/auto-libm-test-out: Regenerated.
33840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33842         * sysdeps/unix/sysv/linux/kernel-features.h
33843         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33844         * sysdeps/unix/sysv/linux/readv.c: Do not include
33845         <kernel-features.h>.
33846         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33847         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33848         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33849         unconditional.
33850         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33851         conditional code.
33852         * sysdeps/unix/sysv/linux/writev.c: Do not include
33853         <kernel-features.h>.
33854         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33855         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33856         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33857         unconditional.
33858         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33859         conditional code.
33861 2014-06-25  Will Newton  <will.newton@linaro.org>
33863         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33864         comment changes throughout the file.  Remove checks
33865         for HAVE_*_H definitions that are not required.
33866         (__gen_tempname): Call abort if an unknown kind value is
33867         passed.
33869 2014-06-25  Andreas Schwab  <schwab@suse.de>
33871         [BZ #17086]
33872         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33873         scalbln, scalblnf, scalblnl in libc.
33875 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33877         [BZ #17086]
33878         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33879         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33880         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33882 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33884         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33885         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33886         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33887         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33888         Update #include.
33889         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33890         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33891         Update #include.
33892         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33893         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33894         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33895         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33896         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33897         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33898         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33899         * sysdeps/x86/bits/semaphore.h: ... here.
33900         * sysdeps/x86/nptl/elide.h: Moved ...
33901         * sysdeps/x86/elide.h: ... here.
33902         * sysdeps/x86_64/nptl/Implies: File removed.
33903         * sysdeps/i386/nptl/Implies: File removed.
33905 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33907         [BZ #16539]
33908         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33909         return the argument for normal arguments with exponent below -64.
33910         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33911         Likewise.
33912         * math/auto-libm-test-in: Add another test of expm1.
33913         * math/auto-libm-test-out: Regenerated.
33915         [BZ #16287]
33916         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33917         calling __erfcl for arguments at least 16.
33918         * math/auto-libm-test-in: Add more tests of erf.
33919         * math/auto-libm-test-out: Regenerated.
33921         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33922         individual architectures.
33923         * sysdeps/unix/sysv/linux/configure: Regenerated.
33924         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33925         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33926         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33927         (ldd_rewrite_script): Define variable.
33928         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33930         file.
33931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33932         generated file.
33933         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33934         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33935         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33936         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33937         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33938         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33939         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33940         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33942 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33944         [BZ #17084]
33945         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33946         Rename member __data.d to __data.__elision_data.
33948 2014-06-24  Wilco  <wdijkstr@arm.com>
33950         * NEWS: Add 16918 to fixed bug list.
33952 2014-06-24  Wilco  <wdijkstr@arm.com>
33954         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33956 2014-06-24  Wilco  <wdijkstr@arm.com>
33958         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33959         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33960         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33961         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33962         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33963         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33964         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33965         Use _FPU_MASK_RM.
33967 2014-06-24  Wilco  <wdijkstr@arm.com>
33969         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33971 2014-06-24  Wilco  <wdijkstr@arm.com>
33973         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33974         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33975         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33976         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33978 2014-06-24  Wilco  <wdijkstr@arm.com>
33980         [BZ #16918]
33981         * sysdeps/arm/feupdateenv.c (feupdateenv):
33982         Rewrite to reduce FPSCR accesses and fix return value.
33984 2014-06-24  Wilco  <wdijkstr@arm.com>
33986         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33987         Optimize to avoid unnecessary FPSCR writes.
33988         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33989         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33990         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33991         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33993 2014-06-24  Wilco  <wdijkstr@arm.com>
33995         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33996         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33997         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33998         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33999         Call libc_fetestexcept_vfp.
34000         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34001         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34002         __SOFTFP__ ifdef so that they can be built for softfp.
34004 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34006         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34007         argument type signed char.
34009         * Makerules (check-abi): Dump diff of symlist if the test
34010         fails.
34012 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34014         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34015         using abort.
34017         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34018         Remove unused variable ST.
34020 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34022         [BZ #16354]
34023         [BZ #17061]
34024         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34025         small arguments before calling __expm1.
34026         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34027         small arguments before calling __expm1f.
34028         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34029         small arguments before calling __expm1l.
34030         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34031         Likewise.
34032         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34033         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34034         spurious underflow for some cosh tests.
34035         * math/auto-libm-test-out: Regenerated.
34036         * sysdeps/i386/fpu/libm-test-ulps: Update.
34038         [BZ #17050]
34039         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34040         (__ieee754_y1): Set errno if return value overflows.
34041         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34042         (__ieee754_y1f): Set errno if return value overflows.
34043         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34044         (__ieee754_y1l): Set errno if return value overflows.
34045         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34046         (__ieee754_y1l): Set errno if return value overflows.
34047         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34048         * math/auto-libm-test-out: Regenerated.
34050         * math/gen-auto-libm-tests.c: Document use of
34051         ignore-zero-inf-sign.
34052         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34053         (input_flags): Add ignore-zero-inf-sign.
34054         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34055         * math/gen-libm-test.pl (generate_testfile): Handle
34056         ignore-zero-inf-sign.
34057         * math/auto-libm-test-in: Mark some cpow tests with
34058         ignore-zero-inf-sign and some with xfail-rounding.
34059         * math/auto-libm-test-out: Regenerated.
34060         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34061         * sysdeps/i386/fpu/libm-test-ulps: Update.
34062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34064         [BZ #16315]
34065         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34066         overflowing or underflowing operations take place with sign of
34067         result.
34068         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34069         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34070         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34071         (__ieee754_pow): Recompute overflowing and underflowing results in
34072         original rounding mode.
34073         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34074         (__powl_helper): Allow negative argument X and scale negated value
34075         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34076         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34077         overflowing or underflowing operations take place with sign of
34078         result.
34079         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34080         Include <math.h>.
34081         * math/auto-libm-test-in: Add more tests of pow.
34082         * math/auto-libm-test-out: Regenerated.
34083         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34084         (pow_tonearest_test_data): Remove.
34085         (pow_test_tonearest): Likewise.
34086         (pow_towardzero_test_data): Likewise.
34087         (pow_test_towardzero): Likewise.
34088         (pow_downward_test_data): Likewise.
34089         (pow_test_downward): Likewise.
34090         (pow_upward_test_data): Likewise.
34091         (pow_test_upward): Likewise.
34092         (main): Don't call removed functions.
34093         * sysdeps/i386/fpu/libm-test-ulps: Update.
34094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34096 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34099         Moved ...
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34102         Moved ...
34103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34105         Moved ...
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34108         Moved ...
34109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34111         File removed.
34112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34113         File removed.
34114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34115         File removed.
34116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34117         File removed.
34118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34119         File removed.
34120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34121         File removed.
34122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34123         File removed.
34124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34125         File removed.
34126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34127         File removed.
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34129         File removed.
34130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34131         File removed.
34132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34133         File removed.
34134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34135         Moved ...
34136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34138         Moved ...
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34140         ... here.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34142         Moved ...
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34145         Moved ...
34146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34148         Moved ...
34149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34151         Moved ...
34152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34154         Moved ...
34155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34157         Moved ...
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34160         Moved ...
34161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34164         ... here.
34165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34166         Moved ...
34167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34169         Moved ...
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34171         ... here.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34173         Moved ...
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34175         ... here.
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34177         Moved ...
34178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34179         ... here.
34180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34181         Moved ...
34182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34184         Moved ...
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34189         Moved ...
34190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34191         ... here.
34192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34193         Moved ...
34194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34195         ... here.
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34197         Moved ...
34198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34200         Moved ...
34201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34203         Moved ...
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34206         Moved ...
34207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34209         Moved ...
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34211         ... here.
34212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34213         Moved ...
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34216         Moved ...
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34219         Moved ...
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34222         Moved ...
34223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34227         Moved ...
34228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34230         Moved ...
34231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34233         Moved ...
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34235         ... here.
34236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34237         Moved ...
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34239         ... here.
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34241         Moved ...
34242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34243         ... here.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34245         Moved ...
34246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34248         Moved ...
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34251         Moved ...
34252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34254         Moved ...
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34256         ... here.
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34258         Moved ...
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34260         ... here.
34261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34262         Moved ...
34263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34264         ... here.
34265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34266         Moved ...
34267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34269         Moved ...
34270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34272 2014-06-23  Will Newton  <will.newton@linaro.org>
34273             Wilco  <wdijkstr@arm.com>
34275         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34276         implementation.  Include get-rounding-mode.h.
34277         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34278         [!libc_feholdsetround_noex_ctx]: Define
34279         libc_feholdsetround_noex_ctx.
34280         [!libc_feholdsetround_noexf_ctx]: Define
34281         libc_feholdsetround_noexf_ctx.
34282         [!libc_feholdsetround_noexl_ctx]: Define
34283         libc_feholdsetround_noexl_ctx.
34284         (libc_feholdsetround_ctx): New function.
34285         (libc_feresetround_ctx): New function.
34286         (libc_feholdsetround_noex_ctx): New function.
34287         (libc_feresetround_noex_ctx): New function.
34289 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34291         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34292         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34293         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34294         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34295         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34296         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34298         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34299         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34300         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34301         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34302         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34303         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34305         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34307         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34309         Moved ...
34310         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34311         ... here.
34312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34313         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34315         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34317         Moved ...
34318         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34320         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34322         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34324         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34326         Moved ...
34327         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34329         Moved ...
34330         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34332         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34334         Moved ...
34335         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34337         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34338         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34339         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34340         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34341         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34343         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34344         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34345         Moved ...
34346         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34347         ... here.
34348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34349         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34351         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34353         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34355         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34357         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34359         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34361         Moved ...
34362         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34364         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34366         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34368         Moved ...
34369         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34371         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34372         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34373         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34375         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34376         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34377         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34378         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34380         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34381         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34382         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34383         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34384         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34385         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34386         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34387         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34388         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34389         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34390         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34391         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34392         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34393         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34394         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34395         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34396         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34397         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34398         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34399         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34400         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34401         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34402         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34404 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34407         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34408         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34409         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34410         (IPV6_PMTUDISC_INTERFACE): Likewise.
34411         (IPV6_PMTUDISC_OMIT): Likewise.
34413 2014-06-23  Andreas Schwab  <schwab@suse.de>
34415         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34416         Remove unused errout label.
34418 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34420         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34421         macro: hardware supports Vector Crypto instructions.
34423 2014-06-23  Will Newton  <will.newton@linaro.org>
34425         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34426         rather than __builtin_expect.
34428         * elf/dl-lookup.c (undefined_msg): Remove variable.
34429         (_dl_lookup_symbol_x): Replace undefined_msg with string
34430         literal.
34432         * elf/dl-lookup.c (do_lookup_unique): New function.
34433         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34434         to a separate function.
34436 2014-06-23  Andreas Schwab  <schwab@suse.de>
34438         [BZ #17079]
34439         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34440         before reading the next line.
34442 2014-06-23  Will Newton  <will.newton@linaro.org>
34444         * test-skeleton.c (signal_handler): Use printf and %m
34445         rather than perror.  Use printf rather than fprintf to
34446         stderr.  Use puts rather than fputs to stderr.
34447         (main): Likewise.
34449 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34451         * nscd/nscd.c (thread_info_t): Remove typedef.
34452         (thread_info): Remove variable.
34454 2014-06-21  Allan McRae  <allan@archlinux.org>
34456         * NEWS: Mention CVE-2014-4043.
34458 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34460         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34461         * nptl/smp.h: ... here.
34463         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34465         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34466         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34467         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34468         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34470         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34471         * nptl/stack-aliasing.h: New file.
34472         * sysdeps/i386/i686/stack-aliasing.h: New file.
34473         * sysdeps/i386/i686/nptl/Makefile: File removed.
34474         * sysdeps/x86_64/stack-aliasing.h: New file.
34475         * sysdeps/x86_64/nptl/Makefile
34476         (CFLAGS-pthread_create.c): Variable removed.
34478         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34479         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34480         old file.
34481         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34482         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34483         old file.
34485 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34487         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34488         (__ASSUME_SIGFRAME_V2): Remove macro.
34489         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34490         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34491         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34492         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34493         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34494         Declare as function.  Remove conditional macro definitions.
34495         (__default_rt_sa_restorer): Likewise.
34496         (__default_sa_restorer_v1): Remove declaration.
34497         (__default_sa_restorer_v2): Likewise.
34498         (__default_rt_sa_restorer_v1): Likewise.
34499         (__default_rt_sa_restorer_v2): Likewise.
34500         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34501         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34502         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34504 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34506         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34507         (libpthread-routines): Add sysdep.
34508         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34509         * sysdeps/unix/sysv/linux/sparc/Versions
34510         (libpthread: GLIBC_2.3.3): New version set.
34511         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34512         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34513         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34514         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34515         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34516         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34517         Moved ...
34518         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34519         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34520         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34521         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34522         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34523         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34524         * sysdeps/sparc/nptl/sem_init.c: ... here.
34525         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34526         * sysdeps/sparc/nptl/sem_post.c: ... here.
34527         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34528         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34529         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34530         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34531         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34532         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34533         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34534         (libpthread-routines): Add cpu_relax.
34535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34536         File removed.
34537         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34538         (librt: GLIBC_2.3.3): New version set.
34539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34540         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34541         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34542         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34545         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34547         Moved ...
34548         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34550         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34552         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34554         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34556         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34558         Moved ...
34559         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34560         Update #include.
34561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34562         Moved ...
34563         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34564         Update #include.
34565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34566         Moved ...
34567         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34568         Update #include.
34569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34570         Moved ...
34571         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34572         Update #include.
34573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34574         Moved ...
34575         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34576         Update #include.
34577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34578         Moved ...
34579         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34580         Update #include.
34581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34582         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34588         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34590         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34592         Moved ...
34593         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34595         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34599 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34601         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34602         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34603         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34604         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34605         * nscd/nscd.c: Likewise.
34606         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34607         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34608         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34609         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34611         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34612         <kernel-features.h>.
34613         (init_mq_netlink): Remove conditional have_sock_cloexec
34614         definitions.  Remove code conditional on have_sock_cloexec < 0.
34615         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34616         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34617         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34618         <kernel-features.h>.
34619         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34620         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34622 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34625         Add tests for memset_chk and memset.
34627         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34628         with AVX2_Usable.
34630 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34632         [BZ #16046]
34633         * elf/tst-dl-iter-static.c: New file.
34634         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34636         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34637         error.
34639 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34641         * sysdeps/unix/sysv/linux/kernel-features.h
34642         (__ASSUME_F_GETOWN_EX): Remove macro.
34643         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34644         <kernel-features.h>.
34645         (miss_F_GETOWN_EX): Remove variable or macro.
34646         (do_fcntl): Do not check miss_F_GETOWN_EX.
34647         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34650         Remove macro.
34651         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34652         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34653         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34655         * sysdeps/unix/sysv/linux/kernel-features.h
34656         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34657         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34658         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34659         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34661 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34663         [BZ #17075]
34664         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34665         Fix calculation of the symbol's value.
34666         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34667         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34668         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34669         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34670         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34671         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34672         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34673         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34674         (modules-names): Add `tst-armtlsdescmod',
34675         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34676         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34677         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34678         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34679         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34680         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34681         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34682         ($(objpfx)tst-armtlsdescloc): New dependency.
34683         ($(objpfx)tst-armtlsdescextnow): Likewise.
34684         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34685         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34686         TLS scheme support.
34687         * sysdeps/arm/configure: Regenerate.
34689 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34691         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34692         (__atfct_seterrno_2): Likewise.
34693         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34694         <kernel-features.h>.
34695         (__ASSUME_ATFCTS): Do not undefine and redefine.
34696         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34697         (__have_atfcts): Remove conditional definition.
34698         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34699         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34700         unreachable if [__ASSUME_ATFCTS].
34701         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34702         not undefine and redefine.
34703         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34704         <kernel-features.h>.
34705         (faccessat) [__NR_faccessat]: Make code unconditional.
34706         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34707         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34708         <kernel-features.h>.
34709         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34710         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34711         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34712         <kernel-features.h>.
34713         (fchownat) [__NR_fchownat]: Make code unconditional.
34714         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34715         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34716         <kernel-features.h>.
34717         (futimesat) [__NR_futimesat]: Make code unconditional.
34718         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34719         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34720         <kernel-features.h>.
34721         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34722         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34723         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34724         <kernel-features.h>.
34725         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34726         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34727         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34728         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34729         <kernel-features.h>.
34730         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34731         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34732         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34733         <kernel-features.h>.
34734         (linkat) [__NR_linkat]: Make code unconditional.
34735         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34736         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34737         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34738         <kernel-features.h>.
34739         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34740         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34741         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34742         <kernel-features.h>.
34743         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34744         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34745         * sysdeps/unix/sysv/linux/openat.c: Do not include
34746         <kernel-features.h>.
34747         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34748         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34749         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34750         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34751         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34752         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34753         <kernel-features.h>.
34754         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34755         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34756         result of INLINE_SYSCALL directly, not via int variable.
34757         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34758         <kernel-features.h>.
34759         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34760         (renameat) [__NR_renameat]: Make code unconditional.
34761         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34762         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34763         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34764         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34765         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34766         (__ASSUME_ATFCTS): Do not undefine and redefine.
34767         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34768         <kernel-features.h>.
34769         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34770         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34771         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34772         <kernel-features.h>.
34773         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34774         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34775         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34776         (__ASSUME_ATFCTS): Do not undefine and redefine.
34777         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34778         <kernel-features.h>.
34779         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34780         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34781         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34782         <kernel-features.h>.
34783         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34784         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34786 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34788         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34790 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34792         [BZ #17069]
34793         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34794         constructed tree before returning error.
34795         * posix/bug-regexp36.c: Expand test case.
34797 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34799         [BZ #6803]
34800         * math/libm-test.inc (scalbln_test_date):
34801         Add errno expectations.
34802         * math/w_scalblnf.c: New File.
34803         Add wrapper which checks for setting errno to ERANGE.
34804         Add weak_alias for corresponding scalbln function.
34805         * math/w_scalbln.c: Likewise.
34806         * math/w_scalblnl.c: Likewise.
34807         * math/Makefile (libm-calls): Add w_scalbln.
34808         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34809         Remove weak_alias for corresponding scalbln function.
34810         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34811         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34812         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34813         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34814         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34815         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34816         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34817         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34818         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34819         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34820         Remove long_double_symbol for scalblnl function in libm, libc.
34821         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34822         Add wrapper which checks for setting errno to ERANGE.
34823         Add long_double_symbol for scalblnl function in libm, libc.
34824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34825         Remove long_double_symbol for scalblnl in libm.
34826         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34827         Add wrapper which checks for setting errno to ERANGE.
34828         Add long_double_symbol for scalblnl function in libm.
34829         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34830         Do not use wrapper because of own implementation.
34832 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34834         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34835         3 bytes for __pad1 for x32.
34836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34838 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34839             H.J. Lu  <hongjiu.lu@intel.com>
34841         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34842         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34843         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34844         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34845         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34847 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34849         [BZ #17069]
34850         * posix/regcomp.c (parse_expression): Deallocate partially
34851         constructed tree before returning error.
34852         * posix/Makefile.c (tests): Add bug-regex36.
34853         (generated): Add bug-regex36.mtrace.
34854         (tests-special): Add $(objpfx)bug-regex36-mem.out
34855         (bug-regex36-ENV): New variable.
34856         ($(objpfx)bug-regex36-mem.out): New rule.
34857         * posix/bug-regex36.c: New file.
34859 2014-06-19  Will Newton  <will.newton@linaro.org>
34861         * malloc/malloc.c (systrim): If extra is zero then return
34862         early.
34864 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34866         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34868 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34870         * sysdeps/aarch64/strchr.S: New file.
34872 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34874         [BZ #17022]
34875         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34876         from arguments -2 or below.
34877         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34878         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34880 2014-06-18  Andreas Schwab  <schwab@suse.de>
34882         [BZ #17062]
34883         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34884         of a bracket expr not to run off the end of the string.
34885         * posix/Makefile (tests): Add tst-fnmatch3.
34886         * posix/tst-fnmatch3.c: New file.
34888 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34890         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34891         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34892         [$(cross-compiling) = no]: Likewise.
34893         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34894         [$(cross-compiling) = no]: Likewise.
34896 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34898         [BZ #17031]
34899         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34900         double, adjusted for any remainder from the high double.
34901         * math/libm-test.inc (nearbyint): Add tests.
34902         (rint): Likewise.
34904 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34906         * nptl/sysdeps/powerpc/Makefile: Moved ...
34907         * sysdeps/powerpc/nptl/Makefile: ... here.
34908         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34909         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34910         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34911         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34912         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34913         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34914         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34915         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34916         * nptl/sysdeps/powerpc/tls.h: Moved ...
34917         * sysdeps/powerpc/nptl/tls.h: ... here.
34919 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34921         [BZ #16681]
34922         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34923         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34924         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34925         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34926         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34927         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34928         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34929         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34930         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34932 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34934         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34936 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34938         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34939         defined operator.
34941         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34942         $TIMEOUTFACTOR.
34944 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34946         [BZ #17058]
34947         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34948         non-executed part of the test.
34950 2014-06-16  Andreas Schwab  <schwab@suse.de>
34952         * string/bits/string2.h (strdup, strndup): Update feature guard.
34954 2014-06-14  David S. Miller  <davem@davemloft.net>
34956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34958 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34960         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34961         that was previously under [RESET_PID].
34962         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34964         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34965         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34966         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34967         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34968         (__libc_vfork): New strong alias.
34969         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34971 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34973         * sysdeps/generic/elide.h: New file.
34975 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34977         * Makefile (installed-headers): Adjust path of pthread.h header.
34979 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34981         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34982         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34983         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34984         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34986         * nptl/sysdeps/s390/Makefile: Moved ...
34987         * sysdeps/s390/nptl/Makefile: ... here.
34988         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34989         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34990         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34991         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34992         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34993         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34994         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34995         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34996         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34997         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34998         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34999         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35000         * nptl/sysdeps/s390/tls.h: Moved ...
35001         * sysdeps/s390/nptl/tls.h: ... here.
35003         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35004         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35006 2014-06-13  David S. Miller  <davem@davemloft.net>
35008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35011         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35015         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35016         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35017         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35018         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35019         Remove RESET_PID cpp guards.
35020         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35021         Remove RESET_PID cpp guards.
35022         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35024 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35026         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35027         __sp to uintptr_t.
35029 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35031         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35034         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35035         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35037         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35039         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35040         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35042         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35044         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35045         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35047         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35048         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35049         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35050         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35052         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35053         (pthread_rwlock_rdlock): Add elision.
35054         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35055         (pthread_rwlock_wrlock): Add elision.
35056         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35057         (pthread_rwlock_trywrlock): Add elision.
35058         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35059         (pthread_rwlock_tryrdlock): Add elision.
35060         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35061         (pthread_rwlock_tryrdlock): Add elision unlock.
35062         * nptl/sysdeps/pthread/pthread.h:
35063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35064         (PTHREAD_RWLOCK_INITIALIZER,
35065         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35066         Handle new elision field.
35067         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35068         * sysdeps/arm/nptl/bits/pthreadtypes.h
35069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35070         * sysdeps/sh/nptl/bits/pthreadtypes.h
35071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35072         * sysdeps/tile/nptl/bits/pthreadtypes.h
35073         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35074         * sysdeps/a/nptl/bits/pthreadtypes.h
35075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35076         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35078         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35080         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35082         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35084         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35086         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35088         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35090         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35092         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35093         (elision_init): Set try_xbegin to zero when no RTM.
35094         * sysdeps/x86/nptl/bits/pthreadtypes.h
35095         (pthread_rwlock_t): Change __pad1 to __rwelision.
35096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35098 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35100         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35101         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35102         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35103         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35105 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35107         [BZ #16996]
35108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35109         that the cached result has been set before returning it.
35111 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35113         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35114         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35115         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35116         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35117         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35118         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35120         * nptl/sysdeps/sparc/Makefile: Moved ...
35121         * sysdeps/sparc/nptl/Makefile: ... here.
35122         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35123         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35124         * nptl/sysdeps/sparc/tls.h: Moved ...
35125         * sysdeps/sparc/nptl/tls.h: ... here.
35126         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35127         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35128         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35129         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35130         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35131         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35132         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35133         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35134         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35135         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35136         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35137         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35138         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35139         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35140         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35141         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35142         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35143         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35144         Update #include.
35145         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35146         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35147         Update #include.
35148         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35150         Update #include.
35151         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35153         Update #include.
35155         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35157         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35158         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35160         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35161         (struct list_links): Type removed.
35162         (struct thread_node, struct timer_node): Replace struct list_links
35163         with struct list_head.
35164         (list_unlink_ip): Likewise.
35165         * sysdeps/pthread/timer_routines.c
35166         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35167         (list_append, list_insbefore): Likewise.
35168         (list_init): Function removed.
35169         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35170         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35171         * sysdeps/pthread/Makefile: ... here, new file.
35173         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35174         * sysdeps/nptl/Implies: ... here.
35175         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35176         * nptl/sysdeps/pthread/list.h: Moved ...
35177         * include/list.h: ... here.
35178         * nptl/sysdeps/pthread/createthread.c: Moved ...
35179         * nptl/createthread.c: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35181         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35182         * nptl/pt-longjmp.c: ... here.
35183         * nptl/sysdeps/pthread/Makefile: Moved ...
35184         * sysdeps/nptl/Makefile: ... here.
35185         * nptl/sysdeps/pthread/Subdirs: Moved ...
35186         * sysdeps/nptl/Subdirs: ... here.
35187         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35188         * sysdeps/nptl/aio_misc.h: ... here.
35189         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35190         * sysdeps/nptl/bits/libc-lock.h: ... here.
35191         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35192         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35193         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35194         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35195         * nptl/sysdeps/pthread/configure: Moved ...
35196         * sysdeps/nptl/configure: ... here.
35197         * nptl/sysdeps/pthread/configure.ac: Moved ...
35198         * sysdeps/nptl/configure.ac: ... here.
35199         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35200         * sysdeps/nptl/gai_misc.h: ... here.
35201         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35202         * sysdeps/nptl/librt-cancellation.c: ... here.
35203         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35204         * sysdeps/nptl/malloc-machine.h: ... here.
35205         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35206         * sysdeps/nptl/pthread-functions.h: ... here.
35207         * nptl/sysdeps/pthread/pthread.h: Moved ...
35208         * sysdeps/nptl/pthread.h: ... here.
35209         * nptl/sysdeps/pthread/setxid.h: Moved ...
35210         * sysdeps/nptl/setxid.h: ... here.
35211         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35212         * sysdeps/nptl/sigfillset.c: ... here.
35213         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35214         * sysdeps/nptl/tcb-offsets.h: ... here.
35215         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35216         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35217         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35218         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35219         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35220         * sysdeps/pthread/allocalim.h: ... here.
35221         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35222         * sysdeps/pthread/bits/sigthread.h: ... here.
35223         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35224         * sysdeps/pthread/flockfile.c: ... here.
35225         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35226         * sysdeps/pthread/ftrylockfile.c: ... here.
35227         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35228         * sysdeps/pthread/funlockfile.c: ... here.
35229         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35230         * sysdeps/pthread/posix-timer.h: ... here.
35231         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35232         * sysdeps/pthread/timer_create.c: ... here.
35233         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35234         * sysdeps/pthread/timer_delete.c: ... here.
35235         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35236         * sysdeps/pthread/timer_getoverr.c: ... here.
35237         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35238         * sysdeps/pthread/timer_gettime.c: ... here.
35239         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35240         * sysdeps/pthread/timer_routines.c: ... here.
35241         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35242         * sysdeps/pthread/timer_settime.c: ... here.
35243         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35244         * sysdeps/pthread/tst-timer.c: ... here.
35245         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35246         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35248         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35249         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35251         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35252         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35253         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35254         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35255         Update #include target.
35256         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35257         * sysdeps/i386/i686/nptl/Makefile: ... here.
35258         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35259         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35260         Update #include target.
35261         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35262         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35263         * nptl/sysdeps/i386/Makefile: Moved ...
35264         * sysdeps/i386/nptl/Makefile: ... here.
35265         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35266         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35267         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35268         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35269         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35270         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35271         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35272         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35273         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35274         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35275         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35276         * nptl/sysdeps/i386/tls.h: Moved ...
35277         * sysdeps/i386/nptl/tls.h: ... here.
35279         * sysdeps/sh/Makefile [$(subdir) = csu]
35280         (gen-as-const-headers): Add tcb-offsets.sym.
35281         * nptl/sysdeps/sh/Makefile: File removed.
35282         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35283         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35284         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35285         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35286         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35287         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35288         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35289         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35290         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35291         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35292         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35293         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35294         * nptl/sysdeps/sh/tls.h: Moved ...
35295         * sysdeps/sh/nptl/tls.h: ... here.
35296         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35297         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35298         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35299         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35301         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35302         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35303         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35304         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35305         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35306         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35307         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35309         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35311         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35312         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35313         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35315         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35317         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35319         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35320         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35321         Moved ...
35322         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35324         Moved ...
35325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35328         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35329         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35330         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35331         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35332         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35333         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35334         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35335         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35336         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35337         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35338         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35339         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35340         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35341         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35342         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35343         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35345 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35347         * posix/spawn_faction_addopen.c: Include string.h.
35349 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35351         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35352         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35353         * nptl/sysdeps/x86_64/Makefile: Moved ...
35354         * sysdeps/x86_64/nptl/Makefile: ... here.
35355         * nptl/sysdeps/x86_64/configure: Moved ...
35356         * sysdeps/x86_64/nptl/configure: ... here.
35357         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35358         * sysdeps/x86_64/nptl/configure.ac: ... here.
35359         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35360         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35361         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35362         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35363         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35364         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35365         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35366         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35367         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35368         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35369         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35370         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35371         * nptl/sysdeps/x86_64/tls.h: Moved ...
35372         * sysdeps/x86_64/nptl/tls.h: ... here.
35373         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35374         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35375         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35376         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35378         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35380 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35384 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35386         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35387         type.
35388         [POSIX] (off_t): Likewise.
35389         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35390         [POSIX] (S_ISBLK): Require macro.
35391         [POSIX] (S_ISCHR): Likewise.
35392         [POSIX] (S_ISDIR): Likewise.
35393         [POSIX] (S_ISFIFO): Likewise.
35394         [POSIX] (S_ISREG): Likewise.
35395         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35396         optional-macro.
35397         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35398         type.
35399         [POSIX] (time_t): Likewise.
35400         [POSIX] (timer_t): Likewise.
35402 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35404         [BZ #17048]
35405         * posix/spawn_int.h (struct __spawn_action): Make the path string
35406         non-const to support deallocation.
35407         * posix/spawn_faction_addopen.c
35408         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35409         * posix/spawn_faction_destroy.c
35410         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35411         path in all spawn_do_open actions.
35412         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35413         posix_spawn_file_actions_addopen.
35415 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35417         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35418         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35419         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35420         conditional code always true.
35421         (__libc_vfork): New alias.
35423 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35425         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35426         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35428         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35430         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35431         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35433         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35434         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35436         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35437         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35439 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35441         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35442         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35443         multiarch strcmp for PPC64.
35444         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35445         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35447         multiarch optimizations.
35448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35449         (__libc_ifunc_impl_list): Likewise.
35451 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35453         * benchtests/scripts/validate_benchout.py: New script.
35454         * benchtests/Makefile (bench-func): Call it.
35455         * benchtests/scripts/benchout.schema.json: New file.
35457 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35459         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35460         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35461         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35462         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35463         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35464         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35465         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35466         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35467         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35468         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35469         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35470         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35471         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35472         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35473         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35474         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35476         Moved ...
35477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35478         ... here.
35479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35480         Moved ...
35481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35483         Moved ...
35484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35485         ... here.
35486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35487         Moved ...
35488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35489         ... here.
35490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35491         Moved ...
35492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35494         Moved ...
35495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35496         ... here.
35497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35498         Moved ...
35499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35500         ... here.
35501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35502         Moved ...
35503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35505         Moved ...
35506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35507         ... here.
35508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35509         Moved ...
35510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35511         ... here.
35512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35513         Moved ...
35514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35515         ... here.
35516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35517         Moved ...
35518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35520         Moved ...
35521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35522         ... here.
35523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35524         Moved ...
35525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35526         ... here.
35527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35528         Moved ...
35529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35530         ... here.
35531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35532         Moved ...
35533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35535         Moved ...
35536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35537         ... here.
35538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35539         Moved ...
35540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35541         ... here.
35542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35543         Moved ...
35544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35546         Moved ...
35547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35548         ... here.
35549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35550         Moved ...
35551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35553         Moved ...
35554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35556         Moved ...
35557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35558         ... here.
35559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35560         Moved ...
35561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35562         ... here.
35563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35564         Moved ...
35565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35566         ... here.
35567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35568         Moved ...
35569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35571         Moved ...
35572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35573         ... here.
35574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35575         Moved ...
35576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35577         ... here.
35578         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35579         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35581         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35583         Moved ...
35584         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35585         ... here.
35586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35587         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35589         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35590         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35591         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35593         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35595         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35597         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35599         Moved ...
35600         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35602         Moved ...
35603         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35605         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35606         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35607         Moved ...
35608         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35610         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35612         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35613         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35614         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35616 2014-06-10  Wilco  <wdijkstr@arm.com>
35618         * math/test-fenv-return.c: New file.
35619         * math/Makefile: Add new test test-fenv-return.
35621 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35623         [BZ #17042]
35624         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35625         when x - 1 is zero.
35626         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35627         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35628         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35629         0.0L for an argument of 1.0L.
35630         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35631         Likewise.
35632         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35633         value when x - 1 is zero.
35634         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35635         * sysdeps/i386/fpu/libm-test-ulps: Update.
35636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35638 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35640         [BZ #15119]
35641         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35643 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35645         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35646         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35648 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35650         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35651         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35653         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35654         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35656         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35657         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35659         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35660         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35662         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35663         if not already defined.
35664         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35665         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35666         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35667         (TLS_INIT_TP): Use it.
35668         (TLS_DEFINE_INIT_TP): New macro.
35669         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35671 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35673         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35674         constant.
35675         [POSIX] (IXANY): Likewise.
35676         [POSIX] (OLCUC): Likewise.
35677         [POSIX || POSIX2008] (CBAUD): Do not allow.
35678         [POSIX || POSIX2008] (DEFECHO): Likewise.
35679         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35680         [POSIX || POSIX2008] (ECHOKE): Likewise.
35681         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35682         [POSIX || POSIX2008] (EXTA): Likewise.
35683         [POSIX || POSIX2008] (EXTB): Likewise.
35684         [POSIX || POSIX2008] (FLUSHO): Likewise.
35685         [POSIX || POSIX2008] (LOBLK): Likewise.
35686         [POSIX || POSIX2008] (PENDIN): Likewise.
35687         [POSIX || POSIX2008] (SWTCH): Likewise.
35688         [POSIX || POSIX2008] (VDISCARD): Likewise.
35689         [POSIX || POSIX2008] (VDSUSP): Likewise.
35690         [POSIX || POSIX2008] (VLNEXT): Likewise.
35691         [POSIX || POSIX2008] (VREPRINT): Likewise.
35692         [POSIX || POSIX2008] (VSTATUS): Likewise.
35693         [POSIX || POSIX2008] (VWERASE): Likewise.
35694         (B*): Change to B[0123456789]*.
35695         * conform/data/time.h-data [POSIX || UNIX98]
35696         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35697         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35698         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35699         [POSIX] (tm_*): Do not allow.
35701 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35703         * Makefile (install): Don't set LANGUAGE.
35704         * Makefile.in (install): Likewise.
35705         * assert/Makefile (test-assert-ENV): Remove variable.
35706         (test-assert-perr-ENV): Likewise.
35707         * elf/Makefile (neededtest4-ENV): Likewise.
35708         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35709         [$(cross-compiling) = no]: Don't set LANGUAGE.
35710         * io/ftwtest-sh (LANG): Remove variable.
35711         * libio/Makefile (tst-widetext-ENV): Likewise.
35712         * manual/install.texi (Running make install): Don't refer to
35713         environment settings for make install.
35714         * INSTALL: Regenerated.
35715         * nptl/tst-tls6.sh: Don't set LANG.
35716         * posix/globtest.sh (LANG): Remove variable.
35717         * string/Makefile (tester-ENV): Likewise.
35718         (inl-tester-ENV): Likewise.
35719         (noinl-tester-ENV): Likewise.
35720         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35721         [$(cross-compiling) = no]: Don't set LANGUAGE.
35722         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35723         without explicit environment settings.
35725 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35727         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35728         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35729         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35730         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35732 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35734         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35735         other files in the crypt directory.
35736         * crypt/crypt.c: Remove duplicate includes.
35737         * crypt/crypt-entry.c: Likewise.
35738         * crypt/crypt_util.c: Likewise.
35740 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35742         * Makeconfig (run-program-env): New variable.
35743         (run-program-prefix-before-env): Likewise.
35744         (run-program-prefix-after-env): Likewise.
35745         (run-program-prefix): Define in terms of new variables.
35746         (built-program-cmd-before-env): New variable.
35747         (built-program-cmd-after-env): Likewise.
35748         (built-program-cmd): Define in terms of new variables.
35749         (test-program-prefix-before-env): New variable.
35750         (test-program-prefix-after-env): Likewise.
35751         (test-program-prefix): Define in terms of new variables.
35752         (test-program-cmd-before-env): New variable.
35753         (test-program-cmd-after-env): Likewise.
35754         (test-program-cmd): Define in terms of new variables.
35755         * Rules (make-test-out): Use $(run-program-env).
35756         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35757         (help): Do not mention environment variables.  Mention
35758         --timeoutfactor option.
35759         (timeoutfactor): New variable.
35760         (blacklist_exports): Remove function.
35761         (exports): Remove variable.
35762         (command): Do not include ${exports}.
35763         * manual/install.texi (Configuring and compiling): Do not mention
35764         test wrappers preserving environment variables.  Mention that last
35765         assignment to a variable must take precedence.
35766         * INSTALL: Regenerated.
35767         * benchtests/Makefile (run-bench): Use $(run-program-env).
35768         * catgets/Makefile ($(objpfx)test1.cat): Use
35769         $(built-program-cmd-before-env), $(run-program-env) and
35770         $(built-program-cmd-after-env).
35771         ($(objpfx)test2.cat): Do not specify environment variables
35772         explicitly.
35773         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35774         $(run-program-env) and $(built-program-cmd-after-env).
35775         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35776         $(run-program-env) and $(test-program-cmd-after-env).
35777         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35778         explicitly.
35779         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35780         run_program_env and test_program_cmd_after_env arguments.
35781         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35782         * elf/tst-pathopt.sh: Use run_program_env argument.
35783         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35784         $(test-wrapper-env) and $(run-program-env).
35785         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35786         run_program_env arguments.
35787         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35788         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35789         $(test-program-prefix-before-env), $(run-program-env) and
35790         $(test-program-prefix-after-env).
35791         ($(objpfx)tst-gettext2.out): Likewise.
35792         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35793         run_program_env and test_program_prefix_after_env arguments.
35794         * intl/tst-gettext2.sh: Likewise.
35795         * intl/tst-gettext4.sh: Do not set environment variables
35796         explicitly.
35797         * intl/tst-gettext6.sh: Likewise.
35798         * intl/tst-translit.sh: Likewise.
35799         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35800         $(test-program-prefix-before-env), $(run-program-env) and
35801         $(test-program-prefix-after-env).
35802         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35803         run_program_env and test_program_prefix_after_env arguments.
35804         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35805         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35806         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35807         explicitly with each use of ${test_wrapper_env}.
35808         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35809         $(test-program-prefix-before-env), $(run-program-env) and
35810         $(test-program-prefix-after-env).
35811         * posix/tst-getconf.sh: Do not set environment variables
35812         explicitly.
35813         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35814         run_program_env and test_program_prefix_after_env arguments.
35815         * stdio-common/tst-printf.sh: Do not set environment variables
35816         explicitly.
35817         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35818         $(test-program-prefix-before-env), $(run-program-env) and
35819         $(test-program-prefix-after-env).
35820         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35821         run_program_env and test_program_prefix_after_env arguments.
35822         Split $test calls into $test_pre and $test.
35823         * timezone/Makefile (build-testdata): Use
35824         $(built-program-cmd-before-env), $(run-program-env) and
35825         $(built-program-cmd-after-env).
35827 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35829         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35830         strlen for non SHARED builds.
35832 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35834         * nptl/allocatestack.c (check_list): Inlined function...
35835         (__reclaim_stacks): ... here.
35837 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35839         [BZ #15698]
35840         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35841         memory overrun.
35843 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35845         * Rules (make-test-out): Include
35846         LOCPATH=$(common-objpfx)localedata in default environment.
35847         * debug/Makefile (tst-chk1-ENV): Remove variable.
35848         (tst-chk2-ENV): Likewise.
35849         (tst-chk3-ENV): Likewise.
35850         (tst-chk4-ENV): Likewise.
35851         (tst-chk5-ENV): Likewise.
35852         (tst-chk6-ENV): Likewise.
35853         (tst-lfschk1-ENV): Likewise.
35854         (tst-lfschk2-ENV): Likewise.
35855         (tst-lfschk3-ENV): Likewise.
35856         (tst-lfschk4-ENV): Likewise.
35857         (tst-lfschk5-ENV): Likewise.
35858         (tst-lfschk6-ENV): Likewise.
35859         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35860         (tst-iconv7-ENV): Likewise.
35861         * intl/Makefile (LOCPATH-ENV): Likewise.
35862         (tst-codeset-ENV): Likewise.
35863         (tst-gettext3-ENV): Likewise.
35864         (tst-gettext5-ENV): Likewise.
35865         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35866         (tst-fopenloc-ENV): Likewise.
35867         (tst-fgetws-ENV): Remove variable.
35868         (tst-ungetwc1-ENV): Likewise.
35869         (tst-ungetwc2-ENV): Likewise.
35870         (bug-ungetwc2-ENV): Likewise.
35871         (tst-swscanf-ENV): Likewise.
35872         (bug-ftell-ENV): Likewise.
35873         (tst-fgetwc-ENV): Likewise.
35874         (tst-fseek-ENV): Likewise.
35875         (tst-ftell-partial-wide-ENV): Likewise.
35876         (tst-ftell-active-handler-ENV): Likewise.
35877         (tst-ftell-append-ENV): Likewise.
35878         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35879         (tst-regexloc-ENV): Likewise.
35880         (bug-regex1-ENV): Likewise.
35881         (tst-regex-ENV): Likewise.
35882         (tst-regex2-ENV): Likewise.
35883         (bug-regex5-ENV): Likewise.
35884         (bug-regex6-ENV): Likewise.
35885         (bug-regex17-ENV): Likewise.
35886         (bug-regex18-ENV): Likewise.
35887         (bug-regex19-ENV): Likewise.
35888         (bug-regex20-ENV): Likewise.
35889         (bug-regex22-ENV): Likewise.
35890         (bug-regex23-ENV): Likewise.
35891         (bug-regex25-ENV): Likewise.
35892         (bug-regex26-ENV): Likewise.
35893         (bug-regex30-ENV): Likewise.
35894         (bug-regex32-ENV): Likewise.
35895         (bug-regex33-ENV): Likewise.
35896         (bug-regex34-ENV): Likewise.
35897         (bug-regex35-ENV): Likewise.
35898         (tst-rxspencer-ENV): Likewise.
35899         (tst-rxspencer-no-utf8-ENV): Likewise.
35900         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35901         (tst-sscanf-ENV): Likewise.
35902         (tst-swprintf-ENV): Likewise.
35903         (tst-swscanf-ENV): Likewise.
35904         (test-vfprintf-ENV): Likewise.
35905         (scanf13-ENV): Likewise.
35906         (bug14-ENV): Likewise.
35907         (tst-grouping-ENV): Likewise.
35908         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35909         (tst-strtod3-ENV): Likewise.
35910         (tst-strtod4-ENV): Likewise.
35911         (tst-strtod5-ENV): Likewise.
35912         (testmb2-ENV): Likewise./
35913         * string/Makefile (tst-strxfrm-ENV): Likewise.
35914         (tst-strxfrm2-ENV): Likewise.
35915         (bug-strcoll1-ENV): Likewise.
35916         (test-strcasecmp-ENV): Likewise.
35917         (test-strncasecmp-ENV): Likewise.
35918         * time/Makefile (tst-strptime-ENV): Likewise.
35919         (tst-ftime_l-ENV): Likewise.
35920         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35921         (tst-mbrtowc-ENV): Likewise.
35922         (tst-wcrtomb-ENV): Likewise.
35923         (tst-mbrtowc2-ENV): Likewise.
35924         (tst-c16c32-1-ENV): Likewise.
35925         (tst-mbsnrtowcs-ENV): Likewise.
35927 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35929         * manual/resource.texi (How to get information about the memory
35930         subsystem?): Fix typo.
35931         Reported by Peon de la Parra Ivan <peon@keba.com>
35933 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35935         [BZ #16882]
35936         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35937         (pthread_spin_lock): Branch out of spin loop to proper location.
35938         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35939         (pthread_spin_lock): Likewise.
35941         * nptl/tst-spin4.c: New test.
35942         * nptl/Makefile (tests): Add tst-spin4.
35944 2014-06-03  Andreas Schwab  <schwab@suse.de>
35946         [BZ #15946]
35947         * resolv/res_send.c (send_dg): Reload file descriptor after
35948         calling reopen.
35950 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35952         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35954 2014-06-03  Richard Henderson  <rth@redhat.com>
35956         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35957         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35958         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35959         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35960         in the SAVE_PID block.
35961         (__libc_vfork): New alias.
35962         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35964         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35965         child in registers, not on the stack.  Remove RESET_PID conditionals.
35966         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35968 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35970         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35972 2014-06-03  Wilco  <wdijkstr@arm.com>
35974         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35975         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35976         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35977         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35978         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35979         Likewise.
35981 2014-06-03  Wilco  <wdijkstr@arm.com>
35983         * sysdeps/aarch64/fpu/math_private.h
35984         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35985         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35986         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35987         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35988         Fix declarations.
35990 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35992         * crypt/crypt-private.h: Include ufc-crypt.h.
35993         (__b64_from_24bit): Declare extern.
35994         * crypt/crypt_util.c(__b64_from_24bit): New function.
35995         (b64t): New static const variable.
35996         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35997         (b64t): Remove variable.
35998         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35999         * crypt/sha256-crypt.c: Include crypt-private.h.
36000         (b64t): Remove variable.
36001         (__sha256_crypt_r): Remove b64_from_24bit and replace
36002         with __b64_from_24bit.
36003         * crypt/sha512-crypt.c: Likewise.
36005 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36007         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36008         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36009         Label the code __libc_vfork rather than __vfork.
36010         [!NOT_IN_libc] (vfork): Define as weak alias.
36011         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36012         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36013         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36015 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36017         * malloc/malloc.c (malloc_info): Fix format specifier for
36018         n_mmaps.
36020 2014-06-02  Wilco  <wdijkstr@arm.com>
36022         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36023         FPCR write.
36025 2014-06-02  Wilco  <wdijkstr@arm.com>
36027         [BZ #17009]
36028         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36029         Rewrite to reduce FPCR/FPSR accesses.
36031 2014-06-01  David S. Miller  <davem@davemloft.net>
36033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36035 2014-05-31  David S. Miller  <davem@davemloft.net>
36037         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36038         to occur in round to nearest mode when |x| >= 2.0
36040 2014-05-30  Richard Henderson  <rth@twiddle.net>
36042         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36043         (PSEUDO_RET_NOERRNO): Remove.
36044         (ret): Don't redefine.
36045         (ret_NOERRNO): Define in terms of ret.
36046         (ret_ERRVAL): Likewise.
36048         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36049         use of PSEUDO_RET; perform the error check directly.
36051 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36053         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36054         with __int128_t.
36056 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36058         * malloc/malloc (malloc_info): Fix formatting.
36060 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36061             Roland McGrath  <roland@hack.frob.com>
36063         * malloc/malloc (malloc_info): Also print mmapped statistics.
36065 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36067         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36068         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36070 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36072         * malloc/malloc.c (malloc_info): Inline mi_arena.
36074 2014-05-29  Richard Henderson  <rth@twiddle.net>
36076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36077         Remove comma before expanding ASM_ARGS_##nr.
36078         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36079         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36080         of ASM_ARGS_##nr.
36081         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36082         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36083         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36084         (ASM_ARGS_1): Add leading comma.
36086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36087         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36088         to __errno_location.
36089         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36090         Remove the expected plt for __errno_location.
36092         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36093         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36094         call to __read_tp.
36096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36097         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36098         it and break it down.
36099         (DOCARGS_0, DOCARGS_1): Do nothing.
36100         (DOCARGS_2): Update to store into the new stack frame.
36101         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36102         (UNDOCARGS_1): Update to restore from the new stack frame.
36103         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36104         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36107         (SINGLE_THREAD_P): New parameter for result regno.
36108         (PSEUDO): Update to match; use cbz instead of beq.
36110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36111         Use ENTRY to define the _nocancel entry point.  Share the syscall
36112         and syscall error check paths with the cancel path.
36113         (PSEUDO_END): New.
36115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36116         whitespace; tabs before and after asm mnemonics.
36118 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36120         [BZ #15132]
36121         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36122         Call fstat64 or stat64 internally, depending on arguments passed.
36123         Replace stat buffer argument with file descriptor argument.
36124         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36125         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36126         Pass fd to __internal_statvfs instead of calling fstat64.
36127         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36128         Pass fd to __internal_statvfs64 instead of calling fstat64.
36129         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36130         Pass -1 to __internal_statvfs instead of calling stat64.
36131         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36132         Pass -1 to __internal_statvfs64 instead of calling stat64.
36134 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36136         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36137         that was previously under [RESET_PID].
36138         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36140         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36141         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36143 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36145         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36147         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36148         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36150 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36152         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36154 2014-05-27  Andreas Schwab  <schwab@suse.de>
36156         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36157         TLS_INIT_TP macro.
36158         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36159         * elf/rtld.c (init_tls, dl_main): Likewise.
36160         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36161         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36162         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36163         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36164         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36165         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36166         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36167         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36168         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36169         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36170         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36171         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36172         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36173         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36174         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36175         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36176         * sysdeps/generic/tls.h: Update description.
36178 2014-05-27  Will Newton  <will.newton@linaro.org>
36180         [BZ #16990]
36181         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36182         and restore r2 rather than just restoring.
36184 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36186         [BZ #16724]
36187         * libio/tst-ftell-append.c: New test case.
36188         * libio/Makefile (tests): Add test case.
36189         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36190         append mode.
36191         * libio/wfileops.c (do_ftell_wide): Likewise.
36193 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36197         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36198         ...
36199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36201         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36202         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36203         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36204         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36205         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36208         Moved ...
36209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36211         Moved ...
36212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36213         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36214         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36215         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36216         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36217         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36218         ...
36219         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36220         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36221         Moved ...
36222         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36223         here.
36224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36225         ...
36226         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36227         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36228         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36230         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36231         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36232         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36233         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36236         merge into ...
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36239         ...
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36242         ...
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36245         Moved ...
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36247         here.
36248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36249         Moved ...
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36252         Moved ...
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36256         conditional [RESET_PID].
36257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36259         removed.
36260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36261         removed.
36263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36264         <tcb-offsets.h>.
36265         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36266         (__libc_vfork): New strong alias.
36267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36268         removed.
36269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36270         Removed.
36272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36273         <tcb-offsets.h>.
36274         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36275         (__libc_vfork): New strong alias.
36276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36277         removed.
36278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36279         removed.
36281 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36283         * malloc/malloc.c (mi_arena): New function.
36284         (malloc_info): Remove nested function mi_arena. Call non-nosted
36285         function mi_arena.
36287 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36289         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36290         by insrwi.
36291         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36292         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36293         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36294         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36295         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36296         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36297         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36299 2014-05-26  Andreas Schwab  <schwab@suse.de>
36301         [BZ #16984]
36302         * locale/programs/repertoire.c (repertoire_read): Add slash
36303         between I18NPATH element and file name.
36304         * locale/programs/locfile.c (locfile_read): Likewise.
36306 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36308         * nptl/pthread_mutexattr_settype.c
36309         (__pthread_mutexattr_settype):
36310         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36312 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36314         * nptl/tst-mutex5 (do_test):
36315         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36317 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36319         * benchtests/README: Document 'init' directive.
36320         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36321         BENCH_INIT.
36322         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36323         (parse_file): Recognize 'init' directive.
36325 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36327         [BZ #16796]
36328         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36329         alignment of struct pthread.
36331 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36333         [BZ #16878]
36334         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36335         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36336         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36337         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36339 2014-05-25  Richard Henderson  <rth@twiddle.net>
36341         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36342         (SINGLE_THREAD_P_PIC): Remove.
36343         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36344         (SINGLE_THREAD_P_PIC): Remove.
36346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36347         branch to syscall error ...
36348         (PSEUDO): ... here.
36349         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36350         from __local_syscall_error to .Lsyscall_error.
36351         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36352         (SYSCALL_ERROR): Update label name.
36354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36355         Do not use DOARGS/UNDOARGS.
36356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36357         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36358         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36359         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36360         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36363         block comment.
36365         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36366         define if !NOT_IN_libc.
36367         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36368         define with non-default symbol versions.
36370 2014-05-23  Richard Henderson  <rth@twiddle.net>
36372         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36373         (vfork, __vfork): Define via compat_symbol.
36375         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36376         [!HAVE_IFUNC] (vfork_compat): Remove.
36377         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36379 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36381         [BZ #16978]
36382         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36383         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36384         variable.
36386 2014-05-23  Richard Henderson  <rth@twiddle.net>
36388         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36389         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36390         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36391         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36393         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36394         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36395         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36396         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36397         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36398         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36399         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36400         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36401         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36402         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36403         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36404         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36405         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36406         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36407         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36408         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36409         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36410         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36411         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36412         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36413         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36414         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36415         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36416         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36417         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36418         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36419         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36420         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36421         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36422         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36423         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36424         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36425         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36426         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36427         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36428         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36429         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36430         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36431         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36432         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36433         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36434         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36435         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36436         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36437         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36438         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36440         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36442         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36443         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36444         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36445         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36446         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36447         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36448         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36450         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36451         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36452         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36453         before exiting on error.
36454         (__libc_vfork): New strong alias.
36455         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36456         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36458         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36459         that was previously under [RESET_PID].
36460         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36462         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36464 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #16977]
36467         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36468         value when x - 1 is zero.
36469         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36470         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36471         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36472         0.0L for an argument of 1.0L.
36473         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36474         Likewise.
36475         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36476         value when x - 1 is zero.
36477         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36478         * sysdeps/i386/fpu/libm-test-ulps: Update.
36479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36481 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36483         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36484         alphasort and versionsort.
36486 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36488         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36489         macro.
36490         [copysignf]: Likewise.
36492 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36494         * crypt/md5-crypt.c: Fix formatting.
36496 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36498         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36499         (b64_from_24bit): New function.
36501 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36503         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36504         libc_hidden_builtin_def to ifunc.
36505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36506         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36508 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36510         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36511         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36513 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36515         * nscd/Depend (linuxthreads): Remove.
36516         (nptl): Add.
36517         * resolv/Depend (linuxthreads): Remove.
36518         * rt/Depend (linuxthreads): Remove.
36520         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36521         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36522         $(common-objpfx)elf/.
36523         (link-libc-before-gnulib): Likewise.
36524         (elfobjdir): Remove variable.
36525         * Makefile (install): Use $(elf-objpfx) instead of
36526         $(common-objpfx)elf/.
36527         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36528         $(elfobjdir)/.
36529         (link-libc-deps): Likewise.
36530         ($(common-objpfx)libc.so): Likewise.
36531         ($(common-objpfx)linkobj/libc.so): Likewise.
36532         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36533         instead of $(common-objpfx)elf/.
36534         (symbolic-link-list): Likewise.
36535         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36536         [$(cross-compiling) = no]: Likewise.
36537         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36538         $(elfobjdir)/.
36539         (static-gnulib-arch): Likewise.
36540         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36541         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36542         $(common-objpfx)elf/.
36544 2014-05-21  Richard Henderson  <rth@redhat.com>
36546         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36547         (SINGLE_THREAD_P): Use the correct width load.  Fold
36548         into the ldr offset.
36550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36551         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36553 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36555         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36556         (libgcc_s_resume): Use __attribute_used__.
36557         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36558         Likewise.
36560 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36562         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36563         optimization when used with float constants.
36565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36567 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36569         [BZ #16915]
36570         * locale/nl_langinfo_l.c: Make direct reference to every
36571         _nl_current_CATEGORY symbol.
36572         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36573         (tests-static): Add tst-langinfo-static.
36574         (tests-special): Add tst-langinfo-static.out.
36575         ($(objpfx)tst-langinfo.out): Redirect output.
36576         ($(objpfx)tst-langinfo-static.out): New.
36577         * localedata/tst-langinfo.sh: Send output to stdout.
36578         * localedata/tst-langinfo-static.c: New file.
36580         [BZ #16965]
36581         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36582         when the shift amount is modulo the limb size.
36584 2014-05-20  Richard Henderson  <rth@redhat.com>
36586         [BZ #16967]
36587         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36588         Change type of sa_flags from unsigned int to int.
36590         [BZ #16966]
36591         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36593         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36595 2014-05-20  Will Newton  <will.newton@linaro.org>
36597         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36598         Test the return value of the system call in the nocancel case.
36600 2014-05-20  Will Newton  <will.newton@linaro.org>
36601             Yvan Roux  <yvan.roux@linaro.org>
36603         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36604         #include of asm/ptrace.h.
36605         (PTRACE_GET_THREAD_AREA): Remove #undef.
36606         (PTRACE_GETHBPREGS): Likewise.
36607         (PTRACE_SETHBPREGS): Likewise.
36608         (struct user_regs_struct): New structure.
36609         (struct user_fpsimd_struct): New structure.
36610         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36611         #include of asm/ptrace.h and second #include of sys/user.h.
36612         (PTRACE_GET_THREAD_AREA): Remove #undef.
36613         (PTRACE_GETHBPREGS): Likewise.
36614         (PTRACE_SETHBPREGS): Likewise.
36615         (ELF_NGREG): Use new struct user_regs_struct.
36616         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36618 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36620         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36623 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36625         [BZ #16958]
36626         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36627         membar to avoid block loads/stores to overlap previous stores.
36629 2014-05-17  Richard Henderson  <rth@redhat.com>
36631         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36632         Create the __##syscall_name##_nocancel entry point.
36633         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36634         Remove; let the sysdep-cancel.h code create it.
36636 2014-05-17  David S. Miller  <davem@davemloft.net>
36638         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36639         Protect with __USE_GNU.
36640         (TIOCSET_TEMPT): Likewise.
36641         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36642         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36643         these are already provided in bits/ioctl-types.h
36645 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36647         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36648         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36650         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36651         Use wait4 regardless of [__NR_waitpid].
36653 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36655         PR libgcc/60166
36656         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36657         (_FP_NANSIGN_Q): Set the quiet bit.
36659 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36661         * benchtests/Makefile
36662         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36663         not $(common-objpfx)math/libm.so.
36664         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36665         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36666         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36667         $(common-objpfx)dlfcn/libdl.so.
36668         ($(objpfx)tst-audit8): Depend on $(libm), not
36669         $(common-objpfx)math/libm.so.
36670         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36671         not $(common-objpfx)dlfcn/libdl.so.
36672         * math/Makefile
36673         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36674         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36675         [$(build-shared) = yes].
36676         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36677         $(common-objpfx)nptl/libpthread.so.
36678         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36679         $(common-objpfx)math/libm.so$(libm.so-version) or
36680         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36681         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36682         $(common-objpfx)dlfcn/libdl.so.
36683         * setjmp/Makefile (link-libm): Remove variable.
36684         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36685         * stdio-common/Makefile (link-libm): Remove variable.
36686         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36687         * stdlib/Makefile (link-libm): Remove variable.
36688         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36689         ($(objpfx)tst-strtod-round): Likewise.
36690         ($(objpfx)tst-tininess): Likewise.
36691         ($(objpfx)tst-strtod-underflow): Likewise.
36692         ($(objpfx)tst-strtod6): Likewise.
36693         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36694         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36695         $(common-objpfx)dlfcn/libdl.so.
36697 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36699         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36700         BSD terminal modes definitions.
36702 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36704         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36705         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36707         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36708         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36709         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36710         Don't do #include_next.
36711         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36712         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36713         Don't do #include_next.
36714         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36715         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36716         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36717         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36719 2014-05-16  Allan McRae  <allan@archlinux.org>
36721         * po/sv.po: Update Swedish translation from translation project.
36723         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36724         in sed expression.
36726 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36728         [BZ #16917]
36729         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36730         errno if the TIOCGPTN ioctl fails with an error different than
36731         EINVAL.
36732         * login/tst-ptsname.c: New file.
36733         * login/Makefile (tests): Add tst-ptsname.
36735         [BZ #16943]
36736         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36737         and prlimit64.
36739 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36741         [BZ #16849]
36742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36743         herrno to return EAI_AGAIN.
36745 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36747         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36748         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36749         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36750         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36751         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36752         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36753         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36754         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36755         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36756         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36757         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36758         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36759         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36760         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36761         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36762         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36763         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36764         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36765         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36766         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36767         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36768         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36769         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36770         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36771         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36772         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36773         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36774         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36775         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36776         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36778         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36780         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36782         Moved ...
36783         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36785         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36787         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36789         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36791         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36793         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36795         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36797         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36799         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36801         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36803         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36805         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36807         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36809         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36811         Moved ...
36812         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36814         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36816         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36818         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36820         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36822         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36824         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36826         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36828         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36830         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36832         Moved ...
36833         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36835         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36837         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36838         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36839         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36840         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36841         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36842         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36843         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36844         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36845         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36846         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36847         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36848         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36849         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36850         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36851         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36852         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36853         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36854         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36855         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36856         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36857         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36858         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36859         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36860         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36861         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36862         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36863         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36864         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36865         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36866         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36867         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36869         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36870         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36872         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36873         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36874         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36875         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36876         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36878         Moved ...
36879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36880         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36881         Moved ...
36882         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36883         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36884         Moved ...
36885         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36887         Moved ...
36888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36889         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36890         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36892         Moved ...
36893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36894         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36895         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36897         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36898         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36899         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36901         Moved ...
36902         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36904         Moved ...
36905         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36906         ... here.
36907         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36908         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36909         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36910         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36912         Moved ...
36913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36914         ... here.
36915         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36916         Moved ...
36917         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36918         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36919         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36920         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36921         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36922         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36923         Moved ...
36924         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36925         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36926         Moved ...
36927         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36928         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36929         Moved ...
36930         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36932         Moved ...
36933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36934         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36935         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36937         Moved ...
36938         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36939         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36940         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36942         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36943         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36944         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36946         Moved ...
36947         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36949         Moved ...
36950         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36951         ... here.
36952         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36953         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36954         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36955         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36957         Moved ...
36958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36959         ... here.
36960         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36961         Moved ...
36962         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36963         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36964         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36965         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36966         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36967         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36968         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36969         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36970         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36972         Moved ...
36973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36975         Moved ...
36976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36978         Moved ...
36979         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36981         Moved ...
36982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36983         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36984         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36985         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36986         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36988         Moved ...
36989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36990         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36991         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36993         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36994         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36995         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36996         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36997         Moved ...
36998         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36999         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37000         Moved ...
37001         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37002         ... here.
37003         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37004         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37005         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37006         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37008         Moved ...
37009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37010         ... here.
37011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37012         Moved ...
37013         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37014         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37015         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37016         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37017         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37018         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37019         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37020         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37021         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37022         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37023         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37025         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37026         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37028         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37029         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37031         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37032         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37033         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37034         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37035         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37036         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37037         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37038         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37039         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37040         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37041         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37042         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37043         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37044         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37045         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37047         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37049         Moved ...
37050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37052         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37054         Moved ...
37055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37057         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37059         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37063         Moved ...
37064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37066         Moved ...
37067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37070         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37073         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37074         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37075         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37076         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37077         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37078         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37079         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37080         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37081         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37082         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37083         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37085         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37086         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37087         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37088         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37089         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37091         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37092         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37093         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37094         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37095         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37096         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37097         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37098         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37099         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37100         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37105         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37106         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37107         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37108         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37109         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37110         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37111         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37112         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37113         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37114         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37115         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37116         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37117         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37118         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37120         Update #include.
37121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37122         Likewise.
37123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37124         Likewise.
37125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37126         Likewise.
37127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37128         Likewise.
37129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37130         Likewise.
37131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37132         Likewise.
37133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37134         Likewise.
37135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37136         Likewise.
37137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37138         Likewise.
37139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37140         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37142         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37144         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37145         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37146         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37147         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37148         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37149         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37150         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37152         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37155         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37156         that was previously under [RESET_PID].
37157         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37158         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37159         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37161         * sysdeps/i386/nptl/Implies: New file.
37162         * sysdeps/x86_64/nptl/Implies: New file.
37163         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37164         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37165         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37166         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37168         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37169         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37170         (__libc_vfork): New strong alias.
37171         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37172         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37174         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37175         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37176         (__libc_vfork): New strong alias.
37177         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37178         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37180         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37181         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37182         (__libc_vfork): New strong alias.
37183         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37184         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37185         * nptl/pt-vfork.c: New file.
37186         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37187         (libpthread: GLIBC_2.20): New version set (empty).
37189 2014-05-14  Will Newton  <will.newton@linaro.org>
37191         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37192         rather than #if.
37194 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37196         [BZ #16564]
37197         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37198         arguments with exponent 65 or above.
37199         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37200         arguments 0x1p113L or above.
37201         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37202         to arguments 0x1p107L or above.
37203         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37204         positive arguments with exponent 65 or above.
37205         * math/auto-libm-test-in: Add more tests of log1p.
37206         * math/auto-libm-test-out: Regenerated.
37208         [BZ #16928]
37209         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37210         non-finite arguments is +0.
37211         * math/s_cacosf.c (__cacosf): Likewise.
37212         * math/s_cacosl.c (__cacosl): Likewise.
37213         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37214         * sysdeps/i386/fpu/libm-test-ulps: Update.
37215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37217         [BZ #16927]
37218         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37219         value.
37220         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37221         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37222         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37223         for explicit high bit of mantissa when testing for argument equal
37224         to 1.
37225         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37226         * sysdeps/i386/fpu/libm-test-ulps: Update.
37227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229         [BZ #16516]
37230         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37231         (__erf): Scale by 16 instead of 8 in potentially underflowing
37232         case.  Ensure exception if result actually underflows.
37233         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37234         (__erff): Scale by 16 instead of 8 in potentially underflowing
37235         case.  Ensure exception if result actually underflows.
37236         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37237         (efx8): Remove variable.
37238         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37239         case.  Ensure exception if result actually underflows.
37240         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37241         (efx8): Remove variable.
37242         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37243         case.  Ensure exception if result actually underflows.
37244         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37245         (efx8): Remove variable.
37246         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37247         case.  Ensure exception if result actually underflows.
37248         * math/auto-libm-test-in: Add more tests of erf.
37249         * math/auto-libm-test-out: Regenerated.
37251 2014-05-14  Andreas Schwab  <schwab@suse.de>
37253         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37254         Remove code conditionalized on USE___THREAD.
37256         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37257         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37258         not definedness.
37260 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37263         Define unconditionally.
37264         (__ASSUME_O_CLOEXEC): Likewise.
37265         (__ASSUME_SOCK_CLOEXEC): Likewise.
37266         (__ASSUME_IN_NONBLOCK): Likewise.
37267         (__ASSUME_PIPE2): Likewise.
37268         (__ASSUME_EVENTFD2): Likewise.
37269         (__ASSUME_SIGNALFD4): Likewise.
37270         (__ASSUME_DUP3): Likewise.
37271         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37272         (__ASSUME_DUP3): Do not define.
37273         (__ASSUME_EVENTFD2): Likewise.
37274         (__ASSUME_IN_NONBLOCK): Likewise.
37275         (__ASSUME_O_CLOEXEC): Likewise.
37276         (__ASSUME_PIPE2): Likewise.
37277         (__ASSUME_SIGNALFD4): Likewise.
37278         (__ASSUME_SOCK_CLOEXEC): Likewise.
37279         (__ASSUME_UTIMES): Undefine.
37280         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37281         (__ASSUME_UTIMES): Do not define.
37282         (__ASSUME_O_CLOEXEC): Likewise.
37283         (__ASSUME_SOCK_CLOEXEC): Likewise.
37284         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37285         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37286         0x020621].
37287         (__ASSUME_PIPE2): Likewise.
37288         (__ASSUME_EVENTFD2): Likewise.
37289         (__ASSUME_SIGNALFD4): Likewise.
37290         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37291         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37292         Do not define.
37293         (__ASSUME_EVENTFD2): Likewise.
37294         (__ASSUME_SIGNALFD4): Likewise.
37295         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37296         (__ASSUME_32BITUIDS): Likewise.
37297         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37298         (__ASSUME_IPC64): Likewise.
37299         (__ASSUME_ST_INO_64_BIT): Likewise.
37300         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37301         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37302         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37303         (__ASSUME_UTIMES): Do not define.
37304         (__ASSUME_PSELECT): Likewise.
37305         (__ASSUME_PPOLL): Likewise.
37306         (__ASSUME_O_CLOEXEC): Likewise.
37307         (__ASSUME_SOCK_CLOEXEC): Likewise.
37308         (__ASSUME_IN_NONBLOCK): Likewise.
37309         (__ASSUME_PIPE2): Likewise.
37310         (__ASSUME_EVENTFD2): Likewise.
37311         (__ASSUME_SIGNALFD4): Likewise.
37312         (__ASSUME_DUP3): Likewise.
37313         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37314         (__ASSUME_UTIMES): Likewise.
37315         (__ASSUME_O_CLOEXEC): Likewise.
37316         (__ASSUME_SOCK_CLOEXEC): Likewise.
37317         (__ASSUME_IN_NONBLOCK): Likewise.
37318         (__ASSUME_PIPE2): Likewise.
37319         (__ASSUME_EVENTFD2): Likewise.
37320         (__ASSUME_SIGNALFD4): Likewise.
37321         (__ASSUME_DUP3): Likewise.
37322         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37323         (__ASSUME_UTIMES): Likewise.
37324         (__ASSUME_O_CLOEXEC): Likewise.
37325         (__ASSUME_SOCK_CLOEXEC): Likewise.
37326         (__ASSUME_IN_NONBLOCK): Likewise.
37327         (__ASSUME_PIPE2): Likewise.
37328         (__ASSUME_EVENTFD2): Likewise.
37329         (__ASSUME_SIGNALFD4): Likewise.
37330         (__ASSUME_DUP3): Likewise.
37331         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37332         Likewise.
37333         (__ASSUME_UTIMES): Likewise.
37334         (__ASSUME_EVENTFD2): Likewise.
37335         (__ASSUME_SIGNALFD4): Likewise.
37336         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37337         (__ASSUME_O_CLOEXEC): Likewise.
37338         (__ASSUME_SOCK_CLOEXEC): Likewise.
37339         (__ASSUME_IN_NONBLOCK): Likewise.
37340         (__ASSUME_PIPE2): Likewise.
37341         (__ASSUME_EVENTFD2): Likewise.
37342         (__ASSUME_SIGNALFD4): Likewise.
37343         (__ASSUME_DUP3): Likewise.
37344         (__ASSUME_UTIMES): Undefine.
37346         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37347         feclearexcept.  Remove symbol versioning code.
37348         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37349         symbol versioning code.
37350         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37351         symbol versioning code.
37352         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37353         feupdateenv.  Remove symbol versioning code.
37354         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37355         fegetexceptflag.  Remove symbol versioning code.
37356         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37357         fesetexceptflag.  Remove symbol versioning code.
37358         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37359         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37360         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37361         (__posix_fadvise64_l32): Remove prototype.
37362         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37363         code.
37365 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37367         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37368         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37369         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37370         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37372 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37374         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37375         current working directory
37377 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37379         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37380         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37381         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37382         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37383         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37384         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37385         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37386         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37387         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37388         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37389         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37390         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37391         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37392         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37393         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37394         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37395         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37396         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37397         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37398         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37399         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37400         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37401         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37402         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37403         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37404         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37405         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37406         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37407         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37408         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37409         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37410         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37411         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37412         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37413         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37414         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37415         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37416         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37417         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37418         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37419         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37420         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37422         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37423         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37425         * sysdeps/unix/sysv/linux/arm/Makefile
37426         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37427         Add rt-aeabi_unwind_cpp_pr1.
37428         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37429         Add nptl-aeabi_unwind_cpp_pr1.
37430         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37431         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37432         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37433         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37434         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37435         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37437         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37438         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37439         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37440         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37442         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37443         Deconditionalize the code that was previously under [RESET_PID].
37444         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37446         * sysdeps/generic/exit-thread.h: New file.
37447         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37448         * include/unistd.h (__exit_thread): Remove declaration.
37449         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37450         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37451         * csu/libc-start.c: Include <exit-thread.h>.
37452         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37453         * nptl/pthread_create.c: Include <exit-thread.h>.
37454         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37455         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37456         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37457         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37458         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37459         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37460         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37461         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37462         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37463         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37464         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37465         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37466         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37467         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37468         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37469         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37470         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37472 2014-05-13  Andreas Schwab  <schwab@suse.de>
37474         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37476 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37478         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37479         (__ASSUME_UTIMES): Do not condition on kernel version.
37480         (__ASSUME_PSELECT): Define unconditionally.
37481         (__ASSUME_PPOLL): Likewise.
37482         (__ASSUME_ATFCTS): Likewise.
37483         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37484         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37485         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37486         (__ASSUME_UTIMENSAT): Define unconditionally.
37487         (__ASSUME_PRIVATE_FUTEX): Likewise.
37488         (__ASSUME_FALLOCATE): Likewise.
37489         (__ASSUME_O_CLOEXEC): Likewise.
37490         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37491         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37492         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37493         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37494         (__ASSUME_IN_NONBLOCK): Likewise.
37495         (__ASSUME_PIPE2): Likewise.
37496         (__ASSUME_EVENTFD2): Likewise.
37497         (__ASSUME_SIGNALFD4): Likewise.
37498         (__ASSUME_DUP3): Likewise.
37499         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37500         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37501         (__ASSUME_AT_RANDOM): Likewise.
37502         (__ASSUME_PREADV): Likewise.
37503         (__ASSUME_PWRITEV): Likewise.
37504         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37505         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37506         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37507         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37508         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37509         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37510         (__ASSUME_O_CLOEXEC): Define unconditionally.
37511         (__ASSUME_PSELECT): Do not undefine conditionally.
37512         (__ASSUME_PPOLL): Likewise.
37513         (__ASSUME_ATFCTS): Likewise.
37514         (__ASSUME_SET_ROBUST_LIST): Likewise.
37515         (__ASSUME_UTIMENSAT): Likewise.
37516         (__ASSUME_FDATASYNC): Define unconditionally.
37517         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37518         (__ASSUME_SIGFRAME_V2): Likewise.
37519         )__ASSUME_EVENTFD2): Likewise.
37520         (__ASSUME_SIGNALFD4): Likewise.
37521         (__ASSUME_PSELECT): Do not undefine conditionally.
37522         (__ASSUME_PPOLL): Likewise.
37523         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37524         (__ASSUME_PSELECT): Define unconditionally.
37525         (__ASSUME_PPOLL): Likewise.
37526         (__ASSUME_O_CLOEXEC): Likewise.
37527         (__ASSUME_SOCK_CLOEXEC): Likewise.
37528         (__ASSUME_IN_NONBLOCK): Likewise.
37529         (__ASSUME_PIPE2): Likewise.
37530         (__ASSUME_EVENTFD2): Likewise.
37531         (__ASSUME_SIGNALFD4): Likewise.
37532         (__ASSUME_DUP3): Likewise.
37533         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37534         (__ASSUME_O_CLOEXEC): Likewise.
37535         (__ASSUME_SOCK_CLOEXEC): Likewise.
37536         (__ASSUME_IN_NONBLOCK): Likewise.
37537         (__ASSUME_PIPE2): Likewise.
37538         (__ASSUME_EVENTFD2): Likewise.
37539         (__ASSUME_SIGNALFD4): Likewise.
37540         (__ASSUME_DUP3): Likewise.
37541         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37542         (__ASSUME_EVENTFD2): Likewise.
37543         (__ASSUME_SIGNALFD4): Likewise.
37544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37546 2014-05-12  Andreas Schwab  <schwab@suse.de>
37548         [BZ #16932]
37549         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37550         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37551         than maximum RPC packet size.
37552         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37553         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37554         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37555         (_nss_nis_getservbyport_r): Likewise.
37557 2014-05-12  Will Newton  <will.newton@linaro.org>
37559         * malloc/Makefile (tests): Add tst-mallopt.
37560         * malloc/tst-mallopt.c: New file.
37562 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37564         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37565         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37567 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37569         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37570         (tst-tlsmod6.so): Likewise.
37572 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37574         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37576 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37578         [BZ #16064]
37579         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37580         and <dl-procinfo.h>.
37581         (__fegetenv): Save SSE state in envp->__eip if supported.
37582         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37583         envp->__eip if supported.
37584         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37585         and <dl-procinfo.h>.
37586         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37587         __data_offset and __data_selector in environment to 0.  Set SSE
37588         state if supported.
37589         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37590         test-fenv-sse.
37591         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37592         -mfpmath=sse.
37593         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37595 2014-05-09  Will Newton  <will.newton@linaro.org>
37597         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37598         and libc_relro_required for ARM.
37599         * sysdeps/arm/preconfigure: Regenerate.
37601 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37602             Stefan Liebler  <stli@linux.vnet.ibm.com>
37604         * config.make.in (enable-lock-elision): New Makefile variable.
37605         * configure.ac: Likewise.
37606         * configure: Regenerate.
37607         * sysdeps/s390/configure.ac:
37608         Add check for gcc transactions support.
37609         * sysdeps/s390/configure: Regenerate.
37610         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37611         Build elision files if enabled.
37612         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37613         Add lock elision support for s390.
37614         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37615         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37616         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37617         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37618         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37619         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37621         Likewise.
37622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37623         Likewise.
37624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37625         Likewise.
37626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37627         Likewise.
37628         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37629         (__lll_timedlock_elision, __lll_lock_elision)
37630         (__lll_unlock_elision, __lll_trylock_elision)
37631         (lll_timedlock_elision, lll_lock_elision)
37632         (lll_unlock_elision, lll_trylock_elision): Add.
37633         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37634         (pthread_mutex_t): Add lock elision support for s390.
37636 2014-05-14  Wilco  <wdijkstr@arm.com>
37638         * sysdeps/arm/fclrexcpt.c: Cleanup.
37639         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37640         * sysdeps/arm/feenablxcpt.c: Cleanup.
37641         * sysdeps/arm/fegetenv.c: Cleanup.
37642         * sysdeps/arm/fegetexcept.c: Cleanup.
37643         * sysdeps/arm/fegetround.c: Cleanup.
37644         * sysdeps/arm/feholdexcpt.c: Cleanup.
37645         * sysdeps/arm/fesetenv.c: Cleanup.
37646         * sysdeps/arm/fesetround.c: Cleanup.
37647         * sysdeps/arm/feupdateenv.c: Cleanup.
37648         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37649         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37650         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37651         * sysdeps/arm/ftestexcept.c: Cleanup.
37652         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37653         * sysdeps/arm/setfpucw.c: Cleanup.
37655 2014-05-09  Will Newton  <will.newton@linaro.org>
37657         * sysdeps/arm/armv7/strcmp.S: New file.
37658         * NEWS: Mention addition of ARMv7 optimized strcmp.
37660 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37662         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37663         look for %.ac rather than %.in.
37665         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37666         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37667         * sysdeps/mach/hurd/configure: Regenerated.
37668         * sysdeps/unix/sysv/linux/configure: Regenerated.
37670         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37672 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37674         [BZ# 16922]
37675         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37676         (LONG_SUB): Ditto.
37677         (PTR_SUB): Ditto.
37679 2014-05-07  Andreas Schwab  <schwab@suse.de>
37681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37682         when skipping over non-matching result from nscd.
37684 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37686         [BZ #16876]
37687         * nptl/sockperf.c (client): Check socket return value.
37689         [BZ #16877]
37690         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37691         nscd security class.
37693 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37695         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37696         * sysdeps/arm/unwind.h: ... here.
37698 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37700         [BZ# 16916]
37701         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37702         Define.
37704 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37706         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37707         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37708         multiarch strncpy for PPC64.
37709         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37710         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37712         multiarch optimizations.
37713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37714         (__libc_ifunc_impl_list): Likewise.
37715         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37716         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37717         multiarch stpncpy for PPC64.
37718         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37719         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37721 2014-05-06  Andreas Schwab  <schwab@suse.de>
37723         [BZ #16912]
37724         * gmon/mcount.c (_MCOUNT_DECL): Use
37725         atomic_compare_and_exchange_bool_acq instead of
37726         catomic_compare_and_exchange_bool_acq.
37728 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37730         * elf/Makefile (others, install-bin): Remove pldd.
37731         (pldd-modules): Variable removed.
37732         ($(objpfx)pldd): Target removed.
37733         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37734         (others, install-bin): Append pldd here.
37735         ($(objpfx)pldd): New target.
37737         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37738         to 0, so the first #if test emitted later doesn't see it undefined.
37739         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37740         * sysdeps/gnu/errlist.c: Regenerated.
37742 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37744         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37745         [libc_hidden_builtin_def]: Define to empty value.
37746         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37747         [libc_hidden_builtin_def]: Likewise.
37748         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37749         [libc_hidden_builtin_def]: Likewise.
37750         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37751         [libc_hidden_builtin_def]: Likewise.
37752         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37753         __redirect_memcpy and define ifunc as default hidden symbol.
37754         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37755         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37757 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37759         * locale/iso-4217.def: Reintroduce XDR currency.
37761 2014-05-04  Allan McRae  <allan@archlinux.org>
37763         * po/eo.po: Update Esperanto translation from translation project.
37765 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37767         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37768         and FEATURE_INDEX_MAX to 1.
37769         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37771 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37773         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37774         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37775         * iconvdata/big5.c (ONE_DIRECTION): Define.
37776         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37777         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37778         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37779         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37780         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37781         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37782         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37783         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37784         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37785         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37786         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37787         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37788         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37789         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37790         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37791         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37792         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37793         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37794         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37795         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37796         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37797         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37798         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37799         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37800         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37801         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37802         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37803         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37804         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37805         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37806         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37807         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37808         * iconvdata/johab.c (ONE_DIRECTION): Define.
37809         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37810         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37811         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37812         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37813         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37814         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37815         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37816         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37817         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37818         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37820 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37822         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37823         (_IO_JUMPS_OFFSET): Define to 0.
37825         * nptl/sysdeps/pthread/bits/libc-lock.h
37826         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37827         (__libc_lock_define_initialized_recursive): Always define using
37828         initializer.  Modern compilers treat uninitialized (implicit zero) and
37829         explicit zero initializers the same (i.e. put the datum in bss).
37831 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37833         * nscd/nscd-client.h: Include <string.h>.
37835 2014-05-01  David S. Miller  <davem@davemloft.net>
37837         [BZ #16885]
37838         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37839         multiple zero bytes exist at the end of a string.
37840         Reported by Aurelien Jarno <aurelien@aurel32.net>
37842         * string/test-strcmp.c (check): Add explicit test for situations where
37843         there are multiple zero bytes after the first.
37845 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37847         [BZ #16890]
37848         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37849         when compiling wprintf.
37850         * stdio-common/tstdiomisc.c (t3): New function.
37851         (main): Call it.
37853 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37855         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37856         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37857         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37858         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37860 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37862         * stdlib/longlong.h: Updated from GCC.
37864 2014-05-01  Will Newton  <will.newton@linaro.org>
37865             Bernard Ogden  <bernie.ogden@linaro.org>
37867         * NEWS: Update fixed bug list.
37869         [BZ #15119]
37870         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37872 2014-04-30  David S. Miller  <davem@davemloft.net>
37874         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37875         (libc_feholdexcept_setround_sparc_ctx): New function.
37876         (libc_fesetenv_sparc_ctx): Likewise.
37877         (libc_feupdateenv_sparc_ctx): Likewise.
37878         (libc_feholdsetround_sparc_ctx): Likewise.
37879         (libc_feholdexcept_setround_ctx): Define.
37880         (libc_feholdexcept_setroundf_ctx): Likewise.
37881         (libc_feholdexcept_setroundl_ctx): Likewise.
37882         (libc_fesetenv_ctx): Likewise.
37883         (libc_fesetenvf_ctx): Likewise.
37884         (libc_fesetenvl_ctx): Likewise.
37885         (libc_feupdateenv_ctx): Likewise.
37886         (libc_feupdateenvf_ctx): Likewise.
37887         (libc_feupdateenvl_ctx): Likewise.
37888         (libc_feresetround_ctx): Likewise.
37889         (libc_feresetroundf_ctx): Likewise.
37890         (libc_feresetroundl_ctx): Likewise.
37891         (libc_feholdsetround_ctx): Likewise.
37892         (libc_feholdsetroundf_ctx): Likewise.
37893         (libc_feholdsetroundl_ctx): Likewise.
37895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37896         with __USE_GNU instead of XOPEN cpp guards.
37898         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37899         0.
37901         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37902         with XOPEN cpp guards.
37904 2014-04-30  Julian Brown  <julian@codesourcery.com>
37906         [BZ #16888]
37907         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37908         handling.
37910 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37912         [BZ #9894]
37913         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37914         Change to 2.6.32.
37915         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37916         * sysdeps/unix/sysv/linux/configure: Regenerated.
37917         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37918         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37919         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37920         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37921         * README: Update reference to required Linux kernel version.
37922         * manual/install.texi (Linux): Update reference to required Linux
37923         kernel headers version.
37924         * INSTALL: Regenerated.
37926         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37927         header inclusion.
37928         [POSIX] (limits.h): Likewise.
37929         [POSIX] (math.h): Likewise.
37930         [POSIX] (sys/wait.h): Likewise.
37931         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37932         function.
37933         [POSIX] (stddef.h): Do not allow header inclusion.
37935 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37937         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37939 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37941         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37942         Return immediately after lll_futex_wake.
37944 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37946         [BZ #16791]
37947         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37948         structure.
37949         (datahead_init_pos): Call datahead_init_common early.
37950         (datahead_init_neg): Likewise.
37952         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37953         datahead_init_neg): New functions.
37954         * nscd/aicache.c (addhstaiX): Use them.
37955         * nscd/grpcache.c (cache_addgr): Likewise.
37956         * nscd/hstcache.c (cache_addhst): Likewise.
37957         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37958         * nscd/netgroupcache.c (do_notfound): Likewise.
37959         (addgetnetgrentX): Likewise.
37960         (addinnetgrX): Likewise.
37961         * nscd/pwdcache.c (cache_addpw): Likewise.
37962         * nscd/servicescache.c (cache_addserv): Likewise.
37964 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37965             Atsushi Onoe  <atsushi@onoe.org>
37967         [BZ #14308]
37968         [BZ #12994]
37969         [BZ #13651]
37970         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37971         one response is valid.
37972         * resolv/res_send.c (send_dg): Check for validity of other
37973         response if the current response is a referral.
37975 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37977         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37979 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37981         [BZ #16823]
37982         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37983         Always divide by positive zero when computing -Inf result.
37984         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37985         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37987 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37989         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37990         FPSCR if value do not change.
37991         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37992         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37993         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37994         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37995         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37996         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37997         function.
37999 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38001         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38002         * sysdeps/unix/sysv/linux/hppa: Move directory from
38003         ports/systeps/unix/sysv/linux/hppa.
38004         * README: Update listing for hppa-*-linux-gnu.
38006 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38008         [BZ #16754]
38009         * manual/stdio.texi (Hook functions): Fix types of stream hook
38010         functions.
38011         [BZ #16854]
38012         * socket/sys/socket.h: Fix typo in comment.
38014 2014-04-28  Wilco  <wdijkstr@arm.com>
38016         * sysdeps/arm/fenv_private.h: New file.
38017         * sysdeps/arm/math_private.h: New file.
38018         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38020 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38022         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38023         with __int128_t.
38024         (La_x86_64_retval): Likewise.
38026 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38028         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38029         fpsr if value didn't change.
38030         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38031         to fpcr if value didn't change.
38032         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38033         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38034         fpsr or fpcr if value didn't change.
38035         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38036         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38037         fpcr if value didn't change.
38038         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38039         to fpsr if value didn't change.
38041 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38043         * nptl/tst-sem3.c: Use test-skeleton.c
38044         (main): Rename to do_test.  Use return instead of
38045         exit.
38046         * nptl/tst-sem4.c: Use test-skeleton.c
38047         (main): Rename to do_test.
38049 2014-04-22  David S. Miller  <davem@davemloft.net>
38051         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38052         (struct sigaction): New struct member __glibc_reserved0, change
38053         type of sa_flags to int.
38055 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38057         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38058         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38060 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38062         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38063         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38065 2014-04-22  Will Newton  <will.newton@linaro.org>
38066             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38068         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38069         (__longjmp): Add longjmp and longjmp_target SystemTap
38070         probes.
38071         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38072         (__sigsetjmp): Add setjmp SystemTap probe.
38074 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38076         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38077         match manual order.
38079 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38081         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38083         * sysdeps/powerpc/fpu/fenv_private.h
38084         (libc_feholdexcept_setroundl_ctx): Define to
38085         libc_feholdexcept_setround_ppc_ctx.
38086         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38087         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38088         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38089         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38091 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38093         * sysdeps/aarch64/math-tests.h: New file.
38095 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38097         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38098         New.
38099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38100         Check and set bit_AVX2_Usable.
38101         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38102         macro.
38103         (bit_AVX2): Likewise.
38104         (index_AVX2_Usable): Likewise.
38105         (CPUID_AVX2): Likewise.
38106         (HAS_AVX2): Likewise.
38108 2014-04-17  Will Newton  <will.newton@linaro.org>
38110         * manual/setjmp.texi (System V contexts): Add note that
38111         calling setcontext on a context created by a call to a
38112         signal handler is undefined.  Update text to note that
38113         setcontext from a signal handler is possible but not
38114         recommended.
38116         [BZ #16629]
38117         * stdlib/tst-setcontext.c: Include signal.h.
38118         (main): Check that the signal stack before and
38119         after swapcontext is the same.
38121         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38122         Re-implement to restore registers in user code and avoid
38123         rt_sigreturn system call.
38125 2014-04-17  Wilco  <wdijkstr@arm.com>
38127         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38128         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38129         * math/test-fenv.c: Skip exception trap tests on targets which only
38130         support non-stop mode.
38132 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38133             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38135         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38136         (libc_feholdsetround_aarch64_ctx)
38137         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38138         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38139         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38140         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38141         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38142         (libc_feresetround_noexl_ctx): Define.
38144 2014-04-16  Richard Henderson  <rth@redhat.com>
38146         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38148         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38149         unwind tables.
38151         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38152         const from the non-libc, non-ldso copy.
38154         * sysdeps/alpha/libm-test-ulps: Regenerate.
38156 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38157             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38159         * sysdeps/aarch64/fpu/math_private.h: New file.
38161 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38163         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38165 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38167         [BZ #16275]
38168         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38169         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38171         Intel MPX bound registers before _dl_profile_fixup.
38172         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38173         registers after _dl_profile_fixup.  Save and restore bound
38174         registers bnd0/bnd1 when calling _dl_call_pltexit.
38175         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38176         (LR_BND_OFFSET): Likewise.
38177         (LRV_BND0_OFFSET): Likewise.
38178         (LRV_BND1_OFFSET): Likewise.
38180 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38182         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38183         to...
38184         * sysdeps/mach/hurd/i386/tls.h: ... here.
38185         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38186         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38187         fields.
38189 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38191         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38193 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38195         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38197 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38199         [BZ #14770]
38200         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38201         * sysdeps/s390/configure: Regenerate.
38203         [BZ #16824]
38204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38205         Set round-to-nearest internally to reduce error accumulation.
38207 2014-04-16  Alan Modra  <amodra@gmail.com>
38209         [BZ #16740]
38210         [BZ #16619]
38211         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38212         * math/libm-test.inc (frexp_test_data): Add tests.
38213         * NEWS: Update fixed bug list.
38215 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38217         * benchtests/Makefile: Depend on libraries in build directory.
38218         (bench-math): Separate out math tests.
38219         (bench-pthread): Separate out pthread tests.
38220         (bench): Include math and pthread tests.
38222 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38224         [BZ #16831]
38225         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38226         _dl_debug_initialize.
38228         * configure.ac: Remove SELinux header check.
38229         * configure: Regenerate.
38230         * nscd/selinux.c (perms): Array of const char* to permission names.
38231         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38232         default policy. Call string_to_security_class and string_to_av_perm to
38233         translate strings. Enforce default policy and call avs_has_perm with
38234         results of translated strings.
38236 2014-04-13  David S. Miller  <davem@davemloft.net>
38238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38240 2014-04-12  Allan McRae  <allan@archlinux.org>
38242         [BZ #16838]
38243         * manual/string.texi (Collation Functions): Fix qsort argument
38244         order in example.
38245         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38247 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38249         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38250         Make the test a no-op if there are no exceptions defined.
38252 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38254         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38255         enable-hardcoded-path-in-tests
38257 2014-04-11  Will Newton  <will.newton@linaro.org>
38259         * benchtests/Makefile (extra-objs): Add json-lib.o.
38260         (bench-func): Tidy up JSON output.
38261         * benchtests/bench-skeleton.c: Include json-lib.h.
38262         (main): Use JSON library functions to do output of
38263         benchmark results.
38264         * benchtests/bench-timing-type.c (main): Output the
38265         timing type simply, leaving formatting to the user.
38266         * benchtests/json-lib.c: New file.
38267         * benchtests/json-lib.h: Likewise.
38269 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38271         [BZ #15215]
38272         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38273         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38274         memory barriers.  Add comments.
38275         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38276         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38277         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38278         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38279         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38280         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38282 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38284         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38285         * sysdeps/s390/s390-64/configure.ac: ... this ...
38286         * sysdeps/s390/configure.ac: ... to here.
38287         * sysdeps/s390/s390-32/configure: Delete file.
38288         * sysdeps/s390/s390-64/configure: Delete file.
38289         * sysdeps/s390/configure: Regenerate.
38291 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38293         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38295 2014-04-11  Will Newton  <will.newton@linaro.org>
38297         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38298         to zero if it is not defined elsewhere.  (mtrim): Test
38299         the value of MALLOC_DEBUG with #if rather than #ifdef.
38301 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38303         * benchtests/pthread_once-inputs: New file.
38304         * benchtests/pthread_once-source.c: New file.
38305         * benchtests/README: Update documentation.
38307 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38308             H.J. Lu  <hongjiu.lu@intel.com>
38310         [BZ #16275]
38311         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38312         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38313         * sysdeps/x86_64/configure: Regenerated.
38314         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38315         macro.
38316         (REGISTER_SAVE_RAX): Likewise.
38317         (REGISTER_SAVE_RCX): Likewise.
38318         (REGISTER_SAVE_RDX): Likewise.
38319         (REGISTER_SAVE_RSI): Likewise.
38320         (REGISTER_SAVE_RDI): Likewise.
38321         (REGISTER_SAVE_R8): Likewise.
38322         (REGISTER_SAVE_R9): Likewise.
38323         (REGISTER_SAVE_BND0): Likewise.
38324         (REGISTER_SAVE_BND1): Likewise.
38325         (REGISTER_SAVE_BND2): Likewise.
38326         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38327         bound registers when calling _dl_fixup.
38329 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38331         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38332         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38333         of its definition.
38334         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38335         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38336         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38337         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38338         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38339         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38340         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38342 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38344         [BZ #15514]
38345         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38346         pathconf(_PC_NAME_MAX).
38348 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38350         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38351         Remove macro usage.
38352         (__PTHREAD_SPINS): Move definition to ...
38353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38354         (__PTHREAD_SPINS): ... here.
38355         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38356         (__PTHREAD_SPIN): Likewise.
38357         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38358         (__PTHREAD_SPIN): Likewise.
38359         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38360         (__PTHREAD_SPIN): Likewise.
38361         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38362         (__PTHREAD_SPIN): Likewise.
38363         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38364         (__PTHREAD_SPIN): Likewise.
38365         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38366         (__PTHREAD_SPIN): Likewise.
38367         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38368         (__PTHREAD_SPIN): Likewise.
38369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38370         (__PTHREAD_SPIN): Likewise.
38371         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38372         (__PTHREAD_SPIN): Likewise.
38373         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38374         (__PTHREAD_SPIN): Likewise.
38375         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38376         (__PTHREAD_SPIN): Likewise.
38377         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38378         (__PTHREAD_SPIN): Likewise.
38380         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38381         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38382         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38383         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38384         imply folder.
38385         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38386         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38387         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38388         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38389         correct imply path.
38390         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38391         strlen symbol for non multi-arch builds.
38392         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38393         missing hidden_def and weak_alias.
38395 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38397         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38399 2014-04-07  Will Newton  <will.newton@linaro.org>
38401         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38402         and contents.  [!_LIBC] Remove #ifndef and contents.
38403         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38404         * string/memccpy.c (__memccpy): Use ANSI prototype.
38405         * string/memfrob.c (memfrob): Likewise.
38406         * string/strcoll.c (STRCOLL): Likewise.
38407         * string/strlen.c (strlen): Likewise.
38408         * string/strtok.c (STRTOK): Likewise.
38409         * string/strcat.c: Remove unused #include of memcopy.h.
38410         (strcat): Use ANSI prototype.
38411         * string/strchr.c: Remove unused #include of memcopy.h.
38412         (strchr): Use ANSI prototype.
38413         * string/strcmp.c: Remove unused #include of memcopy.h.
38414         (strcmp): Use ANSI prototype.
38415         * string/strcpy.c: Remove unused #include of memcopy.h.
38416         (strcpy): Use ANSI prototype.
38418 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38420         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38421         * config.make.in (config-extra-cppflags): Set it from
38422         libc_extra_cppflags.
38423         * configure.ac (libc_extra_cflags): Make it accumulate over
38424         configure fragments.
38425         (libc_extra_cppflags): New flag.
38426         * configure. Regenerate.
38427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38428         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38429         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38432         [BZ #16815]
38433         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38434         result for FE_DOWNWARD rounding mode.
38435         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38436         Likewise.
38437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38439 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38441         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38442         in function argument name.
38444 2014-04-03  David Svoboda  <svoboda@cert.org>
38446         [BZ #5666]
38447         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38448         explicitly.
38450 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38452         * elf/dl-unmap-segments.h: New file.
38453         * sysdeps/generic/ldsodefs.h
38454         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38455         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38456         * elf/dl-fptr.c: Likewise.
38457         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38458         * sysdeps/aarch64/tlsdesc.c: Likewise.
38459         * sysdeps/arm/tlsdesc.c: Likewise.
38460         * sysdeps/i386/tlsdesc.c: Likewise.
38461         * sysdeps/tile/dl-runtime.c: Likewise.
38462         * sysdeps/x86_64/tlsdesc.c: Likewise.
38463         * elf/dl-load.h: New file.
38464         * elf/dl-load.c: Include it.
38465         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38466         Macros moved to dl-load.h.
38467         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38468         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38469         Use _dl_unmap_segments in place of __munmap.
38470         Break out segment-mapping loop into ...
38471         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38473 2014-04-03  Will Newton  <will.newton@linaro.org>
38475         * elf/dl-lookup.c (do_lookup_x): Remove comment
38476         referring to nested function and move variable
38477         declarations down to before first use.
38479 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38481         [BZ #16799]
38482         [BZ #16800]
38483         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38484         with 0 numerator.
38485         * math/s_catanf.c (__catanf): Likewise.
38486         * math/s_catanh.c (__catanh): Likewise.
38487         * math/s_catanhf.c (__catanhf): Likewise.
38488         * math/s_catanhl.c (__catanhl): Likewise.
38489         * math/s_catanl.c (__catanl): Likewise.
38490         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38491         by positive zero when computing -Inf result.
38492         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38493         (catanh_test): Likewise.
38494         * sysdeps/i386/fpu/libm-test-ulps: Update.
38495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38497         [BZ #16789]
38498         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38499         instead of using underflowing value in computing result.
38500         * math/s_clog10.c (__clog10): Likewise.
38501         * math/s_clog10f.c (__clog10f): Likewise.
38502         * math/s_clog10l.c (__clog10l): Likewise.
38503         * math/s_clogf.c (__clogf): Likewise.
38504         * math/s_clogl.c (__clogl): Likewise.
38505         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38506         (clog10_test): Likewise.
38507         * sysdeps/i386/fpu/libm-test-ulps: Update.
38508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38510 2014-04-02  Alan Modra  <amodra@gmail.com>
38512         [BZ #16739]
38513         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38514         output when value is near a power of two.  Use int64_t for lx and
38515         remove casts.  Use decimal rather than hex exponent constants.
38516         Don't use long double multiplication when double will suffice.
38517         * math/libm-test.inc (nextafter_test_data): Add tests.
38518         * NEWS: Add 16739 and 16786 to bug list.
38520         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38522         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38524 2014-04-01  Will Newton  <will.newton@linaro.org>
38526         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38527         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38529 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38531         [BZ #13347]
38532         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38533         * nptl/tst-setuid2.c: New file.
38534         * nptl/Makefile (xtests): Add tst-setuid2.
38536 2014-04-01  Alan Modra  <amodra@gmail.com>
38538         [BZ #16786]
38539         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38541 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38543         [BZ #6803]
38544         [BZ #6804]
38545         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38546         set errno as appropriate.
38547         * math/w_scalbf.c (__scalbf): Likewise.
38548         * math/w_scalbl.c (__scalbl): Likewise.
38549         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38550         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38551         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38552         Add more NaN tests.
38554         [BZ #16349]
38555         * math/w_atan2.c: Include <errno.h>.
38556         (__atan2): Set errno for result underflowing to zero.
38557         * math/w_atan2f.c: Include <errno.h>.
38558         (__atan2f): Set errno for result underflowing to zero.
38559         * math/w_atan2l.c: Include <errno.h>.
38560         (__atan2l): Set errno for result underflowing to zero.
38561         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38562         tests.
38563         * math/auto-libm-test-out: Regenerated.
38565 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38567         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38568         Encode instruction correctly in little endian.
38569         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38570         Likewise.
38571         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38572         Likewise.
38573         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38574         Likewise.
38575         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38576         Likewise.
38578 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38580         [BZ #9894]
38581         * sysdeps/unix/sysv/linux/kernel-features.h
38582         [__sparc__ && !__arch64__ && !__sparc_v9__]
38583         (__ASSUME_SET_ROBUST_LIST): Do not define.
38584         [__sparc__ && !__arch64__ && !__sparc_v9__]
38585         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38586         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38587         Likewise.
38588         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38589         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38590         (__ASSUME_REQUEUE_PI): Likewise.
38591         (__ASSUME_SET_ROBUST_LIST): Likewise.
38592         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38593         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38594         Undefine.
38595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38596         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38597         Likewise.
38598         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38599         Likewise.
38600         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38601         Likewise.
38602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38603         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38604         Undefine.
38605         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38606         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38607         Likewise.
38609         [BZ #16648]
38610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38612         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38614 2014-03-31  Will Newton  <will.newton@linaro.org>
38616         * benchtests/Makefile (bench): Add ffs and ffsll to list
38617         of tests.
38618         * benchtests/ffs-inputs: New file.
38619         * benchtests/ffsll-inputs: Likewise.
38621 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38623         [BZ #16770]
38624         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38625         too large before casting to int.
38626         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38627         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38628         * math/libm-test.inc (scalb_test_data): Add more tests.
38630 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38632         * benchtests/Makefile (DETAILED_OPT): New make option.
38633         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38634         set.
38635         * benchtests/bench-skeleton.c: Include stdbool.h.
38636         (main): Store and print timings per input.
38637         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38638         member to each argument value.
38639         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38640         (_print_arg_data): Initialize per-input timing to 0.
38642         * benchtests/Makefile (timing-type): New binary.
38643         (bench-clean): Also remove bench-timing-type.
38644         (bench): New target for timing-type.
38645         (bench-func): Print output in JSON format.
38646         * benchtests/bench-skeleton.c (main): Print output in JSON
38647         format.
38648         * benchtests/bench-timing-type.c: New file.
38649         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38650         (TIMING_PRINT_STATS): Remove.
38651         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38652         name separately.
38654         * benchtests/bench-modf.c: Remove.
38655         * benchtests/modf-inputs: New inputs file.
38657 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38659         [BZ #16362]
38660         * math/s_clog10.c (M_PI_LOG10E): New macro.
38661         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38662         imaginary parts are 0.
38663         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38664         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38665         imaginary parts are 0.
38666         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38667         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38668         imaginary parts are 0.
38669         * math/libm-test.inc (clog10_test_data): Update expected results
38670         for when real and imaginary parts are 0.
38672 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38674         * elf/dl-load.c: Finish conversion of __builtin_expect into
38675         __glibc_{un}likely.
38677 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38679         [BZ #16348]
38680         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38681         1+x for argument with exponent below -67.
38682         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38683         Likewise.
38684         * math/auto-libm-test-in: Add more tests of exp.
38685         * math/auto-libm-test-out: Regenerated.
38687 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38689         [BZ #16759]
38690         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38691         (nscd_getnetgrent): Use it.
38693         [BZ #16760]
38694         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38695         of stpcpy.
38697 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38699         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38700         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38701         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38702         (lll_robust_unlock): Remove out of line section. Use cfi
38703         intrinsics.
38704         (LLL_STUB_UNWIND_INFO*): Remove.
38705         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38706         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38707         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38708         (lll_robust_unlock): Remove out of line section. Use cfi
38709         intrinsics.
38710         (LLL_STUB_UNWIND_INFO*): Remove.
38712 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38714         [BZ #16758]
38715         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38716         blank values.
38718 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38720         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38722 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38724         [BZ #16198]
38725         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38726         fnstenv.
38727         * math/test-fenv-preserve.c: New file.
38728         * math/Makefile (tests): Add test-fenv-preserve.
38730 2014-03-26  Will Newton <will.newton@linaro.org>
38732         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38734 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38736         * scripts/versionlist.awk: Partition the version sets and emit all
38737         GLIBC_* (sorted) before all others (sorted).
38739 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38741         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38742         GLIBC_2.2.5 version.
38744 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38746         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38747         calls.
38749         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38750         previous change.
38752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38754 2014-03-25  Andreas Schwab  <schwab@suse.de>
38756         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38757         label to be used after in6ailist is initialized.
38759 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38761         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38762         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38764 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38766         [BZ #16357]
38767         [BZ #16599]
38768         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38769         min_plus_half.
38770         (fp_formats): Update initializers.
38771         (init_fp_formats): Initialize new field.
38772         (output_for_one_input_case): Allow underflow for results up to
38773         min_plus_half.
38774         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38775         * math/auto-libm-test-in: Don't mark some underflows from asin and
38776         atanh as spurious.
38777         * math/auto-libm-test-out: Regenerated.
38778         * sysdeps/i386/fpu/libm-test-ulps: Update.
38779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38781 2014-03-25  Andreas Schwab  <schwab@suse.de>
38783         * libio/Makefile (tst-ftell-partial-wide-ENV)
38784         (tst-ftell-active-handler-ENV): Define.
38786 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38788         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38790 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38792         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38794 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38796         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38797         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38798         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38800 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38802         [BZ #16634]
38803         * elf/dl-load.c (open_verify): Add mode parameter.
38804         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38805         (open_path): Change from boolean 'secure' to complete flag 'mode'
38806         (_dl_map_object): Adjust.
38807         * elf/Makefile (tests): Add tst-dlopen-aout.
38808         * elf/tst-dlopen-aout.c: New test.
38810 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38812         [BZ #16714]
38813         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38814         (struct stat): Rename member pad0 to __glibc_reserved0.
38816         [BZ #16712]
38817         * sysdeps/s390/s390-32/bits/wordsize.h
38818         (__WORDSIZE32_SIZE_ULONG): New define.
38819         * sysdeps/s390/s390-64/bits/wordsize.h
38820         (__WORDSIZE32_SIZE_ULONG): Likewise.
38821         * sysdeps/generic/stdint.h (SIZE_MAX):
38822         Define as UL if __WORDSIZE32_SIZE_ULONG.
38824         [BZ #16713]
38825         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38826         (__glibc_reserved0): New variable.
38827         (sa_flags): Change type to int.
38829         * posix/Makefile (before-compile): Use += before-compile instead
38830         of a :=.
38832         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38833         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38835 2014-03-20  Andreas Schwab  <schwab@suse.de>
38837         [BZ #16743]
38838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38839         non-matching result from nscd.
38841 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38843         * scripts/bench.py: Moved to ...
38844         * benchtests/scripts/bench.py: ... here.
38845         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38847 2014-03-24  Andreas Schwab  <schwab@suse.de>
38849         [BZ #16002]
38850         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38851         alloca_account and account alloca use for struct in6ailist.
38853 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38855         [BZ #16284]
38856         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38857         rounding mode to recompute results that overflow to infinity or
38858         underflow to zero.
38859         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38860         bug 16284.
38861         * math/auto-libm-test-out: Regenerated.
38862         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38863         (ccosh_test): Likewise.
38864         (csin_test_data): Use plus_oflow.
38865         (csin_test): Use ALL_RM_TEST.
38866         (csinh_test_data): Use plus_oflow.
38867         (csinh_test): Use ALL_RM_TEST.
38868         * sysdeps/i386/fpu/libm-test-ulps: Update.
38869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38873         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38874         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38875         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38877         [BZ #16731]
38878         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38879         when x - 1 is zero.
38880         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38881         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38882         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38883         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38884         argument is 1.
38885         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38886         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38887         zero.
38888         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38889         * sysdeps/i386/fpu/libm-test-ulps: Update.
38890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38892 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38894         * scripts/bench.pl: Remove file.
38895         * scripts/bench.py: New benchmark script.
38896         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38897         * benchtests/README: Mention python dependency.
38898         * scripts/pylintrc: New file.
38899         * scripts/pylint: New file.
38901         * bits/mathdef.h: Use #ifdef instead of #if.
38902         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38903         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38904         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38905         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38906         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38907         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38909 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38910             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38912         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38914         and strpbrk-ppc64 objects.
38915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38916         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38917         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38918         multiarch strpbrk for POWER7.
38919         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38920         multiarch strpbrk for PPC64.
38921         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38922         ifunc selector.
38923         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38924         strpbrk for POWER7.
38926 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38928         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38929         (atan_test): Likewise.
38930         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38931         (atanh_test): Use ALL_RM_TEST.
38932         (atan2_test_data): Likewise.
38933         (cabs_test): Likewise.
38934         (cacosh_test): Likewise.
38935         (carg_test): Likewise.
38936         (casin_test): Likewise.
38937         (casinh_test): Likewise.
38938         (cbrt_test): Likewise.
38939         (csqrt_test): Likewise.
38940         (erf_test): Likewise.
38941         (erfc_test): Likewise.
38942         (pow10_test): Likewise.
38943         (exp2_test): Likewise.
38944         (hypot_test): Likewise.
38945         (j0_test): Likewise.
38946         (j1_test): Likewise.
38947         (lgamma_test): Likewise.
38948         (gamma_test): Likewise.
38949         (sincos_test): Likewise.
38950         (tanh_test): Likewise.
38951         (y0_test): Likewise.
38952         (y1_test): Likewise.
38953         * sysdeps/i386/fpu/libm-test-ulps: Update.
38954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38956 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38958         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38960         and strcspn-ppc64 objects.
38961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38962         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38963         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38964         multiarch strcspn for POWER7.
38965         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38966         multiarch strcspn for PPC64.
38967         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38968         ifunc selector.
38969         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38970         strcspn for POWER7.
38972 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38974         * math/gen-libm-test.pl (generate_testfile): Expect only function
38975         name as argument to AUTO_TESTS_* and pass results for all rounding
38976         modes to parse_args.
38977         (parse_auto_input): Separate inputs of automatic tests from
38978         outputs before storing in %auto_tests.
38979         * math/libm-test.inc (acos_test_data): Update call to
38980         AUTO_TESTS_f_f.
38981         (acos_test): Use ALL_RM_TEST.
38982         (acos_tonearest_test_data): Remove.
38983         (acos_test_tonearest): Likewise.
38984         (acos_towardzero_test_data): Likewise.
38985         (acos_test_towardzero): Likewise.
38986         (acos_downward_test_data): Likewise.
38987         (acos_test_downward): Likewise.
38988         (acos_upward_test_data): Likewise.
38989         (acos_test_upward): Likewise.
38990         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38991         (asin_test_data): Likewise.
38992         (asin_test): Use ALL_RM_TEST.
38993         (asin_tonearest_test_data): Remove.
38994         (asin_test_tonearest): Likewise.
38995         (asin_towardzero_test_data): Likewise.
38996         (asin_test_towardzero): Likewise.
38997         (asin_downward_test_data): Likewise.
38998         (asin_test_downward): Likewise.
38999         (asin_upward_test_data): Likewise.
39000         (asin_test_upward): Likewise.
39001         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39002         (atan_test_data): Likewise.
39003         (atanh_test_data): Likewise.
39004         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39005         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39006         (carg_test_data): Likewise.
39007         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39008         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39009         (ccosh_test_data): Likewise.
39010         (cexp_test_data): Likewise.
39011         (clog_test_data): Likewise.
39012         (clog10_test_data): Likewise.
39013         (cos_test_data): Update call to AUTO_TESTS_f_f.
39014         (cos_test): Use ALL_RM_TEST.
39015         (cos_tonearest_test_data): Remove.
39016         (cos_test_tonearest): Likewise.
39017         (cos_towardzero_test_data): Likewise.
39018         (cos_test_towardzero): Likewise.
39019         (cos_downward_test_data): Likewise.
39020         (cos_test_downward): Likewise.
39021         (cos_upward_test_data): Likewise.
39022         (cos_test_upward): Likewise.
39023         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39024         (cosh_test): Use ALL_RM_TEST.
39025         (cosh_tonearest_test_data): Remove.
39026         (cosh_test_tonearest): Likewise.
39027         (cosh_towardzero_test_data): Likewise.
39028         (cosh_test_towardzero): Likewise.
39029         (cosh_downward_test_data): Likewise.
39030         (cosh_test_downward): Likewise.
39031         (cosh_upward_test_data): Likewise.
39032         (cosh_test_upward): Likewise.
39033         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39034         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39035         (ctan_test_data): Likewise.
39036         (ctan_test): Use ALL_RM_TEST.
39037         (ctan_tonearest_test_data): Remove.
39038         (ctan_test_tonearest): Likewise.
39039         (ctan_towardzero_test_data): Likewise.
39040         (ctan_test_towardzero): Likewise.
39041         (ctan_downward_test_data): Likewise.
39042         (ctan_test_downward): Likewise.
39043         (ctan_upward_test_data): Likewise.
39044         (ctan_test_upward): Likewise.
39045         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39046         (ctanh_test): Use ALL_RM_TEST.
39047         (ctanh_tonearest_test_data): Remove.
39048         (ctanh_test_tonearest): Likewise.
39049         (ctanh_towardzero_test_data): Likewise.
39050         (ctanh_test_towardzero): Likewise.
39051         (ctanh_downward_test_data): Likewise.
39052         (ctanh_test_downward): Likewise.
39053         (ctanh_upward_test_data): Likewise.
39054         (ctanh_test_upward): Likewise.
39055         (erf_test_data): Update call to AUTO_TESTS_f_f.
39056         (erfc_test_data): Likewise.
39057         (exp_test_data): Likewise.
39058         (exp_test): Use ALL_RM_TEST.
39059         (exp_tonearest_test_data): Remove.
39060         (exp_test_tonearest): Likewise.
39061         (exp_towardzero_test_data): Likewise.
39062         (exp_test_towardzero): Likewise.
39063         (exp_downward_test_data): Likewise.
39064         (exp_test_downward): Likewise.
39065         (exp_upward_test_data): Likewise.
39066         (exp_test_upward): Likewise.
39067         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39068         (exp10_test): Use ALL_RM_TEST.
39069         (exp10_tonearest_test_data): Remove.
39070         (exp10_test_tonearest): Likewise.
39071         (exp10_towardzero_test_data): Likewise.
39072         (exp10_test_towardzero): Likewise.
39073         (exp10_downward_test_data): Likewise.
39074         (exp10_test_downward): Likewise.
39075         (exp10_upward_test_data): Likewise.
39076         (exp10_test_upward): Likewise.
39077         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39078         (expm1_test_data): Likewise.
39079         (expm1_test): Use ALL_RM_TEST.
39080         (expm1_tonearest_test_data): Remove.
39081         (expm1_test_tonearest): Likewise.
39082         (expm1_towardzero_test_data): Likewise.
39083         (expm1_test_towardzero): Likewise.
39084         (expm1_downward_test_data): Likewise.
39085         (expm1_test_downward): Likewise.
39086         (expm1_upward_test_data): Likewise.
39087         (expm1_test_upward): Likewise.
39088         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39089         (fma_test): Use ALL_RM_TEST.
39090         (fma_towardzero_test_data): Remove.
39091         (fma_test_towardzero): Likewise.
39092         (fma_downward_test_data): Likewise.
39093         (fma_test_downward): Likewise.
39094         (fma_upward_test_data): Likewise.
39095         (fma_test_upward): Likewise.
39096         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39097         (j0_test_data): Update call to AUTO_TESTS_f_f.
39098         (j1_test_data): Likewise.
39099         (jn_test_data): Update call to AUTO_TESTS_if_f.
39100         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39101         (log_test_data): Update call to AUTO_TESTS_f_f.
39102         (log10_test_data): Likewise.
39103         (log1p_test_data): Likewise.
39104         (log2_test_data): Likewise.
39105         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39106         (pow_tonearest_test_data): Likewise.
39107         (sin_test_data): Update call to AUTO_TESTS_f_f.
39108         (sin_test): Use ALL_RM_TEST.
39109         (sin_tonearest_test_data): Remove.
39110         (sin_test_tonearest): Likewise.
39111         (sin_towardzero_test_data): Likewise.
39112         (sin_test_towardzero): Likewise.
39113         (sin_downward_test_data): Likewise.
39114         (sin_test_downward): Likewise.
39115         (sin_upward_test_data): Likewise.
39116         (sin_test_upward): Likewise.
39117         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39118         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39119         (sinh_test): Use ALL_RM_TEST.
39120         (sinh_tonearest_test_data): Remove.
39121         (sinh_test_tonearest): Likewise.
39122         (sinh_towardzero_test_data): Likewise.
39123         (sinh_test_towardzero): Likewise.
39124         (sinh_downward_test_data): Likewise.
39125         (sinh_test_downward): Likewise.
39126         (sinh_upward_test_data): Likewise.
39127         (sinh_test_upward): Likewise.
39128         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39129         (sqrt_test): Use ALL_RM_TEST.
39130         (sqrt_tonearest_test_data): Remove.
39131         (sqrt_test_tonearest): Likewise.
39132         (sqrt_towardzero_test_data): Likewise.
39133         (sqrt_test_towardzero): Likewise.
39134         (sqrt_downward_test_data): Likewise.
39135         (sqrt_test_downward): Likewise.
39136         (sqrt_upward_test_data): Likewise.
39137         (sqrt_test_upward): Likewise.
39138         (tan_test_data): Update call to AUTO_TESTS_f_f.
39139         (tan_test): Use ALL_RM_TEST.
39140         (tan_tonearest_test_data): Remove.
39141         (tan_test_tonearest): Likewise.
39142         (tan_towardzero_test_data): Likewise.
39143         (tan_test_towardzero): Likewise.
39144         (tan_downward_test_data): Likewise.
39145         (tan_test_downward): Likewise.
39146         (tan_upward_test_data): Likewise.
39147         (tan_test_upward): Likewise.
39148         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39149         (tgamma_test_data): Likewise.
39150         (y0_test_data): Likewise.
39151         (y1_test_data): Likewise.
39152         (yn_test_data): Update call to AUTO_TESTS_if_f.
39153         (main): Do not call removed functions.
39155 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39157         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39158         (ldexp_test_data): Remove.
39159         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39160         scalbn_test_data.
39161         (scalb_test): Use ALL_RM_TEST.
39163 2014-03-19  Andreas Schwab  <schwab@suse.de>
39165         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39167 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39169         [BZ #16649]
39170         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39171         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39172         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39174         (__ASSUME_PREADV): Undefine.
39175         (__ASSUME_PWRITEV): Likewise.
39177 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39179         * bits/mman-linux.h: Add comment about non-Linux use.
39180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39181         bits/mman-linux.h resting place.
39183         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39184         * bits/mman-linux.h: ... here.
39186 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39188         * conform/conformtest.pl: Add standard definition when calling C
39189         preprocessor on data files.
39190         (checknamespace): Remove unused variable.
39192 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39194         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39195         minus_oflow, plus_uflow and minus_uflow in expected results.
39196         * math/libm-test.inc (scalbn_test_data): Add more tests of
39197         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39198         minus_uflow.
39199         (scalbn_test): Use ALL_RM_TEST.
39200         (scalbln_test_data): Add more tests of negative arguments.  Use
39201         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39202         (scalbln_test): Use ALL_RM_TEST.
39204 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39206         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39208 2014-03-18  Will Newton  <will.newton@linaro.org>
39210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39211         inaccurate comment.
39213 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39215         * Makerules [!subdir] (check-abi): Exit with error status if a
39216         test failed.
39218 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39220         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39221         for rint.  Include results for all rounding modes.
39222         (nearbyint_test): Use ALL_RM_TEST.
39223         (rint_test_data): Include all tests used for nearbyint.
39225 2014-03-17  Will Newton  <will.newton@linaro.org>
39227         * nptl/sysdeps/pthread/pthread.h: Revert previous
39228         change.
39230         * sysdeps/generic/ldsodefs.h: Revert previous
39231         change.
39233         * libio/genops.c: Revert previous change.
39234         * libio/libioP.h: Likewise.
39235         * stdio-common/vfprintf.c: Likewise.
39237         * sysdeps/generic/math_private.h: Revert previous
39238         change.
39240         * sysdeps/generic/math_private.h: Check whether
39241         HAVE_RM_CTX is defined with #ifdef rather
39242         than #if.
39244         * argp/argp-fmtstream.h: Check whether
39245         __STRICT_ANSI__ is defined with #ifdef rather
39246         than #if.
39247         * argp/argp.h: Likewise.
39249         * libio/genops.c: Check whether
39250         _IO_JUMPS_OFFSET is defined with #ifdef rather
39251         than #if.
39252         * libio/libioP.h: Likewise.
39253         * stdio-common/vfprintf.c: Likewise.
39255         * sysdeps/generic/ldsodefs.h: Check whether
39256         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39257         than #if.
39259         * nptl/sysdeps/pthread/pthread.h: Check
39260         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39261         its value.
39263 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39265         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39266         setting O_APPEND.
39267         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39268         test case.
39270         [BZ #16680]
39271         * libio/fileops.c (_IO_file_open): Seek to end of file but
39272         don't cache the offset.
39273         (get_file_offset): Remove function.
39274         (do_ftell): Use cached offset when available.
39275         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39276         don't cache the offset.
39277         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39278         case.
39279         (do_one_test): Call it.
39280         (do_ftell_test): Fix up expected old offset for a+ mode.
39281         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39282         available.
39284         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39285         up test status with function return status.
39286         (do_write_test): Likewise.
39287         (do_append_test): Likewise.
39289         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39290         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39291         Remove.
39293 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39295         * math/gen-libm-test.pl (parse_args): Handle results specified for
39296         each rounding mode separately.
39297         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39298         tests and results from lrint_tonearest_test_data,
39299         lrint_towardzero_test_data, lrint_downward_test_data and
39300         lrint_upward_test_data.
39301         (lrint_test): Use ALL_RM_TEST.
39302         (lrint_tonearest_test_data): Remove.
39303         (lrint_test_tonearest): Likewise.
39304         (lrint_towardzero_test_data): Likewise.
39305         (lrint_test_towardzero): Likewise.
39306         (lrint_downward_test_data): Likewise.
39307         (lrint_test_downward): Likewise.
39308         (lrint_upward_test_data): Likewise.
39309         (lrint_test_upward): Likewise.
39310         (llrint_test_data): Merge in per-rounding-mode tests and results
39311         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39312         llrint_downward_test_data and llrint_upward_test_data.
39313         (llrint_test): Use ALL_RM_TEST.
39314         (llrint_tonearest_test_data): Remove.
39315         (llrint_test_tonearest): Likewise.
39316         (llrint_towardzero_test_data): Likewise.
39317         (llrint_test_towardzero): Likewise.
39318         (llrint_downward_test_data): Likewise.
39319         (llrint_test_downward): Likewise.
39320         (llrint_upward_test_data): Likewise.
39321         (llrint_test_upward): Likewise.
39322         (rint_test_data): Merge in per-rounding-mode tests and results
39323         from rint_tonearest_test_data, rint_towardzero_test_data,
39324         rint_downward_test_data and rint_upward_test_data.  Add
39325         per-rounding-mode results for tests not in those arrays.
39326         (rint_test): Use ALL_RM_TEST.
39327         (rint_tonearest_test_data): Remove.
39328         (rint_test_tonearest): Likewise.
39329         (rint_towardzero_test_data): Likewise.
39330         (rint_test_towardzero): Likewise.
39331         (rint_downward_test_data): Likewise.
39332         (rint_test_downward): Likewise.
39333         (rint_upward_test_data): Likewise.
39334         (rint_test_upward): Likewise.
39335         (main): Don't call removed functions.
39337 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39339         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39340         "Compiled on ..." crapola.  It is anti-useful.
39342 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39344         * scripts/evaluate-test.sh: Handle fourth argument to determine
39345         whether test run should stop on failure.
39346         * Makeconfig (stop-on-test-failure): New variable.
39347         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39348         $(stop-on-test-failure).
39349         * Makefile (tests): Give a summary of results from testing and
39350         exit with failure status if they include an ERROR or FAIL.
39351         (xtests): Likewise.
39352         * manual/install.texi (Configuring and compiling): Mention
39353         stop-on-test-failure=y.
39354         * INSTALL: Regenerated.
39356 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39358         * scripts/versionlist.awk: New file.
39359         * Makerules [$(build-shared) = yes]
39360         (postclean-generated): Add Versions.def, not Versions.def.v and
39361         Versions.def.v.i.
39362         ($(common-objpfx)Versions.def.v.i): Target removed.
39363         ($(common-objpfx)Versions.def): New target.
39364         ($(common-objpfx)Versions.all): Depend on that rather that
39365         $(common-objpfx)Versions.def.v.
39366         * Versions.def: File removed.
39368         * Makeconfig (+gccwarn): Add -Wundef.
39369         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39370         a dl-sysdep.h breaking its contract.
39371         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39372         * include/stackinfo.h: New file.
39373         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39374         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39375         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39376         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39377         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39378         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39379         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39380         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39381         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39382         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39383         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39384         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39385         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39386         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39387         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39389 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39391         [BZ #16707]
39392         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39393         implementation.
39394         * math/libm-test.inc (round_test_data): Add more tests.
39396         [BZ #16706]
39397         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39398         implementation.
39399         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39401         [BZ #16701]
39402         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39403         implementation.
39404         * math/libm-test.inc (ceil_test_data): Add more tests.
39406         * math/libm-test.inc (trunc_test_data): Add more tests related to
39407         BZ#16414.
39409 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39411         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39412         with #if rather than #ifdef.
39413         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39415 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39417         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39418         first.  Disable AVX-512 GCC support if assembler doesn't support
39419         it.
39420         * sysdeps/x86_64/configure: Regenerated.
39422 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39424         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39425         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39426         (__old_pthread_attr_setstack): Likewise.
39427         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39428         [!_STACK_GROWS_DOWN]: Likewise.
39430 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39432         * config.make.in (have-bash2): Delete.
39433         * configure.ac (libc_cv_have_bash2): Delete.
39434         * configure: Regenerate.
39435         * elf/Makefile (common-ldd-rewrite): Rename to ...
39436         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39437         (sh-ldd-rewrite): Delete.
39438         (bash-ldd-rewrite): Delete.
39439         (have-bash2): Delete checks.
39440         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39441         ldd-rewrite.
39443         * config.make.in (have-ksh): Delete.
39444         (KSH): Delete.
39445         * configure.ac (libc_cv_have_ksh): Delete.
39446         * configure: Regenerate.
39448         * elf/Makefile: Delete $(have-ksh) check.
39449         ($(objpfx)sotruss): Change KSH to BASH.
39450         * elf/sotruss.ksh: Rename to ...
39451         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39452         function style to match POSIX.  Drop ksh vim mode setting.
39454         * manual/time.texi (Specifying the Time Zone with TZ): Change
39455         Tuesday to Thursday.
39457         * debug/tst-longjmp_chk2.c: Update header comment.
39458         (stackoverflow_handler): Add comment.  Call assert on pass value.
39460 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39462         [BZ #16194]
39463         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39464         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39465         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39466         (La_x86_64_vector): Add zmm.
39467         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39468         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39469         ($(objpfx)tst-audit10): New target.
39470         ($(objpfx)tst-audit10.out): Likewise.
39471         (tst-audit10-ENV): New.
39472         (AVX512-CFLAGS): Likewise.
39473         (CFLAGS-tst-audit10.c): Likewise.
39474         (CFLAGS-tst-auditmod10a.c): Likewise.
39475         (CFLAGS-tst-auditmod10b.c): Likewise.
39476         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39477         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39478         * sysdeps/x86_64/configure: Regenerated.
39479         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39480         AVX-512 zmm register support.
39481         (_dl_x86_64_save_sse): Likewise.
39482         (_dl_x86_64_restore_sse): Likewise.
39483         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39484         size vector registers.
39485         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39486         (ZMM_SIZE): Likewise.
39487         * sysdeps/x86_64/tst-audit10.c: New file.
39488         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39489         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39491 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39493         * configure.ac (HAVE_EHDR_START): New check.
39494         * configure: Regenerated.
39495         * config.h.in (HAVE_EHDR_START): New #undef.
39496         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39497         assuming the lowest-addressed segment maps the start of the file.
39499 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39501         * INSTALL: Regenerated.
39503 2014-03-13  Will Newton  <will.newton@linaro.org>
39505         * manual/setjmp.texi (System V contexts): Improve
39506         clarity and grammar of documentation.
39508 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39510         [BZ #16381]
39511         * elf/Makefile (tests): Add tst-pie2.
39512         (tests-pie): Add tst-pie2.
39513         * elf/tst-pie2.c: New file.
39514         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39515         for ET_EXEC.
39516         * elf/rtld.c (map_doit): Load executable as lt_executable.
39517         (dl_main): Likewise.
39519 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39521         [BZ #16642]
39522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39523         (__ASSUME_PSELECT): Undefine.
39525 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39527         [BZ #16689]
39528         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39529         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39530         static build.
39531         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39532         selector for static builds.
39534 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39536         [BZ #16695]
39537         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39538         key in the buffer.
39540 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39542         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39543         IFUNC selector for static builds.
39545 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39547         * sysdeps/mips/math_private.h [__mips_hard_float]
39548         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39549         libc_feresetround_mips_ctx.
39550         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39551         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39552         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39554         [BZ #16677]
39555         * math/s_nextafter.c (__nextafter): Do not return value from
39556         overflowing computation.
39557         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39558         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39559         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39560         Likewise.
39561         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39562         Likewise.
39563         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39564         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39566 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39568         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39569         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39570         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39571         the new mov targetting sp.
39573 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39575         [BZ #16683]
39576         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39577         Define it for static builds as well.
39578         (NO_BZERO_IMPL): Likewise.
39580 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39582         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39583         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39584         multiarch strspn for PPC64.
39585         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39586         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39588         (__libc_ifunc_impl_list): Likewise.
39589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39590         multiarch optimizations
39591         * string/strspn.c (strspn): Using macro to redefine symbol name.
39593 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39594             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39596         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39597         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39598         multiarch strncat for PPC64.
39599         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39600         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39602         (__libc_ifunc_impl_list): Likewise.
39603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39604         multiarch optimizations
39606 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39608         [BZ #16639]
39609         * nscd/nscd.service: Make service type forking.
39611 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39613         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39614         sign in non default rounding modes.
39615         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39617 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39619         * math/libm-test.inc (ALL_RM_TEST): New macro.
39620         (ceil_test): Use ALL_RM_TEST.
39621         (cimag_test): Likewise.
39622         (conj_test): Likewise.
39623         (copysign_test): Likewise.
39624         (cproj_test): Likewise.
39625         (creal_test): Likewise.
39626         (fabs_test): Likewise.
39627         (floor_test): Likewise.
39628         (fmax_test): Likewise.
39629         (fmin_test): Likewise.
39630         (fmod_test): Likewise.
39631         (fpclassify_test): Likewise.
39632         (frexp_test): Likewise.
39633         (ilogb_test): Likewise.
39634         (isfinite_test): Likewise.
39635         (finite_test): Likewise.
39636         (isgreater_test): Likewise.
39637         (isgreaterequal_test): Likewise.
39638         (isinf_test): Likewise.
39639         (isless_test): Likewise.
39640         (islessequal_test): Likewise.
39641         (islessgreater_test): Likewise.
39642         (isnan_test): Likewise.
39643         (isnormal_test): Likewise.
39644         (issignaling_test): Likewise.
39645         (isunordered_test): Likewise.
39646         (logb_test): Likewise.
39647         (logb_downward_test_data): Remove.
39648         (logb_test_downward): Likewise.
39649         (lround_test): Use ALL_RM_TEST.
39650         (llround_test): Likewise.
39651         (modf_test): Likewise.
39652         (nexttoward_test): Likewise.
39653         (remainder_test): Likewise.
39654         (drem_test): Likewise.
39655         (remainder_tonearest_test_data): Likewise.
39656         (remainder_test_tonearest): Likewise.
39657         (drem_test_tonearest): Likewise.
39658         (remainder_towardzero_test_data): Likewise.
39659         (remainder_test_towardzero): Likewise.
39660         (drem_test_towardzero): Likewise.
39661         (remainder_downward_test_data): Likewise.
39662         (remainder_test_downward): Likewise.
39663         (drem_test_downward): Likewise.
39664         (remainder_upward_test_data): Likewise.
39665         (remainder_test_upward): Likewise.
39666         (drem_test_upward): Likewise.
39667         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39668         (round_test): Use ALL_RM_TEST.
39669         (signbit_test): Likewise.
39670         (trunc_test): Likewise.
39671         (significand_test): Likewise.
39672         (main): Don't call removed functions.
39674 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39676         [BZ #16674]
39677         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39678         || __USE_XOPEN2K8].
39679         (ILL_ILLOPN): Likewise.
39680         (ILL_ILLADR): Likewise.
39681         (ILL_ILLTRP): Likewise.
39682         (ILL_PRVOPC): Likewise.
39683         (ILL_PRVREG): Likewise.
39684         (ILL_COPROC): Likewise.
39685         (ILL_BADSTK): Likewise.
39686         (FPE_INTDIV): Likewise.
39687         (FPE_INTOVF): Likewise.
39688         (FPE_FLTDIV): Likewise.
39689         (FPE_FLTOVF): Likewise.
39690         (FPE_FLTUND): Likewise.
39691         (FPE_FLTRES): Likewise.
39692         (FPE_FLTINV): Likewise.
39693         (FPE_FLTSUB): Likewise.
39694         (SEGV_MAPERR): Likewise.
39695         (SEGV_ACCERR): Likewise.
39696         (BUS_ADRALN): Likewise.
39697         (BUS_ADRERR): Likewise.
39698         (BUS_OBJERR): Likewise.
39699         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39700         (TRAP_TRACE): Likewise.
39701         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39702         __USE_XOPEN2K8].
39703         (CLD_KILLED): Likewise.
39704         (CLD_DUMPED): Likewise.
39705         (CLD_TRAPPED): Likewise.
39706         (CLD_STOPPED): Likewise.
39707         (CLD_CONTINUED): Likewise.
39708         (POLL_IN): Likewise.
39709         (POLL_OUT): Likewise.
39710         (POLL_MSG): Likewise.
39711         (POLL_ERR): Likewise.
39712         (POLL_PRI): Likewise.
39713         (POLL_HUP): Likewise.
39714         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39715         Likewise.
39716         (ILL_ILLOPN): Likewise.
39717         (ILL_ILLADR): Likewise.
39718         (ILL_ILLTRP): Likewise.
39719         (ILL_PRVOPC): Likewise.
39720         (ILL_PRVREG): Likewise.
39721         (ILL_COPROC): Likewise.
39722         (ILL_BADSTK): Likewise.
39723         (FPE_INTDIV): Likewise.
39724         (FPE_INTOVF): Likewise.
39725         (FPE_FLTDIV): Likewise.
39726         (FPE_FLTOVF): Likewise.
39727         (FPE_FLTUND): Likewise.
39728         (FPE_FLTRES): Likewise.
39729         (FPE_FLTINV): Likewise.
39730         (FPE_FLTSUB): Likewise.
39731         (SEGV_MAPERR): Likewise.
39732         (SEGV_ACCERR): Likewise.
39733         (BUS_ADRALN): Likewise.
39734         (BUS_ADRERR): Likewise.
39735         (BUS_OBJERR): Likewise.
39736         (BUS_MCEERR_AR): Likewise.
39737         (BUS_MCEERR_AO): Likewise.
39738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39739         (TRAP_TRACE): Likewise.
39740         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39741         __USE_XOPEN2K8].
39742         (CLD_KILLED): Likewise.
39743         (CLD_DUMPED): Likewise.
39744         (CLD_TRAPPED): Likewise.
39745         (CLD_STOPPED): Likewise.
39746         (CLD_CONTINUED): Likewise.
39747         (POLL_IN): Likewise.
39748         (POLL_OUT): Likewise.
39749         (POLL_MSG): Likewise.
39750         (POLL_ERR): Likewise.
39751         (POLL_PRI): Likewise.
39752         (POLL_HUP): Likewise.
39753         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39754         (ILL_ILLOPN): Likewise.
39755         (ILL_ILLADR): Likewise.
39756         (ILL_ILLTRP): Likewise.
39757         (ILL_PRVOPC): Likewise.
39758         (ILL_PRVREG): Likewise.
39759         (ILL_COPROC): Likewise.
39760         (ILL_BADSTK): Likewise.
39761         (FPE_INTDIV): Likewise.
39762         (FPE_INTOVF): Likewise.
39763         (FPE_FLTDIV): Likewise.
39764         (FPE_FLTOVF): Likewise.
39765         (FPE_FLTUND): Likewise.
39766         (FPE_FLTRES): Likewise.
39767         (FPE_FLTINV): Likewise.
39768         (FPE_FLTSUB): Likewise.
39769         (SEGV_MAPERR): Likewise.
39770         (SEGV_ACCERR): Likewise.
39771         (BUS_ADRALN): Likewise.
39772         (BUS_ADRERR): Likewise.
39773         (BUS_OBJERR): Likewise.
39774         (BUS_MCEERR_AR): Likewise.
39775         (BUS_MCEERR_AO): Likewise.
39776         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39777         (TRAP_TRACE): Likewise.
39778         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39779         __USE_XOPEN2K8].
39780         (CLD_KILLED): Likewise.
39781         (CLD_DUMPED): Likewise.
39782         (CLD_TRAPPED): Likewise.
39783         (CLD_STOPPED): Likewise.
39784         (CLD_CONTINUED): Likewise.
39785         (POLL_IN): Likewise.
39786         (POLL_OUT): Likewise.
39787         (POLL_MSG): Likewise.
39788         (POLL_ERR): Likewise.
39789         (POLL_PRI): Likewise.
39790         (POLL_HUP): Likewise.
39791         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39792         Likewise.
39793         (ILL_ILLOPN): Likewise.
39794         (ILL_ILLADR): Likewise.
39795         (ILL_ILLTRP): Likewise.
39796         (ILL_PRVOPC): Likewise.
39797         (ILL_PRVREG): Likewise.
39798         (ILL_COPROC): Likewise.
39799         (ILL_BADSTK): Likewise.
39800         (ILL_BADIADDR): Likewise.
39801         (ILL_BREAK): Likewise.
39802         (FPE_INTDIV): Likewise.
39803         (FPE_INTOVF): Likewise.
39804         (FPE_FLTDIV): Likewise.
39805         (FPE_FLTOVF): Likewise.
39806         (FPE_FLTUND): Likewise.
39807         (FPE_FLTRES): Likewise.
39808         (FPE_FLTINV): Likewise.
39809         (FPE_FLTSUB): Likewise.
39810         (FPE_DECOVF): Likewise.
39811         (FPE_DECDIV): Likewise.
39812         (FPE_DECERR): Likewise.
39813         (FPE_INVASC): Likewise.
39814         (FPE_INVDEC): Likewise.
39815         (SEGV_MAPERR): Likewise.
39816         (SEGV_ACCERR): Likewise.
39817         (SEGV_PSTKOVF): Likewise.
39818         (BUS_ADRALN): Likewise.
39819         (BUS_ADRERR): Likewise.
39820         (BUS_OBJERR): Likewise.
39821         (BUS_MCEERR_AR): Likewise.
39822         (BUS_MCEERR_AO): Likewise.
39823         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39824         (TRAP_TRACE): Likewise.
39825         (TRAP_BRANCH): Likewise.
39826         (TRAP_HWBKPT): Likewise.
39827         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39828         __USE_XOPEN2K8].
39829         (CLD_KILLED): Likewise.
39830         (CLD_DUMPED): Likewise.
39831         (CLD_TRAPPED): Likewise.
39832         (CLD_STOPPED): Likewise.
39833         (CLD_CONTINUED): Likewise.
39834         (POLL_IN): Likewise.
39835         (POLL_OUT): Likewise.
39836         (POLL_MSG): Likewise.
39837         (POLL_ERR): Likewise.
39838         (POLL_PRI): Likewise.
39839         (POLL_HUP): Likewise.
39840         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39841         (ILL_ILLOPN): Likewise.
39842         (ILL_ILLADR): Likewise.
39843         (ILL_ILLTRP): Likewise.
39844         (ILL_PRVOPC): Likewise.
39845         (ILL_PRVREG): Likewise.
39846         (ILL_COPROC): Likewise.
39847         (ILL_BADSTK): Likewise.
39848         (FPE_INTDIV): Likewise.
39849         (FPE_INTOVF): Likewise.
39850         (FPE_FLTDIV): Likewise.
39851         (FPE_FLTOVF): Likewise.
39852         (FPE_FLTUND): Likewise.
39853         (FPE_FLTRES): Likewise.
39854         (FPE_FLTINV): Likewise.
39855         (FPE_FLTSUB): Likewise.
39856         (SEGV_MAPERR): Likewise.
39857         (SEGV_ACCERR): Likewise.
39858         (BUS_ADRALN): Likewise.
39859         (BUS_ADRERR): Likewise.
39860         (BUS_OBJERR): Likewise.
39861         (BUS_MCEERR_AR): Likewise.
39862         (BUS_MCEERR_AO): Likewise.
39863         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39864         (TRAP_TRACE): Likewise.
39865         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39866         __USE_XOPEN2K8].
39867         (CLD_KILLED): Likewise.
39868         (CLD_DUMPED): Likewise.
39869         (CLD_TRAPPED): Likewise.
39870         (CLD_STOPPED): Likewise.
39871         (CLD_CONTINUED): Likewise.
39872         (POLL_IN): Likewise.
39873         (POLL_OUT): Likewise.
39874         (POLL_MSG): Likewise.
39875         (POLL_ERR): Likewise.
39876         (POLL_PRI): Likewise.
39877         (POLL_HUP): Likewise.
39878         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39879         (ILL_ILLOPN): Likewise.
39880         (ILL_ILLADR): Likewise.
39881         (ILL_ILLTRP): Likewise.
39882         (ILL_PRVOPC): Likewise.
39883         (ILL_PRVREG): Likewise.
39884         (ILL_COPROC): Likewise.
39885         (ILL_BADSTK): Likewise.
39886         (FPE_INTDIV): Likewise.
39887         (FPE_INTOVF): Likewise.
39888         (FPE_FLTDIV): Likewise.
39889         (FPE_FLTOVF): Likewise.
39890         (FPE_FLTUND): Likewise.
39891         (FPE_FLTRES): Likewise.
39892         (FPE_FLTINV): Likewise.
39893         (FPE_FLTSUB): Likewise.
39894         (SEGV_MAPERR): Likewise.
39895         (SEGV_ACCERR): Likewise.
39896         (BUS_ADRALN): Likewise.
39897         (BUS_ADRERR): Likewise.
39898         (BUS_OBJERR): Likewise.
39899         (BUS_MCEERR_AR): Likewise.
39900         (BUS_MCEERR_AO): Likewise.
39901         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39902         (TRAP_TRACE): Likewise.
39903         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39904         __USE_XOPEN2K8].
39905         (CLD_KILLED): Likewise.
39906         (CLD_DUMPED): Likewise.
39907         (CLD_TRAPPED): Likewise.
39908         (CLD_STOPPED): Likewise.
39909         (CLD_CONTINUED): Likewise.
39910         (POLL_IN): Likewise.
39911         (POLL_OUT): Likewise.
39912         (POLL_MSG): Likewise.
39913         (POLL_ERR): Likewise.
39914         (POLL_PRI): Likewise.
39915         (POLL_HUP): Likewise.
39916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39917         (ILL_ILLOPN): Likewise.
39918         (ILL_ILLADR): Likewise.
39919         (ILL_ILLTRP): Likewise.
39920         (ILL_PRVOPC): Likewise.
39921         (ILL_PRVREG): Likewise.
39922         (ILL_COPROC): Likewise.
39923         (ILL_BADSTK): Likewise.
39924         (FPE_INTDIV): Likewise.
39925         (FPE_INTOVF): Likewise.
39926         (FPE_FLTDIV): Likewise.
39927         (FPE_FLTOVF): Likewise.
39928         (FPE_FLTUND): Likewise.
39929         (FPE_FLTRES): Likewise.
39930         (FPE_FLTINV): Likewise.
39931         (FPE_FLTSUB): Likewise.
39932         (SEGV_MAPERR): Likewise.
39933         (SEGV_ACCERR): Likewise.
39934         (BUS_ADRALN): Likewise.
39935         (BUS_ADRERR): Likewise.
39936         (BUS_OBJERR): Likewise.
39937         (BUS_MCEERR_AR): Likewise.
39938         (BUS_MCEERR_AO): Likewise.
39939         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39940         (TRAP_TRACE): Likewise.
39941         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39942         __USE_XOPEN2K8].
39943         (CLD_KILLED): Likewise.
39944         (CLD_DUMPED): Likewise.
39945         (CLD_TRAPPED): Likewise.
39946         (CLD_STOPPED): Likewise.
39947         (CLD_CONTINUED): Likewise.
39948         (POLL_IN): Likewise.
39949         (POLL_OUT): Likewise.
39950         (POLL_MSG): Likewise.
39951         (POLL_ERR): Likewise.
39952         (POLL_PRI): Likewise.
39953         (POLL_HUP): Likewise.
39954         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39955         (ILL_ILLOPN): Likewise.
39956         (ILL_ILLADR): Likewise.
39957         (ILL_ILLTRP): Likewise.
39958         (ILL_PRVOPC): Likewise.
39959         (ILL_PRVREG): Likewise.
39960         (ILL_COPROC): Likewise.
39961         (ILL_BADSTK): Likewise.
39962         (ILL_DBLFLT): Likewise.
39963         (ILL_HARDWALL): Likewise.
39964         (FPE_INTDIV): Likewise.
39965         (FPE_INTOVF): Likewise.
39966         (FPE_FLTDIV): Likewise.
39967         (FPE_FLTOVF): Likewise.
39968         (FPE_FLTUND): Likewise.
39969         (FPE_FLTRES): Likewise.
39970         (FPE_FLTINV): Likewise.
39971         (FPE_FLTSUB): Likewise.
39972         (SEGV_MAPERR): Likewise.
39973         (SEGV_ACCERR): Likewise.
39974         (BUS_ADRALN): Likewise.
39975         (BUS_ADRERR): Likewise.
39976         (BUS_OBJERR): Likewise.
39977         (BUS_MCEERR_AR): Likewise.
39978         (BUS_MCEERR_AO): Likewise.
39979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39980         (TRAP_TRACE): Likewise.
39981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39982         __USE_XOPEN2K8].
39983         (CLD_KILLED): Likewise.
39984         (CLD_DUMPED): Likewise.
39985         (CLD_TRAPPED): Likewise.
39986         (CLD_STOPPED): Likewise.
39987         (CLD_CONTINUED): Likewise.
39988         (POLL_IN): Likewise.
39989         (POLL_OUT): Likewise.
39990         (POLL_MSG): Likewise.
39991         (POLL_ERR): Likewise.
39992         (POLL_PRI): Likewise.
39993         (POLL_HUP): Likewise.
39994         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39995         (ILL_ILLOPN): Likewise.
39996         (ILL_ILLADR): Likewise.
39997         (ILL_ILLTRP): Likewise.
39998         (ILL_PRVOPC): Likewise.
39999         (ILL_PRVREG): Likewise.
40000         (ILL_COPROC): Likewise.
40001         (ILL_BADSTK): Likewise.
40002         (FPE_INTDIV): Likewise.
40003         (FPE_INTOVF): Likewise.
40004         (FPE_FLTDIV): Likewise.
40005         (FPE_FLTOVF): Likewise.
40006         (FPE_FLTUND): Likewise.
40007         (FPE_FLTRES): Likewise.
40008         (FPE_FLTINV): Likewise.
40009         (FPE_FLTSUB): Likewise.
40010         (SEGV_MAPERR): Likewise.
40011         (SEGV_ACCERR): Likewise.
40012         (BUS_ADRALN): Likewise.
40013         (BUS_ADRERR): Likewise.
40014         (BUS_OBJERR): Likewise.
40015         (BUS_MCEERR_AR): Likewise.
40016         (BUS_MCEERR_AO): Likewise.
40017         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40018         (TRAP_TRACE): Likewise.
40019         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40020         __USE_XOPEN2K8].
40021         (CLD_KILLED): Likewise.
40022         (CLD_DUMPED): Likewise.
40023         (CLD_TRAPPED): Likewise.
40024         (CLD_STOPPED): Likewise.
40025         (CLD_CONTINUED): Likewise.
40026         (POLL_IN): Likewise.
40027         (POLL_OUT): Likewise.
40028         (POLL_MSG): Likewise.
40029         (POLL_ERR): Likewise.
40030         (POLL_PRI): Likewise.
40031         (POLL_HUP): Likewise.
40032         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40033         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40035         [BZ #16670]
40036         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40037         before #include of <time.h>.
40038         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40039         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40040         (test-xfail-UNIX98/sched.h/conform): Likewise.
40042 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40044         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40045         error absence of trapping exception support.
40046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40048 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40050         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40051         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40052         * timezone/Makefile (testdata): Move definition above include of
40053         Rules.
40054         (test-zones): New variable.
40055         (tests-special): Add zone files.
40056         (build-testdata): Use $(evaluate-test).
40058         * elf/Makefile (tests-special): Rename tests to end with .out.
40059         ($(objpfx)noload-mem): Likewise.
40060         ($(objpfx)tst-leaks1-mem): Likewise.
40061         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40062         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40063         $(objpfx)test-iconvconfig.out.
40064         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40065         set -e inside subshell and redirect output to file.
40066         * iconvdata/Makefile (generated): Rename tests to end with .out.
40067         Correct type.
40068         (tests-special): Rename tests to end with .out.
40069         ($(objpfx)mtrace-tst-loading): Likewise.
40070         * intl/Makefile (generated): Likewise.
40071         (tests-special): Likewise.
40072         ($(objpfx)mtrace-tst-gettext): Likewise.
40073         * misc/Makefile (generated): Likewise.
40074         (tests-special): Likewise.
40075         ($(objpfx)tst-error1-mem): Likewise.
40076         * nptl/Makefile (tests-special): Likewise.
40077         ($(objpfx)tst-stack3-mem): Likewise.
40078         (generated): Likewise.
40079         * posix/Makefile (generated): Likewise.
40080         (tests-special): Likewise.
40081         (xtests-special): Likewise.
40082         ($(objpfx)tst-fnmatch-mem): Likewise.
40083         ($(objpfx)bug-regex2-mem): Likewise.
40084         ($(objpfx)bug-regex14-mem): Likewise.
40085         ($(objpfx)bug-regex21-mem): Likewise.
40086         ($(objpfx)bug-regex31-mem): Likewise.
40087         ($(objpfx)tst-vfork3-mem): Likewise.
40088         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40089         ($(objpfx)tst-pcre-mem): Likewise.
40090         ($(objpfx)tst-boost-mem): Likewise.
40091         ($(objpfx)bug-ga2-mem): Likewise.
40092         ($(objpfx)bug-glob2-mem): Likewise.
40093         * resolv/Makefile (generate): Likewise.
40094         (tests-special): Likewise.
40095         (xtests-special): Likewise.
40096         (generated): Likewise.
40097         ($(objpfx)mtrace-tst-leaks): Likewise.
40098         ($(objpfx)mtrace-tst-leaks2): Likewise.
40100         * scripts/merge-test-results.sh: New file.
40101         * Makefile (tests-special-notdir): New variable.
40102         (tests): Run merge-test-results.sh.
40103         (xtests): Likewise.
40104         * Rules (tests-special-notdir): New variable.
40105         (xtests-special-notdir): Likewise.
40106         (tests): Run merge-test-results.sh
40107         (xtests): Likewise.
40109         * Makeconfig (test-xfail-name): New variable.
40110         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40111         compute variable name for expected failures.
40112         * conform/Makefile (conformtest-headers-data): New variable.
40113         (conformtest-standards): Likewise.
40114         (conformtest-headers-ISO): Likewise.
40115         (conformtest-headers-ISO99): Likewise.
40116         (conformtest-headers-ISO11): Likewise.
40117         (conformtest-headers-POSIX): Likewise.
40118         (conformtest-headers-XPG3): Likewise.
40119         (conformtest-headers-XPG4): Likewise.
40120         (conformtest-headers-UNIX98): Likewise.
40121         (conformtest-headers-XOPEN2K): Likewise.
40122         (conformtest-headers-POSIX2008): Likewise.
40123         (conformtest-headers-XOPEN2K8): Likewise.
40124         (conformtest-header-list-base): Likewise.
40125         (conformtest-header-list-tests): Likewise.
40126         (conformtest-header-base): Likewise.
40127         (conformtest-header-tests): Likewise.
40128         (tests-special): Add $(conformtest-header-list-tests).  If
40129         [$(fast-check) && !$(cross-compiling)], add
40130         $(conformtest-header-tests) instead of
40131         $(objpfx)run-conformtest.out.
40132         (generated): Add $(conformtest-header-list-base).  If
40133         [$(fast-check) && !$(cross-compiling)], add
40134         $(conformtest-header-base).  Remove previous setting.
40135         ($(conformtest-header-list-tests)): New target.
40136         (test-xfail-run-conformtest): Remove variable.
40137         ($(objpfx)run-conformtest.out): Remove target.
40138         (test-xfail-ISO11/complex.h/conform): New variable.
40139         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40140         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40141         (test-xfail-XPG3/varargs.h/conform): Likewise.
40142         (test-xfail-XPG4/varargs.h/conform): Likewise.
40143         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40144         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40145         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40146         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40147         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40148         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40149         (test-xfail-XPG3/ftw.h/conform): Likewise.
40150         (test-xfail-XPG3/grp.h/conform): Likewise.
40151         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40152         (test-xfail-XPG3/limits.h/conform): Likewise.
40153         (test-xfail-XPG3/pwd.h/conform): Likewise.
40154         (test-xfail-XPG3/search.h/conform): Likewise.
40155         (test-xfail-XPG3/signal.h/conform): Likewise.
40156         (test-xfail-XPG3/stdio.h/conform): Likewise.
40157         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40158         (test-xfail-XPG3/string.h/conform): Likewise.
40159         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40160         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40161         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40162         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40163         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40164         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40165         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40166         (test-xfail-XPG3/termios.h/conform): Likewise.
40167         (test-xfail-XPG3/time.h/conform): Likewise.
40168         (test-xfail-XPG3/unistd.h/conform): Likewise.
40169         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40170         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40171         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40172         (test-xfail-XPG4/netdb.h/conform): Likewise.
40173         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40174         (test-xfail-XPG4/signal.h/conform): Likewise.
40175         (test-xfail-XPG4/stdio.h/conform): Likewise.
40176         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40177         (test-xfail-XPG4/stropts.h/conform): Likewise.
40178         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40179         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40180         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40181         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40182         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40183         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40184         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40185         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40186         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40187         (test-xfail-XPG4/termios.h/conform): Likewise.
40188         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40189         (test-xfail-XPG4/unistd.h/conform): Likewise.
40190         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40191         (test-xfail-POSIX/sched.h/conform): Likewise.
40192         (test-xfail-POSIX/signal.h/conform): Likewise.
40193         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40194         (test-xfail-POSIX/tar.h/conform): Likewise.
40195         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40196         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40197         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40198         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40199         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40200         (test-xfail-UNIX98/sched.h/conform): Likewise.
40201         (test-xfail-UNIX98/signal.h/conform): Likewise.
40202         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40203         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40204         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40205         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40206         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40207         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40208         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40209         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40210         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40211         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40212         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40213         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40214         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40215         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40216         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40217         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40218         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40219         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40220         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40221         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40222         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40223         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40224         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40225         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40226         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40227         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40228         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40229         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40230         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40231         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40232         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40233         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40234         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40235         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40236         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40237         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40238         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40239         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40240         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40241         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40242         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40243         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40244         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40245         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40246         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40247         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40248         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40249         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40250         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40251         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40252         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40253         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40254         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40255         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40256         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40257         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40258         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40259         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40260         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40261         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40262         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40263         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40264         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40265         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40266         (conformtest-cc-flags): Likewise.
40267         ($(conformtest-header-tests): New target.
40268         * conform/check-header-lists.sh: New file.
40269         * conform/run-conformtest.sh: Remove.
40271         * conform/conformtest.pl: Allow ' and \ in values given for
40272         constants.
40273         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40274         inclusion.
40275         [POSIX] (sys/types.h): Likewise.
40276         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40277         inclusion.
40278         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40279         inclusion.
40280         * conform/data/signal.h-data (SIGIO): Remove expectation.
40281         [XPG3] (SIGBUS): Do not expect.
40282         [POSIX || XPG3] (SIGPOLL): Likewise.
40283         [POSIX || XPG3] (SIGPROF): Likewise.
40284         [POSIX || XPG3] (SIGSYS): Likewise.
40285         [XPG3] (SIGTRAP): Likewise.
40286         [POSIX || XPG3] (SIGURG): Likewise.
40287         [POSIX || XPG3] (SIGVTALRM): Likewise.
40288         [POSIX || XPG3] (SIGXCPU): Likewise.
40289         [POSIX || XPG3] (SIGXFSZ): Likewise.
40290         [POSIX] (SA_SIGINFO): Expect.
40291         [XPG3] (siginfo_t): Do not expect type or contents.
40292         [POSIX] (si_pid): Do not expect element.
40293         [POSIX] (si_uid): Likewise.
40294         [POSIX] (si_addr): Likewise.
40295         [POSIX] (si_status): Likewise.
40296         [POSIX] (si_band): Likewise.
40297         [XPG4] (si_value): Likewise.
40298         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40299         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40300         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40301         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40302         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40303         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40304         [POSIX || XPG3] (ILL_COPROC): Likewise.
40305         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40306         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40307         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40308         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40309         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40310         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40311         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40312         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40313         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40314         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40315         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40316         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40317         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40318         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40319         [POSIX || XPG3] (CLD_EXITED): Likewise.
40320         [POSIX || XPG3] (CLD_KILLED): Likewise.
40321         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40322         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40323         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40324         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40325         [POSIX || XPG3] (POLL_IN): Likewise.
40326         [POSIX || XPG3] (POLL_OUT): Likewise.
40327         [POSIX || XPG3] (POLL_MSG): Likewise.
40328         [POSIX || XPG3] (POLL_ERR): Likewise.
40329         [POSIX || XPG3] (POLL_PRI): Likewise.
40330         [POSIX || XPG3] (POLL_HUP): Likewise.
40331         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40332         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40333         (SIG*): Do not allow.
40334         [XPG3] (si_*): Likewise.
40335         [XPG3] (SI_*): Likewise.
40336         [XPG3 || XPG4] (sigev_*): Likewise.
40337         [XPG3 || XPG4] (SIGEV_*): Likewise.
40338         [XPG3 || XPG4] (sival_*): Likewise.
40339         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40340         [POSIX || XPG3] (BUS_*): Likewise.
40341         [POSIX || XPG3] (CLD_*): Likewise.
40342         [POSIX || XPG3] (FPE_*): Likewise.
40343         [POSIX || XPG3] (ILL_*): Likewise.
40344         [POSIX || XPG3] (POLL_*): Likewise.
40345         [POSIX || XPG3] (SEGV_*): Likewise.
40346         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40347         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40348         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40349         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40350         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40351         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40352         Specify type and value.
40353         (TVERSLEN): Likewise.
40354         (REGTYPE): Likewise.
40355         (AREGTYPE): Likewise.
40356         (LNKTYPE): Likewise.
40357         (SYMTYPE): Likewise.
40358         (CHRTYPE): Likewise.
40359         (BLKTYPE): Likewise.
40360         (DIRTYPE): Likewise.
40361         (FIFOTYPE): Likewise.
40362         (CONTTYPE): Likewise.
40363         (TSUID): Likewise.
40364         (TSGID): Likewise.
40365         (TSVTX): Likewise.
40366         (TUREAD): Likewise.
40367         (TUWRITE): Likewise.
40368         (TUEXEC): Likewise.
40369         (TGREAD): Likewise.
40370         (TGWRITE): Likewise.
40371         (TGEXEC): Likewise.
40372         (TOREAD): Likewise.
40373         (TOWRITE): Likewise.
40374         (TOEXEC): Likewise.
40375         [POSIX] (TSVTX): Expect constant.
40377 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40379         * Makefile (tests): Change dependencies to ....
40380         (tests-special): ... additions to this variable.
40381         (tests): Depend on $(tests-special).
40382         * Makerules (check-abi-list): New variable.
40383         (check-abi): Depend on $(check-abi-list).
40384         [$(subdir) = elf] (tests-special): Add
40385         $(objpfx)check-abi-libc.out.
40386         [$(build-shared) = yes && subdir] (tests-special): Add
40387         $(check-abi-list).
40388         [$(build-shared) = yes && subdir] (tests): Do not depend on
40389         check-abi.
40390         * Rules (tests): Depend on $(tests-special).
40391         (xtests): Depend on $(xtests-special).
40392         * catgets/Makefile (tests): Change dependencies to ....
40393         (tests-special): ... additions to this variable.
40394         * conform/Makefile (tests): Change dependencies to ....
40395         (tests-special): ... additions to this variable.
40396         * elf/Makefile (tests): Change dependencies to ....
40397         (tests-special): ... additions to this variable.
40398         * grp/Makefile (tests): Change dependencies to ....
40399         (tests-special): ... additions to this variable.
40400         * iconv/Makefile (xtests): Change dependencies to ....
40401         (xtests-special): ... additions to this variable.
40402         * iconvdata/Makefile (tests): Change dependencies to ....
40403         (tests-special): ... additions to this variable.
40404         * intl/Makefile (tests): Change dependencies to ....
40405         (tests-special): ... additions to this variable.  Also add
40406         $(objpfx)tst-gettext.out.
40407         * io/Makefile (tests): Change dependencies to ....
40408         (tests-special): ... additions to this variable.
40409         * libio/Makefile (tests): Change dependencies to ....
40410         (tests-special): ... additions to this variable.
40411         * malloc/Makefile (tests): Change dependencies to ....
40412         (tests-special): ... additions to this variable.
40413         * misc/Makefile (tests): Change dependencies to ....
40414         (tests-special): ... additions to this variable.
40415         * nptl/Makefile (tests): Change dependencies to ....
40416         (tests-special): ... additions to this variable.
40417         * nptl_db/Makefile (tests): Change dependencies to ....
40418         (tests-special): ... additions to this variable.
40419         * posix/Makefile (tests): Change dependencies to ....
40420         (tests-special): ... additions to this variable.
40421         (xtests): Change dependencies to ....
40422         (xtests-special): ... additions to this variable.
40423         * resolv/Makefile (tests): Change dependencies to ....
40424         (tests-special): ... additions to this variable.
40425         (xtests): Change dependencies to ....
40426         (xtests-special): ... additions to this variable.
40427         * stdio-common/Makefile (tests): Change dependencies to ....
40428         (tests-special): ... additions to this variable.
40429         (do-tst-unbputc): Remove target.
40430         (do-tst-printf): Likewise.
40431         * stdlib/Makefile (tests): Change dependencies to ....
40432         (tests-special): ... additions to this variable.
40433         * string/Makefile (tests): Change dependencies to ....
40434         (tests-special): ... additions to this variable.
40435         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40436         (tests-special): ... additions to this variable.
40438         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40439         whole file.
40440         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40441         whole file.
40442         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40443         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40445         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40446         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40447         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40448         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40449         * conform/data/libgen.h-data [XPG3]: Likewise.
40450         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40451         * conform/data/ndbm.h-data [XPG3]: Likewise.
40452         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40453         * conform/data/netdb.h-data [XPG3]: Likewise.
40454         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40455         * conform/data/poll.h-data [XPG3]: Likewise.
40456         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40457         * conform/data/strings.h-data [XPG3]: Likewise.
40458         * conform/data/stropts.h-data [XPG3]: Likewise.
40459         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40460         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40461         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40462         Likewise.
40463         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40464         * conform/data/sys/time.h-data [XPG3]: Likewise.
40465         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40466         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40467         * conform/data/sys/un.h-data [XPG3]: Likewise.
40468         * conform/data/syslog.h-data [XPG3]: Likewise.
40469         * conform/data/ucontext.h-data [XPG3]: Likewise.
40470         * conform/data/utmpx.h-data [XPG3]: Likewise.
40471         * conform/data/varargs.h-data [UNIX98]: Enable file.
40473         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40475         * math/libm-test.inc (struct test_f_f_data): Move expected results
40476         into structure for each rounding mode.
40477         (struct test_ff_f_data): Likewise.
40478         (struct test_ff_f_data_nexttoward): Likewise.
40479         (struct test_fi_f_data): Likewise.
40480         (struct test_fl_f_data): Likewise.
40481         (struct test_if_f_data): Likewise.
40482         (struct test_fff_f_data): Likewise.
40483         (struct test_c_f_data): Likewise.
40484         (struct test_f_f1_data): Likewise.
40485         (struct test_fF_f1_data): Likewise.
40486         (struct test_ffI_f1_data): Likewise.
40487         (struct test_c_c_data): Likewise.
40488         (struct test_cc_c_data): Likewise.
40489         (struct test_f_i_data): Likewise.
40490         (struct test_ff_i_data): Likewise.
40491         (struct test_f_l_data): Likewise.
40492         (struct test_f_L_data): Likewise.
40493         (struct test_fFF_11_data): Likewise.
40494         (RM_): New macro.
40495         (RM_FE_DOWNWARD): Likewise.
40496         (RM_FE_TONEAREST): Likewise.
40497         (RM_FE_TOWARDZERO): Likewise.
40498         (RM_FE_UPWARD): Likewise.
40499         (RUN_TEST_LOOP_f_f): Update references to expected results.
40500         (RUN_TEST_LOOP_2_f): Likewise.
40501         (RUN_TEST_LOOP_fff_f): Likewise.
40502         (RUN_TEST_LOOP_c_f): Likewise.
40503         (RUN_TEST_LOOP_f_f1): Likewise.
40504         (RUN_TEST_LOOP_fF_f1): Likewise.
40505         (RUN_TEST_LOOP_fI_f1): Likewise.
40506         (RUN_TEST_LOOP_ffI_f1): Likewise.
40507         (RUN_TEST_LOOP_c_c): Likewise.
40508         (RUN_TEST_LOOP_cc_c): Likewise.
40509         (RUN_TEST_LOOP_f_i): Likewise.
40510         (RUN_TEST_LOOP_f_i_tg): Likewise.
40511         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40512         (RUN_TEST_LOOP_f_b): Likewise.
40513         (RUN_TEST_LOOP_f_b_tg): Likewise.
40514         (RUN_TEST_LOOP_f_l): Likewise.
40515         (RUN_TEST_LOOP_f_L): Likewise.
40516         (RUN_TEST_LOOP_fFF_11): Likewise.
40517         * math/gen-libm-test.pl (parse_args): Output four copies of
40518         expected results for each test.
40520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40521         (__ASSUME_UTIMES): Remove.
40522         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40523         (__ASSUME_UTIMES): Likewise.
40525         * math/gen-auto-libm-tests.c: Update comment on output format.
40526         (output_for_one_input_case): Generate before-rounding and
40527         after-rounding information as conditions on output flags not
40528         floating-point format.
40529         * math/auto-libm-test-out: Regenerated.
40530         * math/gen-libm-test.pl (cond_value): New function.
40531         (or_cond_value): Use cond_value.
40532         (generate_testfile): Handle conditional exceptions.
40534 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40536         * math/libm-test.inc (max_valid_error): New variable.
40537         (init_max_error): Take new argument specifying whether function
40538         results are exactly determined.  Set max_valid_error and bound
40539         other variables for errors based on this argument.
40540         (set_max_error): Do not record results above max_valid_error.
40541         (check_float_internal): Only accept errors of up to 0.5ulps if
40542         also at most max_valid_error.
40543         (START): Take new argument EXACT and pass it to init_max_error.
40544         (acos_test): Update call to START.
40545         (acos_test_tonearest): Likewise.
40546         (acos_test_towardzero): Likewise.
40547         (acos_test_downward): Likewise.
40548         (acos_test_upward): Likewise.
40549         (acosh_test): Likewise.
40550         (asin_test): Likewise.
40551         (asin_test_tonearest): Likewise.
40552         (asin_test_towardzero): Likewise.
40553         (asin_test_downward): Likewise.
40554         (asin_test_upward): Likewise.
40555         (asinh_test): Likewise.
40556         (atan_test): Likewise.
40557         (atanh_test): Likewise.
40558         (atan2_test): Likewise.
40559         (cabs_test): Likewise.
40560         (cacos_test): Likewise.
40561         (cacosh_test): Likewise.
40562         (carg_test): Likewise.
40563         (casin_test): Likewise.
40564         (casinh_test): Likewise.
40565         (catan_test): Likewise.
40566         (catanh_test): Likewise.
40567         (cbrt_test): Likewise.
40568         (ccos_test): Likewise.
40569         (ccosh_test): Likewise.
40570         (ceil_test): Likewise.
40571         (cexp_test): Likewise.
40572         (cimag_test): Likewise.
40573         (clog_test): Likewise.
40574         (clog10_test): Likewise.
40575         (conj_test): Likewise.
40576         (copysign_test): Likewise.
40577         (cos_test): Likewise.
40578         (cos_test_tonearest): Likewise.
40579         (cos_test_towardzero): Likewise.
40580         (cos_test_downward): Likewise.
40581         (cos_test_upward): Likewise.
40582         (cosh_test): Likewise.
40583         (cosh_test_tonearest): Likewise.
40584         (cosh_test_towardzero): Likewise.
40585         (cosh_test_downward): Likewise.
40586         (cosh_test_upward): Likewise.
40587         (cpow_test): Likewise.
40588         (cproj_test): Likewise.
40589         (creal_test): Likewise.
40590         (csin_test): Likewise.
40591         (csinh_test): Likewise.
40592         (csqrt_test): Likewise.
40593         (ctan_test): Likewise.
40594         (ctan_test_tonearest): Likewise.
40595         (ctan_test_towardzero): Likewise.
40596         (ctan_test_downward): Likewise.
40597         (ctan_test_upward): Likewise.
40598         (ctanh_test): Likewise.
40599         (ctanh_test_tonearest): Likewise.
40600         (ctanh_test_towardzero): Likewise.
40601         (ctanh_test_downward): Likewise.
40602         (ctanh_test_upward): Likewise.
40603         (erf_test): Likewise.
40604         (erfc_test): Likewise.
40605         (exp_test): Likewise.
40606         (exp_test_tonearest): Likewise.
40607         (exp_test_towardzero): Likewise.
40608         (exp_test_downward): Likewise.
40609         (exp_test_upward): Likewise.
40610         (exp10_test): Likewise.
40611         (exp10_test_tonearest): Likewise.
40612         (exp10_test_towardzero): Likewise.
40613         (exp10_test_downward): Likewise.
40614         (exp10_test_upward): Likewise.
40615         (pow10_test): Likewise.
40616         (exp2_test): Likewise.
40617         (expm1_test): Likewise.
40618         (expm1_test_tonearest): Likewise.
40619         (expm1_test_towardzero): Likewise.
40620         (expm1_test_downward): Likewise.
40621         (expm1_test_upward): Likewise.
40622         (fabs_test): Likewise.
40623         (fdim_test): Likewise.
40624         (floor_test): Likewise.
40625         (fma_test): Likewise.
40626         (fma_test_towardzero): Likewise.
40627         (fma_test_downward): Likewise.
40628         (fma_test_upward): Likewise.
40629         (fmax_test): Likewise.
40630         (fmin_test): Likewise.
40631         (fmod_test): Likewise.
40632         (fpclassify_test): Likewise.
40633         (frexp_test): Likewise.
40634         (hypot_test): Likewise.
40635         (ilogb_test): Likewise.
40636         (isfinite_test): Likewise.
40637         (finite_test): Likewise.
40638         (isgreater_test): Likewise.
40639         (isgreaterequal_test): Likewise.
40640         (isinf_test): Likewise.
40641         (isless_test): Likewise.
40642         (islessequal_test): Likewise.
40643         (islessgreater_test): Likewise.
40644         (isnan_test): Likewise.
40645         (isnormal_test): Likewise.
40646         (issignaling_test): Likewise.
40647         (isunordered_test): Likewise.
40648         (j0_test): Likewise.
40649         (j1_test): Likewise.
40650         (jn_test): Likewise.
40651         (ldexp_test): Likewise.
40652         (lgamma_test): Likewise.
40653         (gamma_test): Likewise.
40654         (lrint_test): Likewise.
40655         (lrint_test_tonearest): Likewise.
40656         (lrint_test_towardzero): Likewise.
40657         (lrint_test_downward): Likewise.
40658         (lrint_test_upward): Likewise.
40659         (llrint_test): Likewise.
40660         (llrint_test_tonearest): Likewise.
40661         (llrint_test_towardzero): Likewise.
40662         (llrint_test_downward): Likewise.
40663         (llrint_test_upward): Likewise.
40664         (log_test): Likewise.
40665         (log10_test): Likewise.
40666         (log1p_test): Likewise.
40667         (log2_test): Likewise.
40668         (logb_test): Likewise.
40669         (logb_test_downward): Likewise.
40670         (lround_test): Likewise.
40671         (llround_test): Likewise.
40672         (modf_test): Likewise.
40673         (nearbyint_test): Likewise.
40674         (nextafter_test): Likewise.
40675         (nexttoward_test): Likewise.
40676         (pow_test): Likewise.
40677         (pow_test_tonearest): Likewise.
40678         (pow_test_towardzero): Likewise.
40679         (pow_test_downward): Likewise.
40680         (pow_test_upward): Likewise.
40681         (remainder_test): Likewise.
40682         (drem_test): Likewise.
40683         (remainder_test_tonearest): Likewise.
40684         (drem_test_tonearest): Likewise.
40685         (remainder_test_towardzero): Likewise.
40686         (drem_test_towardzero): Likewise.
40687         (remainder_test_downward): Likewise.
40688         (drem_test_downward): Likewise.
40689         (remainder_test_upward): Likewise.
40690         (drem_test_upward): Likewise.
40691         (remquo_test): Likewise.
40692         (rint_test): Likewise.
40693         (rint_test_tonearest): Likewise.
40694         (rint_test_towardzero): Likewise.
40695         (rint_test_downward): Likewise.
40696         (rint_test_upward): Likewise.
40697         (round_test): Likewise.
40698         (scalb_test): Likewise.
40699         (scalbn_test): Likewise.
40700         (scalbln_test): Likewise.
40701         (signbit_test): Likewise.
40702         (sin_test): Likewise.
40703         (sin_test_tonearest): Likewise.
40704         (sin_test_towardzero): Likewise.
40705         (sin_test_downward): Likewise.
40706         (sin_test_upward): Likewise.
40707         (sincos_test): Likewise.
40708         (sinh_test): Likewise.
40709         (sinh_test_tonearest): Likewise.
40710         (sinh_test_towardzero): Likewise.
40711         (sinh_test_downward): Likewise.
40712         (sinh_test_upward): Likewise.
40713         (sqrt_test): Likewise.
40714         (sqrt_test_tonearest): Likewise.
40715         (sqrt_test_towardzero): Likewise.
40716         (sqrt_test_downward): Likewise.
40717         (sqrt_test_upward): Likewise.
40718         (tan_test): Likewise.
40719         (tan_test_tonearest): Likewise.
40720         (tan_test_towardzero): Likewise.
40721         (tan_test_downward): Likewise.
40722         (tan_test_upward): Likewise.
40723         (tanh_test): Likewise.
40724         (tgamma_test): Likewise.
40725         (trunc_test): Likewise.
40726         (y0_test): Likewise.
40727         (y1_test): Likewise.
40728         (yn_test): Likewise.
40729         (significand_test): Likewise.
40731         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40732         individual tests in comment.
40733         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40734         (prev_max_error): New variable.
40735         (prev_real_max_error): Likewise.
40736         (prev_imag_max_error): Likewise.
40737         (compare_ulp_data): Don't refer to test names in comment.
40738         (find_test_ulps): Remove function.
40739         (find_function_ulps): Likewise.
40740         (find_complex_function_ulps): Likewise.
40741         (init_max_error): Take function name as argument.  Look up ulps
40742         for that function.
40743         (print_ulps): Remove function.
40744         (print_max_error): Use prev_max_error instead of calling
40745         find_function_ulps.
40746         (print_complex_max_error): Use prev_real_max_error and
40747         prev_imag_max_error instead of calling find_complex_function_ulps.
40748         (check_float_internal): Take max_ulp parameter instead of calling
40749         find_test_ulps.  Don't call print_ulps.
40750         (check_float): Update call to check_float_internal.
40751         (check_complex): Update calls to check_float_internal.
40752         (START): Pass argument to init_max_error.
40753         * math/gen-libm-test.pl (%results): Don't include "kind"
40754         information.
40755         (parse_ulps): Don't handle ulps of individual tests.
40756         (print_ulps_file): Likewise.
40757         (output_ulps): Likewise.
40758         * math/README.libm-test: Update.
40759         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40760         individual tests.
40761         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40762         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40763         * sysdeps/arm/libm-test-ulps: Likewise.
40764         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40765         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40766         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40767         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40768         * sysdeps/microblaze/libm-test-ulps: Likewise.
40769         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40770         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40771         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40772         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40773         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40774         * sysdeps/sh/libm-test-ulps: Likewise.
40775         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40776         * sysdeps/tile/libm-test-ulps: Likewise.
40777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40779 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40781         * math/libm-test.inc (print_complex_max_error): Check separately
40782         whether real and imaginary errors are within allowed range and
40783         pass 0 to print_complex_function_ulps instead of value within
40784         allowed range.
40786 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40788         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40789         formatting.
40790         (get_handles_fopen): Likewise.
40791         (do_write_test): Likewise.
40793         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40795         * libio/fileops.c (do_ftell): Use cached offset when
40796         available.
40797         * libio/iofwide.c (do_ftell_wide): Likewise.
40798         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40799         _IO_file_attach.
40800         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40802         [BZ #16532]
40803         * libio/libioP.h (get_file_offset): New function.
40804         * libio/fileops.c (get_file_offset): Likewise.
40805         (do_ftell): Likewise.
40806         (_IO_new_file_seekoff): Split out ftell logic.
40807         * libio/wfileops.c (do_ftell_wide): Likewise.
40808         (_IO_wfile_seekoff): Split out ftell logic.
40809         * libio/tst-ftell-active-handler.c: New test case.
40810         * libio/Makefile (tests): Add it.
40812 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40814         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40815         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40817 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40819         [BZ #16639]
40820         * nscd/connections.c (nscd_init): Call do_exit.
40821         (start_threads): Call do_exit and notify_parent.
40822         (begin_drop_privileges): Call do_exit.
40823         (finish_drop_privileges): Likewise.
40824         * nscd/selinux.c (preserve_capabilities): Likewise.
40825         (install_real_capabilities): Likewise.
40826         (nscd_selinux_enabled): Likewise.
40827         (avc_create_thread): Likewise.
40828         (avc_alloc_lock): Likewise.
40829         (nscd_avc_init): Likewise.
40830         * nscd/nscd.c (parent_fd): New static variable.
40831         (main): Create a pipe between parent and child processes.
40832         Skip closing parent_fd.
40833         (monitor_child): New function.
40834         (do_exit): Likewise.
40835         (notify_parent): Likewise.
40836         * nscd/nscd.h (notify_parent): Likewise.
40837         (do_exit): Likewise.
40839 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40841         * malloc/malloc.c (__libc_calloc): Revert last change.
40843 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40847 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40849         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40851         implementation.
40852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40853         (__libc_ifunc_impl_list): Likewise.
40854         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40855         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40856         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40857         * string/strrchr.c: Define STRRCHR.
40859 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40861         * benchtest/bench-strtok.c (simple_strtok): Delete.
40862         (strtok_string): Use as benchmark.
40863         * string/strtok (STRTOK): New macro.
40865 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40867         * manual/threads.texi: Add header and standard comments to all
40868         functions.
40870         * elf/dl-lookup.c (check_match): New function.
40871         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40872         (do_lookup_x): Remove nested function check_match. Use non-nested
40873         function check_match.
40875 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40877         * csu/Makefile (generated, before-compile): Use += rather than =.
40878         * catgets/Makefile (generated, generated-dirs): Likewise.
40879         * debug/Makefile (generated): Likewise.
40880         * dlfcn/Makefile (generated): Likewise.
40881         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40882         * iconvdata/Makefile (before-compile, generated): Likewise.
40883         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40884         * libio/Makefile (generated): Likewise.
40885         * malloc/Makefile (generated): Likewise.
40886         * manual/Makefile (generated, generated-dirs): Likewise.
40887         * misc/Makefile (generated): Likewise.
40888         * posix/Makefile (generated): Likewise.
40889         * resolv/Makefile (generated): Likewise.
40890         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40891         * timezone/Makefile (generated, generated-dirs): Likewise.
40893         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40895 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40898         power8 implementation.
40899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40900         file: POWER8 llround ifunc implementation.
40901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40902         (__lllround): Add POWER8 implementation.
40903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40904         POWER8 llround implementation.
40906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40907         power8 implementation.
40908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40909         file: POWER8 llrint ifunc implementation.
40910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40911         Add POWER8 implementation.
40912         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40913         POWER8 llrint implementation.
40915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40916         power8 implementation.
40917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40918         file: POWER8 finite ifunc implementation.
40919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40920         Add POWER8 implementation.
40921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40922         Likewise.
40923         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40924         POWER8 finite implementation.
40925         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40928         power8 implementation.
40929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40930         file: POWER8 isinf ifunc implementation.
40931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40932         POWER8 implementation.
40933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40934         Likewise.
40935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40936         isinf implementation.
40937         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40939         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40940         (INIT_ARCH): Add hwcap2 initialization.
40941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40942         power8 implementation.
40943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40944         file: POWER8 isnan ifunc implementation.
40945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40946         POWER8 implementation.
40947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40948         Likewise.
40949         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40950         isnan implementation.
40951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40953 2014-02-27  Joey Ye  <joey.ye@arm.com>
40955         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40956         (_FP_NANFRAC_Q): Set to zero.
40958 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40960         [BZ #16623]
40961         * math/auto-libm-test-in: New test inputs.
40962         * math/auto-libm-test-out: Regenerate.
40963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40964         and DA.
40965         (__cos): Likewise.
40966         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40968 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40970         * scripts/evaluate-test.sh: Take new argument indicating whether
40971         failure is expected.
40972         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40973         indicating whether failure is expected.
40974         * conform/Makefile (test-xfail-run-conformtest): New variable.
40975         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40976         level.
40977         * posix/Makefile (test-xfail-annexc): New variable.
40978         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40980 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40982         * argp/Makefile: Include Makeconfig immediately after defining
40983         subdir.
40984         * assert/Makefile: Likewise.
40985         * benchtests/Makefile: Likewise.
40986         * catgets/Makefile: Likewise.
40987         * conform/Makefile: Likewise.
40988         * crypt/Makefile: Likewise.
40989         * csu/Makefile: Likewise.
40990         (all): Remove target.
40991         * ctype/Makefile: Include Makeconfig immediately after defining
40992         subdir.
40993         * debug/Makefile: Likewise.
40994         * dirent/Makefile: Likewise.
40995         * dlfcn/Makefile: Likewise.
40996         * gmon/Makefile: Likewise.
40997         * gnulib/Makefile: Likewise.
40998         * grp/Makefile: Likewise.
40999         * gshadow/Makefile: Likewise.
41000         * hesiod/Makefile: Likewise.
41001         * hurd/Makefile: Likewise.
41002         (all): Remove target.
41003         * iconvdata/Makefile: Include Makeconfig immediately after
41004         defining subdir.
41005         * inet/Makefile: Likewise.
41006         * intl/Makefile: Likewise.
41007         * io/Makefile: Likewise.
41008         * libio/Makefile: Likewise.
41009         (all): Remove target.
41010         * locale/Makefile: Include Makeconfig immediately after defining
41011         subdir.
41012         * login/Makefile: Likewise.
41013         * mach/Makefile: Likewise.
41014         (all): Remove target.
41015         * malloc/Makefile: Include Makeconfig immediately after defining
41016         subdir.
41017         (all): Remove target.
41018         * manual/Makefile: Include Makeconfig immediately after defining
41019         subdir.
41020         * math/Makefile: Likewise.
41021         * misc/Makefile: Likewise.
41022         * nis/Makefile: Likewise.
41023         * nss/Makefile: Likewise.
41024         * po/Makefile: Likewise.
41025         (all): Remove target.
41026         * posix/Makefile: Include Makeconfig immediately after defining
41027         subdir.
41028         * pwd/Makefile: Likewise.
41029         * resolv/Makefile: Likewise.
41030         * resource/Makefile: Likewise.
41031         * rt/Makefile: Likewise.
41032         * setjmp/Makefile: Likewise.
41033         * shadow/Makefile: Likewise.
41034         * signal/Makefile: Likewise.
41035         * socket/Makefile: Likewise.
41036         * soft-fp/Makefile: Likewise.
41037         * stdio-common/Makefile: Likewise.
41038         * stdlib/Makefile: Likewise.
41039         * streams/Makefile: Likewise.
41040         * string/Makefile: Likewise.
41041         * sunrpc/Makefile: Likewise.
41042         (all): Remove target.
41043         * sysvipc/Makefile: Include Makeconfig immediately after defining
41044         subdir.
41045         * termios/Makefile: Likewise.
41046         * time/Makefile: Likewise.
41047         * timezone/Makefile: Likewise.
41048         (all): Remove target.
41049         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41050         subdir.
41051         * wctype/Makefile: Likewise.
41053 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41055         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41056         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41057         (libc_feholdexcept_setround_mips): Ditto.
41058         (libc_feholdsetround): New.
41059         (libc_feholdsetroundf): New.
41060         (libc_feholdsetroundl): New.
41061         (libc_feupdateenv_test_mips): New.
41062         (libc_feupdateenv_test): New.
41063         (libc_feupdateenv_testf): New.
41064         (libc_feupdateenv_testl): New.
41065         (libc_feresetround): New.
41066         (libc_feresetroundf): New.
41067         (libc_feresetroundl): New.
41068         (libc_fetestexcept_mips): New.
41069         (libc_fetestexcept): New.
41070         (libc_fetestexceptf): New.
41071         (libc_fetestexceptl): New.
41072         (HAVE_RM_CTX): New.
41073         (libc_feholdexcept_setround_mips_ctx): New.
41074         (libc_feholdexcept_setround_ctx): New.
41075         (libc_feholdexcept_setroundf_ctx): New.
41076         (libc_feholdexcept_setroundl_ctx): New.
41077         (libc_fesetenv_mips_ctx): New.
41078         (libc_fesetenv_ctx): New.
41079         (libc_fesetenv_ctxf): New.
41080         (libc_fesetenv_ctxl): New.
41081         (libc_feupdateenv_mips_ctx): New.
41082         (libc_feupdateenv_ctx): New.
41083         (libc_feupdateenvf_ctx): New.
41084         (libc_feupdateenvl_ctx): New.
41085         (libc_feholdsetround_mips_ctx): New.
41086         (libc_feholdsetround_ctx): New.
41087         (libc_feholdsetroundf_ctx): New.
41088         (libc_feholdsetroundl_ctx): New.
41089         (libc_feresetround_mips_ctx): New.
41090         (libc_feresetround_ctx): New.
41091         (libc_feresetroundf_ctx): New.
41092         (libc_feresetroundl_ctx): New.
41094 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41096         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41098         * manual/ipc.texi: New file.
41099         * manual/Makefile (chapters): Add ipc.
41100         * manual/job.texi: Add "Inter-Process Communication" to next.
41101         * manual/process.texi: Add "Inter-Process Communication" to prev.
41103 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41107 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41109         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41111         * manual/arith.texi: Fix spaces after sentences.
41112         * manual/charset.texi: Likewise.
41113         * manual/errno.texi: Likewise.
41114         * manual/install.texi: Likewise.
41115         * manual/llio.texi: Likewise.
41116         * manual/locale.texi: Likewise.
41117         * manual/maint.texi: Likewise.
41118         * manual/math.texi: Likewise.
41119         * manual/memory.texi: Likewise.
41120         * manual/message.texi: Likewise.
41121         * manual/probes.texi: Likewise.
41122         * manual/resource.texi: Likewise.
41123         * manual/signal.texi: Likewise.
41124         * manual/socket.texi: Likewise.
41125         * manual/stdio.texi: Likewise.
41126         * manual/string.texi: Likewise.
41127         * manual/time.texi: Likewise.
41128         * manual/users.texi: Likewise.
41130 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41132         [BZ #16632]
41133         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41134         _DEFAULT_SOURCE is defined.
41136 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41137             Carlos O'Donell  <carlos@redhat.com>
41139         [BZ #16613]
41140         * elf/dl-tls.c (_dl_count_modids): New function.
41141         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41142         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41143         audit library and increment generation counter.
41144         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41145         * elf/tst-audit9.c: New file.
41146         * elf/tst-auditmod9a.c: New file.
41147         * elf/tst-auditmod9b.c: New file.
41148         * elf/Makefile: Add rules to build and run tst-audit9.
41150 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41152         [BZ #15347]
41153         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41155 2014-02-25  Will Newton  <will.newton@linaro.org>
41157         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41158         (__longjmp): Restore sp and lr before restoring callee
41159         saved registers.  Add longjmp and longjmp_target
41160         SystemTap probe point.
41161         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41162         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41163         Define to zero to match jmpbuf layout.
41164         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41165         (__sigsetjmp): Save sp and lr before saving callee
41166         saved registers.  Add setjmp SystemTap probe point.
41168 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41172 2014-02-24  Andreas Schwab  <schwab@suse.de>
41174         [BZ #15804]
41175         * elf/pldd.c (wait_for_ptrace_stop): New function.
41176         (main): Call it after attaching.
41178 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41180         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41181         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41182         Versions files is now verboten.
41183         * hurd/Versions (libc: GLIBC_2.0):
41184         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41185         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41186         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41187         * mach/Versions: Likewise.
41189         * csu/Versions: Remove unused %include.
41190         * resolv/Versions: Likewise.
41192 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41194         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41195         ($(objpfx)check-local-headers.out): Likewise.
41196         ($(objpfx)begin-end-check.out): Likewise.
41197         * Makerules (check-abi-%.out): Likewise.
41198         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41199         ($(objpfx)test2.cat): Likewise.
41200         ($(objpfx)de/libc.cat): Likewise.
41201         ($(objpfx)test-gencat.out): Likewise.
41202         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41203         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41204         ($(objpfx)noload-mem): Likewise.
41205         ($(objpfx)tst-pathopt.out): Likewise.
41206         ($(objpfx)tst-rtld-load-self.out): Likewise.
41207         ($(objpfx)tst-array1-cmp.out): Likewise.
41208         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41209         ($(objpfx)tst-array2-cmp.out): Likewise.
41210         ($(objpfx)tst-array3-cmp.out): Likewise.
41211         ($(objpfx)tst-array4-cmp.out): Likewise.
41212         ($(objpfx)tst-array5-cmp.out): Likewise.
41213         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41214         ($(objpfx)check-textrel.out): Likewise.
41215         ($(objpfx)check-execstack.out): Likewise.
41216         ($(objpfx)check-localplt.out): Likewise.
41217         ($(objpfx)order2-cmp.out): Likewise.
41218         ($(objpfx)tst-leaks1-mem): Likewise.
41219         ($(objpfx)tst-leaks1-static-mem): Likewise.
41220         ($(objpfx)tst-initorder-cmp.out): Likewise.
41221         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41222         ($(objpfx)tst-unused-dep.out): Likewise.
41223         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41224         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41225         * iconv/Makefile (test-iconvconfig): Likewise.
41226         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41227         ($(objpfx)iconv-test.out): Likewise.
41228         ($(objpfx)tst-tables.out): Likewise.
41229         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41230         ($(objpfx)tst-gettext.out): Likewise.
41231         ($(objpfx)tst-translit.out): Likewise.
41232         ($(objpfx)tst-gettext2.out): Likewise.
41233         ($(objpfx)tst-gettext4.out): Likewise.
41234         ($(objpfx)tst-gettext6.out): Likewise.
41235         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41236         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41237         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41238         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41239         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41240         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41241         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41242         ($(objpfx)wordexp-tst.out): Likewise.
41243         ($(objpfx)annexc.out): Likewise.
41244         ($(objpfx)tst-fnmatch-mem): Likewise.
41245         ($(objpfx)bug-regex2-mem): Likewise.
41246         ($(objpfx)bug-regex14-mem): Likewise.
41247         ($(objpfx)bug-regex21-mem): Likewise.
41248         ($(objpfx)bug-regex31-mem): Likewise.
41249         ($(objpfx)tst-vfork3-mem): Likewise.
41250         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41251         ($(objpfx)tst-pcre-mem): Likewise.
41252         ($(objpfx)tst-boost-mem): Likewise.
41253         ($(objpfx)tst-getconf.out): Likewise.
41254         ($(objpfx)bug-ga2-mem): Likewise.
41255         ($(objpfx)bug-glob2-mem): Likewise.
41256         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41257         ($(objpfx)mtrace-tst-leaks2): Likewise.
41258         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41259         ($(objpfx)tst-printf.out): Likewise.
41260         ($(objpfx)tst-setvbuf1.out): Likewise.
41261         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41262         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41263         ($(objpfx)tst-fmtmsg.out): Likewise.
41264         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41265         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41267         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41268         * bits/sigaction.h [__USE_MISC]: Likewise.
41269         * bits/waitstatus.h: Update #endif comments.
41270         * ctype/ctype.h: Likewise.
41271         * dirent/dirent.h: Likewise.
41272         [__USE_MISC]: Remove redundant conditionals.
41273         * grp/grp.h: Update #endif comments.
41274         [__USE_GNU]: Remove redundant conditionals.
41275         [__USE_MISC]: Likewise.
41276         * inet/netinet/in.h [__USE_GNU]: Likewise.
41277         * io/sys/stat.h [__USE_MISC]: Likewise.
41278         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41279         * libio/bits/stdio.h: Update #endif comments.
41280         [__USE_MISC]: Remove redundant conditionals.
41281         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41282         * libio/stdio.h: Update #endif comments.
41283         [__USE_MISC]: Remove redundant conditionals.
41284         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41285         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41286         * math/math.h: Update #else and #endif comments.
41287         [__USE_MISC]: Remove redundant conditionals.
41288         * misc/sys/uio.h: Update #endif comments.
41289         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41290         * posix/glob.h [__USE_MISC]: Likewise.
41291         * posix/sys/types.h: Update #endif comments.
41292         [__USE_MISC]: Remove redundant conditionals.
41293         * posix/sys/wait.h: Update #endif comments.
41294         [__USE_MISC]: Remove redundant conditionals.
41295         * posix/unistd.h: Update #endif comments.
41296         [__USE_MISC]: Remove redundant conditionals.
41297         * pwd/pwd.h [__USE_GNU]: Likewise.
41298         [__USE_MISC]: Likewise.
41299         * resolv/netdb.h [__USE_GNU]: Likewise.
41300         * signal/signal.h: Update #endif comments.
41301         [__USE_MISC]: Remove redundant conditionals.
41302         * stdlib/stdlib.h: Update #else and #endif comments.
41303         [__USE_MISC]: Remove redundant conditionals.
41304         [__USE_GNU]: Likewise.
41305         * string/bits/string2.h [__USE_MISC]: Likewise.
41306         * string/string.h: Update #endif comments.
41307         [__USE_MISC]: Remove redundant conditionals.
41308         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41309         Likewise.
41310         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41311         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41312         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41313         Likewise.
41314         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41315         Likewise.
41316         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41317         comments.
41318         [__USE_MISC]: Remove redundant conditionals.
41319         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41320         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41321         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41322         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41323         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41324         Likewise.
41325         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41326         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41327         Likewise.
41328         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41329         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41330         Likewise.
41331         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41332         Likewise.
41333         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41334         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41335         Likewise.
41336         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41337         Likewise.
41338         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41339         * sysdeps/x86/bits/string.h: Update #endif comments.
41340         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41341         conditionals.
41342         * time/sys/time.h: Update #endif comments.
41343         * time/time.h: Likewise.
41344         [__USE_MISC]: Remove redundant conditionals.
41346 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41348         [BZ #16600]
41349         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41351 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41353         * Versions.def (librt): Add GLIBC_2.17.
41355 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41357         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41358         synonym for _SYS_AUXV_H to allow direct inclusion.
41359         * sysdeps/sparc/bits/hwcap.h: Likewise.
41360         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41361         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41362         * sysdeps/sparc/sysdep.h: Likewise.
41364 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41366         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41368 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41370         * benchtests/bench-strrchr.c: Print length instead of position.
41372 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41374         [BZ #16611]
41375         * sysdeps/unix/sysv/linux/kernel-features.h
41376         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41377         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41378         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41379         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41380         Likewise.
41381         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41382         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41383         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41384         (__ASSUME_SENDMMSG): Define instead of using previous
41385         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41386         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41387         (__ASSUME_SENDMMSG_SYSCALL): Define.
41388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41389         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41390         Likewise.
41391         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41392         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41393         Likewise.
41394         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41395         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41396         Likewise.
41397         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41398         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41399         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41400         [__ASSUME_SENDMMSG]: Change conditionals to
41401         [__ASSUME_SENDMMSG_SOCKETCALL].
41402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41403         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41404         Define.
41405         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41406         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41407         Likewise.
41408         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41409         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41410         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41411         [!__ASSUME_SENDMMSG]: Change conditional to
41412         [!__ASSUME_SENDMMSG_SOCKETCALL].
41413         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41414         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41415         Define.
41417         [BZ #16610]
41418         * sysdeps/unix/sysv/linux/kernel-features.h
41419         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41420         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41421         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41422         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41423         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41424         [__i386__ || __sparc__]
41425         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41426         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41427         (__ASSUME_RECVMMSG): Define instead of using previous
41428         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41429         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41430         (__ASSUME_RECVMMSG_SYSCALL): Define.
41431         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41432         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41433         Likewise.
41434         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41436         Likewise.
41437         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41438         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41439         Likewise.
41440         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41441         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41442         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41443         [__ASSUME_RECVMMSG]: Change condition to
41444         [__ASSUME_RECVMMSG_SOCKETCALL].
41445         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41447         Define.
41448         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41449         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41451         Likewise.
41452         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41453         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41454         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41455         [!__ASSUME_RECVMMSG]: Change condition to
41456         [!__ASSUME_RECVMMSG_SOCKETCALL].
41457         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41458         (__ASSUME_RECVMMSG_SYSCALL): Define.
41460         [BZ #16609]
41461         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41462         __powerpc__ || __s390__ || __sh__ || __sparc__]
41463         (__ASSUME_SOCKETCALL): Define.
41464         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41465         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41466         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41467         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41468         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41469         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41470         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41471         (__ASSUME_ACCEPT4): Define instead of using previous
41472         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41473         __powerpc__ || __sparc__ || __s390__)] condition.
41474         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41475         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41476         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41477         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41478         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41479         [!__ASSUME_ACCEPT4]: Change condition to
41480         [!__ASSUME_ACCEPT4_SOCKETCALL].
41481         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41482         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41483         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41484         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41485         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41486         __ASSUME_ACCEPT4_SYSCALL.
41487         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41488         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41489         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41490         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41491         __ASSUME_ACCEPT4_SYSCALL.
41492         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41493         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41494         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41495         [__ASSUME_ACCEPT4]: Change condition to
41496         [__ASSUME_ACCEPT4_SOCKETCALL].
41497         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41498         (__ASSUME_SOCKETCALL): Define.
41499         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41500         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41501         (__ASSUME_SOCKETCALL): Define.
41502         (__ASSUME_ACCEPT4): Remove.
41503         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41504         Define.
41505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41506         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41507         Likewise.
41508         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41509         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41511         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41512         macro.
41513         (HWCAP_ARM_LPAE): Likewise.
41514         (HWCAP_ARM_EVTSTRM): Likewise.
41515         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41516         Add vpfd32, lpae and evtstrm.
41517         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41518         Increase to 22.
41520 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41522         * math/auto-libm-test-in: Add tests of clog10.
41523         * math/auto-libm-test-out: Regenerated.
41524         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41525         * sysdeps/i386/fpu/libm-test-ulps: Update.
41526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41528 2014-02-18  Andreas Schwab  <schwab@suse.de>
41530         [BZ #16574]
41531         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41532         Store non-zero if the second buffer was newly allocated.
41533         (send_dg): Likewise.
41534         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41535         to send_vc and send_dg.
41536         (res_nsend): Pass NULL for ansp2_malloced.
41537         * resolv/res_query.c (__libc_res_nquery): Add parameter
41538         answerp2_malloced and pass it down to __libc_res_nsend.
41539         (res_nquery): Pass additional NULL to __libc_res_nquery.
41540         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41541         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41542         second answer buffer if answerp2_malloced was set.
41543         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41544         (__libc_res_nquerydomain): Add parameter
41545         answerp2_malloced and pass it down to __libc_res_nquery.
41546         (res_nquerydomain): Pass additional NULL to
41547         __libc_res_nquerydomain.
41548         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41549         additional NULL to __libc_res_nsend and __libc_res_nquery.
41550         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41551         additional NULL to __libc_res_nsearch.
41552         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41553         parameter of __libc_res_nsearch to check for separately allocated
41554         second buffer.
41555         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41556         __libc_res_nquery.
41557         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41558         additional NULL to __libc_res_nquery.
41559         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41560         __libc_res_nsearch.
41561         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41562         * include/resolv.h: Update prototypes of __libc_res_nquery,
41563         __libc_res_nsearch, __libc_res_nsend.
41565 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41567         * math/auto-libm-test-in: Add tests of fma.
41568         * math/auto-libm-test-out: Regenerated.
41569         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41570         (fma_towardzero_test_data): Likewise.
41571         (fma_downward_test_data): Likewise.
41572         (fma_upward_test_data): Likewise.
41573         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41574         mpc_mode.
41575         (rounding_modes): Add values for new field.
41576         (func_calc_method): Add value mpfr_fff_f.
41577         (func_calc_desc): Add mpfr_fff_f union field.
41578         (test_function): Add field exact_args.
41579         (FUNC): Add macro argument EXACT_ARGS.
41580         (FUNC_mpfr_f_f): Update call to FUNC.
41581         (FUNC_mpfr_f_f): Likewise.
41582         (FUNC_mpfr_ff_f): Likewise.
41583         (FUNC_mpfr_if_f): Likewise.
41584         (FUNC_mpc_c_f): Likewise.
41585         (FUNC_mpc_c_c): Likewise.
41586         (test_functions): Add fma.  Update calls to FUNC.
41587         (handle_input_arg): Add argument exact_args.
41588         (add_test): Update call to handle_input_arg.
41589         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41590         (output_for_one_input_case): Update call to calc_generic_results.
41591         Recalculate exact zero results in each rounding mode.
41593         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41594         non-negative before setting low bit.
41595         * math/auto-libm-test-in: Mark one asin test possibly having
41596         spurious underflow.
41597         * math/auto-libm-test-out: Regenerated.
41598         * sysdeps/i386/fpu/libm-test-ulps: Update.
41599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41601 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41603         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41604         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41605         ports/sysdeps/unix/sysv/linux/microblaze.
41606         * README: Add missing listing for microblaze*-*-linux-gnu.
41608 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41610         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41611         duplicate code
41613 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41615         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41616         * sysdeps/unix/sysv/linux/ia64: Move directory from
41617         ports/sysdeps/unix/sysv/linux/ia64.
41618         * README: Update listing for ia64-*-linux-gnu.
41620 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41621             Joseph Myers  <joseph@codesourcery.com>
41623         * Makeconfig (test-name): New variable.
41624         (evaluate-test): Likewise.
41625         * Makerules (do-test-clean): Remove .test-result files.
41626         (common-mostlyclean): Likewise.
41627         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41628         * scripts/evaluate-test.sh: New file.
41630 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41632         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41633         separate $(objpfx)tst-fopenloc-cmp.out and
41634         $(objpfx)tst-fopenloc-mem.out targets.
41635         (tests): Update dependencies.
41636         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41637         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41638         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41639         (tst-rxspencer-no-utf8-ARGS): New variable.
41640         (tst-rxspencer-no-utf8-ENV): Likewise.
41641         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41642         instead of $(objpfx)tst-rxspencer-mem.
41643         ($(objpfx)tst-rxspencer-mem): Change target to
41644         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41645         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41646         * posix/tst-rxspencer-no-utf8.c: New file.
41648         * elf/Makefile ($(objpfx)order.out): Remove rule.
41649         [$(run-built-tests) = yes] (tests): Depend on
41650         $(objpfx)order-cmp.out.
41651         ($(objpfx)order-cmp.out): New rule.
41652         [$(run-built-tests) = yes] (tests): Depend on
41653         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41654         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41655         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41656         $(objpfx)tst-array5-static-cmp.out.
41657         ($(objpfx)tst-array1.out): Remove rule.
41658         ($(objpfx)tst-array1-cmp.out): New rule.
41659         ($(objpfx)tst-array1-static.out): Remove rule.
41660         ($(objpfx)tst-array1-static-cmp.out): New rule.
41661         ($(objpfx)tst-array2.out): Remove rule.
41662         ($(objpfx)tst-array2-cmp.out): New rule.
41663         ($(objpfx)tst-array3.out): Remove rule.
41664         ($(objpfx)tst-array3-cmp.out): New rule.
41665         ($(objpfx)tst-array4.out): Remove rule.
41666         ($(objpfx)tst-array4-cmp.out): New rule.
41667         ($(objpfx)tst-array5.out): Remove rule.
41668         ($(objpfx)tst-array5-cmp.out): New rule.
41669         ($(objpfx)tst-array5-static.out): Remove rule.
41670         ($(objpfx)tst-array5-static-cmp.out): New rule.
41671         [$(run-built-tests) = yes] (tests): Depend on
41672         $(objpfx)order2-cmp.out.
41673         ($(objpfx)order2.out): Remove rule.
41674         ($(objpfx)order2-cmp.out): New rule.
41675         ($(objpfx)tst-initorder.out): Remove rule.
41676         [$(run-built-tests) = yes] (tests): Depend on
41677         $(objpfx)tst-initorder-cmp.out.
41678         ($(objpfx)tst-initorder-cmp.out): New rule.
41679         ($(objpfx)tst-initorder2.out): Remove rule.
41680         [$(run-built-tests) = yes] (tests): Depend on
41681         $(objpfx)tst-initorder2-cmp.out.
41682         ($(objpfx)tst-initorder2-cmp.out): New rule.
41683         [$(run-built-tests) = yes] (tests): Depend on
41684         $(objpfx)tst-unused-dep-cmp.out.
41685         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41686         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41687         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41688         on $(objpfx)tst-setvbuf1-cmp.out.
41689         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41690         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41691         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41692         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41693         ($(objpfx)tst-svc.out): Remove rule.
41694         ($(objpfx)tst-svc-cmp.out): New rule.
41696 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41698         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41699         * ctype/ctype.h [__USE_MISC]: Likewise.
41700         * dirent/dirent.h [__USE_MISC]: Likewise.
41701         * grp/grp.h [__USE_MISC]: Likewise.
41702         * io/fcntl.h [__USE_MISC]: Likewise.
41703         * io/sys/stat.h [__USE_MISC]: Likewise.
41704         * libio/stdio.h [__USE_MISC]: Likewise.
41705         * posix/unistd.h [__USE_MISC]: Likewise.
41706         * pwd/pwd.h [__USE_MISC]: Likewise.
41707         * stdlib.h [__USE_MISC]: Likewise.
41708         * string/bits/string2.h [__USE_MISC]: Likewise.
41709         * string/string.h [__USE_MISC]: Likewise.
41710         * time/time.h [__USE_MISC]: Likewise.
41712 2014-02-13  Andreas Schwab  <schwab@suse.de>
41714         [BZ #16574]
41715         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41716         second answer buffer if it was separately allocated.
41718 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41720         * sysdeps/mips/math-tests.h: Include <features.h>.
41721         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41722         (ROUNDING_TESTS_long_double): Do not define.
41723         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41724         (EXCEPTION_TESTS_long_double): Likewise.
41725         * sysdeps/mips/mips64/libm-test-ulps: Update.
41727         * include/features.h (__USE_BSD): Remove macro definitions.
41728         (__USE_SVID): Likewise.
41729         (_BSD_SOURCE): Likewise.
41730         (_SVID_SOURCE): Likewise.
41731         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41732         from definition of _DEFAULT_SOURCE.
41733         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41734         [_DEFAULT_SOURCE].
41735         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41736         * bits/mman.h [__USE_BSD]: Likewise.
41737         * bits/termios.h [__USE_BSD]: Likewise.
41738         * bits/waitstatus.h [__USE_BSD]: Likewise.
41739         * ctype/ctype.h [__USE_SVID]: Likewise.
41740         * dirent/dirent.h [__USE_BSD]: Likewise.
41741         * grp/grp.h [__USE_SVID]: Likewise.
41742         [__USE_BSD]: Likewise.
41743         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41744         * io/fcntl.h [__USE_BSD]: Likewise.
41745         * io/ftw.h [__USE_BSD]: Likewise.
41746         * io/sys/stat.h [__USE_BSD]: Likewise.
41747         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41748         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41749         * libio/stdio.h [__USE_SVID]: Likewise.
41750         [__USE_BSD]: Likewise.
41751         * math/math.h [__USE_SVID]: Likewise.
41752         [__USE_BSD]: Likewise.
41753         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41754         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41755         * misc/search.h [__USE_SVID]: Likewise.
41756         * misc/sys/mman.h [__USE_BSD]: Likewise.
41757         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41758         * misc/sys/uio.h [__USE_BSD]: Likewise.
41759         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41760         * posix/glob.h [__USE_BSD]: Likewise.
41761         * posix/regex.h [__USE_BSD]: Likewise.
41762         * posix/sys/types.h [__USE_BSD]: Likewise.
41763         [__USE_SVID]: Likewise.
41764         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41765         * posix/sys/wait.h [__USE_BSD]: Likewise.
41766         [__USE_SVID]: Likewise.
41767         * posix/unistd.h [__USE_BSD]: Likewise.
41768         [__USE_SVID]: Likewise.
41769         * pwd/pwd.h [__USE_SVID]: Likewise.
41770         * resolv/netdb.h [__USE_BSD]: Likewise.
41771         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41772         * signal/signal.h [__USE_BSD]: Likewise.
41773         [__USE_SVID]: Likewise.
41774         * socket/sys/socket.h [__USE_BSD]: Likewise.
41775         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41776         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41777         [__USE_SVID]: Likewise.
41778         * string/bits/string2.h [__USE_BSD]: Likewise.
41779         [__USE_SVID]: Likewise.
41780         * string/bits/string3.h [__USE_BSD]: Likewise.
41781         * string/endian.h [__USE_BSD]: Likewise.
41782         * string/string.h [__USE_SVID]: Likewise.
41783         [__USE_BSD]: Likewise.
41784         * string/strings.h [__USE_BSD]: Likewise.
41785         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41786         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41787         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41788         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41789         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41790         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41791         Likewise.
41792         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41793         Likewise.
41794         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41795         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41796         Likewise.
41797         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41798         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41799         Likewise.
41800         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41801         Likewise.
41802         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41803         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41804         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41805         Likewise.
41806         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41807         Likewise.
41808         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41809         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41810         * termios/termios.h [__USE_BSD]: Likewise.
41811         * time/sys/time.h [__USE_BSD]: Likewise.
41812         * time/time.h [__USE_BSD]: Likewise.
41813         [__USE_SVID]: Likewise.
41815         * Makefile (subdir_targets): Remove subdir_lint.out.
41817         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41818         (do-tst-printf): Likewise.
41819         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41820         $(objpfx)tst-printf.out.
41822         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41824         * Makerules (check-abi-%): Change target to
41825         $(objpfx)check-abi-%.out.
41826         (check-abi target): Update dependencies.
41827         (check-abi-pattern variable): Redirect output of diff to $@.
41828         (check-abi variable): Likewise.
41829         * elf/Makefile (check-abi): Update dependencies.
41831         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41832         unused.
41833         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41834         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41835         subnormal range.
41836         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41837         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41838         value has largest subnormal exponent.
41839         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41840         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41841         * sysdeps/aarch64/soft-fp/sfp-machine.h
41842         (_FP_TININESS_AFTER_ROUNDING): New macro.
41843         * sysdeps/alpha/soft-fp/sfp-machine.h
41844         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41845         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41846         Likewise.
41847         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41848         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41849         * sysdeps/mips/soft-fp/sfp-machine.h
41850         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41851         * sysdeps/powerpc/soft-fp/sfp-machine.h
41852         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41853         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41854         Likewise.
41855         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41856         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41857         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41858         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41859         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41860         Likewise.
41862 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41864         [BZ #16545]
41865         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41866         model 1.
41868 2014-02-12  Richard Henderson  <rth@redhat.com>
41870         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41871         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41872         * sysdeps/unix/sysv/linux/alpha: Move directory from
41873         ports/sysdeps/unix/sysv/linux/alpha.
41874         * README: Update listing for alpha-*-linux-gnu.
41876 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41878         * include/features.h: Update comment documenting feature test
41879         macros.
41880         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41881         _DEFAULT_SOURCE.
41882         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41883         (_SVID_SOURCE): Likewise.
41884         (_DEFAULT_SOURCE): Update description of default features.
41885         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41886         with _GNU_SOURCE.
41887         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41888         (S_ISVTX): Likewise.
41889         * manual/math.texi (Mathematical Constants): Likewise.
41890         * manual/signal.texi (Interrupted Primitives): Likewise.
41891         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41892         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41893         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41894         Don't refer to _SVID_SOURCE in warning text.
41896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41898         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41899         already defined.
41900         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41901         * sysdeps/mips/dl-lookup.c: Remove.
41902         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41904 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41906         [BZ #16447]
41907         * math/auto-libm-test-in: Add testcase for expl.
41908         * math/auto-libm-test-out: Regenerate.
41909         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41910         calculation of unsafe.
41911         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41913 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41915         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41916         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41917         ports/sysdeps/unix/sysv/linux/aarch64.
41918         * README: Update listing for aarch64*-*-linux-gnu.
41920 2014-02-11  Will Newton  <will.newton@linaro.org>
41922         * manual/probes.texi (Mathematical Function Probes): Use
41923         "triggered" instead of "hit".
41925         * manual/probes.texi (Internal Probes): Add documentation
41926         of setjmp, longjmp and longjmp_target probes.
41928         * include/stap-probe.h: Add comment about probe argument
41929         format.
41931         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41932         definition.  (tr_where, tr_freehook, tr_mallochook,
41933         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41935 2014-02-11  David S. Miller  <davem@davemloft.net>
41937         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41938         processing int_tests.
41940 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41942         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41943         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41944         * sysdeps/unix/sysv/linux/mips: Move directory from
41945         ports/sysdeps/unix/sysv/linux/mips.
41946         * README: Update listing for mips-*-linux-gnu and
41947         mips64-*-linux-gnu.
41949 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41951         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41952         * sysdeps/unix/sysv/linux/m68k: Move directory from
41953         ports/sysdeps/unix/sysv/linux/m68k.
41954         * README: Update listing for m68k-*-linux-gnu.
41956 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41958         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41959         * sysdeps/unix/sysv/linux/generic: Move directory from
41960         ports/sysdeps/unix/sysv/linux/generic.
41961         * sysdeps/unix/sysv/linux/tile: Move directory from
41962         ports/sysdeps/unix/sysv/linux/tile.
41963         * README: Update listing for tile*-*-linux-gnu.
41965 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41967         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41968         __builtin_expect.
41969         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41970         * catgets/open_catalog.c (__open_catalog): Likewise.
41971         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41972         * debug/confstr_chk.c: Likewise.
41973         * debug/fread_chk.c (__fread_chk): Likewise.
41974         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41975         * debug/getgroups_chk.c: Likewise.
41976         * debug/mbsnrtowcs_chk.c: Likewise.
41977         * debug/mbsrtowcs_chk.c: Likewise.
41978         * debug/mbstowcs_chk.c: Likewise.
41979         * debug/memcpy_chk.c: Likewise.
41980         * debug/memmove_chk.c: Likewise.
41981         * debug/mempcpy_chk.c: Likewise.
41982         * debug/memset_chk.c: Likewise.
41983         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41984         * debug/strcat_chk.c (__strcat_chk): Likewise.
41985         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41986         * debug/strncat_chk.c (__strncat_chk): Likewise.
41987         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41988         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41989         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41990         * debug/wcpncpy_chk.c: Likewise.
41991         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41992         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41993         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41994         * debug/wcsncpy_chk.c: Likewise.
41995         * debug/wcsnrtombs_chk.c: Likewise.
41996         * debug/wcsrtombs_chk.c: Likewise.
41997         * debug/wcstombs_chk.c: Likewise.
41998         * debug/wmemcpy_chk.c: Likewise.
41999         * debug/wmemmove_chk.c: Likewise.
42000         * debug/wmempcpy_chk.c: Likewise.
42001         * debug/wmemset_chk.c: Likewise.
42002         * dirent/scandirat.c (SCANDIRAT): Likewise.
42003         * dlfcn/dladdr1.c (dladdr1): Likewise.
42004         * dlfcn/dladdr.c (dladdr): Likewise.
42005         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42006         * dlfcn/dlerror.c (__dlerror): Likewise.
42007         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42008         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42009         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42010         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42011         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42012         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42013         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42014         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42015         Likewise.
42016         * elf/dl-conflict.c: Likewise.
42017         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42018         * elf/dl-dst.h: Likewise.
42019         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42020         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42021         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42022         * elf/dl-init.c (call_init, _dl_init): Likewise.
42023         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42024         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42025         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42026         Likewise.
42027         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42028         Likewise.
42029         * elf/dl-minimal.c (__libc_memalign): Likewise.
42030         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42031         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42032         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42033         * elf/dl-sym.c (do_sym): Likewise.
42034         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42035         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42036         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42037         * elf/dl-writev.h (_dl_writev): Likewise.
42038         * elf/ldconfig.c (search_dir): Likewise.
42039         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42040         (dl_main): Likewise.
42041         * elf/setup-vdso.h (setup_vdso): Likewise.
42042         * grp/compat-initgroups.c (compat_call): Likewise.
42043         * grp/fgetgrent.c (fgetgrent): Likewise.
42044         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42045         * grp/putgrent.c (putgrent): Likewise.
42046         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42047         Likewise.
42048         * hurd/hurdinit.c: Likewise.
42049         * iconvdata/8bit-gap.c (struct): Likewise.
42050         * iconvdata/ansi_x3.110.c : Likewise.
42051         * iconvdata/big5.c : Likewise.
42052         * iconvdata/big5hkscs.c : Likewise.
42053         * iconvdata/cp1255.c: Likewise.
42054         * iconvdata/cp1258.c : Likewise.
42055         * iconvdata/cp932.c : Likewise.
42056         * iconvdata/euc-cn.c: Likewise.
42057         * iconvdata/euc-jisx0213.c : Likewise.
42058         * iconvdata/euc-jp.c: Likewise.
42059         * iconvdata/euc-jp-ms.c : Likewise.
42060         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42061         * iconvdata/gb18030.c : Likewise.
42062         * iconvdata/gbbig5.c (const): Likewise.
42063         * iconvdata/gbgbk.c: Likewise.
42064         * iconvdata/gbk.c : Likewise.
42065         * iconvdata/ibm1364.c : Likewise.
42066         * iconvdata/ibm930.c : Likewise.
42067         * iconvdata/ibm932.c: Likewise.
42068         * iconvdata/ibm933.c : Likewise.
42069         * iconvdata/ibm935.c : Likewise.
42070         * iconvdata/ibm937.c : Likewise.
42071         * iconvdata/ibm939.c : Likewise.
42072         * iconvdata/ibm943.c: Likewise.
42073         * iconvdata/iso_11548-1.c: Likewise.
42074         * iconvdata/iso-2022-cn.c : Likewise.
42075         * iconvdata/iso-2022-cn-ext.c : Likewise.
42076         * iconvdata/iso-2022-jp-3.c: Likewise.
42077         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42078         * iconvdata/iso-2022-kr.c : Likewise.
42079         * iconvdata/iso646.c (gconv_end): Likewise.
42080         * iconvdata/iso_6937-2.c : Likewise.
42081         * iconvdata/iso_6937.c : Likewise.
42082         * iconvdata/iso8859-1.c: Likewise.
42083         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42084         * iconvdata/shift_jisx0213.c : Likewise.
42085         * iconvdata/sjis.c : Likewise.
42086         * iconvdata/t.61.c : Likewise.
42087         * iconvdata/tcvn5712-1.c : Likewise.
42088         * iconvdata/tscii.c: Likewise.
42089         * iconvdata/uhc.c : Likewise.
42090         * iconvdata/unicode.c (gconv_end): Likewise.
42091         * iconvdata/utf-16.c (gconv_end): Likewise.
42092         * iconvdata/utf-32.c (gconv_end): Likewise.
42093         * iconvdata/utf-7.c (base64): Likewise.
42094         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42095         * iconv/gconv_close.c (__gconv_close): Likewise.
42096         * iconv/gconv_open.c (__gconv_open): Likewise.
42097         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42098         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42099         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42100         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42101         (ucs4le_internal_loop_single): Likewise.
42102         * iconv/iconv.c (iconv): Likewise.
42103         * iconv/iconv_close.c: Likewise.
42104         * iconv/loop.c (SINGLE): Likewise.
42105         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42106         * include/atomic.h: Likewise.
42107         * inet/inet6_option.c (option_alloc): Likewise.
42108         * intl/bindtextdom.c (set_binding_values): Likewise.
42109         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42110         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42111         * intl/localealias.c (read_alias_file): Likewise.
42112         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42113         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42114         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42115         * libio/fmemopen.c (fmemopen): Likewise.
42116         * libio/iofgets.c (_IO_fgets): Likewise.
42117         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42118         * libio/iofgetws.c (fgetws): Likewise.
42119         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42120         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42121         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42122         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42123         * locale/findlocale.c (_nl_find_locale): Likewise.
42124         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42125         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42126         Likewise.
42127         * locale/setlocale.c (setlocale): Likewise.
42128         * login/programs/pt_chown.c (main): Likewise.
42129         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42130         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42131         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42132         (mmap, mmap64, mremap, munmap): Likewise.
42133         * math/e_exp2l.c: Likewise.
42134         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42135         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42136         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42137         * math/s_catan.c (__catan): Likewise.
42138         * math/s_catanf.c (__catanf): Likewise.
42139         * math/s_catanh.c (__catanh): Likewise.
42140         * math/s_catanhf.c (__catanhf): Likewise.
42141         * math/s_catanhl.c (__catanhl): Likewise.
42142         * math/s_catanl.c (__catanl): Likewise.
42143         * math/s_ccosh.c (__ccosh): Likewise.
42144         * math/s_ccoshf.c (__ccoshf): Likewise.
42145         * math/s_ccoshl.c (__ccoshl): Likewise.
42146         * math/s_cexp.c (__cexp): Likewise.
42147         * math/s_cexpf.c (__cexpf): Likewise.
42148         * math/s_cexpl.c (__cexpl): Likewise.
42149         * math/s_clog10.c (__clog10): Likewise.
42150         * math/s_clog10f.c (__clog10f): Likewise.
42151         * math/s_clog10l.c (__clog10l): Likewise.
42152         * math/s_clog.c (__clog): Likewise.
42153         * math/s_clogf.c (__clogf): Likewise.
42154         * math/s_clogl.c (__clogl): Likewise.
42155         * math/s_csin.c (__csin): Likewise.
42156         * math/s_csinf.c (__csinf): Likewise.
42157         * math/s_csinh.c (__csinh): Likewise.
42158         * math/s_csinhf.c (__csinhf): Likewise.
42159         * math/s_csinhl.c (__csinhl): Likewise.
42160         * math/s_csinl.c (__csinl): Likewise.
42161         * math/s_csqrt.c (__csqrt): Likewise.
42162         * math/s_csqrtf.c (__csqrtf): Likewise.
42163         * math/s_csqrtl.c (__csqrtl): Likewise.
42164         * math/s_ctan.c (__ctan): Likewise.
42165         * math/s_ctanf.c (__ctanf): Likewise.
42166         * math/s_ctanh.c (__ctanh): Likewise.
42167         * math/s_ctanhf.c (__ctanhf): Likewise.
42168         * math/s_ctanhl.c (__ctanhl): Likewise.
42169         * math/s_ctanl.c (__ctanl): Likewise.
42170         * math/w_pow.c: Likewise.
42171         * math/w_powf.c: Likewise.
42172         * math/w_powl.c: Likewise.
42173         * math/w_scalb.c (sysv_scalb): Likewise.
42174         * math/w_scalbf.c (sysv_scalbf): Likewise.
42175         * math/w_scalbl.c (sysv_scalbl): Likewise.
42176         * misc/error.c (error_tail): Likewise.
42177         * misc/pselect.c (__pselect): Likewise.
42178         * nis/nis_callback.c (__nis_create_callback): Likewise.
42179         * nis/nis_call.c (__nisfind_server): Likewise.
42180         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42181         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42182         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42183         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42184         * nis/nis_lookup.c (nis_lookup): Likewise.
42185         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42186         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42187         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42188         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42189         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42190         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42191         * nis/nss_compat/compat-initgroups.c (add_group)
42192         (internal_getgrent_r): Likewise.
42193         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42194         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42195         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42196         (internal_getspnam_r): Likewise.
42197         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42198         (_nss_nis_getaliasbyname_r): Likewise.
42199         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42200         (_nss_nis_getntohost_r): Likewise.
42201         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42202         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42203         (_nss_nis_getgrgid_r): Likewise.
42204         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42205         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42206         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42207         (_nss_nis_gethostbyname4_r): Likewise.
42208         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42209         (initgroups_netid): Likewise.
42210         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42211         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42212         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42213         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42214         (_nss_nis_getprotobynumber_r): Likewise.
42215         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42216         (_nss_nis_getsecretkey): Likewise.
42217         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42218         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42219         (_nss_nis_getpwuid_r): Likewise.
42220         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42221         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42222         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42223         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42224         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42225         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42226         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42227         Likewise.
42228         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42229         (_nss_nisplus_getntohost_r): Likewise.
42230         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42231         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42232         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42233         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42234         Likewise.
42235         * nis/nss_nisplus/nisplus-initgroups.c
42236         (_nss_nisplus_initgroups_dyn): Likewise.
42237         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42238         (_nss_nisplus_getnetbyaddr_r): Likewise.
42239         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42240         (_nss_nisplus_getprotobynumber_r): Likewise.
42241         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42242         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42243         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42244         Likewise.
42245         * nis/nss_nisplus/nisplus-service.c
42246         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42247         (_nss_nisplus_getservbyport_r): Likewise.
42248         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42249         (_nss_nisplus_getspnam_r): Likewise.
42250         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42251         Likewise.
42252         * nscd/aicache.c (addhstaiX): Likewise.
42253         * nscd/cache.c (cache_search, prune_cache): Likewise.
42254         * nscd/connections.c (register_traced_file, send_ro_fd)
42255         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42256         (main_loop_epoll): Likewise.
42257         * nscd/grpcache.c (addgrbyX): Likewise.
42258         * nscd/hstcache.c (addhstbyX): Likewise.
42259         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42260         * nscd/mem.c (gc, mempool_alloc): Likewise.
42261         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42262         (addinnetgrX): Likewise.
42263         * nscd/nscd-client.h (__nscd_acquire_maplock)
42264         (__nscd_drop_map_ref): Likewise.
42265         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42266         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42267         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42268         Likewise.
42269         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42270         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42271         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42272         (__nscd_get_map_ref): Likewise.
42273         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42274         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42275         Likewise.
42276         * nscd/pwdcache.c (addpwbyX): Likewise.
42277         * nscd/selinux.c (preserve_capabilities): Likewise.
42278         * nscd/servicescache.c (addservbyX): Likewise.
42279         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42280         * posix/fnmatch.c (fnmatch): Likewise.
42281         * posix/getopt.c (_getopt_internal_r): Likewise.
42282         * posix/glob.c (glob, glob_in_dir): Likewise.
42283         * posix/wordexp.c (exec_comm_child): Likewise.
42284         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42285         (getanswer_r, gaih_getanswer_slice): Likewise.
42286         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42287         * resolv/res_init.c: Likewise.
42288         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42289         * resolv/res_query.c (__libc_res_nquery): Likewise.
42290         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42291         Likewise.
42292         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42293         * stdio-common/perror.c (perror): Likewise.
42294         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42295         * stdio-common/tmpnam.c (tmpnam): Likewise.
42296         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42297         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42298         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42299         Likewise.
42300         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42301         * stdlib/putenv.c (putenv): Likewise.
42302         * stdlib/setenv.c (__add_to_environ): Likewise.
42303         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42304         * stdlib/strtol_l.c (INTERNAL): Likewise.
42305         * string/memmem.c (memmem): Likewise.
42306         * string/strerror.c (strerror): Likewise.
42307         * string/strnlen.c (__strnlen): Likewise.
42308         * string/test-memmem.c (simple_memmem): Likewise.
42309         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42310         * sunrpc/pm_getport.c (__get_socket): Likewise.
42311         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42312         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42313         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42314         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42315         Likewise.
42316         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42317         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42318         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42319         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42320         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42321         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42322         Likewise.
42323         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42324         Likewise.
42325         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42326         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42327         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42328         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42329         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42331         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42332         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42333         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42334         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42335         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42336         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42337         Likewise.
42338         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42339         Likewise.
42340         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42341         Likewise.
42342         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42343         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42346         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42347         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42348         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42349         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42350         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42351         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42352         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42354         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42355         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42357         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42358         Likewise.
42359         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42360         Likewise.
42361         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42362         Likewise.
42363         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42364         Likewise.
42365         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42367         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42368         Likewise.
42369         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42370         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42371         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42372         * sysdeps/posix/sleep.c: Likewise.
42373         * sysdeps/posix/tempname.c: Likewise.
42374         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42375         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42376         Likewise.
42377         * sysdeps/powerpc/powerpc32/dl-machine.h
42378         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42379         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42381         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42382         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42383         Likewise.
42384         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42385         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42386         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42387         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42388         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42389         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42390         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42391         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42392         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42393         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42394         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42395         (elf_machine_lazy_rel): Likewise.
42396         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42397         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42398         (elf_machine_lazy_rel): Likewise.
42399         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42400         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42401         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42402         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42403         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42404         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42405         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42406         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42407         Likewise.
42408         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42409         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42410         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42411         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42412         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42413         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42414         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42415         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42416         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42417         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42418         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42419         Likewise.
42420         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42421         (__posix_fallocate64_l64): Likewise.
42422         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42423         (posix_fallocate): Likewise.
42424         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42425         Likewise.
42426         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42427         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42428         (getifaddrs_internal): Likewise.
42429         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42430         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42431         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42432         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42433         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42434         (__posix_fallocate64_l64): Likewise.
42435         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42436         Likewise.
42437         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42438         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42439         (__get_clockfreq): Likewise.
42440         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42441         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42442         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42445         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42446         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42447         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42448         Likewise.
42449         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42450         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42451         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42452         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42453         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42454         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42455         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42456         Likewise.
42457         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42458         (posix_fallocate): Likewise.
42459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42460         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42461         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42462         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42463         (elf_machine_rela, elf_machine_rela_relative)
42464         (elf_machine_lazy_rel): Likewise.
42465         * time/asctime.c (asctime_internal): Likewise.
42466         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42467         * time/tzset.c (__tzset_parse_tz): Likewise.
42468         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42469         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42470         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42471         * wcsmbs/wcsmbsload.h: Likewise.
42473         [BZ #15894]
42474         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42476         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42477         (arena_get2): Remove THREAD_STATS conditionals.
42478         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42479         (__malloc_stats, int): Likewise.
42481 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42483         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42484         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42486         * manual/setjmp.texi: Fix typos/grammar errors.
42488         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42489         Only return early when n is <= 0.  Delete unused return statement.
42491         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42492         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42493         * debug/tst-longjmp_chk3.c: New file.
42495         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42496         (test_main): Replace code with set_fortify_handler call.
42497         * debug/test-strcpy_chk.c: Likewise.
42498         * debug/tst-chk1.c: Likewise.
42499         * debug/tst-longjmp_chk.c: Likewise.
42500         * test-skeleton.c: Include fcntl.h & paths.h
42501         (set_fortify_handler): Define.
42503         * debug/tst-longjmp_chk.c: Add header comment and include
42504         ../test-skeleton.c.
42505         (do_test): Mark static.
42506         (TEST_FUNCTION): Define.
42508         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42509         (IP_PMTUDISC_INTERFACE): Likewise.
42510         (IP_MULTICAST_IF): Likewise.
42511         (IP_MULTICAST_TTL): Likewise.
42512         (IP_MULTICAST_LOOP): Likewise.
42513         (IP_ADD_MEMBERSHIP): Likewise.
42514         (IP_DROP_MEMBERSHIP): Likewise.
42515         (IP_UNBLOCK_SOURCE): Likewise.
42516         (IP_BLOCK_SOURCE): Likewise.
42517         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42518         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42519         (IP_MSFILTER): Likewise.
42520         (MCAST_JOIN_GROUP): Likewise.
42521         (MCAST_BLOCK_SOURCE): Likewise.
42522         (MCAST_UNBLOCK_SOURCE): Likewise.
42523         (MCAST_LEAVE_GROUP): Likewise.
42524         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42525         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42526         (MCAST_MSFILTER): Likewise.
42527         (IP_MULTICAST_ALL): Likewise.
42528         (IP_UNICAST_IF): Likewise.
42530         * timezone/Makefile: Delete $(have-ksh) check.
42531         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42532         * timezone/tzselect.ksh: Add +x mode bits.
42534         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42535         (ANON_INODE_FS_MAGIC): Likewise.
42536         (BDEVFS_MAGIC): Likewise.
42537         (BINFMTFS_MAGIC): Likewise.
42538         (BTRFS_TEST_MAGIC): Likewise.
42539         (CRAMFS_MAGIC_WEND): Likewise.
42540         (DEBUGFS_MAGIC): Likewise.
42541         (ECRYPTFS_SUPER_MAGIC): Likewise.
42542         (EXT3_SUPER_MAGIC): Likewise.
42543         (EXT4_SUPER_MAGIC): Likewise.
42544         (FUTEXFS_SUPER_MAGIC): Likewise.
42545         (HOSTFS_SUPER_MAGIC): Likewise.
42546         (HUGETLBFS_MAGIC): Likewise.
42547         (MINIX3_SUPER_MAGIC): Likewise.
42548         (MTD_INODE_FS_MAGIC): Likewise.
42549         (NILFS_SUPER_MAGIC): Likewise.
42550         (OPENPROM_SUPER_MAGIC): Likewise.
42551         (PIPEFS_MAGIC): Likewise.
42552         (PSTOREFS_MAGIC): Likewise.
42553         (QNX6_SUPER_MAGIC): Likewise.
42554         (RAMFS_MAGIC): Likewise.
42555         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42556         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42557         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42558         (SECURITYFS_MAGIC): Likewise.
42559         (SELINUX_MAGIC): Likewise.
42560         (SMACK_MAGIC): Likewise.
42561         (SOCKFS_MAGIC): Likewise.
42562         (SQUASHFS_MAGIC): Likewise.
42563         (STACK_END_MAGIC): Likewise.
42564         (TMPFS_MAGIC): Likewise.
42565         (USBDEVICE_SUPER_MAGIC): Likewise.
42566         (V9FS_MAGIC): Likewise.
42567         (XENFS_SUPER_MAGIC): Likewise.
42568         (CRAMFS_MAGIC): Fix typo in comment.
42569         (EXT2_SUPER_MAGIC): Update comment.
42570         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42572 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42574         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42575         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42576         * sysdeps/unix/sysv/linux/arm: Move directory from
42577         ports/sysdeps/unix/sysv/linux/arm.
42578         * README: Update listing for arm-*-linux-gnueabi.
42580         * README: Remove mention of am33.
42582 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42584         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42585         than the comma operator, to avoid "rhs of comma has no effect"
42586         compiler warnings.
42587         (__sigfillset, __sigandset, __sigorset): Likewise.
42588         * include/signal.h (__sigemptyset): Likewise.
42589         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42591 2014-02-07  Allan McRae  <allan@archlinux.org>
42593         * version.h (RELEASE): Set to "development".
42594         (VERSION): Set to "2.19.90"
42595         * NEWS: Add 2.20 section.
42597 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42599         [BZ #16529]
42600         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42602 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42604         * manual/contrib.texi: Update entry for Carlos O'Donell,
42605         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42607 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42609         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42611         * sysdeps/unix/sysv/linux/kernel-features.h
42612         [__LINUX_KERNEL_VERSION >= 0x020621]
42613         (__ASSUME_PROC_PID_TASK_COMM): Define.
42615 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42617         [BZ #16398]
42618         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42619         conversion when destination buffer does not have enough space.
42620         * libio/tst-ftell-partial-wide.c: New test case.
42621         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42623         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42624         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42625         Leonard and Allan McRae.
42627 2014-02-04  David S. Miller  <davem@davemloft.net>
42629         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42630         32-bit.
42632 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42635         New file
42636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42637         New file
42638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42639         New file.
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42641         New file.
42642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42643         New file.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42645         New file.
42646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42647         New file.
42648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42649         New file.
42650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42651         New file.
42652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42653         New file.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42655         New file.
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42657         New file.
42658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42659         New file.
42661 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42663         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42664         * shlib-versions: Likewise.
42666 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42667             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42669         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42670         (abilist-pattern): New variable, set to %-le.abilist.
42672         * Makerules (abilist-pattern): New variable.
42673         (vpath): Use $(abilist-pattern) in place of %.abilist.
42674         (check-abi-% pattern rule): Likewise.
42675         (check-abi, update-abi): Likewise.
42677 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42681 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42683         * manual/startup.texi: Add next, previous, and top entries for
42684         the `Program Arguments' and `Environment Variables' nodes.
42686 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42688         * manual/macros.texi: Add comments before MTASC-safety macros.
42690         * manual/users.texi: Document MTASC-safety properties.
42692         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42693         (pthread_getspecific, pthread_setspecific): Format with
42694         @deftypefun, and add @safety note.
42695         * manual/signal.texi: Move comments that analyze the above
42696         functions to their home place.
42698 2014-02-03  Allan McRae  <allan@archlinux.org>
42700         * po/sl.po: Update Slovenian translation from translation project.
42702 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42704         * manual/time.texi (timegm): Add missing blank after @c.
42705         Reported by Joseph Myers <joseph@codesourcery.com>.
42707 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42709         * manual/check-safety.sh: New.
42710         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42712         * manual/terminal.texi: Document MTASC-safety properties.
42714         * manual/filesys.texi: Document MTASC-safety properties.
42716         * manual/errno.texi: Document MTASC-safety properties.
42718         * manual/intro.texi: Document safety identifiers and
42719         conditionals.
42721         * manual/string.texi (wcstok): Fix prototype.
42722         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42724         * manual/time.texi: Document MTASC-safety properties.
42726         * manual/string.texi: Document MTASC-safety properties.
42728         * manual/threads.texi: Document MTASC-safety properties.
42730         * manual/stdio.texi: Document MTASC-safety properties.
42732         * manual/syslog.texi: Document MTASC-safety properties.
42734         * manual/sysinfo.texi: Document MTASC-safety properties.
42736         * manual/startup.texi: Document MTASC-safety properties.
42738         * manual/socket.texi: Document MTASC-safety properties.
42740         * manual/signal.texi: Document MTASC-safety properties.
42742 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42744         * manual/setjmp.texi: Document MTASC-safety properties.
42746         * manual/search.texi: Document MTASC-safety properties.
42748         * manual/resource.texi: Document MTASC-safety properties.
42750         * manual/process.texi: Document MTASC-safety properties.
42752         * manual/platform.texi: Document MTASC-safety properties.
42754         * manual/pipe.texi: Document MTASC-safety properties.
42756         * manual/pattern.texi: Document MTASC-safety properties.
42758         * manual/message.texi: Document MTASC-safety properties.
42760         [BZ #12751]
42761         * manual/memory.texi: Document MTASC-safety properties.
42763         * manual/math.texi: Document MTASC-safety properties.
42765         * manual/locale.texi: Document MTASC-safety properties.
42767         * manual/llio.texi: Document MTASC-safety properties.
42769         * manual/libdl.texi: New.
42771         * manual/lang.texi: Document MTASC-safety properties.
42773         * manual/job.texi: Document MTASC-safety properties.
42775         * manual/getopt.texi: Document MTASC-safety properties.
42777         * manual/ctype.texi: Document MTASC-safety properties.
42779 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42781         [BZ #16046]
42782         * csu/libc-tls.c (static_map): Remove variable.
42783         (__libc_setup_tls): Use main executable's link map for TLS data.
42784         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42785         casing for LM_ID_BASE and GL(dl_nns).
42786         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42787         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42788         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42789         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42790         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42791         member.
42792         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42793         l_phnum members.
42795 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42797         * manual/debug.texi: Document MTASC-safety properties.
42799 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42801         [BZ #16510]
42802         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42803         of __x86_64__ when disabling x87 inline functions.
42805 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42807         * manual/charset.texi: Document MTASC-safety properties.
42809         * manual/crypt.texi: Document MTASC-safety properties.
42811         * manual/conf.texi: Document MTASC-safety properties.
42813         * manual/arith.texi: Document MTASC-safety properties.
42815         * manual/argp.texi: Document MTASC-safety properties.
42817         * manual/macros.texi: Introduce macros to document multi
42818         thread, asynchronous signal and asynchronous cancellation
42819         safety properties.
42820         * manual/intro.texi: Introduce the properties themselves.
42822 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42824         * sysdeps/sh/sh4/Makefile: New file.
42826 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42828         * math/gen-libm-test.pl ($srcdir): New variable.
42829         ($auto_input): Use it.
42831 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42833         [BZ #16506]
42834         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42835         access beyond array bounds when parsing netgroups file.
42837         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42838         the old buffer before realloc.
42840 2014-01-27  Allan McRae  <allan@archlinux.org>
42842         * po/fr.po: Update French translation from translation project.
42844 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42846         * sysdeps/sh/libm-test-ulps: Regenerate.
42848 2014-01-24  David S. Miller  <davem@davemloft.net>
42850         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42852 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42854         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42855         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42857 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42859         [BZ #16474]
42860         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42861         string pointers after reallocation.
42863 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42865         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42866         __SH4A__ instead of __SH_FPU_ANY__.
42868 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42870         * sysdeps/sh/fpu_control.h: New file.
42871         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42872         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42873         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42874         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42875         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42876         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42877         * sysdeps/sh/sys/ucontext.h: Remove.
42878         * sysdeps/sh/sys: Remove directory.
42880 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42882         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42883         s390/sys/ucontext.h.
42884         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42885         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42887 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42889         [BZ #15605]
42890         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42892 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42894         [BZ#16431]
42895         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42896         Adjust the vDSO correctly for internal calls.
42897         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42899 2014-01-20  Allan McRae  <allan@archlinux.org>
42901         * po/ca.po: Update Catalan translation from translation project.
42903 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42905         * sysdeps/s390/sotruss-lib.c: New file.
42907 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42909         [BZ#16430]
42910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42911         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42912         local calls issues by not having a PLT stub required for IFUNC calls.
42913         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42915 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42917         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42918         * math/test-fpucw-static.c: Likewise.
42920 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42922         [BZ #16453]
42923         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42925 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42927         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42928         implementation for powerpc.
42930 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42932         [BZ #14782]
42933         * sysdeps/posix/system.c (__libc_system): Do not enable
42934         asynchronous cancellation.
42936 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42938         [BZ #16427]
42939         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42940         handling only for numbers special also in the IEEE case.
42942 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42944         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42946 2014-01-11  Allan McRae  <allan@archlinux.org>
42948         * po/bg.po: Update Bulgarian translation from translation project.
42950         * po/de.po: Update German translation from translation project.
42952 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42954         * sysdeps/generic/gcc-compat.h: New file.
42956 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42958         * benchtests/asin-inputs: Correct slow inputs.
42959         * benchtests/acos-inputs: Likewise.
42961 2014-01-10  Allan McRae  <allan@archlinux.org>
42963         * po:sv.po: Update Swedish translation from translation project.
42965         * po/vi.po: Update Vietnamese translation from translation project.
42967         * po/eo.po: Update Esperanto translation from translation project.
42969         * po/cs.po: Update Czech translation from translation project.
42971         * po/nl.po: Update Dutch translation from translation project.
42973         * po/pl.po: Update Polish translation from translation project.
42975         * po/ru.po: Update Russian translation from translation project.
42977         * po/uk.po: Update Ukrainian translation from translation project.
42979 2014-01-08  Brooks Moses  <bmoses@google.com>
42981         * elf/dl-load.c: Fix comment typo.
42983 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42985         * po/header.pot: Rename to...
42986         * po/pot.header: ... this.
42987         * po/Makefile: Use pot.header.
42989 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42990             Maxim Kuvyrkov  <maxim@kugelworks.com>
42992         [BZ #16394]
42993         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42994         SRC and DEST against LEN.
42996 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42998         [BZ #16414]
42999         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43000         implementation.
43001         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43003 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43007 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43009         [BZ #16408]
43010         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43011         for large positive arguments.
43013 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43015         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43017         * math/auto-libm-test-in: Mark various tests with
43018         xfail-rounding:ldbl-128ibm.
43019         * math/auto-libm-test-out: Regenerated.
43021         [BZ #16407]
43022         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43023         Increase overflow threshold.
43025 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43027         [BZ #14286]
43028         * stdio-common/vfprintf.c: Check for integer overflow.
43030 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43032         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43033         the first argument and return value of __tls_get_addr_internal.
43035 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43037         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43038         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43040 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43042         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43043         * sysdeps/s390/rtld-global-offsets.sym: New file.
43044         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43045         GLIBC_2.19 symbol.
43046         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43047         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43048         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43049         ... this.
43050         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43051         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43052         ... this.
43053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43054         Regenerate.
43055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43056         Regenerate.
43057         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43058         halfs of GPRs for high_gprs contexts.
43059         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43060         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43061         field.
43062         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43063         uc_flags field.
43064         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43065         64 bit versions:
43066         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43067         for high GPRs (uc_high_gprs) and for future extensions
43068         (__reserved).
43069         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43070         for future extensions (__reserved).
43071         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43072         64 bit versions:
43073         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43074         SC_HIGHGPRS offset definition.
43075         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43076         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43078         * Versions.def: Add GLIBC_2.19 for libpthread.
43079         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43080         siglongjmp for libpthread with GLIBC_2.19 symver.
43081         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43082         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43083         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43084         * sysdeps/s390/__longjmp.c: New file.
43085         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43086         * sysdeps/s390/longjmp.c: New file.
43087         * sysdeps/s390/setjmp.S: New file.
43088         * sysdeps/s390/sigjmp.S: New file.
43089         * sysdeps/s390/v1-longjmp.c: New file.
43090         * sysdeps/s390/v1-setjmp.h: New file.
43091         * sysdeps/s390/v1-sigjmp.c: New file.
43092         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43093         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43094         GLIBC_2.19 version.
43095         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43096         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43097         versioned symbols for ____longjmp_chk.
43098         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43099         Likewise.
43100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43101         Regenerate.
43102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43103         Regenerate.
43104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43105         Regenerate.
43106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43107         Regenerate.
43108         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43109         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43110         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43111         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43112         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43113         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43114         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43115         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43116         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43117         * sysdeps/s390/rtld-__longjmp.c: New file.
43118         * sysdeps/s390/rtld-setjmp.S: New file.
43120 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43122         [BZ #16400]
43123         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43124         Return -__logl (x) for small positive arguments without evaluating
43125         a polynomial.
43127 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43129         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43130         Rename to ...
43131         (__ptrace_peeksiginfo_args): ... this.
43132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43136 2014-01-06  Allan McRae  <allan@archlinux.org>
43138         * inet/netinet/in.h: Fix typo in comment.
43140 2014-01-05  Andreas Jaeger  <aj@suse.de>
43142         * sysdeps/i386/fpu/libm-test-ulps: Update.
43144 2014-01-05  Allan McRae  <allan@archlinux.org>
43146         * po/libc.pot: Regenerated.
43148         * malloc/memusagestat.c: Fix gettext call formatting.
43150 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43152         * nscd/nscd.c: Improve usage() output.
43154 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43156         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43157         * sysdeps/unix/sysv/linux/configure: Regenerated.
43158         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43159         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43161 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43163         [BZ #16390]
43164         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43165         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43167 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43170         extra tokens at end of #undef directive.
43171         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43172         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43173         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43175 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43177         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43179         * math/auto-libm-test-in: Mark various tests with
43180         xfail-rounding:ldbl-128ibm.
43181         * math/auto-libm-test-out: Regenerated.
43183 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43185         [BZ #16386]
43186         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43187         numbers with subnormal high part when calculating exponent.
43189         [BZ #16385]
43190         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43191         fabs.
43193         [BZ #16384]
43194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43195         M_LN2l.
43196         (__ieee754_acoshl): Use __log1pl not __log1p.
43198 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43200         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43201         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43202         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43203         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43204         (reused_arena, arena_get2): Convert to GNU style.
43205         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43206         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43207         (memalign_check, __malloc_set_state): Likewise.
43208         * malloc/mallocbug.c (main): Likewise.
43209         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43210         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43211         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43212         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43213         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43214         (__posix_memalign, malloc_info): Likewise.
43215         * malloc/malloc.h: Likewise.
43216         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43217         (mallochook, memalignhook, reallochook, mabort): Likewise.
43218         * malloc/mcheck.h: Likewise.
43219         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43220         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43221         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43222         * malloc/morecore.c (__default_morecore): Likewise.
43223         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43224         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43225         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43226         (print_and_abort): Likewise.
43227         * malloc/obstack.h: Likewise.
43228         * malloc/set-freeres.c (__libc_freeres): Likewise.
43229         * malloc/tst-mallocstate.c (main): Likewise.
43230         * malloc/tst-mtrace.c (main): Likewise.
43231         * malloc/tst-realloc.c (do_test): Likewise.
43233 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43235         [BZ #16366]
43236         * nscd/netgroupcache.c (do_notfound): New function.
43237         (addgetnetgrentX): Use it.
43239         [BZ # 16365]
43240         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43241         NSS_STATUS_NOTFOUND.
43243 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43245         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43248 2014-01-01  Allan McRae  <allan@archlinux.org>
43250         * scripts/update-copyrights: Update configure input file suffix.
43252         * NEWS: Update copyright year.
43253         * catgets/gencat.c: Likewise.
43254         * csu/version.c: Likewise.
43255         * debug/catchsegv.sh: Likewise.
43256         * debug/pcprofiledump.c: Likewise.
43257         * debug/xtrace.sh: Likewise.
43258         * elf/ldconfig.c: Likewise.
43259         * elf/ldd.bash.in: Likewise.
43260         * elf/pldd.c: Likewise.
43261         * elf/sotruss.ksh: Likewise.
43262         * elf/sprof.c: Likewise.
43263         * iconv/iconv_prog.c: Likewise.
43264         * iconv/iconvconfig.c: Likewise.
43265         * locale/programs/locale.c: Likewise.
43266         * locale/programs/localedef.c: Likewise.
43267         * login/programs/pt_chown.c: Likewise.
43268         * malloc/memusage.sh: Likewise.
43269         * malloc/memusagestat.c: Likewise.
43270         * malloc/mtrace.pl: Likewise.
43271         * manual/libc.texinfo: Likewise.
43272         * nscd/nscd.c: Likewise.
43273         * nss/getent.c: Likewise.
43274         * nss/makedb.c: Likewise.
43275         * posix/getconf.c: Likewise.
43276         * scripts/test-installation.pl: Likewise.
43278         * All files with FSF copyright notices: Update copyright dates
43279         using scripts/update-copyrights.
43280         * intl/plural.c: Regenerated.
43281         * locale/programs/charmap-kw.h: Likewise.
43282         * locale/programs/locfile-kw.h: Likewise.
43284 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43286         * sysdeps/unix/sysv/linux/configure: Regenerated.
43287         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43288         the linux/fanotify.h header.
43289         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43290         HAVE_LINUX_FANOTIFY_H is defined.
43292 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43294         * benchtests/cos-inputs: New inputs.
43295         * benchtests/sin-inputs: Likewise.
43297         * benchtests/atan-inputs: New inputs. Fix name of multiple
43298         precision fallback inputs.
43300         * benchtests/atanh-inputs: New inputs.
43301         * benchtests/tanh-inputs: Likewise.
43303         * benchtests/acosh-inputs: New inputs.
43304         * benchtests/asinh-inputs: Likewise.
43306         * benchtests/cosh-inputs: New inputs.
43307         * benchtests/sinh-inputs: Likewise.
43309         * benchtests/acos-inputs: Add more inputs.
43310         * benchtests/asin-inputs: Likewise.
43312 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43314         [BZ #16375]
43315         * manual/arith.texi: Fix spelling.
43316         * manual/charset.texi: Likewise.
43317         * manual/errno.texi: Likewise.
43318         * manual/filesys.texi: Likewise.
43319         * manual/lang.texi: Likewise.
43320         * manual/llio.texi: Likewise.
43321         * manual/locale.texi: Likewise.
43322         * manual/message.texi: Likewise.
43323         * manual/resource.texi: Likewise.
43324         * manual/search.texi: Likewise.
43325         * manual/setjmp.texi: Likewise.
43326         * manual/stdio.texi: Likewise.
43327         * manual/string.texi: Likewise.
43328         * manual/sysinfo.texi: Likewise.
43329         * manual/time.texi: Likewise.
43331 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43333         * po/sl.po: New file.
43335 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43337         * .gitignore: Add core/.gdbinit/.gdb_history.
43339 2013-12-27  Allan McRae  <allan@archlinux.org>
43341         [BZ #16369]
43342         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43343         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43345 2013-12-24  Brooks Moses  <bmoses@google.com>
43347         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43348         all compilers that claim C++98 compliance, not just GCC.
43349         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43350         Likewise.
43352 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43354         * NEWS: Restore accidentally deleted bug-fix entries.
43356 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43357             Ondřej Bílka  <neleai@seznam.cz>
43359         [BZ #15073]
43360         * malloc/malloc.c (_int_free): Perform sanity check only if we
43361         have_lock.
43363 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43365         [BZ #12986]
43366         * manual/stdio.texi (String Input Conversions): Clarify that character
43367         classes are not supported.
43369 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43373 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43375         [BZ #16337]
43376         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43377         Calculate results for small negative arguments directly rather
43378         than using reflection formula with special underflow handling.
43380         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43381         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43382         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43383         (fchflags): Likewise.
43384         (revoke): Likewise.
43385         (setlogin): Likewise.
43386         (sigaltstack): Likewise.
43387         (wait4): Likewise.
43388         (sigblock): Remove.
43389         (sigsetmask): Likewise.
43390         (wait3): Likewise.
43391         (waitpid): Likewise.
43392         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43393         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43394         file.
43395         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43396         * sysdeps/unix/bsd/Makefile: ... here.
43397         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43398         * sysdeps/unix/bsd/Versions: ... here.
43399         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43400         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43401         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43402         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43403         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43404         * sysdeps/unix/bsd/sigblock.c: ... here.
43405         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43406         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43407         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43408         * sysdeps/unix/bsd/sigvec.c: ... here.
43409         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43410         * sysdeps/unix/bsd/tcdrain.c: ... here.
43411         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43412         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43413         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43414         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43415         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43416         * sysdeps/unix/bsd/wait.c: ... here.
43417         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43418         * sysdeps/unix/bsd/wait3.c: ... here.
43419         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43420         * sysdeps/unix/bsd/waitpid.c: ... here.
43422 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43424         [BZ #16356]
43425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43426         round-to-nearest for [!USE_AS_EXPM1L].
43427         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43428         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43429         more tests of exp and exp10.  Expect some exp10 tests to miss
43430         exceptions or fail in directed rounding modes.
43431         * math/auto-libm-test-out: Regenerated.
43432         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43433         (exp10_test_tonearest): New function.
43434         (exp10_towardzero_test_data): New array.
43435         (exp10_test_towardzero): New function.
43436         (exp10_downward_test_data): New array.
43437         (exp10_test_downward): New function.
43438         (exp10_upward_test_data): New array.
43439         (exp10_test_upward): New function.
43440         (main): Call the new functions.
43441         * sysdeps/i386/fpu/libm-test-ulps: Update.
43442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43444 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43446         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43447         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43448         * math/auto-libm-test-out: Regenerated.
43449         * math/libm-test.inc (acosh_test_data): Add more tests.
43450         (atanh_test_data): Likewise.
43451         (ceil_test_data): Likewise.
43452         (copysign_test_data): Likewise.
43453         * sysdeps/i386/fpu/libm-test-ulps: Update.
43454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43456         * timezone/checktab.awk: Update from tzcode 2013i.
43457         * timezone/private.h: Likewise.
43458         * timezone/scheck.c: Likewise.
43459         * timezone/tzfile.h: Likewise.
43460         * timezone/tzselect.ksh: Likewise.
43461         * timezone/zdump.c: Likewise.
43462         * timezone/zic.c: Likewise.
43464         * math/auto-libm-test-in: Add tests of cpow.
43465         * math/auto-libm-test-out: Regenerated.
43466         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43468         mpc_cc_c.
43469         (func_calc_desc): Add mpc_cc_c union field.
43470         (test_functions): Add cpow.
43471         (special_fill_2pi): New function.
43472         (special_real_inputs): Add 2pi.
43473         (calc_generic_results): Handle mpc_cc_c.
43474         * sysdeps/i386/fpu/libm-test-ulps: Update.
43475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43477         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43478         csqrt, ctan and ctanh.
43479         * math/auto-libm-test-out: Regenerated.
43480         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43481         (TEST_COND_x86): Likewise.
43482         (ccos_test_data): Use AUTO_TESTS_c_c.
43483         (ccosh_test_data): Likewise.
43484         (cexp_test_data): Likewise.
43485         (clog_test_data): Likewise.
43486         (csqrt_test_data): Likewise.
43487         (ctan_test_data): Likewise.
43488         (ctan_tonearest_test_data): Likewise.
43489         (ctan_towardzero_test_data): Likewise.
43490         (ctan_downward_test_data): Likewise.
43491         (ctan_upward_test_data): Likewise.
43492         (ctanh_test_data): Likewise.
43493         (ctanh_tonearest_test_data): Likewise.
43494         (ctanh_towardzero_test_data): Likewise.
43495         (ctanh_downward_test_data): Likewise.
43496         (ctanh_upward_test_data): Likewise.
43497         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43498         mpc_c_c.
43499         (func_calc_desc): Add mpc_c_c union field.
43500         (FUNC_mpc_c_c): New macro.
43501         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43502         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43503         ctanh.
43504         (special_fill_min_subnorm_p120): New function.
43505         (special_real_inputs): Add min_subnorm_p120.
43506         (calc_generic_results): Handle mpc_c_c.
43507         * sysdeps/i386/fpu/libm-test-ulps: Update.
43508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43510 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43512         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43513         (do_sin_slow): New functions.
43514         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43515         (cslow2, csloww1, csloww2): Use the new functions.
43517         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43518         Use M to change sign of result instead of X.  Assume X is
43519         positive.
43520         (csloww1): Likewise.
43521         (__sin): Adjust.
43522         (__cos): Adjust.
43524         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43525         arguments A and DA.
43526         (__sin): Adjust.
43527         (__cos): Likewise.
43529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43530         (__cos): Likewise.
43531         (sloww1): Don't adjust sign of DX.
43532         (csloww1): Likewise.
43533         (sloww2): Use X directly and don't adjust sign of DX.
43534         (csloww2): Likewise.
43536 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43538         * math/auto-libm-test-in: Add tests of cabs and carg.
43539         * math/auto-libm-test-out: Regenerated.
43540         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43541         (carg_test_data): Likewise.
43542         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43543         mpc_c_f.
43544         (func_calc_desc): Add mpc_c_f union field.
43545         (test_functions): Add cabs and carg.
43546         (calc_generic_results): Handle mpc_c_f.
43548         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43549         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43550         as a macro and a compat symbol.
43551         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43552         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43553         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43554         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43555         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43557         not use .hidden.
43558         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43559         Likewise.
43560         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43561         Likewise.
43562         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43563         Likewise.
43564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43565         Likewise.
43566         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43567         Likewise.
43568         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43569         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43570         from GLIBC_2.3.2.
43572 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43576 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43578         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43579         trailing whitespace removed.
43580         * scripts/config.guess: Update to version 2013-11-29.
43581         * scripts/config.sub: Update to version 2013-10-01.
43583         * math/auto-libm-test-in: Add tests of sincos.
43584         * math/auto-libm-test-out: Regenerated.
43585         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43586         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43587         mpfr_f_11.
43588         (func_calc_desc): Add mpfr_f_11 union field.
43589         (test_functions): Add sincos.
43590         (calc_generic_results): Handle mpfr_f_11.
43591         * sysdeps/i386/fpu/libm-test-ulps: Update.
43592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43594 2013-12-19  Andreas Schwab  <schwab@suse.de>
43596         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43597         CALL_MCOUNT.
43598         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43599         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43600         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43602 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43604         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43605         * sysdeps/i386/fpu/libm-test-ulps: Update.
43606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43608         [BZ #16293]
43609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43610         round-to-nearest mode when using frndint.
43611         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43612         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43613         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43614         Likewise.
43615         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43616         sinh test to fail.
43617         * math/auto-libm-test-out: Regenerated.
43618         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43619         (TEST_COND_x86): Likewise.
43620         (expm1_tonearest_test_data): New array.
43621         (expm1_test_tonearest): New function.
43622         (expm1_towardzero_test_data): New array.
43623         (expm1_test_towardzero): New function.
43624         (expm1_downward_test_data): New array.
43625         (expm1_test_downward): New function.
43626         (expm1_upward_test_data): New array.
43627         (expm1_test_upward): New function.
43628         (main): Run the new test functions.
43629         * sysdeps/i386/fpu/libm-test-ulps: Update.
43630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43632         * include/features.h: Update comment documenting feature test
43633         macros.  Mention _DEFAULT_SOURCE in comment.
43634         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43635         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43636         _BSD_SOURCE and _SVID_SOURCE.
43637         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43638         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43639         !_SVID_SOURCE]: Likewise.
43640         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43641         (__USE_POSIX_IMPLICITLY): Define.
43642         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43643         (_POSIX_SOURCE): Undefine and redefine.
43644         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43645         (_POSIX_C_SOURCE): Likewise.
43646         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43647         (Feature Test Macros): Update documentation of default features.
43649 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43651         * benchtests/Makefile: Add bench-strtok.
43652         * benchtests/bench-strtok.c: New file: strtok benchtest.
43654 2013-12-19  Allan McRae  <allan@archlinux.org>
43656         * manual/install.texi: Suppress menu for plain text output.
43657         * INSTALL: Regenerated.
43659 2013-12-18  Brooks Moses  <bmoses@google.com>
43661         [BZ #15846]
43662         * misc/getauxval.c: Include errno.h.
43663         (__getauxval): Set errno to ENOENT if the requested type is not
43664         found.
43665         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43666         don't declare with __attribute_const__.
43667         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43668         * manual/startup.texi: Document that getauxval sets errno.
43670 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43672         * math/auto-libm-test-in: Add tests of jn and yn.
43673         * math/auto-libm-test-out: Regenerated.
43674         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43675         (yn_test_data): Likewise.
43676         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43677         mpfr_if_f.
43678         (func_calc_desc): Add mpfr_if_f union field.
43679         (FUNC_mpfr_if_f): New macro.
43680         (test_functions): Add jn and yn.
43681         (calc_generic_results): Assert type of second input for
43682         mpfr_ff_f.  Handle mpfr_if_f.
43683         (output_for_one_input_case): Disable all checking for arguments
43684         fitting floating-point types in case of an integer argument.
43685         * sysdeps/i386/fpu/libm-test-ulps: Update.
43686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43689         Don't expect fegetround reference in libm.so.
43691 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43693         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43694         $(config-cflags-nofma).
43696 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43698         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43699         * math/auto-libm-test-out: Regenerated.
43701         [BZ #16338]
43702         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43703         to determine exponent and adjust argument to have exponent of -1.
43704         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43705         log2.
43706         * math/auto-libm-test-out: Regenerated.
43707         * sysdeps/i386/fpu/libm-test-ulps: Update.
43708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43710 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43712         * manual/probes.texi: Remove cases when per-thread arenas are
43713         disabled.
43715 2013-12-18  Andreas Schwab  <schwab@suse.de>
43717         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43718         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43719         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43720         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43721         * sysdeps/i386/i686/multiarch/Makefile: Update.
43722         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43724 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43726         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43727         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43729 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43731         [BZ #15968]
43732         Support TZ transition times < 00:00:00.
43733         This is needed for version-3 tz-format files; it supports time
43734         stamps past 2037 for America/Godthab (the only entry in the tz
43735         database for which this change is relevant).
43736         * manual/time.texi (TZ Variable): Document transition times
43737         from -167:59:59 through -00:00:01.
43738         * time/tzset.c (tz_rule): Time of day is now signed.
43739         (__tzset_parse_tz): Parse negative time of day.
43741         Document TZ transition times >= 25:00:00.
43742         * manual/time.texi (TZ Variable): Document transition times from
43743         25:00:00 through 167:59:59.  These are already supported, and this
43744         support will help with version-3 tz-format files.
43746         * manual/time.texi (TZ Variable): Modernize North America example
43747         to reflect current (i.e., 2007-and-later) daylight saving rules.
43749         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43751 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43753         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43754         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43755         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43757         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43758         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43759         * sysdeps/unix/bsd/clock.c: Likewise.
43760         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43761         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43762         * sysdeps/unix/bsd/init-posix.c: Likewise.
43763         * sysdeps/unix/bsd/poll.c: Likewise.
43764         * sysdeps/unix/bsd/ptsname.c: Likewise.
43765         * sysdeps/unix/bsd/seekdir.c: Likewise.
43766         * sysdeps/unix/bsd/setegid.c: Likewise.
43767         * sysdeps/unix/bsd/seteuid.c: Likewise.
43768         * sysdeps/unix/bsd/setgid.c: Likewise.
43769         * sysdeps/unix/bsd/setrgid.c: Likewise.
43770         * sysdeps/unix/bsd/setruid.c: Likewise.
43771         * sysdeps/unix/bsd/setsid.c: Likewise.
43772         * sysdeps/unix/bsd/setuid.c: Likewise.
43773         * sysdeps/unix/bsd/sigaction.c: Likewise.
43774         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43775         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43776         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43777         * sysdeps/unix/bsd/telldir.c: Likewise.
43778         * sysdeps/unix/bsd/times.c: Likewise.
43779         * sysdeps/unix/bsd/usleep.c: Likewise.
43781         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43782         ($(objpfx)libbsd-compat.a): Remove rule.
43784         * include/features.h (__FAVOR_BSD): Do not define.
43785         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43786         features conflicting with POSIX.
43787         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43788         (_BSD_SOURCE): Remove description of not being a subset of other
43789         feature test macros.
43790         * manual/job.texi (getpgrp): Do not document BSD version.
43791         (getpgid): Do not document by reference to BSD getpgrp.
43792         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43793         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43794         * signal/signal.h [__FAVOR_BSD]: Likewise.
43795         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43796         instead of making contents conditional on [__FAVOR_BSD].
43797         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43799 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43803 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43805         [BZ #16314]
43806         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43807         values below 2**-450, not 2**-500.
43808         * math/auto-libm-test-in: Don't allow spurious underflow from
43809         hypot.
43810         * math/auto-libm-test-out: Regenerated.
43812         [BZ #16316]
43813         [BZ #16330]
43814         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43815         values of ha and hb and sort them after adjusting subnormal
43816         arguments.
43817         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43818         Likewise.
43819         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43820         values of ea and eb and sort them after adjusting subnormal
43821         arguments.
43822         * math/auto-libm-test-in: Do not expect some hypot tests of
43823         subnormals to fail.  Add more hypot tests.
43824         * math/auto-libm-test-out: Regenerated.
43826 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43828         [BZ #13304]
43829         * sysdeps/sh/s_fma.c: New file.
43830         * sysdeps/sh/s_fmaf.c: New file.
43831         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43832         version.
43833         * sysdeps/sh/Implies: Add sh/soft-fp.
43835 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43837         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43838         level of indirection to members `objname', `errstring', `malloced'.
43839         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43840         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43841         it as the __longjmp argument (just pass 1 instead).
43842         (_dl_catch_error): Initialize C with argument pointers and address of
43843         volatile local ERRCODE rather than copying values out of C at return.
43845 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43847         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43848         * math/auto-libm-test-out: Regenerated.
43849         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43850         (hypot_test_data): Likewise.
43851         (pow_test_data): Likewise.
43852         (pow_tonearest_test_data): Likewise.
43853         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43854         mpfr_ff_f.
43855         (func_calc_desc): Add mpfr_ff_f union field.
43856         (FUNC_mpfr_ff_f): New macro.
43857         (test_functions): Add atan2, hypot and pow.
43858         (special_fill_min): New function.
43859         (special_fill_minus_min): Likewise.
43860         (special_fill_min_subnorm): Likewise.
43861         (special_fill_minus_min_subnorm): Likewise.
43862         (special_real_inputs): Add min, -min, min_subnorm and
43863         -min_subnorm.
43864         (calc_generic_results): Handle mpfr_ff_f.
43865         * sysdeps/i386/fpu/libm-test-ulps: Update.
43866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43868 2013-12-16  Will Newton  <will.newton@linaro.org>
43870         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43871         (Aligned Memory Blocks): Add documentation for aligned_alloc
43872         and suggest it as an alternative to posix_memalign.
43873         (Hooks for Malloc): Document __memalign_hook is also called
43874         for aligned_alloc.  (Summary of Malloc): Add summary for
43875         aligned alloc.  Document __memalign_hook is also called
43876         for aligned_alloc.
43878 2013-12-16  Will Newton  <will.newton@linaro.org>
43880         * manual/memory.texi (Malloc Examples): Clarify default
43881         alignment documentation.  Suggest posix_memalign rather
43882         than memalign or valloc.
43883         (Aligned Memory Blocks): Remove suggestion to use memalign
43884         or valloc.  Remove obsolete comment about BSD.
43885         Document memalign errno values and mark the function obsolete.
43886         Document posix_memalign returned error codes.  Mark valloc
43887         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43888         called for posix_memalign and valloc.
43889         (Summary of Malloc): Add posix_memalign to function summary.
43890         __memalign_hook is also called for posix_memalign and valloc.
43892 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43894         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43895         TAYLOR_SIN.
43896         (__sin): Adjust.
43897         (__cos): Likewise.
43898         (sloww): Use mynumber union.  Expand ternary operator into
43899         if-else statements.
43900         (cslow): use mynumber union.
43902 2013-12-16  Allan McRae  <allan@archlinux.org>
43904         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43905         * configure: Regenerated.
43907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43909         [BZ #14120]
43910         * configure.ac: Added --enable-maintainer-mode. Check for
43911         autoconf when enabled.
43912         * configure: Regenerated.
43914         * nscd/nscd.service: New file.
43915         * nscd/nscd.tmpfiles: New file.
43917 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43919         [BZ #12100]
43920         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43921         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43922         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43923         (strstr): Add __strstr_sse2_unaligned ifunc.
43924         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43925         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43926         (strcasestr): Remove __strcasestr_sse42 ifunc.
43927         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43931 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43933         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43934         * sysdeps/sh/bits/fenv.h: ... here.
43935         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43937 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43939         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43942         hypotf multiarch implementations.
43943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43946         multiarch hypot for PPC64.
43947         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43950         multiarch hypotf for PPC64.
43952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43953         modff multiarch implementations.
43954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43957         multiarch modf for PPC64.
43958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43961         multiarch modff for PPC64.
43963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43964         and logl multiarch implementations.
43965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43968         multiarch logb for PPC64.
43969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43972         multiarch logb for PPC64.
43973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43976         multiarch logb for PPC64.
43978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43979         isinff multiarch implementation.
43980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43981         file.
43982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43984         multiarch isinf for PPC64.
43985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43986         file.
43987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43988         multiarch isinff for PPC64.
43990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43991         finitef multiarch implementation.
43992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43993         file.
43994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43996         multiarch finite for PPC64.
43997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43998         file.
43999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44000         multiarch finitef for PPC64.
44002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44003         lrint multiarch implementation.
44004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44005         file.
44006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44008         multiarch llrint for PPC64.
44009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44010         multiarch lrint for PPC64.
44012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44013         copysignf multiarch implementation.
44014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44015         file.
44016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44017         file.
44018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44019         multiarch copysign for PPC64.
44020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44021         multiarch copysignf for PPC64.
44023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44024         multiarch implementation.
44025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44026         file.
44027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44028         file.
44029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44030         file.
44031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44032         file.
44033         multiarch llround for PPC64.
44034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44035         multiarch trunc for PPC64.
44036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44037         multiarch truncf for PPC64.
44039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44040         multiarch implementation.
44041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44042         file.
44043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44044         file.
44045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44046         file.
44047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44048         file.
44049         multiarch llround for PPC64.
44050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44051         multiarch round for PPC64.
44052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44053         multiarch roundf for PPC64.
44055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44056         multiarch implementation.
44057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44058         file.
44059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44060         file.
44061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44062         file.
44063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44064         file.
44065         multiarch llround for PPC64.
44066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44067         multiarch floor for PPC64.
44068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44069         multiarch floorf for PPC64.
44071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44072         multiarch implementation.
44073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44074         file.
44075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44076         file.
44077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44078         file.
44079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44080         file.
44081         multiarch llround for PPC64.
44082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44083         multiarch ceil for PPC64.
44084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44085         multiarch ceilf for PPC64.
44087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44088         multiarch implementation.
44089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44090         file.
44091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44092         file.
44093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44094         file.
44095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44096         multiarch llround for PPC64.
44097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44098         multiarch lround for PPC64.
44100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44101         multiarch implementation.
44102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44105         file.
44106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44109         multiarch isnan for PPC64.
44110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44111         multiarch isnanf for PPC64.
44113         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44114         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44115         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44116         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44117         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44120         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44121         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44122         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44126         multiarch implementations.
44127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44128         (__libc_ifunc_impl_list): Likewise.
44129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44131         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44132         multiarch stpcpy for PPC64.
44134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44135         multiarch implementations.
44136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44137         (__libc_ifunc_impl_list): Likewise.
44138         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44140         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44141         multiarch strcpy for PPC64.
44143         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44144         redefine function name.
44145         (_wordcopy_fwd_dest_aligned): Likewise.
44146         (_wordcopy_bwd_aligned): Likewise.
44147         (_wordcopy_bwd_dest_aligned): Likewise.
44148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44149         multiarch implementations.
44150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44151         (__libc_ifunc_impl_list): Likewise.
44152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44155         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44156         multiarch wcscpy for PPC64.
44158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44159         multiarch implementations.
44160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44161         (__libc_ifunc_impl_list): Likewise.
44162         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44163         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44164         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44165         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44166         multiarch wcscpy for PPC64.
44168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44169         multiarch implementations.
44170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44171         (__libc_ifunc_impl_list): Likewise.
44172         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44173         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44174         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44175         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44176         multiarch wcsrchr for PPC64.
44178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44179         multiarch implementations.
44180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44181         (__libc_ifunc_impl_list): Likewise.
44182         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44183         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44184         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44185         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44186         multiarch wcschr for PPC64.
44188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44189         multiarch implementations.
44190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44191         (__libc_ifunc_impl_list): Likewise.
44192         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44193         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44194         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44195         multiarch strchrnul for PPC64.
44197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44198         implementations.
44199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44200         (__libc_ifunc_impl_list): Likewise.
44201         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44202         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44203         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44204         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44205         strchr for PPC64.
44207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44208         implementations.
44209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44210         (__libc_ifunc_impl_list): Likewise.
44211         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44212         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44213         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44214         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44215         strncmp for PPC64.
44217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44218         multiarch implementations.
44219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44220         (__libc_ifunc_impl_list): Likewise.
44221         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44222         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44223         strncasecmp for PPC64.
44224         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44225         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44226         multiarch strncasecmp_l for PPC64.
44228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44229         multiarch implementations.
44230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44231         (__libc_ifunc_impl_list): Likewise.
44232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44234         multiarch strcasecmp for PPC64.
44235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44236         file.
44237         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44238         multiarch strcasecmp_l for PPC64.
44240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44241         implementations.
44242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44243         (__libc_ifunc_impl_list): Likewise.
44244         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44245         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44246         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44247         strnlen for PPC64.
44249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44250         implementations.
44251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44252         (__libc_ifunc_impl_list): Likewise.
44253         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44254         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44255         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44256         strlen for PPC64.
44258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44259         implementations.
44260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44261         (__libc_ifunc_impl_list): Likewise.
44262         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44263         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44264         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44265         rawmemrchr for PPC64.
44267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44268         implementation.
44269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44270         (__libc_ifunc_impl_list): Likewise.
44271         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44272         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44273         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44274         memrchr for PPC64.
44276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44277         implementation.
44278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44279         (__libc_ifunc_impl_list): Likewise.
44280         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44281         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44282         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44283         memchr for PPC64.
44285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44286         implementation.
44287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44288         (__libc_ifunc_impl_list): Likewise.
44289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44290         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44291         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44292         mempcpy for PPC64.
44294         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44295         avoid cretion of __bzero symbol.
44296         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44297         Likewise.
44298         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44299         Likewise.
44300         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44301         Likewise.
44302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44303         multiarch implementations.
44304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44305         (__libc_ifunc_impl_list): Likewise.
44306         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44307         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44308         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44309         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44310         bzero for PPC32.
44311         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44312         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44313         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44314         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44315         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44316         memset for PPC64.
44317         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44319         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44321         implementations.
44322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44323         (__libc_ifunc_impl_list): Likewise.
44324         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44325         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44326         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44327         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44328         memcmp for PPC64.
44330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44331         multiarch for POWER/PPC64.
44332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44333         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44335         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44337         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44338         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44339         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44340         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44341         memcpy for PPC64.
44343         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44344         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44345         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44346         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44347         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44348         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44349         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44350         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44351         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44352         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44353         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44354         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44355         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44356         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44357         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44366 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44368         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44370 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44372         * benchtests/Makefile (bench): Add exp2 and log2.
44373         (LDLIBS-bench-exp2): Add -lm.
44374         (LDLIBS-bench-log2): Likewise.
44375         * benchtests/exp2-inputs: New inputs file.
44376         * benchtests/log2-inputs: New inputs file.
44377         * benchtests/log-inputs: Add new inputs.
44378         * benchtests/tan-inputs: Likewise.
44380 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44382         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44383         definition...
44384         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44385         (csloww2): ... from here.
44387         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44388         instead of structures.
44389         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44390         (POLYNOMIAL): Likewise.
44391         (TAYLOR_SLOW): Likewise.
44392         (__sin): Likewise.
44393         (__cos): Likewise.
44394         (slow1): Likewise.
44395         (slow2): Likewise.
44396         (sloww): Likewise.
44397         (sloww1); Likewise.
44398         (sloww2): Likewise.
44399         (bsloww1): Likewise.
44400         (bsloww2): Likewise.
44401         (cslow2): Likewise.
44402         (csloww): Likewise.
44403         (csloww1): Likewise.
44404         (csloww2): Likewise.
44406 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44408         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44409         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44410         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44411         * malloc/hooks.c (realloc_check): Likewise.
44413         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44414         * malloc/arena.c: Remove PER_THREAD conditional.
44415         [!PER_THREAD]: Remove code.
44416         (ptmalloc_unlock_all2): Likewise.
44417         (ptmalloc_init): Likewise.
44418         (_int_new_arena): Likewise.
44419         (arena_get2): Likewise.
44420         * malloc/hooks.c (__malloc_get_state): Likewise.
44421         (__malloc_set_state): Likewise.
44422         * malloc/malloc.c: Likewise.
44423         (struct malloc_state): Likewise.
44424         (struct malloc_par): Likewise.
44425         (__libc_realloc): Likewise.
44426         (__libc_mallopt): Likewise.
44428 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44430         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44432 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44434         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44435         macro to a function.  Check for zero perturb_byte.
44436         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44438         * malloc/malloc.c: (force_reg): Remove.
44439         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44440         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44441         force_reg by atomic_forced_read.
44442         * malloc/arena.c (ptmalloc_init): Likewise.
44443         * malloc/hooks.c (top_check): Likewise.
44445 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44449 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44453 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44455         * math/auto-libm-test-in: Add tests of lgamma.
44456         * math/auto-libm-test-out: Regenerated.
44457         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44458         (M_LOG_2_SQRT_PIl): Likewise.
44459         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44460         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44461         mpfr_f_f1.
44462         (func_calc_desc): Add mpfr_f_f1 union field.
44463         (ARGS1): New macro.
44464         (ARGS2): Likewise.
44465         (ARGS3): Likewise.
44466         (ARGS4): Likewise.
44467         (RET1): Likewise.
44468         (RET2): Likewise.
44469         (CALC): Likewise.
44470         (FUNC): Likewise.
44471         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44472         (test_functions): Add lgamma.
44473         (calc_generic_results): Handle mpfr_f_f1.
44474         * sysdeps/i386/fpu/libm-test-ulps: Update.
44475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44477 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44479         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44480         __mpn_add_n for PowerPC64/POWER7.
44481         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44482         __mpn_sub_n for PowerPC64/POWER7.
44484         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44485         __mpn_addmul_1 for PowerPC64.
44486         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44487         __mpn_submul_1 for PowerPC64.
44488         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44489         for PowerPC64.
44490         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44491         for PowerPC64.
44493 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44495         [BZ #15089]
44496         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44498 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44500         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44502         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44503         add multiarch folders.
44504         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44505         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44506         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44507         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44508         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44509         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44510         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44511         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44512         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44513         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44514         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44523         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44525         New file.
44526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44527         New file.
44528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44529         multiarch __ieee754_hypot for PowerPC32.
44530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44531         New file.
44532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44533         New file.
44534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44535         multiarch __ieee754_hypotf for PowerPC32.
44537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44538         long_double_symbol only if __logbl is defined.
44539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44540         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44541         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44542         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44543         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44544         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44545         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44546         path for implementation.
44547         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44548         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44550         logb, and logbl multiarch implementations for PowerPC32.
44551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44552         file.
44553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44554         file.
44555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44556         multiarch logb for PowerPC32.
44557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44558         file.
44559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44560         file.
44561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44562         multiarch logbf for PowerPC32.
44563         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44565         file.
44566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44567         multiarch logbl implementation for PowerPC32.
44569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44570         and modff multiarch implementations.
44571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44572         New file.
44573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44574         New file.
44575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44576         multiarch modf for PowerPC32.
44577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44578         New file.
44579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44580         New file.
44581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44582         multiarch modff for PowerPC32.
44584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44585         and lrintf multiarch implementations.
44586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44587         New file.
44588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44589         New file.
44590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44591         multiarch lrint for PowerPC32.
44592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44593         file: multiarch lrintf for PowerPC32.
44595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44596         and lroundf multiarch implementations.
44597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44598         New file.
44599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44600         New file.
44601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44602         New file.
44603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44604         multiarch lround for PowerPC32.
44605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44606         file: multiarch lroundf for PowerPC32.
44608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44609         copysign and copysignf multiarch implementations.
44610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44611         New file.
44612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44613         New file.
44614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44615         file: multiarch copysign for PowerPC32.
44616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44617         file: multiarch copysignf for PowerPC32.
44619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44620         and truncf multiarch implementations.
44621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44622         New file.
44623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44624         file.
44625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44626         multiarch trunc for PowerPC32.
44627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44628         New file.
44629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44630         New file.
44631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44632         multiarch truncf for PowerPC32.
44634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44635         and roundf multiarch implementations.
44636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44637         New file.
44638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44639         file.
44640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44641         multiarch round for PowerPC32.
44642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44643         New file.
44644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44645         New file.
44646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44647         multiarch roundf for PowerPC32.
44649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44650         and floorf multiarch implementations.
44651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44652         New file.
44653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44654         file.
44655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44656         multiarch floor for PowerPC32.
44657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44658         New file.
44659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44660         New file.
44661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44662         multiarch floorf for PowerPC32.
44664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44665         and ceilf multiarch implementations.
44666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44667         New file.
44668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44669         file.
44670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44671         multiarch ceil for PowerPC32.
44672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44673         New file.
44674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44675         file.
44676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44677         multiarch ceilf for PowerPC32.
44679         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44680         is defined.
44681         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44682         FINITEF is defined.
44683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44684         and finitef multiarch implementations.
44685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44686         New file.
44687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44688         file.
44689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44690         multiarch finite for PowerPC32.
44691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44692         New file.
44693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44694         file: multiarch finitef for PowerPC32.
44696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44697         and isinff multiarch implementations.
44698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44699         file.
44700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44701         file.
44702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44703         multiarch isinf for PowerPC32.
44704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44705         New file.
44706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44707         multiarch isinff for PowerPC32.
44709         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44710         alias when __isnan is defined.
44711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44712         and isnanf multiarch implementations.
44713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44714         file.
44715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44716         file.
44717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44718         file.
44719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44720         file.
44721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44722         multiarch isnan for PowerPC32.
44723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44724         New file.
44725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44726         New file.
44727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44728         multiarch isnanf for PowerPC32.
44730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44731         and sqrtf multiarch implementations.
44732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44733         file.
44734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44735         file.
44736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44737         multiarch sqrt for PowerPC32.
44738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44739         file.
44740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44741         file.
44742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44743         multiarch sqrtf for PowerPC32.
44745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44746         and llroundf multiarch implementations.
44747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44748         New file.
44749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44750         New file.
44751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44752         New file.
44753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44754         file: multiarch llround for PowerPC32.
44755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44756         file: multiarch llroundf for PowerPC32.
44758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44759         multiarch PowerPC32 fpu implementations.
44760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44761         New file.
44762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44763         New file.
44764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44765         multiarch llrint for PowerPC32.
44766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44767         New file.
44768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44769         New file.
44770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44771         file.
44773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44775         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44776         file.
44777         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44778         file.
44779         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44780         file.
44781         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44782         multiarch wordcopy for PPC32.
44783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44784         wordcopy objects.
44785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44786         (__libc_ifunc_impl_list): Likewise.
44787         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44788         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44789         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44790         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44791         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44792         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44794         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44796         file.
44797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44798         file.
44799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44800         file.
44801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44802         multiarch wcscpy for PPC32.
44803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44804         multiarch objects.
44805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44806         (__libc_ifunc_impl_list): Likewise.
44807         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44808         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44809         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44810         sysdeps/powerpc/power6/wcscpy.c.
44812         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44814         file.
44815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44816         file.
44817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44818         file.
44819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44820         multiarch wcsrchr for PPC32.
44821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44822         multiarch objects.
44823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44824         (__libc_ifunc_impl_list): Likewise.
44825         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44826         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44827         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44828         sysdeps/powerpc/power6/wcsrchr.c.
44830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44831         file.
44832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44833         file.
44834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44836         multiarch wcschr for PPc32.
44837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44838         multiarch objects.
44839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44840         (__libc_ifunc_impl_list): Likewise.
44841         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44842         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44843         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44844         sysdeps/powerpc/power6/wcschr.c.
44846         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44847         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44848         file.
44849         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44850         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44851         file: multiarch strchr for PPC32.
44852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44853         multiarch objects.
44854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44855         (__libc_ifunc_impl_list): Likewise.
44857         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44858         name.
44859         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44860         file.
44861         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44862         file.
44863         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44864         multiarch strchrnul for PPC32.
44865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44866         multiarch objects.
44867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44868         (__libc_ifunc_impl_list): Likewise.
44870         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44871         file.
44872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44873         multiarch strncasecmp for PPC32.
44874         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44875         file.
44876         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44877         multiarch strncasecmp_l for PPC32.
44878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44879         strncasecmp multiarch objects.
44880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44881         (__libc_ifunc_impl_list): Likewise.
44883         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44884         file.
44885         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44886         multiarch strncasecmp for PPC32.
44887         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44888         New file.
44889         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44890         multiarch strcasecmp_l for PPC32.
44891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44892         multiarch objects.
44893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44894         (__libc_ifunc_impl_list): Likewise.
44896         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44897         file.
44898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44899         file.
44900         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44901         multiarch strncmp for PPC32.
44902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44903         multiarch objects.
44904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44905         (__libc_ifunc_impl_list): Likewise.
44907         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44908         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44909         file.
44910         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44911         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44913         multiarch objects.
44914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44915         (__libc_ifunc_impl_list): Likewise.
44917         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44918         file.
44919         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44920         file.
44921         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44923         multiarch objects.
44924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44925         (__libc_ifunc_impl_list): Likewise.
44927         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44928         file.
44929         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44930         file.
44931         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44932         multiarch rawmemchr for PPC32.
44933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44934         multiarch objects.
44935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44936         (__libc_ifunc_impl_list): Likewise.
44938         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44939         file.
44940         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44941         file.
44942         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44943         file: memrchr multiarch for PPC32.
44944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44945         multiarch objects.
44946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44947         (__libc_ifunc_impl_list): Likewise.
44949         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44951         file.
44952         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44954         multiarch memchr for PPC32.
44955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44956         multiarch objects.
44957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44958         (__libc_ifunc_impl_list): Likewise.
44960         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44961         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44962         file.
44963         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44964         file.
44965         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44966         file: multiarch mempcpy for PPC32.
44967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44968         multiarch objects.
44969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44970         (__libc_ifunc_impl_list): Likewise.
44972         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44974         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44975         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44976         multiarch bzero for PPC32.
44977         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44978         file.
44979         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44980         file.
44981         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44982         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44983         file: multiarch memset for PPC32.
44984         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44986         memset multiarch objects.
44987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44988         (__libc_ifunc_impl_list): Likewise.
44990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44991         file.
44992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44994         memcmp for PPC32.
44995         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44997         multiarch objects.
44998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44999         (__libc_ifunc_impl_list): Likewise.
45001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45004         file.
45005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45006         file.
45007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45008         file.
45009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45010         multiarch memcpy for PPC32.
45011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45012         multiarch objects.
45013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45014         (__libc_ifunc_impl_list): Likewise.
45016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45017         support multiarch for POWER/PPC32.
45018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45019         Likewise.
45020         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45022         Implies file to make multiarch folder appers before the fpu and
45023         default folder for power4 configuration.
45025 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45027         * scripts/bench.pl: Append volatile keyword to type.
45029 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45031         * sysdeps/sh/sotruss-lib.c: New file.
45032         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45034 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45038 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45040         [BZ #6810]
45041         * math/w_tgamma.c: Include <errno.h>.
45042         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45043         * math/w_tgammaf.c: Include <errno.h>.
45044         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45045         * math/w_tgammal.c: Include <errno.h>.
45046         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45047         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45048         underflow.  Add more tgamma tests.
45049         * math/auto-libm-test-out: Regenerated.
45050         * sysdeps/i386/fpu/libm-test-ulps: Update.
45051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45053         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45054         sin, sinh, tan, tanh, tgamma, y0 and y1.
45055         * math/auto-libm-test-out: Regenerated.
45056         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45057         (TEST_COND_x86): Likewise.
45058         (M_E2l): Remove macro.
45059         (M_E3l): Likewise.
45060         (M_2_SQRT_PIl): Likewise.
45061         (M_SQRT_PIl): Likewise.
45062         (M_1_DIV_El): Likewise.
45063         (log_test_data): Use AUTO_TESTS_f_f.
45064         (log10_test_data): Likewise.
45065         (log1p_test_data): Likewise.
45066         (log2_test_data): Likewise.
45067         (sin_test_data): Likewise.
45068         (sin_tonearest_test_data): Likewise.
45069         (sin_towardzero_test_data): Likewise.
45070         (sin_downward_test_data): Likewise.
45071         (sin_upward_test_data): Likewise.
45072         (sinh_test_data): Likewise.
45073         (sinh_tonearest_test_data): Likewise.
45074         (sinh_towardzero_test_data): Likewise.
45075         (sinh_downward_test_data): Likewise.
45076         (sinh_upward_test_data): Likewise.
45077         (tan_test_data): Likewise.
45078         (tan_tonearest_test_data): Likewise.
45079         (tan_towardzero_test_data): Likewise.
45080         (tan_downward_test_data): Likewise.
45081         (tan_upward_test_data): Likewise.
45082         (tanh_test_data): Likewise.
45083         (tgamma_test_data): Likewise.
45084         (y0_test_data): Likewise.
45085         (y1_test_data): Likewise.
45086         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45087         (special_real_inputs): Add pi/4.
45088         * sysdeps/i386/fpu/libm-test-ulps: Update.
45089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45091 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45093         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45094         "longjmp_target" static probes.
45095         (__longjmp): Rename to __longjmp_symbol.
45096         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45097         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45098         on which longjmp to generate.
45099         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45100         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45101         probe.
45102         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45103         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45104         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45105         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45106         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45107         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45109         __longjmp_symbol based on which __longjmp to generate.
45110         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45111         probe.
45112         (setjmp): Rename to setjmp_symbol.
45113         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45114         (_setjmp): Rename to _setjmp_symbol.
45115         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45116         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45117         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45118         which setjmp to generate.
45119         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45120         "longjmp_target" static probes.
45122 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45124         * benchtests/README: Add note about output arguments.
45125         * benchtests/bench-sincos.c: Remove file.
45126         * benchtests/sincos-inputs: New file.
45127         * scripts/bench.pl: Identify output arguments and define
45128         static variables for them.
45130         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45132         [BZ #15941]
45133         * Makefile (INSTALL): Add install-plain.texi as the primary
45134         dependency.
45135         * manual/install-plain.texi: New file.
45136         * manual/install.texi: Include node directive only for
45137         non-plaintext output.
45139 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45141         * stdlib/longlong.h: Update from GCC.
45143         [BZ #6807]
45144         [BZ #15901]
45145         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45146         * math/w_j0f.c (y0f): Likewise.
45147         * math/w_j0l.c (__y0l): Likewise.
45148         * math/w_j1.c (y1): Likewise.
45149         * math/w_j1f.c (y1f): Likewise.
45150         * math/w_j1l.c (__y1l): Likewise.
45151         * math/w_jn.c (yn): Likewise.
45152         * math/w_jnf.c (ynf): Likewise.
45153         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45154         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45155         value for Bessel function domain errors outside _SVID_ mode.
45156         Adjust sign of return value for yn (negative integer, 0).
45157         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45158         by zero in return for negative x and set sign appropriately for
45159         negative n.
45160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45161         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45162         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45163         expectations in error cases.
45164         (y1_test_data): Likewise.
45165         (yn_test_data): Likewise.
45166         * sysdeps/i386/fpu/libm-test-ulps: Update.
45167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45169 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45171         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45172         "64" to "64-v1".  Add "64-v2".
45173         (abi-64-options): Rename to ...
45174         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45175         (abi-64-condition): Rename to ...
45176         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45177         (abi-64-ld-soname): Rename to ...
45178         (abi-64-v1-ld-soname): ... this.
45179         (abi-64-v2-options): Define.
45180         (abi-64-v2-condition): Likewise.
45181         (abi-64-v2-ld-soname): Likewise.
45182         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45183         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45188 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45189             Alan Modra  <amodra@gmail.com>
45191         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45192         New versions for use with the ELFv2 ABI.
45193         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45194         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45195         declaration.
45196         (struct La_ppc64v2_retval): Likewise.
45197         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45198         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45199         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45200         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45201         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45202         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45203         Do not save or restore CR.
45204         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45205         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45206         return values for ELFv2 ABI.  Fix location of FPR return registers.
45207         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45208         updated values for _CALL_ELF == 2.
45209         (La_regs, La_retval, int_retval): Likewise.
45211 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45213         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45214         (FRAME_MIN_SIZE_PARM): Likewise.
45215         (FRAME_BACKCHAIN): Likewise.
45216         (FRAME_CR_SAVE): Likewise.
45217         (FRAME_LR_SAVE): Likewise.
45218         (FRAME_TOC_SAVE): Likewise.
45219         (FRAME_PARM_SAVE): Likewise.
45220         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45221         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45222         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45223         (call_mcount_parm_offset): New macro.
45224         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45225         (PROF): Use symbolic stack frame offsets.
45226         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45227         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45228         Redefine in terms of FRAME_MIN_SIZE.
45229         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45230         (_dl_profile_resolve): Likewise.  Update comment.
45231         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45232         symbols stack frame offsets.
45233         (__sigsetjmp): Likewise.
45234         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45235         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45236         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45237         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45240         (FRAME_BACKCHAIN): Remove.
45241         (FRAME_CR_SAVE): Likewise.
45242         (FRAME_LR_SAVE): Likewise.
45243         (FRAME_COMPILER_DW): Likewise.
45244         (FRAME_LINKER_DW): Likewise.
45245         (FRAME_TOC_SAVE): Likewise.
45246         (FRAME_PARM_SAVE): Likewise.
45247         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45248         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45249         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45251         (CHECK_SP): Use symbolic stack frame offsets.
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45253         zone" instead of caller's parameter save area for temp storage.
45254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45255         Likewise.  Also, use symbolic stack frame offsets.
45256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45257         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45258         our own stack frame instead of the caller's.
45259         (__socket): Use symbolic stack frame offsets.
45261 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45262             Alan Modra  <amodra@gmail.com>
45264         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45265         Define.
45266         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45267         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45268         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45269         New function.
45270         (elf_machine_fixup_plt): Call it.
45271         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45272         reloc arguments.
45273         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45274         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45275         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45276         r2 before calling target.
45278 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45279             Alan Modra  <amodra@gmail.com>
45281         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45282         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45283         versions of macros to support ELFv2 ABI.
45284         (LOCALENTRY): New macro.
45285         (ENTRY, EALIGN): Use it.
45286         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45287         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45288         fall through into ENTRY entry point.
45289         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45290         Only define if _CALL_ELF != 2.
45292         (elf_machine_matches_host): Verify ABI version matches.
45293         (RTLD_START): Use LOCALENTRY.
45294         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45295         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45296         (PLT_ENTRY_WORDS): New macro.
45297         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45298         (elf_machine_runtime_setup): Support ELFv2 ABI.
45299         (elf_machine_fixup_plt): Likewise.
45300         (elf_machine_plt_conflict): Likewise.
45301         (resolve_ifunc): Likewise.
45302         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45303         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45304         Likewise.
45305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45306         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45308         (makecontext): Support ELFv2 ABI.
45309         * elf/elf.h (EF_PPC64_ABI): Define.
45311 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45313         * sysdeps/powerpc/powerpc64/sysdep.h
45314         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45315         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45316         (ENTRY) [ASSEMBLER]: ... but instead here ...
45317         (EALIGN) [ASSEMBLER]: ... and here.
45318         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45319         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45320         (ENTRY_2) [!ASSEMBLER]: Use it.
45321         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45322         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45323         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45324         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45325         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45327         Use PPC64_LOAD_FUNCPTR.
45329         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45331 2013-12-04  Alan Modra  <amodra@gmail.com>
45333         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45334         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45335         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45336         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45339         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45340         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45341         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45342         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45343         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45345 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45348         (__makecontext): Fix incorrect CFI when backtracing out of
45349         context created via makecontext.
45350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45351         (__setcontext): Fix incorrect CFI during switch to new context.
45352         (__novec_setcontext): Likewise.
45354 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45356         [BZ #4772]
45357         * time/strptime_l.c (__strptime_internal): Allow modifiers
45358         in strptime.
45359         * time/tst-strptime.c (day_tests): Add testcase.
45361 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45363         * scripts/bench.pl: Skip over blank lines.
45365 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45367         [BZ #926]
45368         * manual/time.texi (Calendar Time): Clarify what timezone functions
45369         use.
45371 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45375 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45377         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45378         implementation.
45379         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45380         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45381         * debug/memset_chk.c (__memset_chk): Likewise.
45382         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45383         * debug/strncpy_chk.c: Likewise.
45385 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45387         [BZ #15268]
45388         [BZ #15425]
45389         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45390         (__ieee754_exp): For possibly underflowing results, check size of
45391         result and force underflow exception if required.
45392         * math/auto-libm-test-in: Add more tests of exp.
45393         * math/auto-libm-test-out: Regenerated.
45394         * sysdeps/i386/fpu/libm-test-ulps: Update.
45395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45397         [BZ #16283]
45398         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45399         * math/w_exp2f.c (__exp2f): Likewise.
45400         * math/w_exp2l.c (__exp2l): Likewise.
45401         * math/auto-libm-test-in: Do not allow missing errno on exp2
45402         underflow.
45403         * math/auto-libm-test-out: Regenerated.
45405 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45407         [BZ #16274]
45408         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45409         handle filename validation.
45410         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45411         (do_open): Delete.
45413 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45415         [BZ #6786]
45416         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45417         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45418         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45419         <float.h>.
45420         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45421         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45422         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45424         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45425         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45426         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45427         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45428         Add more erfc tests.
45429         * math/auto-libm-test-out: Regenerated.
45430         * sysdeps/i386/fpu/libm-test-ulps: Update.
45431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45433         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45434         exp2, expm1, j0 and j1.
45435         * math/auto-libm-test-out: Regenerated.
45436         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45437         (erfc_test_data): Likewise.
45438         (exp_test_data): Likewise.
45439         (exp_tonearest_test_data): Likewise.
45440         (exp_towardzero_test_data): Likewise.
45441         (exp_downward_test_data): Likewise.
45442         (exp_upward_test_data): Likewise.
45443         (exp10_test_data): Likewise.
45444         (exp2_test_data): Likewise.
45445         (expm1_test_data): Likewise.
45446         (j0_test_data): Likewise.
45447         (j1_test_data): Likewise.
45448         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45449         (input_flag_type): Add flag_xfail_rounding.
45450         (input_flags): Add xfail-rounding.
45451         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45452         (output_for_one_input_case): Handle flag_xfail_rounding.
45453         * sysdeps/i386/fpu/libm-test-ulps: Update.
45454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45456 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45458         [BZ #16289]
45459         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45460         division by 0.
45462 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45464         [BZ #16195]
45465         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45466         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45467         (STAP_PROBE0): New macro.
45468         (STAP_PROBE1): Likewise.
45469         (STAP_PROBE2): Likewise.
45470         (STAP_PROBE3): Likewise.
45471         (STAP_PROBE4): Likewise.
45473 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45475         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45477 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45479         * benchtests/Makefile (bench): Add sqrt.
45480         (LDLIBS-bench-sqrt): New.
45481         * benchtests/sqrt-input: New.
45483 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45485         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45486         (GAIH_EAI): Likewise.
45487         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45488         (gaih_inet): Likewise.
45489         (getaddrinfo): Don't use GAIH_EAI.
45491         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45492         (struct gaih): Remove definition.
45494 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45496         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45497         Use HERRNOP directly.
45499 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45503 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45505         * math/gen-auto-libm-tests.c (test_functions): Add more
45506         single-argument functions.
45507         (special_fill_pi_2): New function.
45508         (special_fill_minus_pi_2): Likewise.
45509         (special_fill_pi_6): Likewise.
45510         (special_fill_minus_pi_6): Likewise.
45511         (special_fill_pi_3): Likewise.
45512         (special_fill_2pi_3): Likewise.
45513         (special_fill_e): Likewise.
45514         (special_fill_1_e): Likewise.
45515         (special_fill_e_minus_1): Likewise.
45516         (special_real_inputs): Add more special inputs.
45517         (output_for_one_input_case): Do not require ERANGE on underflow to
45518         zero if round-to-nearest result does not underflow to zero, unless
45519         exact results required.
45520         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45521         atan, atanh, cbrt, cos and cosh.
45522         * math/auto-libm-test-out: Regenerated.
45523         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45524         (acos_tonearest_test_data): Likewise.
45525         (acos_towardzero_test_data): Likewise.
45526         (acos_downward_test_data): Likewise.
45527         (acos_upward_test_data): Likewise.
45528         (acosh_test_data): Likewise.
45529         (asin_test_data): Likewise.
45530         (asin_tonearest_test_data): Likewise.
45531         (asin_towardzero_test_data): Likewise.
45532         (asin_upward_test_data): Likewise.
45533         (asinh_test_data): Likewise.
45534         (atan_test_data): Likewise.
45535         (atanh_test_data): Likewise.
45536         (cbrt_test_data): Likewise.
45537         (cos_test_data): Likewise.
45538         (cos_tonearest_test_data): Likewise.
45539         (cos_towardzero_test_data): Likewise.
45540         (cos_downward_test_data): Likewise.
45541         (cos_upward_test_data): Likewise.
45542         (cosh_test_data): Likewise.
45543         (cosh_tonearest_test_data): Likewise.
45544         (cosh_towardzero_test_data): Likewise.
45545         (cosh_downward_test_data): Likewise.
45546         (cosh_upward_test_data): Likewise.
45547         * sysdeps/i386/fpu/libm-test-ulps: Update.
45548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45550 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45552         [BZ #6787]
45553         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45554         * math/w_exp10f.c (__exp10f): Likewise.
45555         * math/w_exp10l.c (__exp10l): Likewise.
45556         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45557         errno settings in existing tests.
45559         [BZ #14032]
45560         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45561         precision control set to double precision.
45562         * sysdeps/i386/fpu/w_sqrt.c: New file.
45563         * math/auto-libm-test-in: Add more tests.
45564         * math/auto-libm-test-out: Update.
45566         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45567         (sqrt_test_tonearest): New function.
45568         (sqrt_towardzero_test_data): New variable.
45569         (sqrt_test_towardzero): New function.
45570         (sqrt_downward_test_data): New variable.
45571         (sqrt_test_downward): New function.
45572         (sqrt_upward_test_data): New variable.
45573         (sqrt_test_upward): New function.
45574         (main): Call the new functions.
45576         * math/gen-auto-libm-tests.c: New file.
45577         * math/auto-libm-test-in: Likewise.
45578         * math/auto-libm-test-out: New generated file.
45579         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45580         variables.
45581         (%beautify): Add generated representations of zero.
45582         (top level): Set $auto_input and call parse_auto_input.
45583         (beautify): Remove trailing "f" from hex float constants.
45584         (parse_args): Handle XFAIL_TEST.
45585         (convert_condition): New function.
45586         (or_value): Likewise.
45587         (or_cond_value): Likewise.
45588         (generate_testfile): Handle AUTO_TESTS_* lines.
45589         (parse_auto_input): New function.
45590         * math/libm-test.inc (XFAIL_TEST): New macro.
45591         (ERRNO_UNCHANGED): Update value.
45592         (ERRNO_EDOM): Likewise.
45593         (ERRNO_ERANGE): Likewise.
45594         (IGNORE_RESULT): Likewise.
45595         (TEST_COND_flt_32): New macro.
45596         (TEST_COND_dbl_64): Likewise.
45597         (TEST_COND_ldbl_96_intel): Likewise.
45598         (TEST_COND_ldbl_96_m68k): Likewise.
45599         (TEST_COND_ldbl_128): Likewise.
45600         (TEST_COND_ldbl_128ibm): Likewise.
45601         (TEST_COND_long32): Likewise.
45602         (TEST_COND_long64): Likewise.
45603         (TEST_COND_before_rounding): Likewise.
45604         (TEST_COND_after_rounding): Likewise.
45605         (enable_test): Handle XFAIL_TEST flag.
45606         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45607         with finite results.
45608         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45609         auto-libm-test-out.
45611 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45612             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45614         [BZ #16214]
45615         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45616         __tls_get_addr_internal instead of __tls_get_offset in order to
45617         avoid GOT pointer dependency.  Make rtld export
45618         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45619         __tls_get_addr since we are a __tls_get_offset platform.
45620         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45621         GOT pointer being set up before.
45622         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45624 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45626         * manual/math.texi (Errors in Math Functions): Document accuracy
45627         goals.
45629         [BZ #15004]
45630         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45631         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45632         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45633         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45634         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45635         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45636         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45637         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45638         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45643         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45645         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45647         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45648         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45649         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45650         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45651         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45652         Likewise.
45653         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45654         Likewise.
45655         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45656         Likewise.
45657         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45658         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45659         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45660         atomic-feupdateenv and flt-rounds.
45661         * sysdeps/powerpc/nofpu/Versions (libc): Add
45662         __atomic_feholdexcept, __atomic_feclearexcept,
45663         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45664         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45665         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45666         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45667         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45668         here.
45669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45670         Update.
45672         * manual/arith.texi (FP Exceptions): Document that exceptions may
45673         not be raised when matherr is used.
45674         (Math Error Reporting): Document overflow in directed rounding
45675         modes.  Document that errno may not be set when finite values are
45676         returned on overflow.  Document intent to set errno on underflow
45677         only for underflow to zero.
45679         [BZ #16271]
45680         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45681         round-to-nearest then adjust result for other rounding modes.
45682         * include/fenv.h (fegetround): Use libm_hidden_proto.
45683         * math/fegetround.c (fegetround): Use libm_hidden_def.
45684         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45685         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45686         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45687         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45688         Likewise.
45689         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45690         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45691         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45692         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45694 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45696         [BZ #16077]
45697         * nss/Versions (libnss_files): Add
45698         _nss_files_gethostbyname3_r.
45699         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45700         New function.
45701         (HOST_DB_LOOKUP): Remove macro.
45702         (_nss_files_gethostbyname_r): Implement function without the
45703         HOST_DB_LOOKUP macro.
45704         (_nss_files_gethostbyname2_r): Likewise.
45706 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45708         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45710 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45712         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45713         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45714         warning.
45716 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45718         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45719         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45720         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45721         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45722         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45723         __fe_nomask_env_priv and attribute_hidden.
45724         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45725         (libc_feupdateenv_test_ppc): Likewise.
45726         (libc_feresetround_ppc): Likewise.
45727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45728         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45729         compat_symbol macro.
45730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45731         (__fe_nomask_env): Likewise.
45732         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45734 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45736         * string/Makefile: Remove ifunc tests.
45737         * string/test-string.h: Define TEST_IFUNC.
45738         * string/test-bcopy-ifunc.c: Remove.
45739         * string/test-bzero-ifunc.c: Likewise.
45740         * string/test-memccpy-ifunc.c: Likewise.
45741         * string/test-memchr-ifunc.c: Likewise.
45742         * string/test-memcmp-ifunc.c: Likewise.
45743         * string/test-memcpy-ifunc.c: Likewise.
45744         * string/test-memmem-ifunc.c: Likewise.
45745         * string/test-memmove-ifunc.c: Likewise.
45746         * string/test-mempcpy-ifunc.c: Likewise.
45747         * string/test-memrchr-ifunc.c: Likewise.
45748         * string/test-memset-ifunc.c: Likewise.
45749         * string/test-rawmemchr-ifunc.c: Likewise.
45750         * string/test-stpcpy-ifunc.c: Likewise.
45751         * string/test-stpncpy-ifunc.c: Likewise.
45752         * string/test-strcasecmp-ifunc.c: Likewise.
45753         * string/test-strcasestr-ifunc.c: Likewise.
45754         * string/test-strcat-ifunc.c: Likewise.
45755         * string/test-strchr-ifunc.c: Likewise.
45756         * string/test-strchrnul-ifunc.c: Likewise.
45757         * string/test-strcmp-ifunc.c: Likewise.
45758         * string/test-strcpy-ifunc.c: Likewise.
45759         * string/test-strcspn-ifunc.c: Likewise.
45760         * string/test-strlen-ifunc.c: Likewise.
45761         * string/test-strncasecmp-ifunc.c: Likewise.
45762         * string/test-strncat-ifunc.c: Likewise.
45763         * string/test-strncmp-ifunc.c: Likewise.
45764         * string/test-strncpy-ifunc.c: Likewise.
45765         * string/test-strnlen-ifunc.c: Likewise.
45766         * string/test-strpbrk-ifunc.c: Likewise.
45767         * string/test-strrchr-ifunc.c: Likewise.
45768         * string/test-strspn-ifunc.c: Likewise.
45769         * string/test-strstr-ifunc.c: Likewise.
45771 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45773         * benchtests/Makefile: Remove ifunc tests.
45774         * benchtests/bench-string.h: Define TEST_IFUNC.
45775         * benchtests/bench-bcopy-ifunc.c: Remove.
45776         * benchtests/bench-bzero-ifunc.c: Likewise.
45777         * benchtests/bench-memccpy-ifunc.c: Likewise.
45778         * benchtests/bench-memchr-ifunc.c: Likewise.
45779         * benchtests/bench-memcmp-ifunc.c: Likewise.
45780         * benchtests/bench-memcpy-ifunc.c: Likewise.
45781         * benchtests/bench-memmem-ifunc.c: Likewise.
45782         * benchtests/bench-memmove-ifunc.c: Likewise.
45783         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45784         * benchtests/bench-memrchr-ifunc.c: Likewise.
45785         * benchtests/bench-memset-ifunc.c: Likewise.
45786         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45787         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45788         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45789         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45790         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45791         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45792         * benchtests/bench-strcat-ifunc.c: Likewise.
45793         * benchtests/bench-strchr-ifunc.c: Likewise.
45794         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45795         * benchtests/bench-strcmp-ifunc.c: Likewise.
45796         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45797         * benchtests/bench-strcpy-ifunc.c: Likewise.
45798         * benchtests/bench-strcspn-ifunc.c: Likewise.
45799         * benchtests/bench-strlen-ifunc.c: Likewise.
45800         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45801         * benchtests/bench-strncat-ifunc.c: Likewise.
45802         * benchtests/bench-strncmp-ifunc.c: Likewise.
45803         * benchtests/bench-strncpy-ifunc.c: Likewise.
45804         * benchtests/bench-strnlen-ifunc.c: Likewise.
45805         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45806         * benchtests/bench-strrchr-ifunc.c: Likewise.
45807         * benchtests/bench-strsep-ifunc.c: Likewise.
45808         * benchtests/bench-strspn-ifunc.c: Likewise.
45809         * benchtests/bench-strstr-ifunc.c: Likewise.
45811 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45813         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45815 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45817         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45818         * rt/aio.h: Likewise.
45819         * sysdeps/gnu/bits/utmp.h: Likewise.
45820         * sysdeps/gnu/bits/utmpx.h: Likewise.
45821         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45822         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45823         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45824         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45825         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45826         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45827         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45828         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45829         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45830         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45831         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45832         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45833         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45835         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45836         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45837         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45838         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45839         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45840         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45841         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45842         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45843         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45844         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45845         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45847         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45848         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45849         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45850         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45851         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45852         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45853         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45854         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45855         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45856         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45857         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45858         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45859         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45860         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45861         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45862         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45864 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45866         [BZ #16245]
45867         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45868         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45870 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45872         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45874         Likewise.
45876 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45879         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45880         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45881         (__fesetround): Remove define.
45882         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45883         rounding and exceptions handling.
45884         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45885         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45886         (__fe_nomask_env): Likewise.
45887         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45888         __fegetround instead of fegetround.
45889         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45890         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45892 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45894         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45895         it's there.
45897         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45899 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45901         [BZ #11157]
45902         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45903         (encrypt_r): Likewise.
45904         * malloc/obstack.h (obstack_free): Likewise.
45905         * posix/unistd.h (encrypt): Likewise.
45907 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45909         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45910         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45911         DL_CALL_DT_FINI() that call the functions directly.
45912         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45913         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45914         * elf/dl-fini.c: Likewise.
45916 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45918         * malloc/hooks.c (memalign_check): Add alignment rounding.
45919         * malloc/malloc.c (_mid_memalign): New function.
45920         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45921         Implement by calling _mid_memalign.
45922         * manual/probes.texi (Memory Allocation Probes): Remove
45923         memory_valloc_retry and memory_pvalloc_retry.
45925 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45927         * locale/programs/locarchive.c (open_archive): Add const
45928         qualifier to ARCHIVEFNAME and copy default fname to
45929         DEFAULT_FNAME.
45931         [BZ #15601]
45932         * libio/tst-widetext.input: Rename Oriya to Odia.
45933         * locale/iso-639.def: Likewise.
45935         * manual/probes.texi (Mathematical Function Probes): Add
45936         documentation for sin, cos, asin and acos probes.
45937         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45938         (__sin32): Add slowasin probe.
45939         (__cos32): Add slowacos probe.
45940         (__mpsin): Add slowsin probe.
45941         (__mpcos): Add slowcos probe.
45943 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45945         [BZ #15483]
45946         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45947         thread-local __sim_exceptions_thread and global
45948         __sim_exceptions_global.
45949         (__sim_disabled_exceptions): Change to thread-local
45950         __sim_disabled_exceptions_thread and global
45951         __sim_disabled_exceptions_global.
45952         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45953         and global __sim_round_mode_global.
45954         (__simulate_exceptions): Use thread-local floating-point state and
45955         set global state from it as needed.
45956         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45957         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45958         __sim_round_mode_thread.
45959         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45960         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45961         and global __sim_exceptions_global.
45962         (__sim_disabled_exceptions): Change to thread-local
45963         __sim_disabled_exceptions_thread and global
45964         __sim_disabled_exceptions_global.
45965         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45966         and global __sim_round_mode_global.
45967         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45968         (SIM_SET_GLOBAL): Likewise.
45969         * sysdeps/powerpc/soft-fp/sfp-machine.h
45970         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45971         __sim_round_mode_thread.
45972         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45973         __sim_disabled_exceptions_thread.
45974         (__sim_exceptions): Change to __sim_exceptions_thread.
45975         (__sim_disabled_exceptions): Change to
45976         __sim_disabled_exceptions_thread.
45977         (__sim_round_mode): Change to __sim_round_mode_thread.
45978         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45979         thread-local floating-point state and set global state from it as
45980         needed.
45981         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45982         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45983         (__sim_disabled_exceptions): Remove extern declaration.
45984         (feenableexcept): Use thread-local floating-point state and set
45985         global state from it as needed.
45986         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45987         extern declaration.
45988         (__sim_disabled_exceptions): Likewise.
45989         (__sim_round_mode): Likewise.
45990         (__fegetenv): Use thread-local floating-point state.
45991         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45992         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45993         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45994         floating-point state and set global state from it as needed.
45995         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45996         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45997         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45998         Likewise.
45999         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46000         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46001         Likewise.
46002         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46003         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46004         Use __sim_round_mode_thread.
46005         * math/test-fenv-tls.c: New file.
46006         * math/Makefile (tests): Add test-fenv-tls.
46007         ($(objpfx)test-fenv-tls): Depend on
46008         $(common-objpfx)nptl/libpthread.so.
46010 2013-11-19  Andreas Schwab  <schwab@suse.de>
46012         * locale/programs/locale.c (show_info): Decode wordarray elements.
46013         * locale/categories.def (LC_MONETARY): Add element for
46014         _NL_MONETARY_CRNCYSTR.
46015         * locale/C-monetary.c (conversion_rate): New variable.
46016         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46017         element.
46019 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46021         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46022         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46024 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46026         * elf/Makefile (tst-auxv): New test.
46027         * elf/tst-auxv.c: New
46028         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46030 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46032         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46033         (hidden_proto): Caller changed.
46034         (hidden_tls_proto): New macro.
46035         (libc_hidden_tls_proto): Likewise.
46036         (rtld_hidden_tls_proto): Likewise.
46037         (libm_hidden_tls_proto): Likewise.
46038         (libresolv_hidden_tls_proto): Likewise.
46039         (librt_hidden_tls_proto): Likewise.
46040         (libdl_hidden_tls_proto): Likewise.
46041         (libnss_files_hidden_tls_proto): Likewise.
46042         (libnsl_hidden_tls_proto): Likewise.
46043         (libnss_nisplus_hidden_tls_proto): Likewise.
46044         (libutil_hidden_tls_proto): Likewise.
46046 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46048         [BZ #10253]
46049         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46050         (decompose_rpath): Defer expansion to fillin_rpath.
46051         (_dl_init_paths): Pass linkmap to fillin_rpath.
46053 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46055         * benchtests/Makefile: Add strsep.
46056         * benchtests/bench-strsep.c: New file: strsep benchtest.
46057         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46059 2013-11-18  Andreas Schwab  <schwab@suse.de>
46061         * locale/programs/locale.c (show_info) [case byte]: Check for
46062         '\377' instead of '\177'.
46063         * locale/C-monetary.c (not_available): Always use "\377".
46064         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46065         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46066         detect unavailable sign_posn locale elements.
46067         * locale/localeconv.c (__localeconv): For grouping and
46068         mon_grouping handle "\177" and "\377" like no grouping.
46069         (INT_ELEM): New macro.  Use it to set all numeric members.
46070         * locale/programs/ld-monetary.c (monetary_read)
46071         <tok_mon_grouping>: Normalize single -1 to the empty string.
46072         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46073         Likewise.
46075 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46077         [BZ #16055]
46078         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46079         when we match (nil).
46080         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46082 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46084         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46085         (NO_TEST_INLINE): Update value.
46086         (ERRNO_UNCHANGED): Likewise.
46087         (ERRNO_EDOM): Likewise.
46088         (ERRNO_ERANGE): Likewise.
46089         (IGNORE_RESULT): Likewise.
46090         (check_float_internal): Check signs of NaN results if
46091         TEST_NAN_SIGN used.
46092         (check_complex): Pass TEST_NAN_SIGN flag through to second
46093         check_float_internal call.
46094         (copysign_test_data): Add tests with quiet NaNs as second
46095         argument.  Use TEST_NAN_SIGN.
46096         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46097         TEST_NAN_SIGN.
46098         (signbit_test_data): Add tests of quiet NaN argument.
46099         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46101         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46102         $ignore_result.
46103         (parse_args): Handle function results specified as IGNORE.
46104         * math/libm-test.inc (IGNORE_RESULT): New macro.
46105         (check_float_internal): Do not check numerical result if flag
46106         IGNORE_RESULT set.
46107         (check_complex): Pass through IGNORE_RESULT to second
46108         check_float_internal call.
46109         (check_int): Do not check numerical result if flag IGNORE_RESULT
46110         set.
46111         (check_long): Likewise.
46112         (check_bool): Likewise.
46113         (check_longlong): Likewise.
46114         (lrint_test_data): Add tests of infinite and NaN arguments.
46115         (lrint_tonearest_test_data): Likewise.
46116         (lrint_towardzero_test_data): Likewise.
46117         (lrint_downward_test_data): Likewise.
46118         (lrint_upward_test_data): Likewise.
46119         (llrint_test_data): Likewise.
46120         (llrint_tonearest_test_data): Likewise.
46121         (llrint_towardzero_test_data): Likewise.
46122         (llrint_downward_test_data): Likewise.
46123         (llrint_upward_test_data): Likewise.
46124         (lround_test_data): Likewise.
46125         (llround_test_data): Likewise.
46127         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46128         (ERRNO_UNCHANGED): Update value.
46129         (ERRNO_EDOM): Likewise.
46130         (ERRNO_ERANGE): Likewise.
46131         (NO_TEST_INLINE_FLOAT): New macro.
46132         (NO_TEST_INLINE_DOUBLE): Likewise.
46133         (enable_test): New function.
46134         (RUN_TEST_f_f): Check enable_test before running test.
46135         (RUN_TEST_2_f): Likewise.
46136         (RUN_TEST_fff_f): Likewise.
46137         (RUN_TEST_c_f): Likewise.
46138         (RUN_TEST_f_f1): Likewise.
46139         (RUN_TEST_fF_f1): Likewise.
46140         (RUN_TEST_fI_f1): Likewise.
46141         (RUN_TEST_ffI_f1): Likewise.
46142         (RUN_TEST_c_c): Likewise.
46143         (RUN_TEST_cc_c): Likewise.
46144         (RUN_TEST_f_i): Likewise.
46145         (RUN_TEST_f_i_tg): Likewise.
46146         (RUN_TEST_ff_i_tg): Likewise.
46147         (RUN_TEST_f_b): Likewise.
46148         (RUN_TEST_f_b_tg): Likewise.
46149         (RUN_TEST_f_l): Likewise.
46150         (RUN_TEST_f_L): Likewise.
46151         (RUN_TEST_fFF_11): Likewise.
46152         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46153         conditionals.
46154         (cosh_test_data): Likewise.
46155         (exp_test_data): Likewise.
46156         (expm1_test_data): Likewise.
46157         (hypot_test_data): Likewise.
46158         (pow_test_data): Likewise.
46159         (sinh_test_data): Likewise.
46160         (tanh_test_data): Likewise.
46161         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46162         flags argument.
46164         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46165         tests with quiet NaN input and output.
46166         (acosh_test_data): Likewise.
46167         (asin_test_data): Likewise.
46168         (asinh_test_data): Likewise.
46169         (atan_test_data): Likewise.
46170         (atanh_test_data): Likewise.
46171         (atan2_test_data): Likewise.
46172         (cbrt_test_data): Likewise.
46173         (cos_test_data): Likewise.
46174         (cosh_test_data): Likewise.
46175         (erf_test_data): Likewise.
46176         (erfc_test_data): Likewise.
46177         (exp_test_data): Likewise.
46178         (exp10_test_data): Likewise.
46179         (exp2_test_data): Likewise.
46180         (expm1_test_data): Likewise.
46181         (hypot_test_data): Likewise.
46182         (j0_test_data): Likewise.
46183         (j1_test_data): Likewise.
46184         (jn_test_data): Likewise.
46185         (lgamma_test_data): Likewise.
46186         (log_test_data): Likewise.
46187         (log10_test_data): Likewise.
46188         (log1p_test_data): Likewise.
46189         (log2_test_data): Likewise.
46190         (pow_test_data): Likewise.
46191         (scalb_test_data): Likewise.
46192         (sin_test_data): Likewise.
46193         (sincos_test_data): Likewise.
46194         (sinh_test_data): Likewise.
46195         (tan_test_data): Likewise.
46196         (tanh_test_data): Likewise.
46197         (tgamma_test_data): Likewise.
46198         (y0_test_data): Likewise.
46199         (y1_test_data): Likewise.
46200         (yn_test_data): Likewise.
46202         [BZ #16167]
46203         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46204         argument being NaN and avoid computations with second argument in
46205         that case.
46206         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46207         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46208         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46210 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46212         * locale/iso-639.def: Add Chitwani Tharu (the).
46214 2013-11-14  Andreas Schwab  <schwab@suse.de>
46216         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46217         word instead of empty string.
46219 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46222         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46224         (__fe_nomask_env): Likewise.
46226 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46228         * benchtests/bench-timing.h: Include time.h.
46230 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46232         [BZ #15997]
46233         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46234         to 3.4.0 for x32.
46235         * sysdeps/unix/sysv/linux/configure: Regenerated.
46237 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46239         [BZ #16151]
46240         * stdlib/strtod_l.c (round_and_return): Do not consider
46241         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46242         exponent one less than half the least subnormal exponent.
46243         * stdlib/test-strtod-round-data: Add more tests.
46244         * stdlib/tst-strtod-round.c (tests): Regenerated.
46246 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46248         [BZ #14143]
46249         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46250         (__fe_mask_env): Likewise.
46251         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46252         libm_hidden_proto and add function prototype.
46253         (__fe_mask_env): Add function prototype.
46254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46255         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46257         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46259         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46261 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46263         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46264         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46266 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46268         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46269         of htab_find_slot().
46271 2013-11-11  David S. Miller  <davem@davemloft.net>
46273         [BZ #16150]
46274         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46275         symbol in the non-vis3 case in static builds.
46276         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46277         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46278         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46279         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46281 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46283         [BZ #387]
46284         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46285         it is empty.
46287 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46289         * benchtests/Makefile: Add bench-strtod.
46290         * benchtests/bench-strtod.c: New file: strtod benchtest
46292 2013-11-11  Andreas Schwab  <schwab@suse.de>
46294         [BZ #16153]
46295         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46296         terminating NUL in key length.
46298 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46300         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46301         Add artificial ODP entry for vDSO symbol for PPC64.
46302         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46303         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46305 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46307         [BZ #15374]
46308         * nss/getent.c (services_keys): Recognize services starting with digit.
46310 2013-11-06  David S. Miller  <davem@davemloft.net>
46312         [BZ #15985]
46313         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46314         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46316 2013-11-06  Will Newton  <will.newton@linaro.org>
46318         * manual/memory.texi (Malloc Examples): Remove register
46319         keyword from examples.
46321 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46323         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46325 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46327         [BZ #6981]
46328         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46329         depending on [__GCC_IEC_559 > 0].
46330         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46331         depending on [__GCC_IEC_559_COMPLEX > 0].
46333 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46335         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46336         to iso-639.def.
46338 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46340         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46342 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46344         [BZ #16112]
46345         * malloc/malloc (malloc_info): Do not handle first bin as
46346         special case.
46348 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46350         * locale/iso-639.def: Add Central Nahuatl (nhn).
46352 2013-11-01  Bruno Haible  <bruno@clisp.org>
46354         [BZ #7003]
46355         * manual/math.texi (BSD Random): Specify range upper bound as
46356         in POSIX.
46358 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46360         * locale/iso-639.def: Add Meadow Mari (mhr).
46362 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46364         [BZ #14752], [BZ #15763]
46365         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46366         Validate name.
46367         * rt/tst_shm.c: Add test for escaping directory.
46369 2013-10-31  Andreas Schwab  <schwab@suse.de>
46371         [BZ #15917]
46372         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46373         followed by 'x' as part of digit sequence.
46374         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46376 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46378         [BZ #16037]
46379         * configure.ac: allow GNU Make 4.0 and greater.
46380         * configure: Regenerated.
46382 2013-10-30  Will Newton  <will.newton@linaro.org>
46384         [BZ #16038]
46385         * malloc/hooks.c (memalign_check): Limit alignment to the
46386         maximum representable power of two.
46387         * malloc/malloc.c (__libc_memalign): Likewise.
46388         * malloc/tst-memalign.c (do_test): Add test for very
46389         large alignment values.
46390         * malloc/tst-posix_memalign.c (do_test): Likewise.
46392 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46394         [BZ #11087]
46395         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46396         (munmap_chunk): Likewise.
46397         (mremap_chunk): Likewise.
46399 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46401         [BZ #15799]
46402         * stdlib/div.c (div): Remove obsolete code.
46403         * stdlib/ldiv.c (ldiv): Likewise.
46404         * stdlib/lldiv.c (lldiv): Likewise.
46406 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46408         [BZ #16071]
46409         * nss/nss_files/files-XXX.c (get_contents_ret): New
46410         enumerator.
46411         (get_contents): New function.
46412         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46414 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46416         * configure.in: Moved to ...
46417         * configure.ac: ... here. Change reference to configure.in
46418         to configure.ac.
46419         * sysdeps/arm/preconfigure.ac: ... here.
46420         configure.in to configure.ac.
46421         * sysdeps/gnu/configure.in: Moved to ...
46422         * sysdeps/gnu/configure.ac: ... here.
46423         * sysdeps/i386/configure.in: Moved to ...
46424         * sysdeps/i386/configure.ac: ... here.
46425         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46426         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46427         * sysdeps/mach/configure.in: Moved to ...
46428         * sysdeps/mach/configure.ac: ... here.
46429         * sysdeps/mach/hurd/configure.in: Moved to ...
46430         * sysdeps/mach/hurd/configure.ac: ... here.
46431         * sysdeps/powerpc/configure.in: Moved to ...
46432         * sysdeps/powerpc/configure.ac: ... here.
46433         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46434         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46435         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46436         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46437         * sysdeps/s390/s390-32/configure.in: Moved to ...
46438         * sysdeps/s390/s390-32/configure.ac: ... here.
46439         * sysdeps/s390/s390-64/configure.in: Moved to ...
46440         * sysdeps/s390/s390-64/configure.ac: ... here.
46441         * sysdeps/sh/configure.in: Moved to ...
46442         * sysdeps/sh/configure.ac: ... here.
46443         * sysdeps/sparc/configure.in: Moved to ...
46444         * sysdeps/sparc/configure.ac: ... here.
46445         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46446         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46447         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46448         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46449         * sysdeps/x86_64/configure.in: Moved to ...
46450         * sysdeps/x86_64/configure.ac: ... here.
46451         * sysdeps/x86_64/preconfigure.in: Moved to ...
46452         * sysdeps/x86_64/preconfigure.ac: ... here.
46453         * aclocal.m4: Change reference to configure.in to configure.ac.
46454         * config.h.in: Likewise.
46455         * manual/install.texi: Likewise.
46456         * manual/maint.texi: Likewise.
46457         * Makefile: Likewise.
46458         * malloc/Makefile: Likewise.
46459         * nscd/Makefile: Likewise.
46460         * Makeconfig: Change reference to configure.in and
46461         preconfigure.in to configure.ac and preconfigure.ac
46462         respectively.
46463         * INSTALL: Regenerated.
46464         * configure: Likewise.
46465         * sysdeps/gnu/configure: Likewise.
46466         * sysdeps/i386/configure: Likewise.
46467         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46468         * sysdeps/mach/configure: Likewise.
46469         * sysdeps/mach/hurd/configure: Likewise.
46470         * sysdeps/powerpc/configure: Likewise.
46471         * sysdeps/powerpc/powerpc32/configure: Likewise.
46472         * sysdeps/powerpc/powerpc64/configure: Likewise.
46473         * sysdeps/s390/s390-32/configure: Likewise.
46474         * sysdeps/s390/s390-64/configure: Likewise.
46475         * sysdeps/sh/configure: Likewise.
46476         * sysdeps/sparc/configure: Likewise.
46477         * sysdeps/unix/sysv/linux/configure: Likewise.
46478         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46479         * sysdeps/x86_64/configure: Likewise.
46480         * sysdeps/x86_64/preconfigure: Likewise.
46482 2013-10-29  Andreas Schwab  <schwab@suse.de>
46484         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46486 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46488         * benchtests/pow-inputs: Add new inputs.
46490         * benchtests/exp-inputs: Add new inputs.
46492         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46493         conditional check for return value.
46494         (__cos32): Likewise.
46496 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46498         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46499         to provide a boost for large inputs with word alignment.
46500         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46501         implementation based on optimized PPC64 strcpy.
46502         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46503         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46504         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46505         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46507 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46509         [BZ #2801]
46510         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46512 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46514         [BZ #14876]
46515         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46516         * time/tst-strptime.c (day_tests): Add testcase.
46518 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46520         [BZ #14029]
46521         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46523 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46525         [BZ #16074]
46526         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46527         MAP_FAILED on error.
46529 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46531         [BZ #16072]
46532         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46533         heap for large requests.
46535 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46537         [BZ #9954]
46538         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46539         result if the result has no associated interface.
46540         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46541         interface for all 127.X.Y.Z addresses.
46543 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46545         * locale/iso-639.def: Add Ligurian (lij)
46547 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46549         [BZ #15825]
46550         * sunrpc/rpc_main.c: Document rpcgen -5.
46552 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46554         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46556 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46558         [BZ #10278]
46559         * posix/glob.c: Match only directories when trailing slash is present.
46560         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46561         (main): Add testcase.
46563 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46565         [BZ #15670]
46566         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46568 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46570         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46571         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46572         AUTH_DES and cindex for FIPS 140-2.
46573         (DES Encryption): Add cindex FIPS 46-3.
46575         * locale/locarchive.h (struct locarhandle): Add fname.
46576         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46577         if an optional argument was specified to --list-archive,
46578         otherwise NULL.
46579         * locale/programs/locarchive.c (show_archive_content): Take new
46580         argument fname and pass it via ah.fname to open_archive.
46581         * locale/programs/localedef.h: Update decl.
46582         (open_archive): If AH->fname is non-null, open that file
46583         rather than the default file name, and don't ignore ENOENT.
46584         (create_archive): Set AH.fname to NULL.
46585         (delete_locales_from_archive): Likewise.
46586         (add_locales_to_archive): Likewise.
46587         * locale/programs/locfile.c (write_all_categories): Likewise.
46589 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46590             Aldy Hernandez  <aldyh@redhat.com>
46592         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46593         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46594         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46595         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46596         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46597         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46598         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46599         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46600         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46601         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46602         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46603         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46604         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46605         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46606         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46607         Likewise.
46608         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46609         Likewise.
46610         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46611         Likewise.
46612         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46613         Likewise.
46614         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46615         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46616         Likewise.
46617         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46618         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46619         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46620         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46621         Likewise.
46622         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46623         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46624         * sysdeps/powerpc/preconfigure: Likewise.
46625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46626         Likewise.
46627         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46628         Replace contents of file by #include of <fenv_libc.h>.
46629         * sysdeps/powerpc/soft-fp/sfp-machine.h
46630         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46631         and <sys/prctl.h>.
46632         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46639         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46645         Allow copysignl PLT reference to be missing.
46647 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46648             Joseph Myers  <joseph@codesourcery.com
46650         [BZ #15948]
46651         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46652         single character.
46653         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46655 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46657         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46658         * elf/tst-tls1.c: Likewise.
46659         * elf/tst-tls10.h: Likewise.
46660         * elf/tst-tls14.c: Likewise.
46661         * elf/tst-tls2.c: Likewise.
46662         * elf/tst-tls3.c: Likewise.
46663         * elf/tst-tls4.c: Likewise.
46664         * elf/tst-tls5.c: Likewise.
46665         * elf/tst-tls6.c: Likewise.
46666         * elf/tst-tls7.c: Likewise.
46667         * elf/tst-tls8.c: Likewise.
46668         * elf/tst-tls9.c: Likewise.
46669         * elf/tst-tlsmod1.c: Likewise.
46670         * elf/tst-tlsmod13.c: Likewise.
46671         * elf/tst-tlsmod13a.c: Likewise.
46672         * elf/tst-tlsmod14a.c: Likewise.
46673         * elf/tst-tlsmod16a.c: Likewise.
46674         * elf/tst-tlsmod16b.c: Likewise.
46675         * elf/tst-tlsmod2.c: Likewise.
46676         * elf/tst-tlsmod3.c: Likewise.
46677         * elf/tst-tlsmod4.c: Likewise.
46678         * elf/tst-tlsmod5.c: Likewise.
46679         * elf/tst-tlsmod6.c: Likewise.
46681 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46683         [BZ #12486]
46684         * malloc/malloc.c: remove checks for statistics.
46686 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46688         [BZ #15277]
46689         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46690         * inet/tst-network.c: Add testcase.
46692 2013-10-17  Andreas Schwab  <schwab@suse.de>
46694         [BZ #15218]
46695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46696         to determine canonical name.
46698 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46700         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46701         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46702         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46703         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46705         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46706         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46707         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46708         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46709         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46710         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46711         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46713         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46714         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46715         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46717         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46718         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46719         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46720         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46721         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46722         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46723         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46724         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46725         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46726         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46727         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46728         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46729         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46730         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46731         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46732         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46733         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46734         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46735         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46736         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46737         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46738         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46739         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46740         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46741         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46742         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46743         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46744         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46745         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46746         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46747         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46748         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46749         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46750         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46751         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46752         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46753         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46754         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46759 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46761         [BZ #16041]
46762         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46763         make result into a quiet NaN.
46765 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46767         * soft-fp/adddf3.c: Fix horizontal whitespace.
46768         * soft-fp/addsf3.c: Likewise.
46769         * soft-fp/addtf3.c: Likewise.
46770         * soft-fp/divdf3.c: Likewise.
46771         * soft-fp/divsf3.c: Likewise.
46772         * soft-fp/divtf3.c: Likewise.
46773         * soft-fp/double.h: Likewise.
46774         * soft-fp/eqdf2.c: Likewise.
46775         * soft-fp/eqsf2.c: Likewise.
46776         * soft-fp/eqtf2.c: Likewise.
46777         * soft-fp/extenddftf2.c: Likewise.
46778         * soft-fp/extended.h: Likewise.
46779         * soft-fp/extendsfdf2.c: Likewise.
46780         * soft-fp/extendsftf2.c: Likewise.
46781         * soft-fp/extendxftf2.c: Likewise.
46782         * soft-fp/fixdfdi.c: Likewise.
46783         * soft-fp/fixdfsi.c: Likewise.
46784         * soft-fp/fixdfti.c: Likewise.
46785         * soft-fp/fixsfdi.c: Likewise.
46786         * soft-fp/fixsfsi.c: Likewise.
46787         * soft-fp/fixsfti.c: Likewise.
46788         * soft-fp/fixtfdi.c: Likewise.
46789         * soft-fp/fixtfsi.c: Likewise.
46790         * soft-fp/fixtfti.c: Likewise.
46791         * soft-fp/fixunsdfdi.c: Likewise.
46792         * soft-fp/fixunsdfsi.c: Likewise.
46793         * soft-fp/fixunsdfti.c: Likewise.
46794         * soft-fp/fixunssfdi.c: Likewise.
46795         * soft-fp/fixunssfsi.c: Likewise.
46796         * soft-fp/fixunssfti.c: Likewise.
46797         * soft-fp/fixunstfdi.c: Likewise.
46798         * soft-fp/fixunstfsi.c: Likewise.
46799         * soft-fp/fixunstfti.c: Likewise.
46800         * soft-fp/floatdidf.c: Likewise.
46801         * soft-fp/floatdisf.c: Likewise.
46802         * soft-fp/floatditf.c: Likewise.
46803         * soft-fp/floatsidf.c: Likewise.
46804         * soft-fp/floatsisf.c: Likewise.
46805         * soft-fp/floatsitf.c: Likewise.
46806         * soft-fp/floattidf.c: Likewise.
46807         * soft-fp/floattisf.c: Likewise.
46808         * soft-fp/floattitf.c: Likewise.
46809         * soft-fp/floatundidf.c: Likewise.
46810         * soft-fp/floatundisf.c: Likewise.
46811         * soft-fp/floatunditf.c: Likewise.
46812         * soft-fp/floatunsidf.c: Likewise.
46813         * soft-fp/floatunsisf.c: Likewise.
46814         * soft-fp/floatunsitf.c: Likewise.
46815         * soft-fp/floatuntidf.c: Likewise.
46816         * soft-fp/floatuntisf.c: Likewise.
46817         * soft-fp/floatuntitf.c: Likewise.
46818         * soft-fp/fmadf4.c: Likewise.
46819         * soft-fp/fmasf4.c: Likewise.
46820         * soft-fp/fmatf4.c: Likewise.
46821         * soft-fp/gedf2.c: Likewise.
46822         * soft-fp/gesf2.c: Likewise.
46823         * soft-fp/getf2.c: Likewise.
46824         * soft-fp/ledf2.c: Likewise.
46825         * soft-fp/lesf2.c: Likewise.
46826         * soft-fp/letf2.c: Likewise.
46827         * soft-fp/muldf3.c: Likewise.
46828         * soft-fp/mulsf3.c: Likewise.
46829         * soft-fp/multf3.c: Likewise.
46830         * soft-fp/negdf2.c: Likewise.
46831         * soft-fp/negsf2.c: Likewise.
46832         * soft-fp/negtf2.c: Likewise.
46833         * soft-fp/op-1.h: Likewise.
46834         * soft-fp/op-2.h: Likewise.
46835         * soft-fp/op-4.h: Likewise.
46836         * soft-fp/op-8.h: Likewise.
46837         * soft-fp/op-common.h: Likewise.
46838         * soft-fp/quad.h: Likewise.
46839         * soft-fp/single.h: Likewise.
46840         * soft-fp/soft-fp.h: Likewise.
46841         * soft-fp/sqrtdf2.c: Likewise.
46842         * soft-fp/sqrtsf2.c: Likewise.
46843         * soft-fp/sqrttf2.c: Likewise.
46844         * soft-fp/subdf3.c: Likewise.
46845         * soft-fp/subsf3.c: Likewise.
46846         * soft-fp/subtf3.c: Likewise.
46847         * soft-fp/truncdfsf2.c: Likewise.
46848         * soft-fp/trunctfdf2.c: Likewise.
46849         * soft-fp/trunctfsf2.c: Likewise.
46850         * soft-fp/trunctfxf2.c: Likewise.
46851         * soft-fp/unorddf2.c: Likewise.
46852         * soft-fp/unordsf2.c: Likewise.
46853         * soft-fp/unordtf2.c: Likewise.
46855 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46857         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46858         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46860 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46862         * elf/dl-libc.c: Clear initfini list after freeing.
46864 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46866         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46867         * soft-fp/addsf3.c: Likewise.
46868         * soft-fp/addtf3.c: Likewise.
46869         * soft-fp/divdf3.c: Likewise.
46870         * soft-fp/divsf3.c: Likewise.
46871         * soft-fp/divtf3.c: Likewise.
46872         * soft-fp/double.h: Likewise.
46873         * soft-fp/eqdf2.c: Likewise.
46874         * soft-fp/eqsf2.c: Likewise.
46875         * soft-fp/eqtf2.c: Likewise.
46876         * soft-fp/extenddftf2.c: Likewise.
46877         * soft-fp/extended.h: Likewise.
46878         * soft-fp/extendsfdf2.c: Likewise.
46879         * soft-fp/extendsftf2.c: Likewise.
46880         * soft-fp/extendxftf2.c: Likewise.
46881         * soft-fp/fixdfdi.c: Likewise.
46882         * soft-fp/fixdfsi.c: Likewise.
46883         * soft-fp/fixdfti.c: Likewise.
46884         * soft-fp/fixsfdi.c: Likewise.
46885         * soft-fp/fixsfsi.c: Likewise.
46886         * soft-fp/fixsfti.c: Likewise.
46887         * soft-fp/fixtfdi.c: Likewise.
46888         * soft-fp/fixtfsi.c: Likewise.
46889         * soft-fp/fixtfti.c: Likewise.
46890         * soft-fp/fixunsdfdi.c: Likewise.
46891         * soft-fp/fixunsdfsi.c: Likewise.
46892         * soft-fp/fixunsdfti.c: Likewise.
46893         * soft-fp/fixunssfdi.c: Likewise.
46894         * soft-fp/fixunssfsi.c: Likewise.
46895         * soft-fp/fixunssfti.c: Likewise.
46896         * soft-fp/fixunstfdi.c: Likewise.
46897         * soft-fp/fixunstfsi.c: Likewise.
46898         * soft-fp/fixunstfti.c: Likewise.
46899         * soft-fp/floatdidf.c: Likewise.
46900         * soft-fp/floatdisf.c: Likewise.
46901         * soft-fp/floatditf.c: Likewise.
46902         * soft-fp/floatsidf.c: Likewise.
46903         * soft-fp/floatsisf.c: Likewise.
46904         * soft-fp/floatsitf.c: Likewise.
46905         * soft-fp/floattidf.c: Likewise.
46906         * soft-fp/floattisf.c: Likewise.
46907         * soft-fp/floattitf.c: Likewise.
46908         * soft-fp/floatundidf.c: Likewise.
46909         * soft-fp/floatundisf.c: Likewise.
46910         * soft-fp/floatunsidf.c: Likewise.
46911         * soft-fp/floatunsisf.c: Likewise.
46912         * soft-fp/floatuntidf.c: Likewise.
46913         * soft-fp/floatuntisf.c: Likewise.
46914         * soft-fp/floatuntitf.c: Likewise.
46915         * soft-fp/fmadf4.c: Likewise.
46916         * soft-fp/fmasf4.c: Likewise.
46917         * soft-fp/fmatf4.c: Likewise.
46918         * soft-fp/gedf2.c: Likewise.
46919         * soft-fp/gesf2.c: Likewise.
46920         * soft-fp/getf2.c: Likewise.
46921         * soft-fp/ledf2.c: Likewise.
46922         * soft-fp/lesf2.c: Likewise.
46923         * soft-fp/letf2.c: Likewise.
46924         * soft-fp/muldf3.c: Likewise.
46925         * soft-fp/mulsf3.c: Likewise.
46926         * soft-fp/multf3.c: Likewise.
46927         * soft-fp/negdf2.c: Likewise.
46928         * soft-fp/negsf2.c: Likewise.
46929         * soft-fp/negtf2.c: Likewise.
46930         * soft-fp/op-1.h: Likewise.
46931         * soft-fp/op-2.h: Likewise.
46932         * soft-fp/op-4.h: Likewise.
46933         * soft-fp/op-8.h: Likewise.
46934         * soft-fp/op-common.h: Likewise.
46935         * soft-fp/quad.h: Likewise.
46936         * soft-fp/single.h: Likewise.
46937         * soft-fp/soft-fp.h: Likewise.
46938         * soft-fp/sqrtdf2.c: Likewise.
46939         * soft-fp/sqrtsf2.c: Likewise.
46940         * soft-fp/sqrttf2.c: Likewise.
46941         * soft-fp/subdf3.c: Likewise.
46942         * soft-fp/subsf3.c: Likewise.
46943         * soft-fp/subtf3.c: Likewise.
46944         * soft-fp/truncdfsf2.c: Likewise.
46945         * soft-fp/trunctfdf2.c: Likewise.
46946         * soft-fp/trunctfsf2.c: Likewise.
46947         * soft-fp/trunctfxf2.c: Likewise.
46948         * soft-fp/unorddf2.c: Likewise.
46949         * soft-fp/unordsf2.c: Likewise.
46950         * soft-fp/unordtf2.c: Likewise.
46952 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46954         [BZ #15672]
46955         * misc/error.c (error_tail): Fix possible buffer overflow.
46957 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46959         [BZ #13028]
46960         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46961         address.
46963 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46965         [BZ #832]
46966         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46967         testing pipefail option.
46969 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46971         * soft-fp/double.h: Indent preprocessor directives inside #if.
46972         * soft-fp/extended.h: Likewise.
46973         * soft-fp/op-2.h: Likewise.
46974         * soft-fp/op-4.h: Likewise.
46975         * soft-fp/op-common.h: Likewise.
46976         * soft-fp/quad.h: Likewise.
46977         * soft-fp/single.h: Likewise.
46978         * soft-fp/soft-fp.h: Likewise.
46980 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46982         * iconv/iconv_prog.c: Fix typos.
46983         * stdio-common/psiginfo-data.h: Likewise.
46985 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46987         [BZ #15764]
46988         * locale/setlocale.c: Fix typo.
46990 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46992         [BZ #16036]
46993         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46994         signaling NaN arguments.
46995         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46996         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46998         [BZ #14910]
46999         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47000         unordered operands.
47001         * soft-fp/gesf2.c (__gesf2): Likewise.
47002         * soft-fp/getf2.c (__getf2): Likewise.
47003         * soft-fp/ledf2.c (__ledf2): Likewise.
47004         * soft-fp/lesf2.c (__lesf2): Likewise.
47005         * soft-fp/letf2.c (__letf2): Likewise.
47007         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47008         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47009         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47010         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47011         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47012         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47013         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47014         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47015         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47016         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47017         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47018         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47019         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47020         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47021         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47022         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47023         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47024         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47025         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47026         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47027         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47028         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47029         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47030         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47031         * soft-fp/floattidf.c (__floattidf): Likewise.
47032         * soft-fp/floattisf.c (__floattisf): Likewise.
47033         * soft-fp/floattitf.c (__floattitf): Likewise.
47034         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47035         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47036         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47037         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47038         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47039         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47040         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47041         * soft-fp/gesf2.c (__gesf2): Likewise.
47042         * soft-fp/getf2.c (__getf2): Likewise.
47043         * soft-fp/ledf2.c (__ledf2): Likewise.
47044         * soft-fp/lesf2.c (__lesf2): Likewise.
47045         * soft-fp/letf2.c (__letf2): Likewise.
47047         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47048         Undefine and redefine.
47049         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47050         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47051         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47052         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47053         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47054         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47055         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47056         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47057         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47058         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47059         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47060         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47061         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47062         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47063         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47065         [BZ #16032]
47066         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47067         without decrementing exponent if mantissa >= that for the
47068         denominator, not >.
47069         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47070         denominator, not >.  Decrement exponent in < case instead of
47071         incrementing in >= case.
47072         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47073         without decrementing exponent if mantissa >= that for the
47074         denominator, not >.
47076         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47077         computing saturated result for unsigned overflow.
47079 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47080             Jeff Law  <law@redhat.com>
47082         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47083         (atan2Mp): Add systemtap probe marker.
47084         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47085         (__ieee754_log): Add systemtap probe marker.
47086         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47087         (atanMp): Add systemtap probe marker.
47088         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47089         (tanMp): Add systemtap probe marker.
47090         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47091         (__slowexp): Add systemtap probe marker.
47092         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47093         (__slowpow): Add systemtap probe marker.
47094         * manual/probes.texi: Document probes.
47096 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47098         [BZ #15362]
47099         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47100         written.
47101         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47102         written.
47103         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47104         written to buffer but not flushed.
47105         * libio/iofwrite_u.c:  Likewise.
47106         * libio/iopadn.c:  Return bytes returned even if EOF was
47107         encountered.
47108         * libio/iowpadn.c:  Likewise.
47109         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47110         if _IO_padn does not write the whole buffer.
47111         [!COMPILE_WPRINTF] (PAD): Likewise.
47113 2013-10-10  David S. Miller  <davem@davemloft.net>
47115         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47116         directory block.
47118 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47120         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47121         instead of FSF address.
47122         * soft-fp/fixdfti.c: Likewise.
47123         * soft-fp/fixsfti.c: Likewise.
47124         * soft-fp/fixtfti.c: Likewise.
47125         * soft-fp/fixunsdfti.c: Likewise.
47126         * soft-fp/fixunssfti.c: Likewise.
47127         * soft-fp/fixunstfti.c: Likewise.
47128         * soft-fp/floattidf.c: Likewise.
47129         * soft-fp/floattisf.c: Likewise.
47130         * soft-fp/floattitf.c: Likewise.
47131         * soft-fp/floatuntidf.c: Likewise.
47132         * soft-fp/floatuntisf.c: Likewise.
47133         * soft-fp/floatuntitf.c: Likewise.
47134         * soft-fp/trunctfxf2.c: Likewise.
47136         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47137         * soft-fp/fixdfti.c: Likewise.
47138         * soft-fp/fixsfti.c: Likewise.
47139         * soft-fp/fixtfti.c: Likewise.
47140         * soft-fp/fixunsdfti.c: Likewise.
47141         * soft-fp/fixunssfti.c: Likewise.
47142         * soft-fp/fixunstfti.c: Likewise.
47143         * soft-fp/floattidf.c: Likewise.
47144         * soft-fp/floattisf.c: Likewise.
47145         * soft-fp/floattitf.c: Likewise.
47146         * soft-fp/floatuntidf.c: Likewise.
47147         * soft-fp/floatuntisf.c: Likewise.
47148         * soft-fp/floatuntitf.c: Likewise.
47149         * soft-fp/trunctfxf2.c: Likewise.
47151 2013-10-10  David S. Miller  <davem@davemloft.net>
47153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47155 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47157         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47158         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47159         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47160         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47161         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47162         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47163         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47165         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47166         for NaNs before doing comparisons on argument.
47167         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47168         Likewise.
47170 2013-10-10  Will Newton  <will.newton@linaro.org>
47172         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47173         passed to _int_memalign does not overflow.
47175 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47177         * scripts/bench.pl: Add include-sources directive.
47178         * benchtests/README: Update documentation.
47180 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47182         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47183         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47184         instead of FP_INIT_ROUNDMODE.
47185         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47186         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47188         [BZ #16034]
47189         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47190         copy class of input value.
47191         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47192         not handle exceptions.
47193         * soft-fp/negsf2.c (__negsf2): Likewise.
47194         * soft-fp/negtf2.c (__negtf2): Likewise.
47195         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47197 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47199         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47200         semicolon.  From Linux kernel.
47202 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47204         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47206 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47208         [BZ #156]
47209         * manual/socket.texi: Added statement about buffer
47210         for gethostbyname2_r.
47212 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47214         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47215         Use .p2align directive instead, throughout.
47216         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47217         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47218         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47221         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47222         * sysdeps/x86_64/strchr.S: Likewise.
47223         * sysdeps/x86_64/strrchr.S: Likewise.
47225 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47227         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47229         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47231         * sysdeps/generic/math_private.h (__mpsin1): Remove
47232         declaration.
47233         (__mpcos1): Likewise.
47234         (__mpsin): New argument __range_reduce.
47235         (__mpcos): Likewise.
47236         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47237         (slow): Use __mpsin and __mpcos.
47238         (slow1): Likewise.
47239         (slow2): Likewise.
47240         (sloww): Likewise.
47241         (sloww1): Likewise.
47242         (sloww2): Likewise.
47243         (bsloww): Likewise.
47244         (bsloww1): Likewise.
47245         (bsloww2): Likewise.
47246         (cslow2): Likewise.
47247         (csloww): Likewise.
47248         (csloww1): Likewise.
47249         (csloww2): Likewise.
47250         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47251         range_reduce.  Merge in __mpsin1.
47252         (__mpcos): Likewise.
47253         (__mpsin1): Remove.
47254         (__mpcos1): Likewise.
47256 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47258         * locale/loadlocale.c (_nl_intern_locale_data): Use
47259         LOCFILE_ALIGNED_P.
47260         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47261         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47262         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47263         obstack data is appropriately aligned.
47264         (obstack_int32_grow_fast): Likewise.
47265         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47266         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47267         (add_locale_uint32_array): Likewise.
47269 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47271         * benchtests/Makefile: Remove ARGLIST and RET variables.
47272         ($(objpfx)bench-%.c): Pass only function name to the script.
47273         * benchtests/README: Update documentation.
47274         * benchtests/acos-inputs: Add new directives.
47275         * benchtests/acosh-inputs: Likewise.
47276         * benchtests/asin-inputs: Likewise.
47277         * benchtests/asinh-inputs: Likewise.
47278         * benchtests/atan-inputs: Likewise.
47279         * benchtests/atanh-inputs: Likewise.
47280         * benchtests/cos-inputs: Likewise.
47281         * benchtests/cosh-inputs: Likewise.
47282         * benchtests/exp-inputs: Likewise.
47283         * benchtests/log-inputs: Likewise.
47284         * benchtests/pow-inputs: Likewise.
47285         * benchtests/rint-inputs: Likewise.
47286         * benchtests/sin-inputs: Likewise.
47287         * benchtests/sinh-inputs: Likewise.
47288         * benchtests/tan-inputs: Likewise.
47289         * benchtests/tanh-inputs: Likewise.
47290         * scripts/bench.pl: Add support for new directives.
47292 2013-10-07  Alan Modra  <amodra@gmail.com>
47294         * README: Fix careless merge.
47296 2013-10-05  Alan Modra  <amodra@gmail.com>
47298         * NEWS: Mention powerpc64le support and bugs fixed.
47299         * README: Both big-endian and little-endian powerpc64 supported.
47301 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47303         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47304         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47305         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47306         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47308 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47310         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47311         match prototype.
47313 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47315         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47316         Move -mhard-float appending from
47317         ports/sysdeps/powerpc/powerpc32/Makefile.
47318         [$(with-fp) = yes] (ASFLAGS): Likewise.
47319         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47320         * sysdeps/powerpc/nofpu: Move directory from
47321         ports/sysdeps/powerpc/nofpu.
47322         * sysdeps/powerpc/soft-fp: Move directory from
47323         ports/sysdeps/powerpc/soft-fp.
47324         * sysdeps/powerpc/powerpc32/405: Move directory from
47325         ports/sysdeps/powerpc/powerpc32/405.
47326         * sysdeps/powerpc/powerpc32/440: Move directory from
47327         ports/sysdeps/powerpc/powerpc32/440.
47328         * sysdeps/powerpc/powerpc32/464: Move directory from
47329         ports/sysdeps/powerpc/powerpc32/464.
47330         * sysdeps/powerpc/powerpc32/476: Move directory from
47331         ports/sysdeps/powerpc/powerpc32/476.
47332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47333         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47335         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47337         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47339         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47341         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47342         * README: Update for powerpc-*-linux-gnu software floating point
47343         support in libc.
47345         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47346         case to powerpc/powerpc32*.
47347         * sysdeps/unix/sysv/linux/configure: Regenerated.
47349         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47350         (_FPU_MASK_OM): Define as 0x04.
47351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47353         0x00c10080.
47354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47355         0x0000003c.
47356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47359         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47360         getcontext_e500.
47361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47362         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47363         setcontext_e500.
47364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47365         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47366         and setcontext_e500.
47368 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47370         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47372 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47374         * manual/threads.texi (Default Thread Attributes): Fix typo.
47376 2013-10-04  Will Newton  <will.newton@linaro.org>
47378         * malloc/Makefile: Add tst-memalign.
47379         * malloc/tst-memalign.c: New file.
47381         * malloc/tst-posix_memalign.c: Add comments.
47382         (do_test): Add comments and call free on all potentially
47383         allocated pointers. Add space after cast.
47385         * malloc/tst-pvalloc.c: Add comments.
47386         (do_test): Add comments and call free on all potentially
47387         allocated pointers. Remove duplicate check for NULL pointer.
47388         Add space after cast.
47390         * malloc/tst-valloc.c: Add comments.
47391         (do_test): Add comments and call free on all potentially
47392         allocated pointers. Remove duplicate check for NULL pointer.
47393         Add space after cast.
47395 2013-10-04  Alan Modra  <amodra@gmail.com>
47397         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47398         Use stdint types in rather than __attribute__((mode())).
47399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47401 2013-10-04  Alan Modra  <amodra@gmail.com>
47403         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47404         Correct handling of unaligned relocs for little-endian.
47405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47407 2013-10-04  Alan Modra  <amodra@gmail.com>
47409         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47410         * configure: Regenerate.
47411         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47412         * shlib-versions: Likewise.
47414 2013-10-04  Alan Modra  <amodra@gmail.com>
47416         * string/tester.c (test_memrchr): Increment reported test cycle.
47418 2013-10-04  Alan Modra  <amodra@gmail.com>
47420         * string/test-memcpy.c (do_one_test): When reporting errors, print
47421         string address and don't overrun end of string.
47423 2013-10-04  Alan Modra  <amodra@gmail.com>
47425         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47426         insrdi.  Make better use of reg selection to speed exit slightly.
47427         Schedule entry path a little better.  Remove useless "are we done"
47428         checks on entry to main loop.  Handle wrapping around zero address.
47429         Correct main loop count.  Handle single left-over word from main
47430         loop inline rather than by using loop_small.  Remove extra word
47431         case in loop_small caused by wrong loop count.  Add little-endian
47432         support.
47433         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47434         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47435         cache hint.
47436         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47437         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47438         support.  Avoid rlwimi.
47439         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47441 2013-10-04  Alan Modra  <amodra@gmail.com>
47443         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47444         insrdi.  Formatting.
47445         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47446         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47447         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47448         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47449         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47450         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47452 2013-10-04  Alan Modra  <amodra@gmail.com>
47454         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47455         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47456         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47457         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47458         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47459         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47460         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47461         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47462         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47463         use of regs.  Use power7 mtocrf.  Tidy function tails.
47465 2013-10-04  Alan Modra  <amodra@gmail.com>
47467         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47468         Formatting.  Consistently use rXXX register defines or rN defines.
47469         Use early exit labels that avoid restoring unused non-volatile regs.
47470         Make cr field use more consistent with rWORDn compares.  Rename
47471         regs used as shift registers for unaligned loop, using rN defines
47472         for short lifetime/multiple use regs.
47473         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47474         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47475         addi 1,1,64 to pop stack frame.  Simplify return value code.
47476         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47478 2013-10-04  Alan Modra  <amodra@gmail.com>
47480         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47481         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47482         rather than rlwimi.
47483         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47484         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47485         little-endian support.  Correct typos.
47486         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47487         rather than rlwimi.
47488         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47489         in loop and entry code to keep "and." results.
47490         (strchr): Add little-endian support.  Comment.  Move cntlzd
47491         earlier in tail.
47492         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47494 2013-10-04  Alan Modra  <amodra@gmail.com>
47496         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47497         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47498         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47499         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47501 2013-10-04  Alan Modra  <amodra@gmail.com>
47503         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47504         (rTMP): Define as r11.
47505         (strcmp): Add little-endian support.  Optimise tail.
47506         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47507         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47508         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47509         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47510         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47511         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47512         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47514 2013-10-04  Alan Modra  <amodra@gmail.com>
47516         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47517         little-endian support.  Remove unnecessary "are we done" tests.
47518         Handle "s" wrapping around zero and extremely large "size".
47519         Correct main loop count.  Handle single left-over word from main
47520         loop inline rather than by using small_loop.  Correct comments.
47521         Delete "zero" tail, use "end_max" instead.
47522         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47524 2013-10-04  Alan Modra  <amodra@gmail.com>
47526         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47527         support.  Don't branch over align.
47528         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47529         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47530         support.  Rearrange tmp reg use to suit.  Comment.
47531         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47533 2013-10-04  Alan Modra  <amodra@gmail.com>
47535         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47537 2013-10-04  Alan Modra  <amodra@gmail.com>
47539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47540         conditional form of branch and link when obtaining pc.
47541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47543 2013-10-04  Alan Modra  <amodra@gmail.com>
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47546         HIWORD/LOWORD.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47550 2013-10-04  Alan Modra  <amodra@gmail.com>
47552         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47553         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47554         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47555         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47556         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47557         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47558         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47559         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47560         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47561         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47563 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47564             Alistair Popple <alistair@ozlabs.au.ibm.com>
47565             Alan Modra <amodra@gmail.com>
47567         [BZ #15723]
47568         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47569         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47570         _dl_hwcap access for little-endian.
47571         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47572         destroy vmx regs when saving unaligned.
47573         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47574         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47575         destroy vmx regs when saving unaligned.
47577 2013-10-04  Alan Modra  <amodra@gmail.com>
47579         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47580         Don't use a union to pack hi/low value.
47582 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47584         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47585         for little-endian.
47586         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47587         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47588         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47589         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47590         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47592 2013-10-04  Alan Modra  <amodra@gmail.com>
47594         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47595         constants to usual value for .cst8 section, and remove redundant
47596         high address load.
47597         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47598         constant for 0x1p52.  Load little-endian words of double from
47599         correct stack offsets.
47601 2013-10-04  Alan Modra  <amodra@gmail.com>
47603         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47604         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47605         words of double from correct stack offsets.
47606         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47607         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47608         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47609         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47610         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47611         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47612         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47613         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47614         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47616         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47617         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47618         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47619         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47620         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47621         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47622         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47624 2013-10-04  Alan Modra  <amodra@gmail.com>
47626         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47627         64-bit int/double union.
47628         (_FPU_SETCW): Likewise.
47629         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47630         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47632 2013-10-04  Alan Modra  <amodra@gmail.com>
47634         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47635         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47637 2013-10-04  Alan Modra  <amodra@gmail.com>
47639         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47640         use vector int constants.
47641         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47643 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47645         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47646         array with long long.
47647         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47648         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47649         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47650         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47651         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47652         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47653         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47654         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47655         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47656         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47657         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47658         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47659         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47661 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47663         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47664         (__signbit): Likewise.  Correct for little-endian.
47665         (__signbitl): Call __signbit.
47666         (lrint): Correct for little-endian.
47667         (lrintf): Call lrint.
47669 2013-10-04  Alan Modra  <amodra@gmail.com>
47671         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47672         union 32-bit int array member with 64-bit int array.
47673         (t515, tm256): Double rather than long double.
47674         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47676 2013-10-04  Alan Modra  <amodra@gmail.com>
47678         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47679         Delete.
47680         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47681         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47682         version of math_ldbl.h.
47684 2013-10-04  Alan Modra  <amodra@gmail.com>
47686         [BZ #15734], [BZ #15735]
47687         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47688         all uses of ieee875 long double macros and unions.  Simplify test
47689         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47690         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47691         normalize after ldbl_extract_mantissa, and don't add hidden bit
47692         already handled.  Don't treat low word of ieee854 mantissa like
47693         low word of IBM long double and mask off bit when testing for
47694         zero.
47695         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47696         all uses of ieee875 long double macros and unions.  Simplify tests
47697         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47698         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47699         two1022, instead use their values.  Recognise that tests for large
47700         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47701         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47702         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47703         test for 0.0L and nan.  Correct negation.
47704         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47705         ieee875 long double macros and unions.  Correct output for large
47706         magnitude x.  Correct absolute value calculation.
47707         (__erfcl): Likewise.
47708         * math/libm-test.inc: Add tests for errors discovered in IBM long
47709         double versions of fmodl, remainderl, erfl and erfcl.
47711 2013-10-04  Alan Modra  <amodra@gmail.com>
47713         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47714         all uses of ieee854 long double macros and unions.  Simplify tests
47715         for long doubles that are fully specified by the high double.
47716         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47717         Likewise.
47718         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47719         Remove dead code too.
47720         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47721         (__ieee754_ynl): Likewise.
47722         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47723         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47724         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47725         Remove dead code too.
47726         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47727         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47728         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47729         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47730         Simplify.
47731         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47732         Simplify.
47733         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47734         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47736         Comment on variable precision.
47737         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47738         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47739         Likewise.
47740         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47741         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47742         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47743         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47744         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47746 2013-10-04  Alan Modra  <amodra@gmail.com>
47748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47750         all uses of ieee854 long double macros and unions.
47751         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47753         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47755         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47756         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47757         Likewise.
47758         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47759         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47760         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47761         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47762         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47763         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47764         Simplify sign and nan test too.
47765         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47766         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47767         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47768         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47769         Likewise.
47770         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47771         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47772         Likewise.
47773         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47774         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47775         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47776         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47777         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47778         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47780 2013-10-04  Alan Modra  <amodra@gmail.com>
47782         * stdio-common/printf_size.c (__printf_size): Don't use
47783         union ieee854_long_double in fpnum union.
47784         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47785         signbit macro to retrieve sign from long double.
47786         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47787         retrieve sign from long double.
47788         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47789         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47790         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47791         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47792         * math/test-misc.c (main): Don't use union ieee854_long_double.
47794 2013-10-04  Alan Modra  <amodra@gmail.com>
47796         [BZ #15680]
47797         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47798         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47799         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47800         calculation.  Remove unnecessary test for denormal exponent.
47801         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47802         Correct handling of denormals.  Avoid undefined shift behaviour.
47803         Correct normalisation of low mantissa when low double is denormal.
47804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47805         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47806         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47807         Correct normalisation of low mantissa.  Test for overflow of high
47808         mantissa and normalise.
47809         (ldbl_nearbyint): Use more readable constant for two52.
47810         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47811         (__mpn_construct_long_double): Fix test for overflow of high
47812         mantissa and correct normalisation.  Avoid undefined shift.
47814 2013-10-04  Alan Modra  <amodra@gmail.com>
47816         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47817         (union ibm_extended_long_double): Define as an array of ieee754_double.
47818         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47820         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47821         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47823         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47826         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47827         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47828         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47830 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47832         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47833         page size instead of calling getpagesize.
47835         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47836         (LOCFILE_ALIGN_MASK): Likewise.
47837         (LOCFILE_ALIGN_UP): Likewise.
47838         (LOCFILE_ALIGNED_P): Likewise.
47839         * locale/programs/ld-collate.c (collate_output): Use the new
47840         macros instead of __alignof__ (int32_t).
47841         * locale/weight.h (findidx): Likewise.
47843 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47845         [BZ #431]
47846         * manual/string.texi: Fix strncat and wcsncat.
47848 2013-10-03  Brooks Moses  <bmoses@google.com>
47850         [BZ #15915]
47851         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47852         * Makerules: ...here, and adjust associated comments.
47854 2013-10-02  Will Newton  <will.newton@linaro.org>
47856         * malloc/Makefile: Add tst-pvalloc.
47857         * malloc/tst-pvalloc.c: New file.
47859 2013-10-02  Will Newton  <will.newton@linaro.org>
47861         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47862         improve test coverage.
47864 2013-10-02  Will Newton  <will.newton@linaro.org>
47866         * malloc/Makefile: Add tst-posix_memalign.
47867         * malloc/tst-posix_memalign.c: New file.
47869 2013-10-01  Eric Blake  <eblake@redhat.com>
47871         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47872         Use __THROWNL rather than __THROW on static functions.
47874 2013-09-30  Petr Machata  <pmachata@redhat.com>
47876         * elf/elf.h (R_AARCH64_ABS16): New macro.
47877         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47878         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47879         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47880         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47881         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47882         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47883         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47884         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47885         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47886         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47887         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47888         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47889         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47890         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47891         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47892         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47893         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47894         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47895         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47896         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47897         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47898         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47899         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47900         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47901         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47902         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47903         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47904         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47905         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47906         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47907         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47908         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47909         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47910         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47911         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47912         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47913         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47914         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47915         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47916         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47917         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47918         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47919         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47920         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47921         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47922         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47923         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47924         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47925         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47926         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47927         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47928         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47929         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47930         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47931         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47932         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47933         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47934         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47935         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47936         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47937         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47938         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47939         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47940         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47941         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47942         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47943         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47944         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47945         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47946         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47947         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47948         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47949         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47950         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47951         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47952         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47953         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47954         (R_AARCH64_TLSDESC_LDR): Likewise.
47955         (R_AARCH64_TLSDESC_ADD): Likewise.
47956         (R_AARCH64_TLSDESC_CALL): Likewise.
47958 2013-09-30  Andreas Schwab  <schwab@suse.de>
47960         [BZ #15048]
47961         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47962         the nss database lookup.
47963         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47966 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47968         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47970 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47972         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47973         ${Bash-specific parameter/pattern/string} parameter expansion.
47974         * sysdeps/unix/make-syscalls.sh: Likewise.
47976 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47978         * sysdeps/sh/stackguard-macros.h: New file.
47980 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47984         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47985         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47986         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47987         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47989 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47991         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47992         Fix thread ID register.
47994 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47996         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47997         [POSIX || UNIX98]: Require rather than permitting all symbols from
47998         <time.h>.
47999         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48000         element of struct sched_param.
48001         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48002         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48003         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48004         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48005         constant.
48007 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48009         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48010         argument calculation.
48012 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48014         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48015         Expect macro.
48016         [POSIX] (pthread_attr_t): Do not require type.
48017         [POSIX] (pthread_cond_t): Likewise.
48018         [POSIX] (pthread_condattr_t): Likewise.
48019         [POSIX] (pthread_key_t): Likewise.
48020         [POSIX] (pthread_mutex_t): Likewise.
48021         [POSIX] (pthread_mutexattr_t): Likewise.
48022         [POSIX] (pthread_once_t): Likewise.
48023         [POSIX] (pthread_t): Likewise.
48024         [POSIX-based standards] (pthread_atfork): Expect function.
48026 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48027             Richard Sandiford  <richard@codesourcery.com>
48029         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48030         (swap_endianness_p): New extern variable.
48031         (set_big_endian): New inline function.
48032         (maybe_swap_uint32): Likewise.
48033         (maybe_swap_uint32_array): Likewise.
48034         (maybe_swap_uint32_obstack): Likewise.
48035         * locale/programs/locfile.c: Include <stdbool.h>.
48036         (swap_endianness_p): New variable.
48037         (add_locale_uint32): Call maybe_swap_uint32.
48038         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48039         (write_locale_data): Call maybe_swap_uint32_array.
48040         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48041         maybe_swap_uint32.
48042         (obstack_int32_grow_fast): Likewise.
48043         (output_weightwc): Call maybe_swap_uint32_obstack.
48044         (collate_output): Likewise.
48045         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48046         (OPT_LITTLE_ENDIAN): Likewise.
48047         (options): Add --little-endian and --big-endian options.
48048         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48049         * locale/programs/locarchive.c: Include "locfile.h".
48050         (GET): New macro.
48051         (SET): Likewise.
48052         (INC): Likewise.
48053         (create_archive): Use the new macros to access fields of
48054         structures directly mapped from or written to locale archives.
48055         (oldlocrecentcmp): Likewise.
48056         (enlarge_archive): Likewise.
48057         (insert_name): Likewise.
48058         (add_alias): Likewise.
48059         (add_locale): Likewise.
48060         (delete_locales_from_archive): Likewise.
48061         (show_archive_content): Likewise.
48062         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48063         locale data.
48065 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48067         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48068         http://www.gnu.org/doc/freemanuals.texi.
48069         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48071 2013-09-24  Will Newton  <will.newton@linaro.org>
48073         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48074         macro.
48076 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48078         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48079         unsigned char.
48081 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48083         * manual/threads.texi (POSIX Threads): Fix a typo.
48085 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48087         [BZ #14547]
48088         * string/tst-strcoll-overflow.c: New test case.
48089         * string/Makefile (xtests): Add tst-strcoll-overflow.
48090         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48091         cache if string sizes may cause integer overflow.
48093         [BZ #14547]
48094         * string/strcoll_l.c (coll_seq): New members rule, idx,
48095         save_idx and back_us.
48096         (get_next_seq_nocache): New function.
48097         (do_compare_nocache): New function.
48098         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48099         when malloc fails.
48101 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48103         [BZ #15754]
48104         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48105         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48106         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48108         [BZ #15754]
48109         * elf/Makefile (tests): Add tst-ptrguard1.
48110         (tests-static): Add tst-ptrguard1-static.
48111         (tst-ptrguard1-ARGS): Define.
48112         (tst-ptrguard1-static-ARGS): Define.
48113         * elf/tst-ptrguard1.c: New file.
48114         * elf/tst-ptrguard1-static.c: New file.
48115         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48116         * sysdeps/i386/stackguard-macros.h: Likewise.
48117         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48118         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48119         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48120         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48121         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48122         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48124 2013-09-23  Hector Marco  <hecmargi@upv.es>
48125             Ismael Ripoll  <iripoll@disca.upv.es>
48126             Carlos O'Donell  <carlos@redhat.com>
48128         [BZ #15754]
48129         * sysdeps/generic/stackguard-macros.h: Define
48130         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48131         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48132         Define __pointer_chk_guard_local.
48133         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48134         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48136 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48138         [BZ #15859]
48139         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48141 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48143         * include/string.h (__ffs): Declare as hidden.
48144         * string/ffs.c (__ffs): Define as hidden.
48145         * sysdeps/i386/ffs.c (__ffs): Likewise.
48146         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48147         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48148         * sysdeps/s390/ffs.c (__ffs): Likewise.
48149         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48151 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48153         * NEWS: Mention malloc probes.
48155         * malloc/arena.c (new_heap): New memory_heap_new probe.
48156         (grow_heap): New memory_heap_more probe.
48157         (shrink_heap): New memory_heap_less probe.
48158         (heap_trim): New memory_heap_free probe.
48159         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48160         (systrim): New memory_sbrk_less probe.
48161         * manual/probes.texi: Document them.
48163         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48164         * manual/probes.texi: Document it.
48166         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48167         (__libc_realloc): Add memory_realloc_retry probe.
48168         (__libc_memalign): Add memory_memalign_retry probe.
48169         (__libc_valloc): Add memory_valloc_retry probe.
48170         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48171         (__libc_calloc): Add memory_calloc_retry probe.
48172         * manual/probes.texi: Document them.
48174         * malloc/arena.c (get_free_list): Add probe
48175         memory_arena_reuse_free_list.
48176         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48177         and memory_arena_reuse.
48178         (arena_get2) [!PER_THREAD]: Likewise.
48179         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48180         memory_arena_reuse_realloc.
48181         * manual/probes.texi: Document them.
48183         * malloc/malloc.c (__libc_free): Add
48184         memory_mallopt_free_dyn_thresholds probe.
48185         (__libc_mallopt): Add multiple memory_mallopt probes.
48186         * manual/probes.texi: Document them.
48188         * malloc/malloc.c: Include stap-probe.h.
48189         (__libc_mallopt): Add memory_mallopt probe.
48190         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48191         * manual/probes.texi: New.
48192         * manual/Makefile (chapters): Add probes.
48193         * manual/threads.texi: Set next node.
48195 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48197         [BZ #15963, #13985]
48198         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48199         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48200         Add `Chinese' to `nan' entry name.
48202 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48204         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48205         (POLYNOMIAL): Likewise.
48206         (TAYLOR_SINCOS): Likewise.
48207         (TAYLOR_SLOW): Likewise.
48208         (__sin): Use TAYLOR_SINCOS.
48209         (__cos): Likewise.
48210         (slow): Use TAYLOR_SLOW.
48211         (sloww): Likewise.
48212         (bsloww): Likewise.
48213         (csloww): Likewise.
48215 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48217         * stdlib/strtod_l.c: Fix buffer overrun.
48219 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48221         * benchtests/Makefile (bench): Add sincos.
48222         * benchtests/bench-sincos.c: New file.
48224         * math/libm-test.inc (cos_test_data): New test inputs.
48225         (sin_test_data): Likewise.
48227         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48228         macro.
48229         (__sin): Use it.
48230         (__cos): Likewise.
48231         (slow1): Likewise.
48232         (slow2): Likewise.
48233         (sloww1): Likewise.
48234         (sloww2): Likewise.
48235         (bsloww1): Likewise.
48236         (bsloww2): Likewise.
48237         (cslow2): Likewise.
48238         (csloww1): Likewise.
48239         (csloww2): Likewise.
48241         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48242         function.
48243         (__sin): Use it.
48244         (__cos): Likewise.
48246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48247         gotos.
48248         (__cos): Likewise.
48250 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48252         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48253         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48254         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48255         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48256         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48257         * elf/cache.c (print_entry): Handle the new cache flags.
48259 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48260             Aldy Hernandez  <aldyh@redhat.com>
48262         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48263         Change condition to [_SOFT_FLOAT].
48264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48276         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48279         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48280         declaration.
48282 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48284         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48285         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48286         (__longjmp): Use LOAD_GP to load saved GPRs.
48287         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48288         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48289         (__sigsetjmp): Use SAVE_GP to save GPRs.
48291         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48292         Do not append -msoft-float.
48293         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48295 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48297         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48299 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48301         [BZ #15966]
48302         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48303         (_FPU_GETCW): Use initial "__" on variable and field names but not
48304         on macro parameter name.
48305         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48306         parentheses around reference to macro parameter.
48308 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48310         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48311         prototype.
48312         (ctype_startup): Use uint32_t in cast and sizeof for
48313         ctype->charnames.
48315 2013-09-11  Jia Liu  <proljc@gmail.com>
48317         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48318         __daddr_t_defined.
48319         [__FreeBSD__]: Likewise.
48321 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48324         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48325         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48326         (strchr): Remove __strchr_sse42 ifunc selection.
48327         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48328         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48330 2013-09-11  Will Newton  <will.newton@linaro.org>
48332         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48333         parameter to RES. Remove hardcoded 1000 value.
48334         * benchtests/bench-skeleton.c (main): Pass RES parameter
48335         to TIMING_INIT and multiply result by 1000.
48337 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48341 2013-09-11  Andreas Schwab  <schwab@suse.de>
48343         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48344         if not defined.
48345         (O_TMPFILE) [__USE_GNU]: Define.
48346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48347         Define.
48349 2013-09-11  Will Newton  <will.newton@linaro.org>
48351         [BZ #15857]
48352         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48353         does not overflow.
48355 2013-09-11  Will Newton  <will.newton@linaro.org>
48357         [BZ #15856]
48358         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48359         does not overflow.
48361 2013-09-11  Will Newton  <will.newton@linaro.org>
48363         [BZ #15855]
48364         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48365         does not overflow.
48367 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48369         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48370         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48371         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48372         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48375 2013-09-10  Allan McRae  <allan@archlinux.org>
48377         [BZ #15748]
48378         * manual/arith.texi (Parsing of Floats): Clarify
48379         cross-reference.
48381         [BZ #15849]
48382         * manual/install.texi (Running make install): Mention
48383         --enable-pt-chown.
48384         * INSTALL: Regenerated.
48386 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48388         * csu/init-first.c (_init): Remove the !SHARED condition around
48389         FPU control word initialization.
48390         * elf/dl-support.c (_dl_fpu_control): New variable.
48391         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48392         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48393         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48394         * math/test-fpucw-static.c: New file.
48395         * math/test-fpucw-ieee.c: New file.
48396         * math/test-fpucw-ieee-static.c: New file.
48397         * math/Makefile (tests): Add `test-fpucw-ieee' and
48398         `$(tests-static)'.
48399         (tests-static): New variable.
48400         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48401         dependency to...
48402         [($(build-shared),yes)]
48403         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48404         ... this.
48405         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48406         New dependency.
48408 2013-09-09  Allan McRae  <allan@archlinux.org>
48410         [BZ #15939]
48411         * manual/string.texi (Collation Functions): Fix typo in
48412         strcoll example.
48413         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48415         [BZ #15893]
48416         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48418         [BZ #15892]
48419         * libio/memstream.c (open_memstream): Fix memory leak.
48420         * libio/wmemstream.c (open_wmemstream): Likewise.
48422         [BZ #15895]
48423         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48425 2013-09-09  Will Newton  <will.newton@linaro.org>
48427         * malloc/Makefile: Add tst-realloc to tests.
48428         * malloc/tst-realloc.c: New file.
48430 2013-09-09  Allan McRae  <allan@archlinux.org>
48432         [BZ #15844]
48433         * COPYING: Update from GNU website to fix FSF address.
48434         * COPYING.LIB: Likewise.
48436 2013-09-06  David S. Miller  <davem@davemloft.net>
48438         * po/zh_TW.po: Update Chinese (traditional) translation from
48439         translation project.
48441 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48442             Joseph Myers  <joseph@codesourcery.com>
48444         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48445         "localeinfo.h".
48446         (obstack_chunk_alloc): New macro.
48447         (obstack_chunk_free): Likewise.
48448         (record_offset): New function.
48449         (init_locale_data): Likewise.
48450         (align_locale_data): Likewise.
48451         (add_locale_empty): Likewise.
48452         (add_locale_raw_data): Likewise.
48453         (add_locale_raw_obstack): Likewise.
48454         (add_locale_string): Likewise.
48455         (add_locale_wstring): Likewise.
48456         (add_locale_uint32): Likewise.
48457         (add_locale_uint32_array): Likewise.
48458         (add_locale_char): Likewise.
48459         (start_locale_structure): Likewise.
48460         (end_locale_structure): Likewise.
48461         (start_locale_prelude): Likewise.
48462         (end_locale_prelude): Likewise.
48463         (write_locale_data): Take locale_file structure rather than an
48464         iovec.
48465         * locale/programs/locfile.h: Include "obstack.h".
48466         (struct locale_file): Change to store locale file contents instead
48467         of header.
48468         (init_locale_data): New prototype.
48469         (align_locale_data): Likewise.
48470         (add_locale_empty): Likewise.
48471         (add_locale_raw_data): Likewise.
48472         (add_locale_raw_obstack): Likewise.
48473         (add_locale_string): Likewise.
48474         (add_locale_wstring): Likewise.
48475         (add_locale_uint32): Likewise.
48476         (add_locale_uint32_array): Likewise.
48477         (add_locale_char): Likewise.
48478         (start_locale_structure): Likewise.
48479         (end_locale_structure): Likewise.
48480         (start_locale_prelude): Likewise.
48481         (end_locale_prelude): Likewise.
48482         (write_locale_data): Update prototype.
48483         * locale/programs/3level.h (struct TABLE): Remove result field.
48484         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48485         Use new locale_file interface.
48486         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48487         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48488         * locale/programs/ld-address.c (address_output): Use new
48489         locale_file interface.
48490         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48491         NO_ADD_LOCALE.
48492         (collate_finish): Don't call collseq_table_finalize.
48493         (collate_output): Use new locale_file interface.
48494         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48495         in file.
48496         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48497         (TABLE): Move defines earlier in file.
48498         (ELEMENT): Likewise.
48499         (DEFAULT): Likewise.
48500         (wctrans_table_add): Move macro and inline function earlier in
48501         file.
48502         (struct wctype_table): Move type earlier in file.
48503         (add_locale_wctype_table): New static prototype.
48504         (struct locale_ctype_t): Use logical types instead of struct iovec
48505         pointers for members.
48506         (ctype_output): Use new locale_file interface.
48507         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48508         new locale_file interface.
48509         (allocate_arrays): Update for use of new locale_file interface.
48510         * locale/programs/ld-identification.c (identification_output): Use
48511         new locale_file interface.
48512         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48513         * locale/programs/ld-messages.c (messages_output): Likewise.
48514         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48515         * locale/programs/ld-name.c (name_output): Likewise.
48516         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48517         * locale/programs/ld-paper.c (paper_output): Likewise.
48518         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48519         * locale/programs/ld-time.c (time_output): Likewise.
48521 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48523         * benchtests/Makefile: Add memrchr benchmark.
48524         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48525         benchmark as memrchr.
48526         * benchtests/bench-memrchr-ifunc.c: New file.
48527         * benchtests/bench-memrchr.c: New file.
48529 2013-09-06   Will Newton  <will.newton@linaro.org>
48531         * benchtests/Makefile (string-bench): Add memcpy.
48533 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48534             Cong Wang  <amwang@redhat.com>
48536         [BZ #15850]
48537         * sysdeps/unix/sysv/linux/bits/in.h
48538         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48539         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48540         before __USE_KERNEL_IPV6_DEFS uses.
48541         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48542         IPPROTO_BEETPH.
48543         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48544         sockaddr_in6, or ipv6_mreq.
48546 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48548         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48549         memory access for final bytes in some large inputs.
48550         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48552 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48554         * string/test-memrchr.c: New file.
48555         * string/test-memrchr-ifunc.c: New file.
48556         * string/Makefile: Add new memrchr testcase.
48558 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48560         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48561         fanotify_init returns EPERM.
48563 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48565         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48566         errors.
48567         (top level): Treat second token from macro or constant entries for
48568         allowed headers as allowed.
48569         * include/complex.h: Condition internal declarations on
48570         [!_ISOMAC].
48571         * include/fenv.h: Condition include of <stdbool.h> and internal
48572         declarations on [!_ISOMAC].
48574 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48576         [BZ #15923]
48577         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48579 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48581         * configure.in (--enable-versioning): Remove configure option.
48582         (libc_cv_asm_symver_directive): Remove configure test.
48583         (libc_cv_ld_version_script_option): Likewise.
48584         (VERSIONING): Remove variable and AC_SUBST.
48585         (DO_VERSIONING): Remove AC_DEFINE.
48586         * configure: Regenerated.
48587         * config.h.in (DO_VERSIONING): Remove macro.
48588         * Makerules [$(versioning) = yes]: Change conditionals to
48589         [$(build-shared) = yes].
48590         * config.make.in (versioning): Remove variable.
48591         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48592         [$(build-shared) = yes].
48593         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48594         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48595         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48596         [$(build-shared) = yes].
48597         * extra-lib.mk [$(versioning) = yes]: Likewise.
48598         * hurd/Makefile [$(versioning) = yes]: Likewise.
48599         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48600         [SHARED].
48601         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48602         [SHARED].
48603         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48604         [SHARED && !NO_HIDDEN].
48605         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48606         [SHARED].
48607         [SHARED && DO_VERSIONING]: Likewise..
48608         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48609         [$(build-shared) = yes].
48610         * manual/install.texi (--disable-versioning): Remove
48611         documentation.
48612         * INSTALL: Regenerated.
48613         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48614         to [SHARED].
48615         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48616         [$(build-shared) = yes].
48617         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48618         * sysdeps/i386/i686/multiarch/strstr-c.c
48619         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48620         [SHARED && !NO_HIDDEN].
48621         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48622         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48623         * sysdeps/powerpc/powerpc32/dl-machine.c
48624         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48625         * sysdeps/powerpc/powerpc32/sysdep.h
48626         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48627         to [SHARED && PIC && !NO_HIDDEN].
48628         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48629         conditional to [SHARED].
48631 2013-09-04   Will Newton  <will.newton@linaro.org>
48633         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48634         * benchtests/bench-string.h: Include bench-timing.h instead
48635         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48636         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48637         call to HP_TIMING_DIFF_INIT.
48638         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48639         instead of hp-timing.h macros.
48640         * benchtests/bench-memchr.c: Likewise.
48641         * benchtests/bench-memcmp.c: Likewise.
48642         * benchtests/bench-memcpy.c: Likewise.
48643         * benchtests/bench-memmem.c: Likewise.
48644         * benchtests/bench-memmove.c: Likewise.
48645         * benchtests/bench-memset.c: Likewise.
48646         * benchtests/bench-rawmemchr.c: Likewise.
48647         * benchtests/bench-strcasecmp.c: Likewise.
48648         * benchtests/bench-strcasestr.c: Likewise.
48649         * benchtests/bench-strcat.c: Likewise.
48650         * benchtests/bench-strchr.c: Likewise.
48651         * benchtests/bench-strcmp.c: Likewise.
48652         * benchtests/bench-strcpy.c: Likewise.
48653         * benchtests/bench-strcpy_chk.c: Likewise.
48654         * benchtests/bench-strlen.c: Likewise.
48655         * benchtests/bench-strncasecmp.c: Likewise.
48656         * benchtests/bench-strncat.c: Likewise.
48657         * benchtests/bench-strncmp.c: Likewise.
48658         * benchtests/bench-strncpy.c: Likewise.
48659         * benchtests/bench-strnlen.c: Likewise.
48660         * benchtests/bench-strpbrk.c: Likewise.
48661         * benchtests/bench-strrchr.c: Likewise.
48662         * benchtests/bench-strspn.c: Likewise.
48663         * benchtests/bench-strstr.c: Likewise.
48665 2013-09-04  Will Newton  <will.newton@linaro.org>
48667         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48669 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48671         [BZ #15427]
48672         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48673         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48674         * math/libm-test.inc (lgamma_test_data): Add more tests.
48675         * sysdeps/i386/fpu/libm-test-ulps: Update.
48676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48678 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48680         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48682         Add ifunc.
48683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48684         Add strcmp-sse2-unaligned
48685         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48687 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48689         * Versions.def (libc): Add GLIBC_2.19.
48691 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48693         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48694         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48696 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48698         [BZ #14155]
48699         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48700         intermediate calculations in recurrence.
48701         (__ieee754_ynf): Likewise.
48702         * math/libm-test.inc (jn_test_data): Do not allow spurious
48703         underflow exception.  Add more tests.
48704         (yn_test_data): Add more tests.
48705         * sysdeps/i386/fpu/libm-test-ulps: Update.
48706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48708 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48710         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48712 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48714         * csu/init-first.c: Fix then/than typos.
48715         * locale/programs/ld-collate.c: Likewise.
48716         * locale/programs/linereader.h: Likewise.
48717         * manual/charset.texi: Likewise.
48718         * manual/filesys.texi: Likewise.
48719         * manual/stdio.texi: Likewise.
48720         * manual/string.texi: Likewise.
48721         * stdlib/fmtmsg.c: Likewise.
48722         * sysdeps/i386/stpncpy.S: Likewise.
48723         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48724         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48725         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48726         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48728 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48730         * elf/dl-open.c: Fix typos.
48731         * iconvdata/gbbig5.c: Likewise.
48732         * iconvdata/iso-2022-jp.c: Likewise.
48733         * iconv/gconv_int.h: Likewise.
48734         * iconv/loop.c: Likewise.
48735         * nis/rpcsvc/nis.h: Likewise.
48736         * resolv/ns_name.c: Likewise.
48737         * stdio-common/vfscanf.c: Likewise.
48738         * streams/stropts.h: Likewise.
48739         * sunrpc/rpc_thread.c: Likewise.
48740         * sysdeps/i386/strpbrk.S: Likewise.
48741         * sysdeps/ieee754/k_standard.c: Likewise.
48742         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48743         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48744         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48745         * sysdeps/mach/hurd/profil.c: Likewise.
48746         * sysdeps/s390/dl-procinfo.h: Likewise.
48747         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48748         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48749         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48750         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48751         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48753 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48755         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48756         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48758 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48760         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48761         aix specific files.
48762         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48763         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48764         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48765         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48766         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48767         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48768         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48769         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48771 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48772             Roland McGrath  <roland@hack.frob.com>
48774         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48775         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48777 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48779         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48780         __executable_start symbol instead of _start.
48782 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48784         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48785         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48786         Move macros to...
48787         * sysdeps/gnu/ldsodefs.h: ... this new file.
48789         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48790         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48791         instead of ELFOSABI_LINUX.
48793         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48794         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48795         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48796         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48797         Likewise.
48798         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48799         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48800         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48801         Likewise.
48802         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48803         (ibm_extended_long_double): Add ieee_nan member.
48804         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48805         (do_test): New function.
48807         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48808         TEST_TRUNC.
48809         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48810         functions, renamed from truncdfsf_test, trunctfsf_test,
48811         trunctfdf_test.
48812         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48813         functions.
48814         (do_test): Run all these.
48816 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48818         * argp/argp-help.c: Fix typos.
48819         * argp/argp-parse.c: Likewise.
48820         * debug/backtracesyms.c: Likewise.
48821         * elf/elf.h: Likewise.
48822         * malloc/malloc.c: Likewise.
48823         * nis/nis_print.c: Likewise.
48824         * resolv/res_comp.c: Likewise.
48825         * stdlib/stdlib.h: Likewise.
48826         * sunrpc/clnt_tcp.c: Likewise.
48827         * sunrpc/clnt_udp.c: Likewise.
48828         * sunrpc/clnt_unix.c: Likewise.
48829         * sysdeps/unix/bsd/ptsname.c: Likewise.
48830         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48831         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48833         Likewise.
48834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48835         Likewise.
48836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48837         Likewise.
48838         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48840 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48842         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48845 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48847         [BZ #15897]
48848         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48849         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48850         ($(objpfx)bug-dl-leaf): New rule.
48851         ($(objpfx)bug-dl-leaf.so): Likewise.
48852         ($(objpfx)bug-dl-leaf.out): Likewise.
48853         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48854         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48855         * dlfcn/bug-dl-leaf.c: New test.
48856         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48857         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48858         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48859         (dlclose): Likewise.
48860         (dlmopen): Likewise.
48862 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48864         * include/netdb.h [!_ISOMAC]:
48865         Don't include <tls.h>.
48866         (h_errno, __libc_h_errno): Move declaration and macros out of
48867         [_LIBC_REENTRANT].
48869         * include/resolv.h [_RESOLV_H_]:
48870         Don't include <tls.h>.
48871         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48872         * resolv/res_libc.c: Don't include <tls.h>.
48873         (_res): Use __attribute__ ((nocommon)) in place of
48874         __attribute__ ((section (".bss"))).
48876         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48877         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48879         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48881         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48882         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48884         * resolv/res_mkquery.c: Include <sys/time.h>.
48886         * inet/ifreq.c: Moved to ...
48887         * sysdeps/unix/ifreq.c: ... here.
48888         * inet/ifreq.c: New file, true stub version.
48890         * socket/sa_len.c: New file.
48891         * socket/Makefile (aux): Add it.
48892         * sysdeps/unix/sysv/linux/Makefile
48893         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48894         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48895         and #include <socket/sa_len.c>.
48896         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48897         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48899         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48900         * bits/socket.h: ... here.
48902         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48903         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48904         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48906 2013-08-27  Andreas Schwab  <schwab@suse.de>
48908         [BZ #15736]
48909         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48910         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48911         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48912         * string/test-strcasecmp.c (test_main): Run tests in several
48913         locales.
48914         * string/test-strncasecmp.c (test_main): Likewise.
48916         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48917         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48918         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48920         (__strncasecmp_ssse3) [PIC]: Likewise.
48922 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48924         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48926         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48927         instead of explicitly declaring xdecrypt.
48928         * nis/nss_nis/nis-publickey.c: Likewise.
48930 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48932         [BZ #15890]
48933         * nscd/aicache.c: Include res_hconf.h.
48934         (addhstaiX): Initialize res_hconf.
48936 2013-08-26  Andreas Schwab  <schwab@suse.de>
48938         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48939         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48941 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48943         * nscd/aicache.c (addhstaiX): Fix indentation.
48945 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48947         * configure.ac: Quote $build_pt_chown test.
48948         * configure: Regenerated.
48950 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48952         [BZ #15532]
48953         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48954         * math/s_cexpf.c (__cexpf): Likewise.
48955         * math/s_cexpl.c (__cexpl): Likewise.
48956         * math/libm-test.inc (cexp_test_data): Correct expected return
48957         value for NaN + i0.  Add another test.
48959 2013-08-22  David S. Miller  <davem@davemloft.net>
48961         * po/ca.po: Update Catalan translation from translation project.
48962         * po/uk.po: Add Ukrainian translations from translation project.
48964 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48966         [BZ #15797]
48967         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48968         is infinite, not alongside NaN test.
48969         * math/s_fdimf.c (__fdimf): Likewise.
48970         * math/s_fdiml.c (__fdiml): Likewise.
48971         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48972         errno is unchanged.
48974 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48976         * argp/argp-help.c: Fix typos.
48977         * crypt/speeds.c: Likewise.
48978         * csu/check_fds.c: Likewise.
48979         * elf/dl-load.c: Likewise.
48980         * elf/dl-open.c: Likewise.
48981         * elf/reldep3.c: Likewise.
48982         * elf/reldep.c: Likewise.
48983         * elf/sprof.c: Likewise.
48984         * iconv/iconv_charmap.c: Likewise.
48985         * iconv/skeleton.c: Likewise.
48986         * iconv/strtab.c: Likewise.
48987         * io/lockf64.c: Likewise.
48988         * libio/libioP.h: Likewise.
48989         * resolv/gai_notify.c: Likewise.
48990         * resolv/ns_name.c: Likewise.
48991         * resolv/ns_samedomain.c: Likewise.
48992         * resolv/res_send.c: Likewise.
48993         * stdlib/random.c: Likewise.
48994         * sunrpc/rpc/xdr.h: Likewise.
48995         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48996         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48997         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48998         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48999         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49000         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49002         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49003         * sysdeps/mach/hurd/check_fds.c: Likewise.
49004         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49005         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49006         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49007         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49008         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49009         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49010         * sysdeps/pthread/aio_notify.c: Likewise.
49011         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49012         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49013         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49014         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49015         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49017 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49019         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49020         version if bit_Slow_SSE4_2 is set.
49021         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49022         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49024 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49026         [BZ #15867]
49027         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49028         trampoline stack frame information.
49029         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49030         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49031         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49032         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49033         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49034         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49035         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49036         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49037         sa_flags value.
49038         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49039         interrupting a syscall and set with option SA_SIGINFO.
49041 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49043         [BZ #15531]
49044         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49045         argument is infinite.
49046         * math/s_cprojf.c (__cprojf): Likewise.
49047         * math/s_cprojl.c (__cprojl): Likewise.
49048         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49049         * math/libm-test.inc (cproj_test_data): Add more tests.
49051         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49053         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49054         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49055         size.  Use __ffs to determine corresponding shift.
49057 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49058             Roland McGrath  <roland@hack.frob.com>
49060         * Makefile (INSTALL): Remove trailing blank lines from output of
49061         makeinfo.
49063 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49065         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49066         Align 32 bit compat elf_greg to 8 bytes.
49068 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49070         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49072 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49074         * string/strcoll_l.c (coll_seq): New structure.
49075         (get_next_seq_cached): New function.
49076         (get_next_seq): New function.
49077         (do_compare): New function.
49078         (STRCOLL): Use GNU style definition.  Simplify implementation
49079         by using get_next_seq, get_next_seq_cached and do_compare.
49081 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49083         [BZ #14699]
49084         CVE-2013-4237
49085         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49086         member.
49087         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49088         member.
49089         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49090         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49091         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49092         conditional.
49093         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49094         GETDENTS_64BIT_ALIGNED.
49095         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49096         * manual/filesys.texi (Reading/Closing Directory): Document
49097         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49098         strongly.
49099         * manual/conf.texi (Limits for Files): Add portability note to
49100         NAME_MAX, PATH_MAX.
49101         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49103 2013-08-13  Andreas Schwab  <schwab@suse.de>
49105         [BZ #15749]
49106         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49107         of fabs.
49108         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49109         LDBL_MAX_EXP >= 16384]: Add tests for it.
49111 2013-08-12  David S. Miller  <davem@davemloft.net>
49113         * version.h (RELEASE): Set to "development".
49114         (VERSION): Set to "2.18.90".
49115         * NEWS: Add 2.19 section.
49117 2013-08-03  David S. Miller  <davem@davemloft.net>
49119         * po/ko.po: Update Korean translation from translation project.
49121 2013-08-01  David S. Miller  <davem@davemloft.net>
49123         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49124         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49125         Bilka.
49127 2013-07-30  David S. Miller  <davem@davemloft.net>
49129         * po/fr.po: Update French translation from translation project.
49131 2013-07-28  David S. Miller  <davem@davemloft.net>
49133         * po/cs.po: Update Czech translation from translation project.
49135         * po/sv.po: Update Swedish translation from translation project.
49137 2013-07-27  David S. Miller  <davem@davemloft.net>
49139         * po/eo.po: Update Esperanto translation from translation project.
49141         * po/vi.po: Update Vietnamese translation from translation project.
49143         * po/de.po: Update German translation from translation project.
49145 2013-07-26  David S. Miller  <davem@davemloft.net>
49147         * po/bg.po: Update Bulgarian translation from translation project.
49149         * po/nl.po: Update Dutch translation from translation project.
49150         * po/pl.po: Update Polish translation from translation project.
49151         * po/ru.po: Update Russian translation from translation project.
49153 2013-07-24  David S. Miller  <davem@davemloft.net>
49155         * po/libc.pot: Update.
49157 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49159         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49160         variable page size.
49161         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49162         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49163         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49165 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49167         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49169 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49170             Andreas Schwab  <schwab@suse.de>
49171             Roland McGrath  <roland@hack.frob.com>
49172             Joseph Myers  <joseph@codesourcery.com>
49173             Carlos O'Donell  <carlos@redhat.com>
49175         [BZ #15755]
49176         * config.h.in: Define HAVE_PT_CHOWN.
49177         * config.make.in (build-pt-chown): New variable.
49178         * configure.in (--enable-pt_chown): New configure option.
49179         * configure: Regenerate.
49180         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49181         build-pt-chown is enabled.
49182         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49183         pt_chown to fix pty ownership.
49184         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49185         CLOSE_ALL_FDS.
49186         * manual/install.texi (Configuring and compiling): Mention
49187         --enable-pt_chown. Add @findex for grantpt.
49188         * INSTALL: Regenerate.
49190 2013-07-20  David S. Miller  <davem@davemloft.net>
49192         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49193         difference between 32-bit and 64-bit.
49195 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49197         [BZ #15711]
49198         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49199         Avoid system header dependency with -ffreestanding.
49200         ($(objpfx)bits/syscall%d): Likewise.
49202 2013-07-13  David S. Miller  <davem@davemloft.net>
49204         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49205         underflows from atanl/atan2l due to bug 15319.
49206         (casinh_test_data): Likewise.
49208 2013-07-07  David S. Miller  <davem@davemloft.net>
49210         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49212 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49214         * sysdeps/i386/fpu/libm-test-ulps: Update.
49215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49217 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49219         * configure.in (--enable-lock-elision): Fix message text.
49220         * INSTALL: Regenerate.
49221         * configure: Regenerate.
49223 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49227 2013-07-03  Andreas Jaeger  <aj@suse.de>
49229         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49230         define.
49231         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49232         (ptrace_peeksiginfo_args): Add.
49233         (__ptrace_peeksiginfo_flags): Add.
49234         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49235         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49236         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49238 2013-07-03  Allan McRae  <allan@archlinux.org>
49240         * sysdeps/i386/fpu/libm-test-ulps: Update.
49242 2013-07-02  David S. Miller  <davem@davemloft.net>
49244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49246 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49250 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49252         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49255 2013-07-02  Andi Kleen <ak@linux.intel.com>
49257         * config.h.in (ENABLE_LOCK_ELISION): Add.
49258         * configure.in (--enable-lock-elision): Add option.
49259         * manual/install.texi: Document --enable lock elision.
49260         * configure: Regenerate
49261         * INSTALL: Regenerate.
49263 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49265         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49266         SSE4.2 strcasecmp for libc.a.
49267         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49269 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49271         [BZ #13304]
49272         * soft-fp/op-common.h (_FP_FMA): New macro.
49273         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49274         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49275         (_FP_MUL_MEAT_1_imm): ... here.
49276         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49277         (_FP_MUL_MEAT_1_wide): ... here.
49278         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49279         (_FP_MUL_MEAT_1_hard): ... here.
49280         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49281         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49282         (_FP_MUL_MEAT_2_wide): ... here.
49283         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49284         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49285         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49286         (_FP_MUL_MEAT_2_gmp): ... here.
49287         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49288         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49289         (_FP_MUL_MEAT_4_wide): ... here.
49290         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49291         (_FP_MUL_MEAT_4_gmp): ... here.
49292         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49293         (_FP_WFRACBITS_DW_S): Likewise.
49294         (_FP_WFRACXBITS_DW_S): Likewise.
49295         (_FP_HIGHBIT_DW_S): Likewise.
49296         (FP_FMA_S): Likewise.
49297         (_FP_FRAC_HIGH_DW_S): Likewise.
49298         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49299         (_FP_WFRACBITS_DW_D): Likewise.
49300         (_FP_WFRACXBITS_DW_D): Likewise.
49301         (_FP_HIGHBIT_DW_D): Likewise.
49302         (FP_FMA_D): Likewise.
49303         (_FP_FRAC_HIGH_DW_D): Likewise.
49304         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49305         (_FP_WFRACBITS_DW_E): Likewise.
49306         (_FP_WFRACXBITS_DW_E): Likewise.
49307         (_FP_HIGHBIT_DW_E): Likewise.
49308         (FP_FMA_E): Likewise.
49309         (_FP_FRAC_HIGH_DW_E): Likewise.
49310         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49311         (_FP_WFRACBITS_DW_Q): Likewise.
49312         (_FP_WFRACXBITS_DW_Q): Likewise.
49313         (_FP_HIGHBIT_DW_Q): Likewise.
49314         (FP_FMA_Q): Likewise.
49315         (_FP_FRAC_HIGH_DW_Q): Likewise.
49316         * soft-fp/fmasf4.c: New file.
49317         * soft-fp/fmadf4.c: Likewise.
49318         * soft-fp/fmatf4.c: Likewise.
49320 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49323         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49324         Silvermont.
49325         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49326         macro.
49327         (index_Slow_SSE4_2): Likewise.
49328         (index_Prefer_PMINUB_for_stringop): Likewise.
49329         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49330         bit_Slow_SSE4_2 is set.
49331         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49332         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49334 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49336         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49337         rtld_global._dl_hwcap2.
49338         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49339         POWER8.
49340         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49341         POWER8 feature descriptions defined in _dl_hwcap2.
49342         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49343         string handling for POWER8 feature bits.
49344         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49345         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49346         _dl_powerpc_cap_flags.
49347         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49348         * sysdeps/powerpc/rtld-global-offsets.sym
49349         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49350         _dl_hwcap2 in the rtld_global_ro structure.
49352 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49354         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49355         hardware capabilities in support of AT_HWCAP2.
49356         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49357         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49358         GLRO(dl_hwcap2).
49359         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49360         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49361         explicitly the unknown a_type display mechanism is used.
49362         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49363         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49364         struct member.
49365         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49366         to macro prototype for AT_HWCAP2 support.
49367         * sysdeps/i386/dl-procinfo.h: Likewise.
49368         * sysdeps/s390/dl-procinfo.h: Likewise.
49369         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49370         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49371         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49372         return -1 for unknown a_type display fallback.
49373         * sysdeps/sparc/dl-procinfo.h: Likewise.
49374         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49375         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49377 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49379         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49380         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49382 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49384         [BZ #12492]
49385         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49386         mprotect making __stack_prot writable.
49388 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49389             Joseph Myers  <joseph@codesourcery.com>
49391         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49392         as being properly aligned.
49394 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49396         * dlfcn/modstatic5.c: New file.
49397         * dlfcn/tststatic5.c: New file.
49398         * dlfcn/Makefile (tests): Add tststatic5.
49399         (tests-static): Likewise.
49400         (modules-names): Add modstatic5.
49401         (tststatic5-ENV): New variable.
49402         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49404         [BZ #15022]
49405         * elf/dl-support.c (_dl_main_map): New variable.
49406         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49407         (_dl_nns, _dl_load_adds): Set to 1.
49408         (_dl_initial_searchlist): Refer to _dl_main_map.
49409         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49410         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49411         call to _dl_get_origin.
49412         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49413         around call_map.
49414         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49415         * dlfcn/modstatic3.c: New file.
49416         * dlfcn/tststatic3.c: New file.
49417         * dlfcn/tststatic4.c: New file.
49418         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49419         (tests-static): Likewise.
49420         (modules-names): Add modstatic3.
49421         (tststatic3-ENV, tststatic4-ENV): New variables.
49422         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49423         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49425 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49427         * configure.in (CC): Require GCC version 4.4 or later.
49428         * configure: Regenerated.
49429         * manual/install.texi (Tools for Compilation): Update GCC version
49430         requirement.
49431         * INSTALL: Regenerated.
49433 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49435         [BZ #15674]
49436         * string/test-memcmp.c (check2): New.
49437         (main): Call check2.
49439         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49441 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49443         [BZ #15022]
49444         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49445         over to...
49446         (dl_open_worker) [!SHARED]: ... here.
49448 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49450         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49452 2013-06-25  Richard Henderson  <rth@redhat.com>
49454         * locale/programs/locarchive.c: Include <libc-internal.h>
49456 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49458         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49459         trailing whitespace removed.
49461 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49463         [BZ #10283]
49464         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49465         * locale/programs/locarchive.c: Include libc-mmap.h.
49466         (prepare_address_space): Take two new outputs (the mmap base and len).
49467         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49468         values.
49469         (create_archive): Declare new mmap base and len values for
49470         prepare_address_space, and store the result in ah.
49471         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49472         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49473         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49474         Declare new mmap base and len values for
49475         prepare_address_space, and store the result in new_ah.
49476         (open_archive): Declare new mmap base and len values for
49477         prepare_address_space, and store the result in ah.
49478         (close_archive): If ah->mmap_base is not NULL, use that and
49479         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49480         * sysdeps/generic/libc-mmap.h: New file.
49482 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49484         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49485         (ALIGN_UP): Likewise.
49486         (PTR_ALIGN_DOWN): Likewise.
49487         (PTR_ALIGN_UP): Likewise.
49489 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49491         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49492         entry mapped to PPC_PLATFORM_POWER8.
49493         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49494         POWER8.
49495         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49496         (_dl_string_platform): Add case for exporting platform position for
49497         POWER8.
49498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49499         search path to sysdeps/powerpc/powerpc32/power8 directory.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49501         search path to sysdeps/powerpc/powerpc64/power8 directory.
49502         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49503         power7 directories.
49504         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49505         power7 directories.
49507 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49509         * INSTALL: Regenerate.
49511         * nscd/connections.c (nscd_init): Fix comment.
49513 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49515         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49517         [BZ #15667]
49518         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49519         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49521 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49523         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49524         DL_DST_REQ_STATIC.
49525         (DL_DST_REQ_STATIC): Remove macro.
49527 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49529         [BZ #7006]
49530         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49531         with a shift of 0 bits.
49533 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49535         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49536         $(tststatic-ENV).
49538 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49540         [BZ #15655]
49541         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49543 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49545         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49546         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49547         accepts -fno-tree-loop-distribute-patterns.
49548         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49549         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49550         recursive call.
49551         * string/memset.c (memset): Likewise.
49552         * string/test-memmove.c (simple_memmove): Disable loop transformation
49553         to library calls.
49554         * string/test-memset.c (simple_memset): Likewise.
49555         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49556         * benchtests/bench-memset.c (simple_memset): Likewise.
49557         * configure: Regenerated.
49559 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49561         * math/test-misc.c (main): Ignore fesetround failure when failures
49562         of subsequent rounding tests would be ignored.
49564         [BZ #15654]
49565         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49566         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49567         * math/fegetenv.c (__fegetenv): Return 0.
49568         * math/fegetexcept.c (fegetexcept): Return 0.
49569         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49570         FE_TONEAREST.
49571         * math/feholdexcpt.c (feholdexcept): Return 0.
49572         * math/fesetenv.c (__fesetenv): Return 0.
49573         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49574         argument FE_TONEAREST.
49575         * math/feupdateenv.c (__feupdateenv): Return 0.
49576         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49578 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49580         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49581         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49582         ($(objpfx)rtld-%.os rules): Use them.
49584 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49586         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49587         fields.
49589 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49591         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49592         length of target pattern, then descending length of dependency pattern.
49593         * configure.in (AWK): Require gawk 3.1.2 or newer.
49594         * manual/install.texi (Tools for Compilation): Say that we do.
49595         * configure: Regenerated.
49597         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49598         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49599         * scripts/sysd-rules.awk: ... this new script.
49600         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49601         than a glob-style pattern.
49603 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49605         * math/test-misc.c (main): Do not treat incorrectly rounded
49606         conversions as failure unless ROUNDING_TESTS passes.
49608 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49610         [BZ #15631]
49611         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49612         restore exception state around main square root computation, then
49613         check for inexactness explicitly.
49615         * math/libm-test.inc (fma_test_data): Add another test.
49617 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49619         * manual/threads.texi (Non-POSIX Extensions): New document
49620         node.  Document pthread_getattr_default_np and
49621         pthread_setattr_default_np.
49623         * Versions.def (libpthread): Add GLIBC_2.18.
49624         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49626         Likewise.
49627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49628         Likewise.
49629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49630         Likewise.
49631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49632         Likewise.
49633         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49634         Likewise.
49635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49636         Likewise.
49637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49638         Likewise.
49639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49640         Likewise.
49641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49642         Likewise.
49644 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49647         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49649 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49650             H.J. Lu  <hjl.tools@gmail.com>
49652         [BZ #15627]
49653         * sysdeps/x86_64/rtld-memset.c: Remove file.
49654         * sysdeps/x86_64/rtld-memset.S: New file.
49656 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49658         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49659         (test_in_one_mode): Take arguments for whether the rounding mode
49660         is supported for each floating-point type.
49661         (do_test): Pass new arguments to test_in_one_mode using
49662         ROUNDING_TESTS.
49664 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49666         * posix/tst-waitid.c (do_test): Distinguish different instances of
49667         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49668         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49669         before entering the kernel for waitpid.
49671 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49673         * NEWS: Fix note on clock function precision.  Text by Roland
49674         McGrath.
49676 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49678         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49679         it into place only when and if the sanity check passes.
49681 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49683         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49684         output for whether conversion result is exact.  Take argument
49685         indicating whether type is IBM long double.
49686         (round_for_all): Change need_exact field to ibm_ld.
49687         * stdlib/tst-strtod-round.c (struct exactness): New type.
49688         (struct test): Change bool ld_ok field to struct exactness exact.
49689         (TEST): Update all definitions for change to field.
49690         (tests): Regenerate array contents.
49691         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49692         field value.  Check for IBM long double here.
49693         (do_test): Update calls to test_in_one_mode.
49695 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49697         [BZ #12515]
49698         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49699         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49701 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49703         [BZ #15605]
49704         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49705         generated by the compiler on loop optimizations.
49706         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49707         general definitions.
49709 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49711         * math/bug-nextafter.c: Include <math-tests.h>.
49712         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49713         the relevant type.
49714         * math/bug-nexttoward.c: Include <math-tests.h>.
49715         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49716         the relevant type.
49717         * math/test-misc.c: Include <math-tests.h>.
49718         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49719         the relevant type.
49721 2013-06-12  Andreas Jaeger  <aj@suse.de>
49723         * po/ia.po: Update Interlingua translation from translation
49724         project.
49726 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49728         * include/fenv.h: Include stdbool.h.
49729         (struct rm_ctx): New structure.
49730         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49731         Define macro.
49732         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49733         (SET_RESTORE_ROUNDF): Likewise.
49734         (SET_RESTORE_ROUNDL): Likewise.
49735         (SET_RESTORE_ROUND_NOEX): Likewise.
49736         (SET_RESTORE_ROUND_NOEXF): Likewise.
49737         (SET_RESTORE_ROUND_NOEXL): Likewise.
49738         (SET_RESTORE_ROUND_53BIT): Likewise.
49739         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49740         (libc_feresetround_noexf_ctx): Likewise.
49741         (libc_feresetround_noexl_ctx): Likewise.
49742         (libc_feholdsetround_53bit_ctx): Likewise.
49743         (libc_feresetround_53bit_ctx): Likewise.
49744         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49745         (libc_feholdexcept_setround_sse_ctx): New function.
49746         (libc_fesetenv_sse_ctx): Likewise.
49747         (libc_feupdateenv_sse_ctx): Likewise.
49748         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49749         (libc_feholdexcept_setround_387_ctx): Likewise.
49750         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49751         (libc_feholdsetround_387_prec_ctx): Likewise.
49752         (libc_feholdsetround_387_ctx): Likewise.
49753         (libc_feholdsetround_387_53bit_ctx): Likewise.
49754         (libc_feholdsetround_sse_ctx): Likewise.
49755         (libc_feresetround_sse_ctx): Likewise.
49756         (libc_feresetround_387_ctx): Likewise.
49757         (libc_feupdateenv_387_ctx): Likewise.
49758         (libc_feholdexcept_setroundf_ctx): Define macro.
49759         (libc_fesetenvf_ctx): Likewise.
49760         (libc_feupdateenvf_ctx): Likewise.
49761         (libc_feholdsetroundf_ctx): Likewise.
49762         (libc_feresetroundf_ctx): Likewise.
49763         (libc_feholdexcept_setround_ctx): Likewise.
49764         (libc_fesetenv_ctx): Likewise.
49765         (libc_feupdateenv_ctx): Likewise.
49766         (libc_feholdsetround_ctx): Likewise.
49767         (libc_feresetround_ctx): Likewise.
49768         (libc_feholdexcept_setroundl_ctx): Likewise.
49769         (libc_feupdateenvl_ctx): Likewise.
49770         (libc_feholdsetroundl_ctx): Likewise.
49771         (libc_feresetroundl_ctx): Likewise.
49772         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49773         (libc_feresetround_53bit_ctx): Likewise.
49775 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49777         * locale/iso-639.def: Convert to UTF-8.
49779 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49781         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49782         (EXCEPTION_TESTS_double): Likewise.
49783         (EXCEPTION_TESTS_long_double): Likewise.
49784         (EXCEPTION_TESTS): Likewise.
49785         * math/libm-test.inc (test_exceptions): Only test exceptions if
49786         EXCEPTION_TESTS (FLOAT).
49788 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49790         * benchtests/Makefile (string-bench): Add strcpy_chk and
49791         stpcpy_chk.
49792         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49793         * benchtests/bench-stpcpy_chk.c: New file.
49794         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49795         * benchtests/bench-strcpy_chk.c: New file.
49796         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49797         code.
49798         (do_test): Likewise.
49800 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49802         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49803         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49804         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49805         with tabs where appropriate.
49806         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49807         dl-procinfo.h.
49808         [PPC_PLATFORM_PPC440]: Likewise.
49809         [PPC_PLATFORM_PPC464]: Likewise.
49810         [PPC_PLATFORM_PPC476]: Likewise.
49811         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49812         ppc464, and ppc476 platform strings merging from ports/
49813         dl-procinfo.h.
49815 2013-06-11  Andreas Schwab  <schwab@suse.de>
49817         [BZ #14991]
49818         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49819         (from_ucs4_idx): Regenerate.
49820         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49821         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49822         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49823         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49824         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49825         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49826         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49827         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49828         from FROM_LOOP and TO_LOOP specific macros.
49829         (BODY): Handle combining characters.
49830         * iconvdata/BIG5HKSCS.irreversible: Update.
49831         * iconvdata/BIG5HKSCS.precomposed: New file.
49832         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49833         characters.
49834         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49836 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49838         * include/sys/time.h: Fix indentation and add copyright header.
49840         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49841         (do_test): Likewise.
49842         * string/test-memchr.c (do_one_test): Likewise.
49843         (do_test): Likewise.
49844         * string/test-memcmp.c (do_one_test): Likewise.
49845         (do_test): Likewise.
49846         * string/test-memcpy.c (do_one_test): Likewise.
49847         (do_test): Likewise.
49848         * string/test-memmem.c (do_one_test): Likewise.
49849         (do_test): Likewise.
49850         (do_random_tests): Likewise.
49851         * string/test-memmove.c (do_one_test): Likewise.
49852         (do_test): Likewise.
49853         * string/test-memset.c (do_one_test): Likewise.
49854         (do_test): Likewise.
49855         * string/test-rawmemchr.c (do_one_test): Likewise.
49856         (do_test): Likewise.
49857         * string/test-strcasecmp.c (do_one_test): Likewise.
49858         (do_test): Likewise.
49859         * string/test-strcasestr.c (do_one_test): Likewise.
49860         (do_test): Likewise.
49861         * string/test-strcat.c (do_one_test): Likewise.
49862         (do_test): Likewise.
49863         * string/test-strchr.c (do_one_test): Likewise.
49864         (do_test): Likewise.
49865         * string/test-strcmp.c (do_one_test): Likewise.
49866         (do_test): Likewise.
49867         * string/test-strcpy.c (do_one_test): Likewise.
49868         (do_test): Likewise.
49869         * string/test-string.h: Likewise.
49870         (test_init): Likewise.
49871         * string/test-strlen.c (do_one_test): Likewise.
49872         (do_test): Likewise.
49873         * string/test-strncasecmp.c (do_one_test): Likewise.
49874         (do_test): Likewise.
49875         * string/test-strncat.c (do_one_test): Likewise.
49876         (do_test): Likewise.
49877         * string/test-strncmp.c (do_one_test): Likewise.
49878         (do_test_limit): Likewise.
49879         (do_test): Likewise.
49880         * string/test-strncpy.c (do_one_test): Likewise.
49881         (do_test): Likewise.
49882         * string/test-strnlen.c (do_one_test): Likewise.
49883         (do_test): Likewise.
49884         * string/test-strpbrk.c (do_one_test): Likewise.
49885         (do_test): Likewise.
49886         * string/test-strrchr.c (do_one_test): Likewise.
49887         (do_test): Likewise.
49888         * string/test-strspn.c (do_one_test): Likewise.
49889         (do_test): Likewise.
49890         * string/test-strstr.c (do_one_test): Likewise.
49891         (do_test): Likewise.
49893         * benchtests/Makefile (string-bench): Add string benchmarks.
49894         * benchtests/bench-bcopy-ifunc.c: New file.
49895         * benchtests/bench-bcopy.c: New file.
49896         * benchtests/bench-bzero-ifunc.c: New file.
49897         * benchtests/bench-bzero.c: New file.
49898         * benchtests/bench-memccpy-ifunc.c: New file.
49899         * benchtests/bench-memccpy.c: New file.
49900         * benchtests/bench-memchr-ifunc.c: New file.
49901         * benchtests/bench-memchr.c: New file.
49902         * benchtests/bench-memcmp-ifunc.c: New file.
49903         * benchtests/bench-memcmp.c: New file.
49904         * benchtests/bench-memmem-ifunc.c: New file.
49905         * benchtests/bench-memmem.c: New file.
49906         * benchtests/bench-memmove-ifunc.c: New file.
49907         * benchtests/bench-memmove.c: New file.
49908         * benchtests/bench-mempcpy-ifunc.c: New file.
49909         * benchtests/bench-mempcpy.c: New file.
49910         * benchtests/bench-memset-ifunc.c: New file.
49911         * benchtests/bench-memset.c: New file.
49912         * benchtests/bench-rawmemchr-ifunc.c: New file.
49913         * benchtests/bench-rawmemchr.c: New file.
49914         * benchtests/bench-stpcpy-ifunc.c: New file.
49915         * benchtests/bench-stpcpy.c: New file.
49916         * benchtests/bench-stpncpy-ifunc.c: New file.
49917         * benchtests/bench-stpncpy.c: New file.
49918         * benchtests/bench-strcasecmp-ifunc.c: New file.
49919         * benchtests/bench-strcasecmp.c: New file.
49920         * benchtests/bench-strcasestr-ifunc.c: New file.
49921         * benchtests/bench-strcasestr.c: New file.
49922         * benchtests/bench-strcat-ifunc.c: New file.
49923         * benchtests/bench-strcat.c: New file.
49924         * benchtests/bench-strchr-ifunc.c: New file.
49925         * benchtests/bench-strchr.c: New file.
49926         * benchtests/bench-strchrnul-ifunc.c: New file.
49927         * benchtests/bench-strchrnul.c: New file.
49928         * benchtests/bench-strcmp-ifunc.c: New file.
49929         * benchtests/bench-strcmp.c: New file.
49930         * benchtests/bench-strcpy-ifunc.c: New file.
49931         * benchtests/bench-strcpy.c: New file.
49932         * benchtests/bench-strcspn-ifunc.c: New file.
49933         * benchtests/bench-strcspn.c: New file.
49934         * benchtests/bench-strlen-ifunc.c: New file.
49935         * benchtests/bench-strlen.c: New file.
49936         * benchtests/bench-strncasecmp-ifunc.c: New file.
49937         * benchtests/bench-strncasecmp.c: New file.
49938         * benchtests/bench-strncat-ifunc.c: New file.
49939         * benchtests/bench-strncat.c: New file.
49940         * benchtests/bench-strncmp-ifunc.c: New file.
49941         * benchtests/bench-strncmp.c: New file.
49942         * benchtests/bench-strncpy-ifunc.c: New file.
49943         * benchtests/bench-strncpy.c: New file.
49944         * benchtests/bench-strnlen-ifunc.c: New file.
49945         * benchtests/bench-strnlen.c: New file.
49946         * benchtests/bench-strpbrk-ifunc.c: New file.
49947         * benchtests/bench-strpbrk.c: New file.
49948         * benchtests/bench-strrchr-ifunc.c: New file.
49949         * benchtests/bench-strrchr.c: New file.
49950         * benchtests/bench-strspn-ifunc.c: New file.
49951         * benchtests/bench-strspn.c: New file.
49952         * benchtests/bench-strstr-ifunc.c: New file.
49953         * benchtests/bench-strstr.c: New file.
49955         * benchtests/Makefile: Disable parallel execution of targets.
49956         (string-bench): Add memcpy.
49957         (benchset): New variable to store a list of benchmark sets.
49958         (bench-func): Renamed from bench.
49959         (bench-set): New target.
49960         (bench): Depend on bench-func and bench-set.
49961         * benchtests/README: Add section on benchmark sets.
49962         * benchtests/bench-memcpy-ifunc.c: New file.
49963         * benchtests/bench-memcpy.c: New file.
49964         * benchtests/bench-string.h: New file.
49966 2013-06-11  Andreas Schwab  <schwab@suse.de>
49968         [BZ #15577]
49969         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49970         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49971         values in the triple.
49972         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49973         terminator in the group key.
49975 2013-06-11  Andreas Jaeger  <aj@suse.de>
49977         * po/zh_TW.po: Update Chinese (traditional) translation from
49978         translation project.
49980 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49982         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49983         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49984         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49985         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49986         (clock_getcpuclockid): Likewise.
49987         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49988         Add weak_alias and libc_hidden_def.
49989         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49990         * rt/clock_gettime.c (clock_gettime): Rename to
49991         __clock_gettime.  Add weak_alias and libc_hidden_def.
49992         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49993         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49994         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49995         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49996         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49997         Likewise.
49998         * rt/clock_settime.c (clock_settime): Rename to
49999         __clock_settime.  Add weak_alias and libc_hidden_def.
50000         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50002 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50004         * mach/err_boot.sub: Remove trailing whitespace.
50005         * mach/err_ipc.sub: Likewise.
50006         * mach/err_mach.sub: Likewise.
50008         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50009         (ROUNDING_TESTS_double): Likewise.
50010         (ROUNDING_TESTS_long_double): Likewise.
50011         (ROUNDING_TESTS): Likewise.
50012         * math/libm-test.inc: Include <math-tests.h>.
50013         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50014         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50015         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50016         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50018 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50020         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50021         of assigning.
50023 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50025         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50026         otherwise empty TRANS lines.
50027         * sysdeps/gnu/errlist.c: Regenerated.
50029         * catgets/gencat.c (error_print): Use (void) in function
50030         definition.
50031         * crypt/crypt_util.c (__init_des): Likewise.
50032         * crypt/speeds.c (Stop): Likewise.
50033         (main): Likewise.
50034         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50035         * inet/ruserpass.c (token): Likewise.
50036         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50037         * intl/localealias.c (extend_alias_table): Likewise.
50038         * intl/plural-exp.c (init_germanic_plural): Likewise.
50039         * libio/fcloseall.c (__fcloseall): Likewise.
50040         * libio/genops.c (_IO_flush_all): Likewise.
50041         (_IO_flush_all_linebuffered): Likewise.
50042         (_IO_cleanup): Likewise.
50043         (_IO_iter_begin): Likewise.
50044         (_IO_iter_end): Likewise.
50045         (_IO_list_lock): Likewise.
50046         (_IO_list_unlock): Likewise.
50047         (_IO_list_resetlock): Likewise.
50048         * libio/getchar.c (getchar): Likewise.
50049         * libio/getchar_u.c (getchar_unlocked): Likewise.
50050         * libio/getwchar.c (getwchar): Likewise.
50051         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50052         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50053         * login/getpt.c (__getpt): Likewise.
50054         * login/tst-utmp.c (main): Likewise.
50055         * malloc/hooks.c (__malloc_check_init): Likewise.
50056         * malloc/malloc.c (__malloc_stats): Likewise.
50057         * malloc/mtrace.c (tr_break): Likewise.
50058         (mtrace): Likewise.
50059         (muntrace): Likewise.
50060         * misc/fstab.c (endfsent): Likewise.
50061         * misc/getclktck.c (__getclktck): Likewise.
50062         * misc/getdtsz.c (__getdtablesize): Likewise.
50063         * misc/gethostid.c (gethostid): Likewise.
50064         * misc/getpagesize.c (__getpagesize): Likewise.
50065         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50066         (__get_nprocs): Likewise.
50067         (__get_phys_pages): Likewise.
50068         (__get_avphys_pages): Likewise.
50069         * misc/getttyent.c (getttyent): Likewise.
50070         (setttyent): Likewise.
50071         (endttyent): Likewise.
50072         * misc/getusershell.c (getusershell): Likewise.
50073         (endusershell): Likewise.
50074         (setusershell): Likewise.
50075         (initshells): Likewise.
50076         * misc/hsearch.c (__hdestroy): Likewise.
50077         * misc/sync.c (sync): Likewise.
50078         * misc/syslog.c (closelog_internal): Likewise.
50079         (closelog): Likewise.
50080         * misc/ttyslot.c (ttyslot): Likewise.
50081         * misc/vhangup.c (vhangup): Likewise.
50082         * posix/fork.c (__fork): Likewise.
50083         * posix/getegid.c (__getegid): Likewise.
50084         * posix/geteuid.c (__geteuid): Likewise.
50085         * posix/getgid.c (__getgid): Likewise.
50086         * posix/getpid.c (__getpid): Likewise.
50087         * posix/getppid.c (__getppid): Likewise.
50088         * posix/getuid.c (__getuid): Likewise.
50089         * posix/pause.c (pause): Likewise.
50090         * posix/setpgrp.c (setpgrp): Likewise.
50091         * posix/setsid.c (__setsid): Likewise.
50092         * posix/test-vfork.c (noop): Likewise.
50093         * resolv/gethnamaddr.c (_endhtent): Likewise.
50094         (_gethtent): Likewise.
50095         (ht_endhostent): Likewise.
50096         (gethostent): Likewise.
50097         (dns_service): Likewise.
50098         * stdlib/drand48.c (drand48): Likewise.
50099         * stdlib/lrand48.c (lrand48): Likewise.
50100         * stdlib/mrand48.c (mrand48): Likewise.
50101         * stdlib/rand.c (rand): Likewise.
50102         * stdlib/random.c (__random): Likewise.
50103         * stdlib/setenv.c (clearenv): Likewise.
50104         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50105         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50106         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50107         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50108         (__get_nprocs): Likewise.
50109         (__get_phys_pages): Likewise.
50110         (__get_avphys_pages): Likewise.
50111         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50112         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50113         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50114         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50115         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50116         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50117         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50118         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50119         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50120         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50121         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50122         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50123         * sysdeps/posix/clock.c (clock): Likewise.
50124         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50125         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50126         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50127         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50128         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50130         (__get_nprocs_conf): Likewise.
50131         (__get_phys_pages): Likewise.
50132         (__get_avphys_pages): Likewise.
50133         * time/clock.c (clock): Likewise.
50134         * time/tzset.c (__tzname_max): Likewise.
50136 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50138         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50139         (__bswap_32): Do not use "register".
50140         * crypt/crypt.c (_ufc_doit_r): Likewise.
50141         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50142         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50143         * gmon/gmon.c (__monstartup): Likewise.
50144         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50145         * hurd/hurdmalloc.c (more_memory): Likewise.
50146         (malloc): Likewise.
50147         (free): Likewise.
50148         (realloc): Likewise.
50149         (malloc_fork_prepare): Likewise.
50150         (malloc_fork_parent): Likewise.
50151         (malloc_fork_child): Likewise.
50152         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50153         (_svcauth_des): Likewise.
50154         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50155         * inet/inet_net.c (inet_network): Likewise.
50156         * inet/inet_netof.c (inet_netof): Likewise.
50157         * inet/rcmd.c (__validuser2_sa): Likewise.
50158         * io/fts.c (fts_open): Likewise.
50159         (fts_load): Likewise.
50160         (fts_close): Likewise.
50161         (fts_read): Likewise.
50162         (fts_children): Likewise.
50163         (fts_build): Likewise.
50164         (fts_stat): Likewise.
50165         (fts_sort): Likewise.
50166         (fts_alloc): Likewise.
50167         (fts_lfree): Likewise.
50168         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50169         (_IO_file_xsgetn): Likewise.
50170         (_IO_file_xsgetn_mmap): Likewise.
50171         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50172         (_IO_cookie_write): Likewise.
50173         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50174         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50175         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50176         * malloc/obstack.c (_obstack_begin): Likewise.
50177         (_obstack_begin_1): Likewise.
50178         (_obstack_newchunk): Likewise.
50179         (_obstack_allocated_p): Likewise.
50180         (obstack_free): Likewise.
50181         (_obstack_memory_used): Likewise.
50182         * misc/getttyent.c (getttynam): Likewise.
50183         (getttyent): Likewise.
50184         (skip): Likewise.
50185         (value): Likewise.
50186         * misc/getusershell.c (initshells): Likewise.
50187         * misc/syslog.c (__vsyslog_chk): Likewise.
50188         * misc/ttyslot.c (ttyslot): Likewise.
50189         * nis/nis_hash.c (__nis_hash): Likewise.
50190         * posix/fnmatch_loop.c (FCT): Likewise.
50191         * posix/getconf.c (print_all): Likewise.
50192         (main): Likewise.
50193         * posix/getopt.c (exchange): Likewise.
50194         * posix/glob.c (globfree): Likewise.
50195         (prefix_array): Likewise.
50196         (__glob_pattern_type): Likewise.
50197         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50198         (NS_GET32): Likewise.
50199         (NS_PUT16): Likewise.
50200         (NS_PUT32): Likewise.
50201         * resolv/gethnamaddr.c (getanswer): Likewise.
50202         (gethostbyname2): Likewise.
50203         (gethostbyaddr): Likewise.
50204         (_gethtent): Likewise.
50205         (_gethtbyname2): Likewise.
50206         (_gethtbyaddr): Likewise.
50207         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50208         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50209         * resolv/res_init.c (__res_vinit): Likewise.
50210         (net_mask): Likewise.
50211         * resolv/res_mkquery.c (outchar): Likewise.
50212         (PRINT): Likewise.
50213         * stdio-common/printf_fp.c (outchar): Likewise.
50214         (PRINT): Likewise.
50215         * stdio-common/printf_fphex.c (outchar): Likewise.
50216         (PRINT): Likewise.
50217         * stdio-common/printf_size.c (outchar): Likewise.
50218         (PRINT): Likewise.
50219         * stdio-common/test_rdwr.c (main): Likewise.
50220         * stdio-common/tfformat.c (matches): Likewise.
50221         * stdio-common/vfprintf.c (outchar): Likewise.
50222         (printf_unknown): Likewise.
50223         (buffered_vfprintf): Likewise.
50224         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50225         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50226         (ReadFile): Likewise.
50227         * stdlib/qsort.c (SWAP): Likewise.
50228         (_quicksort): Likewise.
50229         * stdlib/setenv.c (__add_to_environ): Likewise.
50230         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50231         * stdlib/strtol_l.c (__strtol_l): Likewise.
50232         * stdlib/tst-strtod.c (main): Likewise.
50233         * stdlib/tst-strtol.c (main): Likewise.
50234         * stdlib/tst-strtoll.c (main): Likewise.
50235         * string/bits/string2.h (__strcmp_cc): Likewise.
50236         (__strcmp_cg): Likewise.
50237         (__strcspn_c1): Likewise.
50238         (__strcspn_c2): Likewise.
50239         (__strcspn_c3): Likewise.
50240         (__strspn_c1): Likewise.
50241         (__strspn_c2): Likewise.
50242         (__strspn_c3): Likewise.
50243         (__strsep_1c): Likewise.
50244         (__strsep_2c): Likewise.
50245         (__strsep_3c): Likewise.
50246         * string/memccpy.c (__memccpy): Likewise.
50247         * string/stpcpy.c (__stpcpy): Likewise.
50248         * string/strcmp.c (strcmp): Likewise.
50249         * string/strrchr.c (strrchr): Likewise.
50250         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50251         Likewise.
50252         * sysdeps/mach/hurd/getcwd.c
50253         (_hurd_canonicalize_directory_name_internal): Likewise.
50254         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50255         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50256         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50257         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50258         Likewise, in both definitions.
50259         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50260         definitions.
50261         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50262         64] (__bswap_64): Likewise.
50263         * time/test_time.c (main): Likewise.
50264         * time/tzfile.c (__tzfile_read): Likewise.
50265         (__tzfile_compute): Likewise.
50266         * time/tzset.c (__tzset_parse_tz): Likewise.
50267         (tzset_internal): Likewise.
50268         (compute_change): Likewise.
50269         * wcsmbs/wcscat.c (__wcscat): Likewise.
50270         * wcsmbs/wcschr.c (wcschr): Likewise.
50271         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50272         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50273         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50274         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50275         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50276         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50277         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50278         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50279         * wcsmbs/wmemset.c (wmemset): Likewise.
50281 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50283         * scripts/config.guess: Update to version 2013-05-16.
50284         * scripts/config.sub: Update to version 2013-04-24.
50285         * scripts/install-sh: Update to version 2011-11-20.07.
50286         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50287         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50289 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50291         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50292         * elf/sln.c: Likewise.
50293         * hurd/hurd/ioctl.h: Likewise.
50294         * hurd/hurdmalloc.c: Likewise.
50295         * hurd/xattr.c: Likewise.
50296         * include/shlib-compat.h: Likewise.
50297         * inet/ruserpass.c: Likewise.
50298         * libio/iofgets_u.c: Likewise.
50299         * libio/iofgetws_u.c: Likewise.
50300         * locale/programs/ld-identification.c: Likewise.
50301         * locale/programs/ld-time.c: Likewise.
50302         * mach/msg-destroy.c: Likewise.
50303         * nss/nss_files/files-netgrp.c: Likewise.
50304         * resolv/res_data.c: Likewise.
50305         * soft-fp/op-1.h: Likewise.
50306         * soft-fp/op-2.h: Likewise.
50307         * soft-fp/op-4.h: Likewise.
50308         * soft-fp/op-common.h: Likewise.
50309         * stdio-common/printf_fphex.c: Likewise.
50310         * stdlib/strtod_l.c: Likewise.
50311         * sunrpc/rpc/clnt.h: Likewise.
50312         * sysdeps/generic/framestate.c: Likewise.
50313         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50314         * sysdeps/i386/bsd-setjmp.S: Likewise.
50315         * sysdeps/i386/__longjmp.S: Likewise.
50316         * sysdeps/i386/setjmp.S: Likewise.
50317         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50318         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50319         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50320         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50321         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50322         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50323         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50324         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50325         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50326         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50327         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50328         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50329         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50330         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50331         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50332         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50333         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50334         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50335         * sysdeps/ieee754/support.c: Likewise.
50336         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50337         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50338         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50339         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50340         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50341         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50342         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50343         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50344         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50345         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50346         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50347         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50348         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50349         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50350         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50351         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50352         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50355 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50357         * posix/transbug.c: Remove executable mode.
50359 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50361         * crypt/speeds.c: Remove trailing whitespace.
50362         * dlfcn/default.c: Likewise.
50363         * elf/ifuncdep2.c: Likewise.
50364         * elf/ifuncmain1.c: Likewise.
50365         * elf/ifuncmain1vis.c: Likewise.
50366         * elf/testobj.h: Likewise.
50367         * elf/tst-stackguard1.c: Likewise.
50368         * gmon/sys/gmon.h: Likewise.
50369         * hurd/hurdmsg.c: Likewise.
50370         * hurd/new-fd.c: Likewise.
50371         * hurd/ports-get.c: Likewise.
50372         * iconvdata/ibm1008_420.c: Likewise.
50373         * inet/tst-getni1.c: Likewise.
50374         * inet/tst-getni2.c: Likewise.
50375         * libio/ioungetc.c: Likewise.
50376         * libio/wfiledoalloc.c: Likewise.
50377         * manual/libm-err-tab.pl: Likewise.
50378         * math/w_dremf.c: Likewise.
50379         * misc/ftruncate.c: Likewise.
50380         * posix/bug-glob2.c: Likewise.
50381         * posix/tst-pcre.c: Likewise.
50382         * posix/wait4.c: Likewise.
50383         * resolv/README: Likewise.
50384         * resolv/res_debug.h: Likewise.
50385         * resolv/tst-inet_ntop.c: Likewise.
50386         * setjmp/bug269-setjmp.c: Likewise.
50387         * soft-fp/extended.h: Likewise.
50388         * soft-fp/op-1.h: Likewise.
50389         * soft-fp/op-2.h: Likewise.
50390         * soft-fp/op-4.h: Likewise.
50391         * soft-fp/op-8.h: Likewise.
50392         * soft-fp/testit.c: Likewise.
50393         * stdio-common/bug16.c: Likewise.
50394         * stdlib/random.c: Likewise.
50395         * sunrpc/rpcsvc/rquota.x: Likewise.
50396         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50397         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50398         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50399         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50400         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50401         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50402         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50403         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50404         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50405         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50406         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50407         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50408         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50409         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50410         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50411         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50412         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50413         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50414         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50415         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50416         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50417         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50418         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50419         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50420         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50421         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50423         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50424         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50425         * sysdeps/ieee754/s_lib_version.c: Likewise.
50426         * sysdeps/mach/hurd/check_fds.c: Likewise.
50427         * sysdeps/mach/hurd/getsockname.c: Likewise.
50428         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50429         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50430         * sysdeps/powerpc/bits/link.h: Likewise.
50431         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50432         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50433         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50434         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50435         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50436         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50437         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50438         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50439         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50440         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50441         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50442         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50443         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50444         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50445         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50446         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50449         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50450         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50451         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50452         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50453         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50454         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50455         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50456         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50457         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50458         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50459         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50460         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50461         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50462         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50463         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50464         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50465         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50466         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50467         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50468         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50469         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50470         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50471         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50472         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50473         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50474         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50475         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50476         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50477         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50478         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50479         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50480         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50482         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50483         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50484         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50485         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50486         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50487         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50488         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50489         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50490         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50491         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50492         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50493         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50494         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50495         * sysdeps/powerpc/sysdep.h: Likewise.
50496         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50497         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50498         * sysdeps/sh/dl-trampoline.S: Likewise.
50499         * sysdeps/sh/memset.S: Likewise.
50500         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50501         * sysdeps/sh/strlen.S: Likewise.
50502         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50503         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50504         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50505         * sysdeps/sparc/sparc32/rem.S: Likewise.
50506         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50507         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50508         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50509         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50510         * sysdeps/sparc/sparc32/urem.S: Likewise.
50511         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50512         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50513         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50514         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50516         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50517         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50518         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50519         * sysdeps/unix/bsd/times.c: Likewise.
50520         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50521         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50525         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50526         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50527         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50528         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50529         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50530         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50531         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50532         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50533         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50534         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50535         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50536         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50537         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50538         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50539         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50540         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50541         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50542         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50543         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50544         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50545         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50546         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50547         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50548         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50549         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50550         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50551         * sysdeps/x86_64/strcspn.S: Likewise.
50553 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50555         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50556         generated file.  Regenerate properly from gen-translit.pl.
50557         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50558         locale/C-translit.h.
50560 2013-06-05  Andreas Schwab  <schwab@suse.de>
50562         [BZ #15100]
50563         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50564         week as 6 instead of -1.
50565         * time/tst-strptime.c (day_tests): Add test case.
50567 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50569         * sysdeps/generic/math_private.h
50570         (libc_feholdexcept_setround_53bit): Replace with
50571         libc_feholdsetround_53bit.
50572         (libc_feupdateenv_53bit): Replace with
50573         libc_feresetround_53bit.
50574         (SET_RESTORE_ROUND_53BIT): Adjust.
50576 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50578         * string/test-strchrnul.c: Add copyright header.
50580         * posix/tst-getaddrinfo4.c: Increase test timeout.
50582 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50584         [BZ #15536]
50585         * math/libm-test.inc (MAX_EXP): Remove
50586         (MIN_EXP): Define.
50587         (ulp): Use MIN_EXP - MANT_DIG.
50588         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50590 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50592         * po/be.po: Revert last change.
50593         * po/zh_CN.po: Likewise.
50594         * po/header.pot: Likewise.
50596 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50598         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50599         link-libc-deps to empty as target-specific variable.
50600         * Makerules (link-libc-args): New variable.
50601         (libc-for-link): Likewise.
50602         (link-libc-deps): Likewise.
50603         (lib%.so): Depend on $(link-libc-deps).  Link with
50604         $(link-libc-args).
50605         (build-module): Link with $(link-libc-args).
50606         (build-module-asneeded): Likewise.
50607         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50608         list of objects.
50609         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50610         target-specific variable.
50611         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50612         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50613         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50614         libc.
50615         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50616         libc and ld.so.
50617         ($(objpfx)libpcprofile.so): Likewise.
50618         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50619         libc_nonshared.a.
50620         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50621         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50622         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50623         $(link-libc-deps).
50624         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50625         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50626         * login/Makefile ($(objpfx)libutil.so): Likewise.
50627         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50628         * math/Makefile ($(objpfx)libm.so): Likewise.
50629         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50630         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50631         variable instead of depending directly on libc.
50632         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50633         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50634         $(link-libc-deps).
50635         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50636         libc.
50637         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50638         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50639         ($(objpfx)libanl.so): Likewise.
50640         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50641         ld.so.
50642         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50643         $(link-libc-deps).
50644         * sysdeps/i386/fpu/Makefile: Remove file.
50645         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50646         ($(objpfx)libm.so): Remove dependency on ld.so.
50648 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50650         [BZ # 15553]
50651         * nis/yp_xdr.c (XDRMAXNAME): Define.
50652         (XDRMAXRECORD): Define.
50653         (xdr_domainname): Use XDRMAXNAME.
50654         (xdr_mapname): Likewise.
50655         (xdr_peername): Likewise.
50656         (xdr_keydat): Use XDRMAXRECORD.
50657         (xdr_valdat): Likewise.
50659 2013-05-30  Jeff Law  <law@redhat.com>
50661         [BZ #14256]
50662         * manual/errno.texi (ESTALE): Update to account for more than
50663         just NFS file systems.
50664         * sysdeps/gnu/errlist.c: Regenerated.
50666 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50668         [BZ #15465]
50669         * elf/Makefile (tests): Add tst-null-argv.
50670         (modules-names):  Add tst-null-argv-lib.
50671         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50672         (tst-null-argv-ENV): Set environment for tst-null-argv.
50673         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50674         (RTLD_PROGNAME): New macro.
50675         * elf/tst-null-argv.c: New test case.
50676         * elf/tst-null-argv-lib.c: Library for test case.
50677         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50678         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50679         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50680         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50681         * elf/dl-init.c (call_init): Likewise.
50682         (_dl_init): Likewise.
50683         * elf/dl-load.c (print_search_path): Likewise.
50684         (_dl_map_object): Likewise.
50685         * elf/dl-lookup.c (do_lookup_x): Likewise.
50686         (add_dependency): Likewise.
50687         (_dl_lookup_symbol_x): Likewise.
50688         (_dl_debug_bindings): Likewise.
50689         * elf/dl-open.c (_dl_show_scope): Likewise.
50690         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50691         * elf/dl-version.c (match_symbol): Likewise.
50692         (_dl_check_map_versions): Likewise.
50693         * elf/rtld.c (dl_main): Likewise.
50694         (print_unresolved): Use RTLD_PROGNAME.
50695         (print_missing_version): Likewise.
50696         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50697         (elf_machine_rela): Likewise.
50698         * sysdeps/powerpc/powerpc32/dl-machine.c
50699         (__process_machine_rela): Likewise.
50700         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50701         Likewise.
50702         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50703         Likewise.
50704         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50705         Likewise.
50706         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50708         Likewise.
50709         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50710         Likewise.
50711         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50713 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50715         * po/be.po: Add descriptive title.
50716         * po/zh_CN.po: Likewise.
50717         * po/header.pot: Likewise.
50719 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50721         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50722         error message.
50723         (enlarge_archive): Likewise.
50725 2013-05-28  Ben North  <ben@redfrontdoor.org>
50727         * manual/arith.texi (frexp): It is the magnitude of the return
50728         value which lies in [0.5, 1), not the return value itself.
50730 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50734 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50736         * stdio-common/bug26.c (main): Correct fscanf template.
50738         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50739         declare _dl_skip_args.
50741         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50742         Don't declare.
50744         * manual/platform.texi: Add missing @end deftypefun.
50746 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50748         [BZ #15529]
50749         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50750         bit of mantissa of 2^16382.
50751         * math/libm-test.inc (hypot_test_data): Add more tests.
50753         * math/libm-test.inc: Add drem and pow10 to list of tested
50754         functions.
50755         (pow10_test): New function.
50756         (drem_test): Likewise.
50757         (drem_test_tonearest): Likewise.
50758         (drem_test_towardzero): Likewise.
50759         (drem_test_downward): Likewise.
50760         (drem_test_upward): Likewise.
50761         (main): Call the new functions.
50763         * math/libm-test.inc (finite_test_data): Remove.
50764         (finite_test): Run tests from isfinite_test_data.
50765         (gamma_test_data): Remove.
50766         (gamma_test): Run tests from lgamma_test_data.
50767         * sysdeps/i386/fpu/libm-test-ulps: Update.
50768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50770 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50772         * manual/platform.texi: Add PowerPC PPR function set documentation.
50773         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50774         implementation.
50776 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50778         * math/libm-test.inc (MAX_EXP): Define.
50779         (ULPDIFF): Define.
50780         (ulp): New function.
50781         (check_float_internal): Use ULPDIFF.
50782         (cpow_test): Disable failing test.
50783         (check_ulp): Test ulp() implemetnation.
50784         (main): Call check_ulp before starting tests.
50786 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50788         * math/gen-libm-test.pl (generate_testfile): Do not handle
50789         START_DATA and END_DATA.
50790         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50791         END_DATA.
50792         (acos_tonearest_test_data): Likewise.
50793         (acos_towardzero_test_data): Likewise.
50794         (acos_downward_test_data): Likewise.
50795         (acos_upward_test_data): Likewise.
50796         (acosh_test_data): Likewise.
50797         (asin_test_data): Likewise.
50798         (asin_tonearest_test_data): Likewise.
50799         (asin_towardzero_test_data): Likewise.
50800         (asin_downward_test_data): Likewise.
50801         (asin_upward_test_data): Likewise.
50802         (asinh_test_data): Likewise.
50803         (atan_test_data): Likewise.
50804         (atanh_test_data): Likewise.
50805         (atan2_test_data): Likewise.
50806         (cabs_test_data): Likewise.
50807         (cacos_test_data): Likewise.
50808         (cacosh_test_data): Likewise.
50809         (carg_test_data): Likewise.
50810         (casin_test_data): Likewise.
50811         (casinh_test_data): Likewise.
50812         (catan_test_data): Likewise.
50813         (catanh_test_data): Likewise.
50814         (cbrt_test_data): Likewise.
50815         (ccos_test_data): Likewise.
50816         (ccosh_test_data): Likewise.
50817         (ceil_test_data): Likewise.
50818         (cexp_test_data): Likewise.
50819         (cimag_test_data): Likewise.
50820         (clog_test_data): Likewise.
50821         (clog10_test_data): Likewise.
50822         (conj_test_data): Likewise.
50823         (copysign_test_data): Likewise.
50824         (cos_test_data): Likewise.
50825         (cos_tonearest_test_data): Likewise.
50826         (cos_towardzero_test_data): Likewise.
50827         (cos_downward_test_data): Likewise.
50828         (cos_upward_test_data): Likewise.
50829         (cosh_test_data): Likewise.
50830         (cosh_tonearest_test_data): Likewise.
50831         (cosh_towardzero_test_data): Likewise.
50832         (cosh_downward_test_data): Likewise.
50833         (cosh_upward_test_data): Likewise.
50834         (cpow_test_data): Likewise.
50835         (cproj_test_data): Likewise.
50836         (creal_test_data): Likewise.
50837         (csin_test_data): Likewise.
50838         (csinh_test_data): Likewise.
50839         (csqrt_test_data): Likewise.
50840         (ctan_test_data): Likewise.
50841         (ctan_tonearest_test_data): Likewise.
50842         (ctan_towardzero_test_data): Likewise.
50843         (ctan_downward_test_data): Likewise.
50844         (ctan_upward_test_data): Likewise.
50845         (ctanh_test_data): Likewise.
50846         (ctanh_tonearest_test_data): Likewise.
50847         (ctanh_towardzero_test_data): Likewise.
50848         (ctanh_downward_test_data): Likewise.
50849         (ctanh_upward_test_data): Likewise.
50850         (erf_test_data): Likewise.
50851         (erfc_test_data): Likewise.
50852         (exp_test_data): Likewise.
50853         (exp_tonearest_test_data): Likewise.
50854         (exp_towardzero_test_data): Likewise.
50855         (exp_downward_test_data): Likewise.
50856         (exp_upward_test_data): Likewise.
50857         (exp10_test_data): Likewise.
50858         (exp2_test_data): Likewise.
50859         (expm1_test_data): Likewise.
50860         (fabs_test_data): Likewise.
50861         (fdim_test_data): Likewise.
50862         (finite_test_data): Likewise.
50863         (floor_test_data): Likewise.
50864         (fma_test_data): Likewise.
50865         (fma_towardzero_test_data): Likewise.
50866         (fma_downward_test_data): Likewise.
50867         (fma_upward_test_data): Likewise.
50868         (fmax_test_data): Likewise.
50869         (fmin_test_data): Likewise.
50870         (fmod_test_data): Likewise.
50871         (fpclassify_test_data): Likewise.
50872         (frexp_test_data): Likewise.
50873         (gamma_test_data): Likewise.
50874         (hypot_test_data): Likewise.
50875         (ilogb_test_data): Likewise.
50876         (isfinite_test_data): Likewise.
50877         (isgreater_test_data): Likewise.
50878         (isgreaterequal_test_data): Likewise.
50879         (isinf_test_data): Likewise.
50880         (isless_test_data): Likewise.
50881         (islessequal_test_data): Likewise.
50882         (islessgreater_test_data): Likewise.
50883         (isnan_test_data): Likewise.
50884         (isnormal_test_data): Likewise.
50885         (issignaling_test_data): Likewise.
50886         (isunordered_test_data): Likewise.
50887         (j0_test_data): Likewise.
50888         (j1_test_data): Likewise.
50889         (jn_test_data): Likewise.
50890         (ldexp_test_data): Likewise.
50891         (lgamma_test_data): Likewise.
50892         (lrint_test_data): Likewise.
50893         (lrint_tonearest_test_data): Likewise.
50894         (lrint_towardzero_test_data): Likewise.
50895         (lrint_downward_test_data): Likewise.
50896         (lrint_upward_test_data): Likewise.
50897         (llrint_test_data): Likewise.
50898         (llrint_tonearest_test_data): Likewise.
50899         (llrint_towardzero_test_data): Likewise.
50900         (llrint_downward_test_data): Likewise.
50901         (llrint_upward_test_data): Likewise.
50902         (log_test_data): Likewise.
50903         (log10_test_data): Likewise.
50904         (log1p_test_data): Likewise.
50905         (log2_test_data): Likewise.
50906         (logb_test_data): Likewise.
50907         (logb_downward_test_data): Likewise.
50908         (lround_test_data): Likewise.
50909         (llround_test_data): Likewise.
50910         (modf_test_data): Likewise.
50911         (nearbyint_test_data): Likewise.
50912         (nextafter_test_data): Likewise.
50913         (nexttoward_test_data): Likewise.
50914         (pow_test_data): Likewise.
50915         (pow_tonearest_test_data): Likewise.
50916         (pow_towardzero_test_data): Likewise.
50917         (pow_downward_test_data): Likewise.
50918         (pow_upward_test_data): Likewise.
50919         (remainder_test_data): Likewise.
50920         (remainder_tonearest_test_data): Likewise.
50921         (remainder_towardzero_test_data): Likewise.
50922         (remainder_downward_test_data): Likewise.
50923         (remainder_upward_test_data): Likewise.
50924         (remquo_test_data): Likewise.
50925         (rint_test_data): Likewise.
50926         (rint_tonearest_test_data): Likewise.
50927         (rint_towardzero_test_data): Likewise.
50928         (rint_downward_test_data): Likewise.
50929         (rint_upward_test_data): Likewise.
50930         (round_test_data): Likewise.
50931         (scalb_test_data): Likewise.
50932         (scalbn_test_data): Likewise.
50933         (scalbln_test_data): Likewise.
50934         (signbit_test_data): Likewise.
50935         (sin_test_data): Likewise.
50936         (sin_tonearest_test_data): Likewise.
50937         (sin_towardzero_test_data): Likewise.
50938         (sin_downward_test_data): Likewise.
50939         (sin_upward_test_data): Likewise.
50940         (sincos_test_data): Likewise.
50941         (sinh_test_data): Likewise.
50942         (sinh_tonearest_test_data): Likewise.
50943         (sinh_towardzero_test_data): Likewise.
50944         (sinh_downward_test_data): Likewise.
50945         (sinh_upward_test_data): Likewise.
50946         (sqrt_test_data): Likewise.
50947         (tan_test_data): Likewise.
50948         (tan_tonearest_test_data): Likewise.
50949         (tan_towardzero_test_data): Likewise.
50950         (tan_downward_test_data): Likewise.
50951         (tan_upward_test_data): Likewise.
50952         (tanh_test_data): Likewise.
50953         (tgamma_test_data): Likewise.
50954         (trunc_test_data): Likewise.
50955         (y0_test_data): Likewise.
50956         (y1_test_data): Likewise.
50957         (yn_test_data): Likewise.
50958         (significand_test_data): Likewise.
50960         * math/gen-libm-test.pl (@functions): Remove variable.
50961         (generate_testfile): Don't handle START and END lines.
50962         * math/libm-test.inc (START): New macro.
50963         (END): Likewise.
50964         (END_COMPLEX): Likewise.
50965         (acos_test): Use END macro without arguments.
50966         (acos_test_tonearest): Likewise.
50967         (acos_test_towardzero): Likewise.
50968         (acos_test_downward): Likewise.
50969         (acos_test_upward): Likewise.
50970         (acosh_test): Likewise.
50971         (asin_test): Likewise.
50972         (asin_test_tonearest): Likewise.
50973         (asin_test_towardzero): Likewise.
50974         (asin_test_downward): Likewise.
50975         (asin_test_upward): Likewise.
50976         (asinh_test): Likewise.
50977         (atan_test): Likewise.
50978         (atanh_test): Likewise.
50979         (atan2_test): Likewise.
50980         (cabs_test): Likewise.
50981         (cacos_test): Use END_COMPLEX macro without arguments.
50982         (cacosh_test): Likewise.
50983         (carg_test): Use END macro without arguments.
50984         (casin_test): Use END_COMPLEX macro without arguments.
50985         (casinh_test): Likewise.
50986         (catan_test): Likewise.
50987         (catanh_test): Likewise.
50988         (cbrt_test): Use END macro without arguments.
50989         (ccos_test): Use END_COMPLEX macro without arguments.
50990         (ccosh_test): Likewise.
50991         (ceil_test): Use END macro without arguments.
50992         (cexp_test): Use END_COMPLEX macro without arguments.
50993         (cimag_test): Use END macro without arguments.
50994         (clog_test): Use END_COMPLEX macro without arguments.
50995         (clog10_test): Likewise.
50996         (conj_test): Likewise.
50997         (copysign_test): Use END macro without arguments.
50998         (cos_test): Likewise.
50999         (cos_test_tonearest): Likewise.
51000         (cos_test_towardzero): Likewise.
51001         (cos_test_downward): Likewise.
51002         (cos_test_upward): Likewise.
51003         (cosh_test): Likewise.
51004         (cosh_test_tonearest): Likewise.
51005         (cosh_test_towardzero): Likewise.
51006         (cosh_test_downward): Likewise.
51007         (cosh_test_upward): Likewise.
51008         (cpow_test): Use END_COMPLEX macro without arguments.
51009         (cproj_test): Likewise.
51010         (creal_test): Use END macro without arguments.
51011         (csin_test): Use END_COMPLEX macro without arguments.
51012         (csinh_test): Likewise.
51013         (csqrt_test): Likewise.
51014         (ctan_test): Likewise.
51015         (ctan_test_tonearest): Likewise.
51016         (ctan_test_towardzero): Likewise.
51017         (ctan_test_downward): Likewise.
51018         (ctan_test_upward): Likewise.
51019         (ctanh_test): Likewise.
51020         (ctanh_test_tonearest): Likewise.
51021         (ctanh_test_towardzero): Likewise.
51022         (ctanh_test_downward): Likewise.
51023         (ctanh_test_upward): Likewise.
51024         (erf_test): Use END macro without arguments.
51025         (erfc_test): Likewise.
51026         (exp_test): Likewise.
51027         (exp_test_tonearest): Likewise.
51028         (exp_test_towardzero): Likewise.
51029         (exp_test_downward): Likewise.
51030         (exp_test_upward): Likewise.
51031         (exp10_test): Likewise.
51032         (exp2_test): Likewise.
51033         (expm1_test): Likewise.
51034         (fabs_test): Likewise.
51035         (fdim_test): Likewise.
51036         (finite_test): Likewise.
51037         (floor_test): Likewise.
51038         (fma_test): Likewise.
51039         (fma_test_towardzero): Likewise.
51040         (fma_test_downward): Likewise.
51041         (fma_test_upward): Likewise.
51042         (fmax_test): Likewise.
51043         (fmin_test): Likewise.
51044         (fmod_test): Likewise.
51045         (fpclassify_test): Likewise.
51046         (frexp_test): Likewise.
51047         (gamma_test): Likewise.
51048         (hypot_test): Likewise.
51049         (ilogb_test): Likewise.
51050         (isfinite_test): Likewise.
51051         (isgreater_test): Likewise.
51052         (isgreaterequal_test): Likewise.
51053         (isinf_test): Likewise.
51054         (isless_test): Likewise.
51055         (islessequal_test): Likewise.
51056         (islessgreater_test): Likewise.
51057         (isnan_test): Likewise.
51058         (isnormal_test): Likewise.
51059         (issignaling_test): Likewise.
51060         (isunordered_test): Likewise.
51061         (j0_test): Likewise.
51062         (j1_test): Likewise.
51063         (jn_test): Likewise.
51064         (ldexp_test): Likewise.
51065         (lgamma_test): Likewise.
51066         (lrint_test): Likewise.
51067         (lrint_test_tonearest): Likewise.
51068         (lrint_test_towardzero): Likewise.
51069         (lrint_test_downward): Likewise.
51070         (lrint_test_upward): Likewise.
51071         (llrint_test): Likewise.
51072         (llrint_test_tonearest): Likewise.
51073         (llrint_test_towardzero): Likewise.
51074         (llrint_test_downward): Likewise.
51075         (llrint_test_upward): Likewise.
51076         (log_test): Likewise.
51077         (log10_test): Likewise.
51078         (log1p_test): Likewise.
51079         (log2_test): Likewise.
51080         (logb_test): Likewise.
51081         (logb_test_downward): Likewise.
51082         (lround_test): Likewise.
51083         (llround_test): Likewise.
51084         (modf_test): Likewise.
51085         (nearbyint_test): Likewise.
51086         (nextafter_test): Likewise.
51087         (nexttoward_test): Likewise.
51088         (pow_test): Likewise.
51089         (pow_test_tonearest): Likewise.
51090         (pow_test_towardzero): Likewise.
51091         (pow_test_downward): Likewise.
51092         (pow_test_upward): Likewise.
51093         (remainder_test): Likewise.
51094         (remainder_test_tonearest): Likewise.
51095         (remainder_test_towardzero): Likewise.
51096         (remainder_test_downward): Likewise.
51097         (remainder_test_upward): Likewise.
51098         (remquo_test): Likewise.
51099         (rint_test): Likewise.
51100         (rint_test_tonearest): Likewise.
51101         (rint_test_towardzero): Likewise.
51102         (rint_test_downward): Likewise.
51103         (rint_test_upward): Likewise.
51104         (round_test): Likewise.
51105         (scalb_test): Likewise.
51106         (scalbn_test): Likewise.
51107         (scalbln_test): Likewise.
51108         (signbit_test): Likewise.
51109         (sin_test): Likewise.
51110         (sin_test_tonearest): Likewise.
51111         (sin_test_towardzero): Likewise.
51112         (sin_test_downward): Likewise.
51113         (sin_test_upward): Likewise.
51114         (sincos_test): Likewise.
51115         (sinh_test): Likewise.
51116         (sinh_test_tonearest): Likewise.
51117         (sinh_test_towardzero): Likewise.
51118         (sinh_test_downward): Likewise.
51119         (sinh_test_upward): Likewise.
51120         (sqrt_test): Likewise.
51121         (tan_test): Likewise.
51122         (tan_test_tonearest): Likewise.
51123         (tan_test_towardzero): Likewise.
51124         (tan_test_downward): Likewise.
51125         (tan_test_upward): Likewise.
51126         (tanh_test): Likewise.
51127         (tgamma_test): Likewise.
51128         (trunc_test): Likewise.
51129         (y0_test): Likewise.
51130         (y1_test): Likewise.
51131         (yn_test): Likewise.
51132         (significand_test): Likewise.
51134 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51136         [BZ #15381]
51137         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51139 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51141         [BZ #14894]
51142         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51143         __ppc_mdoio and __ppc_mdoom.
51144         * manual/platform.texi: Document new functions __ppc_yield,
51145         __ppc_mdoio and __ppc_mdoom.
51147 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51149         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51150         (main): Mention "tls" pseudo-hwcap is legacy.
51151         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51153 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51155         * math/gen-libm-test.pl (parse_args): Output only string of
51156         arguments as text for test name, not full call or descriptions of
51157         tests for extra outputs.
51158         (generate_testfile): Do not pass function name to parse_args.
51159         Generate this_func variable from START.
51160         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51161         field to arg_str.
51162         (struct test_ff_f_data): Likewise.
51163         (test_ff_f_data_nexttoward): Likewise.
51164         (struct test_fi_f_data): Likewise.
51165         (struct test_fl_f_data): Likewise.
51166         (struct test_if_f_data): Likewise.
51167         (struct test_fff_f_data): Likewise.
51168         (struct test_c_f_data): Likewise.
51169         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51170         (struct test_fF_f1_data): Likewise.
51171         (struct test_ffI_f1_data): Likewise.
51172         (struct test_c_c_data): Rename test_name field to arg_str.
51173         (struct test_cc_c_data): Likewise.
51174         (struct test_f_i_data): Likewise.
51175         (struct test_ff_i_data): Likewise.
51176         (struct test_f_l_data): Likewise.
51177         (struct test_f_L_data): Likewise.
51178         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51179         and extra2_name.
51180         (COMMON_TEST_SETUP): New macro.
51181         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51182         (COMMON_TEST_CLEANUP): Likewise.
51183         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51184         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51185         macros.
51186         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51187         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51188         macros.
51189         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51190         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51191         cleanup macros.
51192         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51193         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51194         macros.
51195         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51196         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51197         macros.
51198         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51199         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51200         cleanup macros.
51201         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51202         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51203         cleanup macros.
51204         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51205         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51206         cleanup macros.
51207         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51208         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51209         macros.
51210         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51211         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51212         macros.
51213         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51214         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51215         macros.
51216         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51217         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51218         cleanup macros.
51219         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51220         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51221         cleanup macros.
51222         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51223         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51224         macros.
51225         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51226         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51227         cleanup macros.
51228         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51229         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51230         macros.
51231         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51232         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51233         macros.
51234         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51235         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51236         cleanup macros.
51237         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51239 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51241         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51242         to _sifields.sigfault.
51243         (si_addr_lsb): Define new macro.
51244         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51245         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51246         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51248 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51250         [BZ #15441]
51251         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51252         returns -1.
51253         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51254         null return -1.
51255         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51256         loading the domain.
51258 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51260         * math/gen-libm-test.pl (parse_args): Do not include expected
51261         result in test name.
51262         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51263         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51264         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51265         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51266         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51269 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51271         * benchtests/Makefile: Sort function entries.
51273         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51274         tanh, asinh, acosh, atanh.
51275         * benchtests/acos-inputs: New file.
51276         * benchtests/acosh-inputs: New file.
51277         * benchtests/asin-inputs: New file.
51278         * benchtests/asinh-inputs: New file.
51279         * benchtests/atanh-inputs: New file.
51280         * benchtests/cosh-inputs: New file.
51281         * benchtests/log-inputs: New file.
51282         * benchtests/sinh-inputs: New file.
51283         * benchtests/tanh-inputs: New file.
51285 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51287         [BZ #15339]
51288         * posix/tst-getaddrinfo4.c: New test.
51289         * posix/Makefile (tests): Add it.
51291 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51293         [BZ #15339]
51294         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51295         when no services were used.
51296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51297         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51299 2013-05-21  Andreas Schwab  <schwab@suse.de>
51301         [BZ #15014]
51302         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51303         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51304         successful.
51305         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51306         redundant variable declarations and reallocation of buffer when
51307         parsing as IPv6 address.  Always set NSS status when called from
51308         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51309         buffer too small.  Correct computation of needed size.
51310         * nss/Makefile (tests): Add test-digits-dots.
51311         * nss/test-digits-dots.c: New test.
51313 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51315         * benchtests/Makefile: Remove instructions for adding
51316         benchmark tests.
51317         * benchtests/README: New file to explain how to execute and
51318         enhance the benchmark tests.
51320 2013-05-21  Andreas Schwab  <schwab@suse.de>
51322         [BZ #15493]
51323         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51324         * setjmp/tst-sigsetjmp.c: New test.
51326 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51328         * sysdeps/x86_64/memset.S (memset): New implementation.
51329         (__bzero): Likewise.
51330         (__memset_tail): New function.
51332 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51334         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51335         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51336         __memcpy_sse2_unaligned ifunc selection.
51337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51338         Add memcpy-sse2-unaligned.S.
51339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51340         Add: __memcpy_sse2_unaligned.
51342 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51344         [BZ #15490]
51345         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51346         math_force_eval before restoring floating-point envrionment.
51347         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51349         Likewise.
51350         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51351         <math_private.h>.
51352         (__nearbyintl): Use math_force_eval before restoring
51353         floating-point environment.
51354         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51356         * math/gen-libm-test.pl (special_functions): Remove.
51357         (parse_args): Don't handle TEST_extra.  Handle functions with no
51358         return value.
51359         * math/libm-test.inc (struct test_sincos_data): Replace with
51360         struct test_fFF_11_data.
51361         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51362         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51363         (sincos_test_data): Change element type to struct
51364         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51365         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51366         RUN_TEST_LOOP_sincos.
51367         * math/README.libm-test: Don't mention special handling of
51368         individual functions.
51369         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51370         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51371         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51372         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51373         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51376         * math/gen-libm-test.pl (get_variable): Remove function.
51377         (parse_args): Don't show pointer parameters to call in test
51378         names.  Use "extra output N" in test names for extra outputs
51379         rather than naming variables.
51381 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51383         [BZ #15488]
51384         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51385         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51386         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51387         double tests.
51388         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51389         disable.
51390         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51391         check_long_double.
51393         * math/gen-libm-test.pl (@tests): Remove variable.
51394         ($count): Likewise.
51395         (new_test): Remove function.
51396         (show_exceptions): New function.
51397         (special_functions): Use show_exceptions instead of new_test.
51398         (parse_args): Likewise.
51399         (generate_testfile): Pass only function name in generated call to
51400         print_max_error or print_complex_max_error.
51401         (get_ulps): Do not handle complex tests specially.
51402         (output_test): Rename to ...
51403         (get_all_ulps_for_test): ... this.  Return a string rather than
51404         printing to a file.  Require ulps to be present.
51405         (output_ulps): Generate arrays rather than #defines.
51406         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51407         (struct ulp_data): New type.
51408         (BUILD_COMPLEX_ULP): Remove macro.
51409         (compare_ulp_data): New function.
51410         (find_ulps): Likewise.
51411         (find_test_ulps): Likewise.
51412         (find_function_ulps): Likewise.
51413         (find_complex_function_ulps): Likewise.
51414         (print_max_error): Determine allowed ulps using
51415         find_function_ulps.
51416         (print_complex_max_error): Determine allowed ulps using
51417         find_complex_function_ulps.
51418         (check_float_internal): Determine max ulps using find_test_ulps.
51419         (check_float): Do not take max_ulp parameter.  Update call to
51420         check_float_internal.
51421         (check_complex): Likewise.
51422         (check_int): Do not take max_ulp parameter.
51423         (check_long): Likewise.
51424         (check_bool): Likewise.
51425         (check_longlong): Likewise.
51426         (struct test_f_f_data): Remove max_ulp field.
51427         (struct test_ff_f_data): Likewise.
51428         (struct test_ff_f_data_nexttoward): Likewise.
51429         (struct test_fi_f_data): Likewise.
51430         (struct test_fl_f_data): Likewise.
51431         (struct test_if_f_data): Likewise.
51432         (struct test_fff_f_data): Likewise.
51433         (struct test_c_f_data): Likewise.
51434         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51435         (struct test_fF_f1_data): Likewise.
51436         (struct test_ffI_f1_data): Likewise.
51437         (struct test_c_c_data): Remove max_ulp field.
51438         (struct test_cc_c_data): Likewise.
51439         (struct test_f_i_data): Likewise.
51440         (struct test_ff_i_data): Likewise.
51441         (struct test_f_l_data): Likewise.
51442         (struct test_f_L_data): Likewise.
51443         (struct test_sincos_data): Likewise.
51444         (RUN_TEST_f_f): Do not handle ulps.
51445         (RUN_TEST_LOOP_f_f): Likewise.
51446         (RUN_TEST_2_f): Likewise.
51447         (RUN_TEST_LOOP_2_f): Likewise.
51448         (RUN_TEST_fff_f): Likewise.
51449         (RUN_TEST_LOOP_fff_f): Likewise.
51450         (RUN_TEST_c_f): Likewise.
51451         (RUN_TEST_LOOP_c_f): Likewise.
51452         (RUN_TEST_f_f1): Likewise.
51453         (RUN_TEST_LOOP_f_f1): Likewise.
51454         (RUN_TEST_fF_f1): Likewise.
51455         (RUN_TEST_LOOP_fF_f1): Likewise.
51456         (RUN_TEST_fI_f1): Likewise.
51457         (RUN_TEST_LOOP_fI_f1): Likewise.
51458         (RUN_TEST_ffI_f1): Likewise.
51459         (RUN_TEST_LOOP_ffI_f1): Likewise.
51460         (RUN_TEST_c_c): Likewise.
51461         (RUN_TEST_LOOP_c_c): Likewise.
51462         (RUN_TEST_cc_c): Likewise.
51463         (RUN_TEST_LOOP_cc_c): Likewise.
51464         (RUN_TEST_f_i): Likewise.
51465         (RUN_TEST_LOOP_f_i): Likewise.
51466         (RUN_TEST_f_i_tg): Likewise.
51467         (RUN_TEST_LOOP_f_i_tg): Likewise.
51468         (RUN_TEST_ff_i_tg): Likewise.
51469         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51470         (RUN_TEST_f_b): Likewise.
51471         (RUN_TEST_LOOP_f_b): Likewise.
51472         (RUN_TEST_f_b_tg): Likewise.
51473         (RUN_TEST_LOOP_f_b_tg): Likewise.
51474         (RUN_TEST_f_l): Likewise.
51475         (RUN_TEST_LOOP_f_l): Likewise.
51476         (RUN_TEST_f_L): Likewise.
51477         (RUN_TEST_LOOP_f_L): Likewise.
51478         (RUN_TEST_sincos): Likewise.
51479         (RUN_TEST_LOOP_sincos): Likewise.
51481 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51483         [BZ #15480]
51484         [BZ #15485]
51485         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51486         main case of finite arguments, set rounding mode to FE_TONEAREST
51487         and discard exceptions.
51488         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51489         exceptions.
51490         (remainder_tonearest_test_data): New variable.
51491         (remainder_test_tonearest): New function.
51492         (remainder_towardzero_test_data): New variable.
51493         (remainder_test_towardzero): New function.
51494         (remainder_downward_test_data): New variable.
51495         (remainder_test_downward): New function.
51496         (remainder_upward_test_data): New variable.
51497         (remainder_test_upward): New function.
51498         (main): Call the new test functions.
51500         * math/libm-test.inc (struct test_f_f1_data): Remove field
51501         extra_init.
51502         (struct test_fF_f1_data): Likewise.
51503         (struct test_ffI_f1_data): Likewise.
51504         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51505         based on value of EXTRA_EXPECTED.
51506         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51507         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51508         EXTRA_VAR based on value of EXTRA_EXPECTED.
51509         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51510         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51511         EXTRA_VAR based on value of EXTRA_EXPECTED.
51512         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51513         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51514         EXTRA_VAR based on value of EXTRA_EXPECTED.
51515         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51516         * math/gen-libm-test.pl (parse_args): Don't output initializers
51517         for extra output values.
51519         * math/libm-test.inc (check_int): Expect result to be exactly
51520         equal to expected value and do not handle ulps.
51521         (check_long): Likewise.
51522         (check_longlong): Likewise.
51524         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51525         exceptions.
51526         (cimag_test_data): Likewise.
51527         (conj_test_data): Likewise.
51528         (copysign_test_data): Likewise.
51529         (cproj_test_data): Likewise.
51530         (creal_test_data): Likewise.
51531         (fabs_test_data): Likewise.
51532         (fdim_test_data): Likewise.
51533         (finite_test_data): Likewise.
51534         (floor_test_data): Likewise.
51535         (fmax_test_data): Likewise.
51536         (fmin_test_data): Likewise.
51537         (fmod_test_data): Likewise.
51538         (fpclassify_test_data): Likewise.
51539         (frexp_test_data): Likewise.
51540         (ilogb_test_data): Likewise.
51541         (isfinite_test_data): Likewise.
51542         (isgreater_test_data): Likewise.
51543         (isgreaterequal_test_data): Likewise.
51544         (isinf_test_data): Likewise.
51545         (isless_test_data): Likewise.
51546         (islessequal_test_data): Likewise.
51547         (islessgreater_test_data): Likewise.
51548         (isnan_test_data): Likewise.
51549         (isnormal_test_data): Likewise.
51550         (issignaling_test_data): Likewise.
51551         (isunordered_test_data): Likewise.
51552         (ldexp_test_data): Likewise.
51553         (lrint_test_data): Likewise.
51554         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51555         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51556         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51557         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51558         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51559         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51560         test input.
51561         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51562         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51563         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51564         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51565         that test input.
51566         (lrint_downward_test_data): Test for "inexact" exceptions.
51567         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51568         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51569         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51570         test input.
51571         (lrint_upward_test_data): Test for "inexact" exceptions.
51572         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51573         test input.
51574         (llrint_test_data): Test for "inexact" exceptions.
51575         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51576         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51577         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51578         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51579         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51580         (llrint_downward_test_data): Test for "inexact" exceptions.
51581         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51582         (llrint_upward_test_data): Test for "inexact" exceptions.
51583         (logb_test_data): Likewise.
51584         (logb_downward_test_data): Likewise.
51585         (nextafter_test_data): Likewise.
51586         (nexttoward_test_data): Likewise.
51587         (remainder_test_data): Likewise.
51588         (remquo_test_data): Likewise.
51589         (scalbn_test_data): Likewise.
51590         (scalbln_test_data): Likewise.
51591         (signbit_test_data): Likewise.
51592         (sqrt_test_data): Likewise.
51593         (significand_test_data): Likewise.
51595 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51597         [BZ #15424]
51598         * benchtests/bench-modf.c (struct args): Mark arg0 as
51599         volatile.
51600         * scripts/bench.pl: Mark members of struct args as volatile.
51602 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51604         [BZ # 15497]
51605         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51606         negative infinity on POWER6 or lower.
51607         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51609 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51611         [BZ #15442]
51612         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51613         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51614         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51615         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51616         (_FP_SETQNAN): New macro.
51617         (_FP_SETQNAN_SEMIRAW): Likewise.
51618         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51619         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51620         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51621         (FP_EXTEND): Use _FP_FRAC_SNANP.
51622         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51623         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51624         into account.
51625         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51626         New macro.
51627         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51628         Likewise.
51630 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51632         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51633         with DIVIDE_BY_ZERO_EXCEPTION.
51634         (gamma_test_data): Likewise.
51635         (lgamma_test_data): Likewise.
51636         (log_test_data): Likewise.
51637         (log10_test_data): Likewise.
51638         (log2_test_data): Likewise.
51639         (tgamma_test_data): Likewise.
51641         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51642         (acos_test_tonearest): Likewise.
51643         (acos_test_towardzero): Likewise.
51644         (acos_test_downward): Likewise.
51645         (acos_test_upward): Likewise.
51646         (acosh_test): Likewise.
51647         (asin_test): Likewise.
51648         (asin_test_tonearest): Likewise.
51649         (asin_test_towardzero): Likewise.
51650         (asin_test_downward): Likewise.
51651         (asin_test_upward): Likewise.
51652         (asinh_test): Likewise.
51653         (atan_test): Likewise.
51654         (atanh_test): Likewise.
51655         (atan2_test): Likewise.
51656         (cabs_test): Likewise.
51657         (cacos_test): Likewise.
51658         (cacosh_test): Likewise.
51659         (casin_test): Likewise.
51660         (casinh_test): Likewise.
51661         (catan_test): Likewise.
51662         (catanh_test): Likewise.
51663         (cbrt_test): Likewise.
51664         (ccos_test): Likewise.
51665         (ccosh_test): Likewise.
51666         (cexp_test): Likewise.
51667         (clog_test): Likewise.
51668         (clog10_test): Likewise.
51669         (cos_test): Likewise.
51670         (cos_test_tonearest): Likewise.
51671         (cos_test_towardzero): Likewise.
51672         (cos_test_downward): Likewise.
51673         (cos_test_upward): Likewise.
51674         (cosh_test): Likewise.
51675         (cosh_test_tonearest): Likewise.
51676         (cosh_test_towardzero): Likewise.
51677         (cosh_test_downward): Likewise.
51678         (cosh_test_upward): Likewise.
51679         (cpow_test): Likewise.
51680         (csin_test): Likewise.
51681         (csinh_test): Likewise.
51682         (csqrt_test): Likewise.
51683         (ctan_test): Likewise.
51684         (ctan_test_tonearest): Likewise.
51685         (ctan_test_towardzero): Likewise.
51686         (ctan_test_downward): Likewise.
51687         (ctan_test_upward): Likewise.
51688         (ctanh_test): Likewise.
51689         (ctanh_test_tonearest): Likewise.
51690         (ctanh_test_towardzero): Likewise.
51691         (ctanh_test_downward): Likewise.
51692         (ctanh_test_upward): Likewise.
51693         (erf_test): Likewise.
51694         (erfc_test): Likewise.
51695         (exp_test): Likewise.
51696         (exp_test_tonearest): Likewise.
51697         (exp_test_towardzero): Likewise.
51698         (exp_test_downward): Likewise.
51699         (exp_test_upward): Likewise.
51700         (exp10_test): Likewise.
51701         (exp2_test): Likewise.
51702         (expm1_test): Likewise.
51703         (fmod_test): Likewise.
51704         (gamma_test): Likewise.
51705         (hypot_test): Likewise.
51706         (j0_test): Likewise.
51707         (j1_test): Likewise.
51708         (jn_test): Likewise.
51709         (lgamma_test): Likewise.
51710         (log_test): Likewise.
51711         (log10_test): Likewise.
51712         (log1p_test): Likewise.
51713         (log2_test): Likewise.
51714         (logb_test_downward): Likewise.
51715         (pow_test): Likewise.
51716         (pow_test_tonearest): Likewise.
51717         (pow_test_towardzero): Likewise.
51718         (pow_test_downward): Likewise.
51719         (pow_test_upward): Likewise.
51720         (remainder_test): Likewise.
51721         (remquo_test): Likewise.
51722         (sin_test): Likewise.
51723         (sin_test_tonearest): Likewise.
51724         (sin_test_towardzero): Likewise.
51725         (sin_test_downward): Likewise.
51726         (sin_test_upward): Likewise.
51727         (sincos_test): Likewise.
51728         (sinh_test): Likewise.
51729         (sinh_test_tonearest): Likewise.
51730         (sinh_test_towardzero): Likewise.
51731         (sinh_test_downward): Likewise.
51732         (sinh_test_upward): Likewise.
51733         (sqrt_test): Likewise.
51734         (tan_test): Likewise.
51735         (tan_test_tonearest): Likewise.
51736         (tan_test_towardzero): Likewise.
51737         (tan_test_downward): Likewise.
51738         (tan_test_upward): Likewise.
51739         (tanh_test): Likewise.
51740         (tgamma_test): Likewise.
51741         (y0_test): Likewise.
51742         (y1_test): Likewise.
51743         (yn_test): Likewise.
51745         * math/gen-libm-test.pl (adjust_arg): Remove function.
51746         (special_function): Remove argument $in_func.  Only handle
51747         generating output for tables of tests, not inside functions.
51748         (parse_args): Likewise.
51749         (generate_testfile): Remove variable $in_func.  Update call to
51750         parse_args.
51751         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51752         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51753         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51754         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51755         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51756         (MAX_VALUE_INIT): Rename macro to max_value.
51757         (MIN_VALUE_INIT): Rename macro to min_value.
51758         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51759         (plus_zero): Remove variable.
51760         (minus_zero): Likewise.
51761         (plus_infty): Likewise.
51762         (minus_infty): Likewise.
51763         (qnan_value): Likewise.
51764         (max_value): Likewise.
51765         (min_value): Likewise.
51766         (min_subnorm_value): Likewise.
51768 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51770         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51771         uint64_t or uint32_t usage.
51772         * crypt/sha256-block.c: Likewise.
51773         * crypt/sha256-crypt.c: Likewise.
51774         * crypt/sha256.c: Likewise.
51775         * crypt/sha512-block.c: Likewise.
51776         * crypt/sha512-crypt.c: Likewise.
51777         * crypt/sha512.c: Likewise.
51778         * debug/backtrace-tst.c: Likewise.
51779         * debug/pcprofiledump.c: Likewise.
51780         * elf/cache.c: Likewise.
51781         * elf/dl-cache.c: Likewise.
51782         * elf/dl-misc.c: Likewise.
51783         * elf/dl-profile.c: Likewise.
51784         * elf/dl-support.c: Likewise.
51785         * elf/ldconfig.c: Likewise.
51786         * elf/sprof.c: Likewise.
51787         * iconv/dummy-repertoire.c: Likewise.
51788         * iconv/iconv_charmap.c: Likewise.
51789         * iconv/skeleton.c: Likewise.
51790         * iconvdata/8bit-generic.c: Likewise.
51791         * iconvdata/cp737.h: Likewise.
51792         * iconvdata/cp775.h: Likewise.
51793         * iconvdata/ibm1008.h: Likewise.
51794         * iconvdata/ibm1025.h: Likewise.
51795         * iconvdata/ibm1046.h: Likewise.
51796         * iconvdata/ibm1097.h: Likewise.
51797         * iconvdata/ibm1112.h: Likewise.
51798         * iconvdata/ibm1122.h: Likewise.
51799         * iconvdata/ibm1123.h: Likewise.
51800         * iconvdata/ibm1124.h: Likewise.
51801         * iconvdata/ibm1129.h: Likewise.
51802         * iconvdata/ibm1130.h: Likewise.
51803         * iconvdata/ibm1132.h: Likewise.
51804         * iconvdata/ibm1133.h: Likewise.
51805         * iconvdata/ibm1137.h: Likewise.
51806         * iconvdata/ibm1140.h: Likewise.
51807         * iconvdata/ibm1141.h: Likewise.
51808         * iconvdata/ibm1142.h: Likewise.
51809         * iconvdata/ibm1143.h: Likewise.
51810         * iconvdata/ibm1144.h: Likewise.
51811         * iconvdata/ibm1145.h: Likewise.
51812         * iconvdata/ibm1146.h: Likewise.
51813         * iconvdata/ibm1147.h: Likewise.
51814         * iconvdata/ibm1148.h: Likewise.
51815         * iconvdata/ibm1149.h: Likewise.
51816         * iconvdata/ibm1153.h: Likewise.
51817         * iconvdata/ibm1154.h: Likewise.
51818         * iconvdata/ibm1155.h: Likewise.
51819         * iconvdata/ibm1156.h: Likewise.
51820         * iconvdata/ibm1157.h: Likewise.
51821         * iconvdata/ibm1158.h: Likewise.
51822         * iconvdata/ibm1160.h: Likewise.
51823         * iconvdata/ibm1161.h: Likewise.
51824         * iconvdata/ibm1162.h: Likewise.
51825         * iconvdata/ibm1163.h: Likewise.
51826         * iconvdata/ibm1164.h: Likewise.
51827         * iconvdata/ibm1166.h: Likewise.
51828         * iconvdata/ibm1167.h: Likewise.
51829         * iconvdata/ibm12712.h: Likewise.
51830         * iconvdata/ibm1390.h: Likewise.
51831         * iconvdata/ibm1399.h: Likewise.
51832         * iconvdata/ibm16804.h: Likewise.
51833         * iconvdata/ibm4517.h: Likewise.
51834         * iconvdata/ibm4899.h: Likewise.
51835         * iconvdata/ibm4909.h: Likewise.
51836         * iconvdata/ibm4971.h: Likewise.
51837         * iconvdata/ibm5347.h: Likewise.
51838         * iconvdata/ibm803.h: Likewise.
51839         * iconvdata/ibm856.h: Likewise.
51840         * iconvdata/ibm901.h: Likewise.
51841         * iconvdata/ibm902.h: Likewise.
51842         * iconvdata/ibm9030.h: Likewise.
51843         * iconvdata/ibm9066.h: Likewise.
51844         * iconvdata/ibm921.h: Likewise.
51845         * iconvdata/ibm922.h: Likewise.
51846         * iconvdata/ibm9448.h: Likewise.
51847         * iconvdata/isiri-3342.h: Likewise.
51848         * iconvdata/jis0201.h: Likewise.
51849         * include/link.h: Likewise.
51850         * include/netdb.h: Likewise.
51851         * inet/check_native.c: Likewise.
51852         * inet/check_pf.c: Likewise.
51853         * inet/getipv4sourcefilter.c: Likewise.
51854         * inet/getnameinfo.c: Likewise.
51855         * inet/getsourcefilter.c: Likewise.
51856         * inet/htonl.c: Likewise.
51857         * inet/setipv4sourcefilter.c: Likewise.
51858         * inet/setsourcefilter.c: Likewise.
51859         * inet/test-inet6_opt.c: Likewise.
51860         * inet/tst-network.c: Likewise.
51861         * locale/C-collate.c: Likewise.
51862         * locale/C-ctype.c: Likewise.
51863         * locale/C-time.c: Likewise.
51864         * locale/C-translit.h: Likewise.
51865         * locale/loadarchive.c: Likewise.
51866         * locale/programs/3level.h: Likewise.
51867         * locale/programs/charmap.c: Likewise.
51868         * locale/programs/charmap.h: Likewise.
51869         * locale/programs/ld-address.c: Likewise.
51870         * locale/programs/ld-collate.c: Likewise.
51871         * locale/programs/ld-ctype.c: Likewise.
51872         * locale/programs/ld-identification.c: Likewise.
51873         * locale/programs/ld-measurement.c: Likewise.
51874         * locale/programs/ld-messages.c: Likewise.
51875         * locale/programs/ld-monetary.c: Likewise.
51876         * locale/programs/ld-name.c: Likewise.
51877         * locale/programs/ld-numeric.c: Likewise.
51878         * locale/programs/ld-paper.c: Likewise.
51879         * locale/programs/ld-telephone.c: Likewise.
51880         * locale/programs/ld-time.c: Likewise.
51881         * locale/programs/linereader.c: Likewise.
51882         * locale/programs/locale.c: Likewise.
51883         * locale/programs/locarchive.c: Likewise.
51884         * locale/programs/locfile.h: Likewise.
51885         * locale/programs/repertoire.c: Likewise.
51886         * locale/programs/simple-hash.c: Likewise.
51887         * locale/programs/simple-hash.h: Likewise.
51888         * malloc/memusage.c: Likewise.
51889         * malloc/memusagestat.c: Likewise.
51890         * nis/nis_defaults.c: Likewise.
51891         * nis/nis_hash.c: Likewise.
51892         * nis/nis_print.c: Likewise.
51893         * nis/nis_xdr.c: Likewise.
51894         * nscd/connections.c: Likewise.
51895         * nscd/hstcache.c: Likewise.
51896         * nscd/nscd_gethst_r.c: Likewise.
51897         * nscd/nscd_getserv_r.c: Likewise.
51898         * nscd/nscd_helper.c: Likewise.
51899         * nscd/servicescache.c: Likewise.
51900         * nss/makedb.c: Likewise.
51901         * nss/nss_db/db-XXX.c: Likewise.
51902         * nss/nss_db/db-initgroups.c: Likewise.
51903         * nss/nss_db/db-netgrp.c: Likewise.
51904         * nss/nss_files/files-network.c: Likewise.
51905         * nss/nss_files/files-parse.c: Likewise.
51906         * posix/bug-regex5.c: Likewise.
51907         * posix/fnmatch_loop.c: Likewise.
51908         * posix/regcomp.c: Likewise.
51909         * posix/regexec.c: Likewise.
51910         * posix/tst-rfc3484-2.c: Likewise.
51911         * posix/tst-rfc3484-3.c: Likewise.
51912         * posix/tst-rfc3484.c: Likewise.
51913         * resolv/nss_dns/dns-canon.c: Likewise.
51914         * resolv/nss_dns/dns-network.c: Likewise.
51915         * resolv/res_init.c: Likewise.
51916         * resolv/res_mkquery.c: Likewise.
51917         * resolv/tst-aton.c: Likewise.
51918         * stdlib/cxa_atexit.c: Likewise.
51919         * stdlib/cxa_finalize.c: Likewise.
51920         * stdlib/gen-fpioconst.c: Likewise.
51921         * stdlib/strtol_l.c: Likewise.
51922         * string/tst-endian.c: Likewise.
51923         * sunrpc/auth_des.c: Likewise.
51924         * sunrpc/clnt_udp.c: Likewise.
51925         * sunrpc/rtime.c: Likewise.
51926         * sunrpc/svcauth_des.c: Likewise.
51927         * sunrpc/xdr.c: Likewise.
51928         * sunrpc/xdr_intXX_t.c: Likewise.
51929         * sunrpc/xdr_rec.c: Likewise.
51930         * sysdeps/generic/ldconfig.h: Likewise.
51931         * sysdeps/generic/ldsodefs.h: Likewise.
51932         * sysdeps/generic/memusage.h: Likewise.
51933         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51935         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51936         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51937         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51939         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51940         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51941         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51943         * sysdeps/posix/getaddrinfo.c: Likewise.
51944         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51945         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51946         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51947         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51948         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51949         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51950         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51951         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51952         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51953         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51954         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51955         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51956         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51957         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51958         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51959         * sysdeps/x86_64/dl-tls.h: Likewise.
51960         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51961         * time/alt_digit.c: Likewise.
51962         * time/era.c: Likewise.
51963         * wcsmbs/tst-c16c32-1.c: Likewise.
51965 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51967         * math/libm-test.inc (struct test_sincos_data): New type.
51968         (RUN_TEST_LOOP_sincos): New macro.
51969         (sincos_test_data): New variable.
51970         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51972 2013-05-16  Richard Henderson  <rth@redhat.com>
51974         * math/atest-exp2.c (LIMB64): New macro.
51975         (CONSTSZ): New macro.
51976         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51977         (hexdig): Move ...
51978         (print_mpn_fp): ... to function scope.
51979         (read_mpn_hex): Remove.
51980         (get_log2): Remove.
51981         (exp2_mpn): Use mp_log2.
51982         (main): Use mp_exp1.
51984 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51986         * math/libm-test.inc: Remove comment about not testing "inexact"
51987         exceptions.
51988         (INEXACT_EXCEPTION): New macro.
51989         (NO_INEXACT_EXCEPTION): Likewise.
51990         (INVALID_EXCEPTION_OK): Update value.
51991         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51992         (OVERFLOW_EXCEPTION_OK): Likewise.
51993         (UNDERFLOW_EXCEPTION_OK): Likewise.
51994         (IGNORE_ZERO_INF_SIGN): Likewise.
51995         (ERRNO_UNCHANGED): Likewise.
51996         (ERRNO_EDOM): Likewise.
51997         (ERRNO_ERANGE): Likewise.
51998         (test_exceptions): Handle testing "inexact" exceptions.
51999         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52000         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52001         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52002         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52003         INEXACT_EXCEPTION.
52004         (rint_towardzero_test_data): Likewise.
52005         (rint_downward_test_data): Likewise.
52006         (rint_upward_test_data): Likewise.
52008         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52009         with OVERFLOW_EXCEPTION.
52010         (exp10_test_data): Likewise.
52011         (exp2_test_data): Likewise.
52012         (expm1_test_data): Likewise.
52013         (lgamma_test_data): Likewise.
52014         (pow_test_data): Likewise.
52015         (tgamma_test_data): Likewise.
52016         (yn_test_data): Remove duplicate test of overflow.
52018         * math/libm-test.inc (struct test_cc_c_data): New type.
52019         (RUN_TEST_LOOP_cc_c): New macro.
52020         (cpow_test_data): New variable.
52021         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52023         * math/libm-test.inc (struct test_f_L_data): New type.
52024         (RUN_TEST_LOOP_f_L): New macro.
52025         (llrint_test_data): New variable.
52026         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52027         (llrint_tonearest_test_data): New variable.
52028         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52029         (llrint_towardzero_test_data): New variable.
52030         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52031         (llrint_downward_test_data): New variable.
52032         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52033         (llrint_upward_test_data): New variable.
52034         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52035         (llround_test_data): New variable.
52036         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52038 2013-05-13  Peter Collingbourne  <pcc@google.com>
52040         * math/atest-exp2.c (get_log2): Remove const attribute.
52042 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52044         * math/libm-test.inc (struct test_f_l_data): New type.
52045         (RUN_TEST_LOOP_f_l): New macro.
52046         (lrint_test_data): New variable.
52047         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52048         (lrint_tonearest_test_data): New variable.
52049         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52050         (lrint_towardzero_test_data): New variable.
52051         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52052         (lrint_downward_test_data): New variable.
52053         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52054         (lrint_upward_test_data): New variable.
52055         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52056         (lround_test_data): New variable.
52057         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52059 2013-05-15  Peter Collingbourne  <pcc@google.com>
52061         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52062         (EXTRACT_WORDS64) Use where appropriate.
52063         (INSERT_WORDS64) Likewise.
52065         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52066         constraints with x constraints.
52067         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52069         * malloc/obstack.c (_obstack_compat): Add initializer.
52071 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52073         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52074         si_trapno and add si_addr_lsb to _sifields.sigfault.
52075         (si_trapno): Remove macro.
52076         (si_addr_lsb): Define new macro.
52077         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52079 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52081         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52082         instead of TEST_f_l.
52083         (llrint_test_tonearest): Likewise.
52084         (llrint_test_towardzero): Likewise.
52085         (llrint_test_downward): Likewise.
52086         (llrint_test_upward): Likewise.
52087         (llround_test): Likewise.
52089         * math/libm-test.inc (struct test_f_i_data): Add comment.
52090         (RUN_TEST_LOOP_f_b): New macro.
52091         (RUN_TEST_LOOP_f_b_tg): Likewise.
52092         (finite_test_data): New variable.
52093         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52094         (isfinite_test_data): New variable.
52095         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52096         (isinf_test_data): New variable.
52097         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52098         (isnan_test_data): New variable.
52099         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52100         (isnormal_test_data): New variable.
52101         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52102         (issignaling_test_data): New variable.
52103         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52104         (signbit_test_data): New variable.
52105         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52107         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52108         with INVALID_EXCEPTION.
52109         (acosh_test_data): Likewise.
52110         (asin_test_data): Likewise.
52111         (atanh_test_data): Likewise.
52112         (fmod_test_data): Likewise.
52113         (log_test_data): Likewise.
52114         (log10_test_data): Likewise.
52115         (log2_test_data): Likewise.
52116         (pow_test_data): Likewise.
52117         (sqrt_test_data): Likewise.
52118         (y0_test_data): Likewise.
52119         (y1_test_data): Likewise.
52120         (yn_test_data): Likewise.
52122         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52123         function contents.
52125         * math/libm-test.inc (struct test_ff_i_data): New type.
52126         (RUN_TEST_LOOP_ff_i_tg): New macro.
52127         (isgreater_test_data): New variable.
52128         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52129         (isgreaterequal_test_data): New variable.
52130         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52131         (isless_test_data): New variable.
52132         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52133         (islessequal_test_data): New variable.
52134         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52135         (islessgreater_test_data): New variable.
52136         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52137         (isunordered_test_data): New variable.
52138         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52140 2013-05-14  David S. Miller  <davem@davemloft.net>
52142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52144 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52146         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52148         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52149         extra_test to int.
52150         (struct test_f_i_data): Change type of max_ulp to int.
52152         * math/libm-test.inc (test_ffI_f1_data): New type.
52153         (RUN_TEST_LOOP_ffI_f1): New macro.
52154         (remquo_test_data): New variable.
52155         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52157         * setjmp/tst-setjmp-fp.c: New file.
52158         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52159         (link-libm): New variable.
52160         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52162         * math/libm-test.inc (struct test_f_i_data): New type.
52163         (RUN_TEST_LOOP_f_i): New macro.
52164         (RUN_TEST_LOOP_f_i_tg): Likewise.
52165         (fpclassify_test_data): New variable.
52166         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52167         (ilogb_test_data): New variable.
52168         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52170         * math/libm-test.inc (scalbln_test): Correct function name in END
52171         call.
52173         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52174         (RUN_TEST_LOOP_fI_f1): New macro.
52175         (frexp_test_data): New variable.
52176         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52178         * math/libm-test.inc (struct test_fF_f1_data): New type.
52179         (RUN_TEST_LOOP_fF_f1): New macro.
52180         (modf_test_data): New variable.
52181         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52183         * math/libm-test.inc (struct test_f_f1_data): New type.
52184         (RUN_TEST_LOOP_f_f1): New macro.
52185         (gamma_test_data): New variable.
52186         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52187         (lgamma_test_data): New variable.
52188         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52190 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52193         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52194         (main): Comment "tls" pseudo-hwcap.
52196 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52198         * math/libm-test.inc (struct test_fl_f_data): New type.
52199         (RUN_TEST_LOOP_fl_f): New variable.
52200         (scalbln_test_data): New variable.
52201         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52203         * math/libm-test.inc (struct test_fi_f_data): New type.
52204         (RUN_TEST_LOOP_fi_f): New macro.
52205         (ldexp_test_data): New variable.
52206         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52207         (scalbn_test_data): New variable.
52208         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52210         * math/libm-test.inc (struct test_c_f_data): New type.
52211         (RUN_TEST_LOOP_c_f): New macro.
52212         (cabs_test_data): New variable.
52213         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52214         (carg_test_data): New variable.
52215         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52216         (cimag_test_data): New variable.
52217         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52218         (creal_test_data): New variable.
52219         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52221         * math/libm-test.inc (struct test_if_f_data): New type.
52222         (RUN_TEST_LOOP_if_f): New macro.
52223         (jn_test_data): New variable.
52224         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52225         (yn_test_data): New variable.
52226         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52228         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52230 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52232         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52233         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52235 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52237         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52238         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52239         (bench-deps): Add bench-timing.h.
52240         * benchtests-bench-skeleton.c: Include bench-timing.h.
52241         (main): Use TIMING_* macros instead of clock_gettime.
52242         * benchtests/bench-timing.h: New file.
52244         [BZ #14582]
52245         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52246         Renamed from _LIB_VERSION.
52247         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52249 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52251         * math/libm-test.inc (struct test_fff_f_data): New type.
52252         (RUN_TEST_LOOP_fff_f): New macro.
52253         (fma_test_data): New variable.
52254         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52255         (fma_towardzero_test_data): New variable.
52256         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52257         (fma_downward_test_data): New variable.
52258         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52259         (fma_upward_test_data): New variable.
52260         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52262         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52263         (struct test_c_c_data): New type.
52264         (RUN_TEST_LOOP_c_c): New macro.
52265         (cacos_test_data): New variable.
52266         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52267         (cacosh_test_data): New variable.
52268         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52269         (casin_test_data): New variable.
52270         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52271         (casinh_test_data): New variable.
52272         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52273         (catan_test_data): New variable.
52274         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52275         (catanh_test_data): New variable.
52276         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52277         (ccos_test_data): New variable.
52278         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52279         (ccosh_test_data): New variable.
52280         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52281         (cexp_test_data): New variable.
52282         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52283         (clog_test_data): New variable.
52284         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52285         (clog10_test_data): New variable.
52286         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52287         (conj_test_data): New variable.
52288         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52289         (cproj_test_data): New variable.
52290         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52291         (csin_test_data): New variable.
52292         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52293         (csinh_test_data): New variable.
52294         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52295         (csqrt_test_data): New variable.
52296         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52297         (ctan_test_data): New variable.
52298         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52299         (ctan_tonearest_test_data): New variable.
52300         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52301         (ctan_towardzero_test_data): New variable.
52302         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52303         (ctan_downward_test_data): New variable.
52304         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52305         (ctan_upward_test_data): New variable.
52306         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52307         (ctanh_test_data): New variable.
52308         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52309         (ctanh_tonearest_test_data): New variable.
52310         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52311         (ctanh_towardzero_test_data): New variable.
52312         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52313         (ctanh_downward_test_data): New variable.
52314         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52315         (ctanh_upward_test_data): New variable.
52316         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52317         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52318         of BUILD_COMPLEX.
52320         * math/libm-test.inc (struct test_ff_f_data): New type.
52321         (struct test_ff_f_data_nexttoward): Likewise.
52322         (RUN_TEST_LOOP_2_f): New macro.
52323         (RUN_TEST_LOOP_ff_f): Likewise.
52324         (atan2_test_data): New variable.
52325         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52326         (copysign_test_data): New variable.
52327         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52328         (fdim_test_data): New variable.
52329         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52330         (fmax_test_data): New variable.
52331         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52332         (fmin_test_data): New variable.
52333         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52334         (fmod_test_data): New variable.
52335         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52336         (hypot_test_data): New variable.
52337         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52338         (nextafter_test_data): New variable.
52339         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52340         (nexttoward_test_data): New variable.
52341         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52342         (pow_test_data): New variable.
52343         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52344         (pow_tonearest_test_data): New variable.
52345         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52346         (pow_towardzero_test_data): New variable.
52347         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52348         (pow_downward_test_data): New variable.
52349         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52350         (pow_upward_test_data): New variable.
52351         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52352         (remainder_test_data): New variable.
52353         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52354         (scalb_test_data): New variable.
52355         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52356         * sysdeps/i386/fpu/libm-test-ulps: Update.
52358 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52360         * math/libm-test.inc (fma_test): Use max_value instead of local
52361         variable fltmax.
52362         (nextafter_test): Likewise.
52364         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52365         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52366         (acos_downward_test_data): New variable.
52367         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52368         (acos_upward_test_data): New variable.
52369         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52370         (acosh_test_data): New variable.
52371         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52372         (asin_test_data): New variable.
52373         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52374         (asin_tonearest_test_data): New variable.
52375         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52376         (asin_towardzero_test_data): New variable.
52377         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52378         (asin_downward_test_data): New variable.
52379         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52380         (asin_upward_test_data): New variable.
52381         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52382         (asinh_test_data): New variable.
52383         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52384         (atan_test_data): New variable.
52385         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52386         (atanh_test_data): New variable.
52387         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52388         (cbrt_test_data): New variable.
52389         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52390         (ceil_test_data): New variable.
52391         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52392         (cos_test_data): New variable.
52393         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52394         (cos_tonearest_test_data): New variable.
52395         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52396         (cos_towardzero_test_data): New variable.
52397         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52398         (cos_downward_test_data): New variable.
52399         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52400         (cos_upward_test_data): New variable.
52401         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52402         (cosh_test_data): New variable.
52403         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52404         (cosh_tonearest_test_data): New variable.
52405         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52406         (cosh_towardzero_test_data): New variable.
52407         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52408         (cosh_downward_test_data): New variable.
52409         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52410         (cosh_upward_test_data): New variable.
52411         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52412         (erf_test_data): New variable.
52413         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52414         (erfc_test_data): New variable.
52415         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52416         (exp_test_data): New variable.
52417         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52418         (exp_tonearest_test_data): New variable.
52419         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52420         (exp_towardzero_test_data): New variable.
52421         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52422         (exp_downward_test_data): New variable.
52423         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52424         (exp_upward_test_data): New variable.
52425         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52426         (exp10_test_data): New variable.
52427         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52428         (exp2_test_data): New variable.
52429         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52430         (expm1_test_data): New variable.
52431         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52432         (fabs_test_data): New variable.
52433         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52434         (floor_test_data): New variable.
52435         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52436         (j0_test_data): New variable.
52437         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52438         (j1_test_data): New variable.
52439         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52440         (log_test_data): New variable.
52441         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52442         (log10_test_data): New variable.
52443         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52444         (log1p_test_data): New variable.
52445         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52446         (log2_test_data): New variable.
52447         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52448         (logb_test_data): New variable.
52449         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52450         (logb_downward_test_data): New variable.
52451         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52452         (nearbyint_test_data): New variable.
52453         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52454         (rint_test_data): New variable.
52455         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52456         (rint_tonearest_test_data): New variable.
52457         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52458         (rint_towardzero_test_data): New variable.
52459         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52460         (rint_downward_test_data): New variable.
52461         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52462         (rint_upward_test_data): New variable.
52463         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52464         (round_test_data): New variable.
52465         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52466         (sin_test_data): New variable.
52467         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52468         (sin_tonearest_test_data): New variable.
52469         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52470         (sin_towardzero_test_data): New variable.
52471         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52472         (sin_downward_test_data): New variable.
52473         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52474         (sin_upward_test_data): New variable.
52475         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52476         (sinh_test_data): New variable.
52477         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52478         (sinh_tonearest_test_data): New variable.
52479         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52480         (sinh_towardzero_test_data): New variable.
52481         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52482         (sinh_downward_test_data): New variable.
52483         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52484         (sinh_upward_test_data): New variable.
52485         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52486         (sqrt_test_data): New variable.
52487         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52488         (tan_test_data): New variable.
52489         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52490         (tan_tonearest_test_data): New variable.
52491         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52492         (tan_towardzero_test_data): New variable.
52493         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52494         (tan_downward_test_data): New variable.
52495         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52496         (tan_upward_test_data): New variable.
52497         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52498         (tanh_test_data): New variable.
52499         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52500         (tgamma_test_data): New variable.
52501         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52502         (trunc_test_data): New variable.
52503         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52504         (y0_test_data): New variable.
52505         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52506         (y1_test_data): New variable.
52507         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52508         (significand_test_data): New variable.
52509         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52511 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52513         [BZ #12387]
52514         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52516 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52518         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52520 2013-05-10  Andreas Jaeger  <aj@suse.de>
52522         [BZ #15448]
52523         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52524         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52526 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52528         * math/gen-libm-test.pl (adjust_arg): New function.
52529         (special_functions): Handle generating output in both functions
52530         and arrays.
52531         (parse_args): Likewise.
52532         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52533         $in_func argument to parse_args.
52534         * math/libm-test.inc (struct test_f_f_data): New type.
52535         (IF_ROUND_INIT_): New macro.
52536         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52537         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52538         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52539         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52540         (ROUND_RESTORE_): Likewise.
52541         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52542         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52543         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52544         (ROUND_RESTORE_FE_UPWARD): Likewise.
52545         (RUN_TEST_LOOP_f_f): New macro.
52546         (acos_test_data): New variable.
52547         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52548         (acos_tonearest_test_data): New variable.
52549         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52551 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52553         * benchtests/bench-skeleton.c (startup): Fix coding style.
52555 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52557         [BZ #6809]
52558         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52559         negative infinity argument.
52560         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52561         negative infinity argument.
52562         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52563         negative infinity argument.
52564         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52565         domain errors.
52567 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52569         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52570         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52571         * iconv/iconv_prog.c (main): Likewise.
52572         * locale/programs/charmap-dir.c (charmap_readdir)
52573         (fopen_uncompressed): Likewise.
52574         * locale/programs/locfile.c (siblings_uncached)
52575         (write_locale_data): Use lstat64 instead of lstat.
52576         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52577         stat.
52579 2013-05-10  Andreas Jaeger  <aj@suse.de>
52581         [BZ #15395]
52582         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52583         localization.
52584         Include <locale.h>.
52586 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52588         * elf/dl-close.c (_dl_close_worker): Add comments.
52590 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52592         [BZ #15359]
52593         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52594         high part of pi/2.
52595         (__ieee754_rem_pio2l): Update comments.
52597         [BZ #15429]
52598         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52599         high part of pi/2.
52600         (__ieee754_rem_pio2l): Update comments.
52602         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52603         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52605         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52606         M_PI_4l.
52608         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52609         (M_PI_34_LOG10El): Likewise.
52610         (M_PI2_LOG10El): Likewise.
52611         (M_PI4_LOG10El): Likewise.
52612         (M_PI_LOG10El): Likewise.
52614 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52618 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52620         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52621         (MINUS_ZERO_INIT): Likewise.
52622         (PLUS_INFTY_INIT): Likewise.
52623         (MINUS_INFTY_INIT): Likewise.
52624         (QNAN_VALUE_INIT): Likewise.
52625         (MAX_VALUE_INIT): Likewise.
52626         (MIN_VALUE_INIT): Likewise.
52627         (MIN_SUBNORM_VALUE_INIT): Likewise.
52628         (plus_zero): Initialize with PLUS_ZERO_INIT.
52629         (minus_zero): Initialize with MINUS_ZERO_INIT.
52630         (plus_infty): Initialize with PLUS_INFTY_INIT.
52631         (minus_infty): Initialize with MINUS_INFTY_INIT.
52632         (qnan_value): Initialize with QNAN_VALUE_INIT.
52633         (max_value): Initialize with MAX_VALUE_INIT.
52634         (min_value): Initialize with MIN_VALUE_INIT.
52635         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52637         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52638         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52639         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52640         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52642         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52643         (RUN_TEST_2_f): Likewise.
52644         (RUN_TEST_ff_f): Likewise.
52645         (RUN_TEST_fi_f): Likewise.
52646         (RUN_TEST_fl_f): Likewise.
52647         (RUN_TEST_fff_f): Likewise.
52648         (RUN_TEST_c_f): Likewise.
52649         (RUN_TEST_f_f1): Likewise.
52650         (RUN_TEST_fF_f1): Likewise.
52651         (RUN_TEST_fI_f1): Likewise.
52652         (RUN_TEST_ffI_f1): Likewise.
52653         (RUN_TEST_c_c): Likewise.
52654         (RUN_TEST_cc_c): Likewise.
52655         (RUN_TEST_f_i): Likewise.
52656         (RUN_TEST_f_i_tg): Likewise.
52657         (RUN_TEST_ff_i_tg): Likewise.
52658         (RUN_TEST_f_b): Likewise.
52659         (RUN_TEST_f_b_tg): Likewise.
52660         (RUN_TEST_f_l): Likewise.
52661         (RUN_TEST_f_L): Likewise.
52662         (RUN_TEST_sincos): Likewise.
52663         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52664         whether to show exceptions.  Do not include ");\n" in return
52665         value.
52666         (special_functions): Output call to RUN_TEST_sincos instead of
52667         check_float calls.  Update calls to new_test.
52668         (parse_args): Output call to single RUN_TEST_* macro instead of
52669         check_* calls and other assignments.  Update calls to new_test.
52671         [BZ #2546]
52672         [BZ #2560]
52673         [BZ #5159]
52674         [BZ #15426]
52675         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52676         input to result for tgamma overflow.
52677         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52678         (gamma_coeff): New variable.
52679         (NCOEFF): New macro.
52680         (gamma_positive): New function.
52681         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52682         underflow here.  Use gamma_positive instead of exp (lgamma) for
52683         other arguments.
52684         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52685         (gamma_coeff): New variable.
52686         (NCOEFF): New macro.
52687         (gammaf_positive): New function.
52688         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52689         underflow here.  Use gamma_positive instead of exp (lgamma) for
52690         other arguments.
52691         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52692         (gamma_coeff): New variable.
52693         (NCOEFF): New macro.
52694         (gammal_positive): New function.
52695         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52696         underflow here.  Use gamma_positive instead of exp (lgamma) for
52697         other arguments.
52698         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52699         (gamma_coeff): New variable.
52700         (NCOEFF): New macro.
52701         (gammal_positive): New function.
52702         (__ieee754_gammal_r): Handle positive infinity, overflow and
52703         underflow here.  Handle NaN the same as positive infinity.  Remove
52704         check x < 0xffffffff for negative integers.  Use gamma_positive
52705         instead of exp (lgamma) for other arguments.
52706         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52707         (gamma_coeff): New variable.
52708         (NCOEFF): New macro.
52709         (gammal_positive): New function.
52710         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52711         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52712         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52713         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52714         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52715         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52716         * sysdeps/generic/math_private.h (__gamma_productf): New
52717         prototype.
52718         (__gamma_product): Likewise.
52719         (__gamma_productl): Likewise.
52720         * math/Makefile (libm-calls): Add gamma_product.
52721         * math/libm-test.inc (tgamma_test): Add more tests.
52722         * sysdeps/i386/fpu/libm-test-ulps: Update.
52723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52725 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52727         * benchtests/bench-skeleton.c (main): Preheat CPU.
52729 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52731         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52733 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52735         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52736         and _dl_skip_args_internal.
52738 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52740         * manual/message.texi (Message Translation): Talk about users.
52741         Message to key mapping impacts design.
52743 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52745         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52747         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52749         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52750         * sysdeps/wordsize-64/glob64.c: ... here.
52752         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52753         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52754         New macros.
52756         * debug/getlogin_r_chk.c: Moved to ...
52757         * login/getlogin_r_chk.c: ... here.
52758         * debug/Makefile (routines): Move getlogin_r_chk to ...
52759         * login/Makefile (routines): ... here.
52760         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52761         * login/Versions (libc: GLIBC_2.4): ... here.
52763         * io/poll.c (__poll): Renamed from poll.
52764         Add libc_hidden_def.
52765         (poll): Define as weak alias.
52767         * debug/ptsname_r_chk.c: Moved to ...
52768         * login/ptsname_r_chk.c: ... here.
52769         * debug/Makefile (routines): Move ptsname_r_chk to ...
52770         * login/Makefile (routines): ... here.
52771         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52772         * login/Versions (libc: GLIBC_2.4): ... here.
52774         * posix/getlogin.c: Moved to ...
52775         * login/getlogin.c: ... here.
52776         * posix/getlogin_r.c: Moved to ...
52777         * login/getlogin_r.c: ... here.
52778         * posix/getlogin_r.c: Moved to ...
52779         * login/getlogin_r.c: ... here.
52780         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52781         * login/Makefile (routines): ... here.
52782         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52783         * login/Versions (libc: GLIBC_2.0): ... here.
52785         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52786         (setrlimit): Define as weak alias.
52788         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52789         Call __ names for open, ftruncate, and close.
52790         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52791         (truncate): Define as weak alias.
52793 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52795         * math/gen-libm-test.pl (parse_args): Initialize x before each
52796         test of frexp, modf and remquo.
52798         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52799         test signgam value.
52801 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52803         [BZ #15418]
52804         [BZ #15419]
52805         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52806         internal tests.
52807         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52809 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52811         * elf/dl-writev.h: New file.
52812         * elf/dl-misc.c: Include it.
52813         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52814         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52816 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52818         * math/libm-test.inc (noXFails): Remove variable.
52819         (noXPasses): Likewise.
52820         (BUILD_COMPLEX_INT): Remove macro.
52821         (print_screen): Remove xfail argument.
52822         (print_screen_max_error): Likewise.
52823         (update_stats): Likewise.
52824         (print_max_error): Likewise.  Update calls to other affected
52825         functions.
52826         (print_complex_max_error): Likewise.
52827         (test_single_exception): Update calls to print_screen.
52828         (test_single_errno): Likewise.
52829         (check_float_internal): Remove xfail argument.  Update calls to
52830         other affected functions.
52831         (check_float): Likewise.
52832         (check_complex): Likewise.
52833         (check_int): Likewise.
52834         (check_long): Likewise.
52835         (check_bool): Likewise.
52836         (check_longlong): Likewise.
52837         (main): Don't print noXFails and noXPasses.
52838         * math/gen-libm-test.pl (top level): Don't mention expected
52839         failure handling in comment.
52840         (new_test): Don't handle expected failures.
52841         (parse_args): Don't mention expected failure handling in comment.
52842         (generate_testfile): Don't handle expected failures.
52843         (parse_ulps): Likewise.
52844         (print_ulps_file): Likewise.
52845         (get_failure): Remove function.
52846         (output_test): Don't handle expected failures.
52847         * make/README.libm-test: Don't mention expected failure handling.
52849         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52850         (minus_zero): Likewise.
52851         (plus_infty): Likewise.
52852         (minus_infty): Likewise.
52853         (qnan_value): Likewise.
52854         (max_value): Likewise.
52855         (min_value): Likewise.
52856         (min_subnorm_value): Likewise.
52857         (initialize): Do not initialize those variables dynamically.
52859 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52861         * io/open.c (__open_2): Moved to ...
52862         * io/open_2.c: ... this new file.
52863         * io/open64.c (__open64_2): Moved to ...
52864         * io/open64_2.c: ... this new file.
52865         * io/openat.c (__openat_2): Moved to ...
52866         * io/openat_2.c: ... this new file.
52867         * io/openat64.c (__openat64_2): Moved to ...
52868         * io/openat64_2.c: ... this new file.
52869         * io/Makefile (routines): Add them.
52870         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52871         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52872         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52873         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52874         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52875         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52876         (__openat64): Add hidden_ver.
52877         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52878         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52880         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52881         Separately conditionalize setting of GLRO(dl_sysinfo) so
52882         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52883         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52885 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52887         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52888         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52889         definition.
52890         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52891         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52892         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52893         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52894         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52896 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52898         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52899         test signgam value.
52901         * math/libm-test.inc (hypot_test): Do not use
52902         IGNORE_ZERO_INF_SIGN.
52904 2013-05-03  Andreas Jaeger  <aj@suse.de>
52906         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52907         Linux 3.9.
52908         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52909         (PF_MAX): Adjust for VSOCK change.
52911 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52915 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52917         [BZ #15264]
52918         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52919         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52920         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52922 2013-05-02  David S. Miller  <davem@davemloft.net>
52924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52926 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52928         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52930 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52932         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52934 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52936         [BZ #14952]
52937         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52938         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52939         Use __attribute__ ((__gnu_inline__)).
52940         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52941         Don't use __attribute__ ((__gnu_inline__)).
52943 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52945         [BZ #15423]
52946         * math/s_catan.c (__catan): Handle small real or imaginary part of
52947         input specially to avoid spurious underflow.
52948         * math/s_catanf.c (__catanf): Likewise.
52949         * math/s_catanh.c (__catanh): Likewise.
52950         * math/s_catanhf.c (__catanhf): Likewise.
52951         * math/s_catanhl.c (__catanhl): Likewise.
52952         * math/s_catanl.c (__catanl): Likewise.
52953         * math/libm-test.inc (catan_test): Add more tests.
52954         (catanh_test): Likewise.
52955         * sysdeps/i386/fpu/libm-test-ulps: Update.
52956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52958 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52962 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52964         [BZ #15416]
52965         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52966         accurately for denominator in atan2.
52967         * math/s_catanf.c (__catanf): Likewise.
52968         * math/s_catanh.c (__catanh): Likewise.
52969         * math/s_catanhf.c (__catanhf): Likewise.
52970         * math/s_catanhl.c (__catanhl): Likewise.
52971         * math/s_catanl.c (__catanl): Likewise.
52972         * math/libm-test.inc (catan_test): Add more tests.
52973         (catanh_test): Likewise.
52974         * sysdeps/i386/fpu/libm-test-ulps: Update.
52975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52977 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52979         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52981         * benchtests/Makefile (bench): Remove slow benchmarks.
52982         * benchtests/atan-inputs: Add slow benchmark inputs.
52983         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52984         (BENCH_FUNC): Accept variant offset.
52985         (VARIANT): Define.
52986         * benchtests/bench-skeleton.c (main): Run benchmark for each
52987         variant.
52988         * benchtests/cos-inputs: Add slow benchmark inputs.
52989         * benchtests/exp-inputs: Likewise.
52990         * benchtests/pow-inputs: Likewise.
52991         * benchtests/sin-inputs: Likewise.
52992         * benchtests/slowatan-inputs: Remove.
52993         * benchtests/slowatan.c: Remove.
52994         * benchtests/slowcos-inputs: Remove.
52995         * benchtests/slowcos.c: Remove.
52996         * benchtests/slowexp-inputs: Remove.
52997         * benchtests/slowexp.c: Remove.
52998         * benchtests/slowpow-inputs: Remove.
52999         * benchtests/slowpow.c: Remove.
53000         * benchtests/slowsin-inputs: Remove.
53001         * benchtests/slowsin.c: Remove.
53002         * benchtests/slowtan-inputs: Remove.
53003         * benchtests/slowtan.c: Remove.
53004         * benchtests/tan-inputs: Add slow benchmark inputs.
53005         * scripts/bench.pl: Parse comments and directives.
53007         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53008         in CPPFLAGS.
53009         ($(objpfx)bench-%.c): Remove *-ITER.
53010         * benchtests/bench-modf.c: Remove definition of ITER.
53011         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53012         (main): Loop for DURATION seconds instead of fixed number of
53013         iterations.
53014         * scripts/bench.pl: Don't expect iterations in parameters.
53016 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53018         * io/fchdir.c (__fchdir): Renamed from fchdir.
53019         (fchdir): Define as weak alias.
53021 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53023         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53024         (ERRNO_EDOM): Likewise.
53025         (ERRNO_ERANGE): Likewise.
53026         (noErrnoTests): New variable.
53027         (init_max_error): Set errno to 0.
53028         (test_single_errno): New function.
53029         (test_errno): Likewise.
53030         (check_float_internal): Call test_errno.  Set errno to 0.
53031         (check_complex): Refer to errno tests in comment.
53032         (check_int): Call test_errno.  Set errno to 0.
53033         (check_long): Likewise.
53034         (check_bool): Likewise.
53035         (check_longlong): Likewise.
53036         (cos_test): Use ERRNO_* flags for errno tests instead of
53037         check_int.
53038         (expm1_test): Likewise.
53039         (fmod_test): Likewise.
53040         (ilogb_test): Likewise.
53041         (lgamma_test): Likewise.
53042         (pow_test): Likewise.
53043         (remainder_test): Likewise.
53044         (sin_test): Likewise.
53045         (tan_test): Likewise.
53046         (yn_test): Likewise.
53047         (initialize): Set errno to 0.
53048         (main): Print number of errno tests.
53049         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53051 2013-04-29  Andreas Jaeger  <aj@suse.de>
53053         [BZ #15084]
53054         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53055         and RES_USEVC.
53057         [BZ #15085]
53058         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53059         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53060         unimplemented.
53062         [BZ #15380]
53063         * stdlib/random.c (__initstate): Return NULL if
53064         __initstate fails.
53066         [BZ #15086]
53067         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53068         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53069         RES_SNGLKUPREOP.
53071 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53075 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53077         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53078         of individual tests.
53079         (casin_test): Likewise.
53080         (casinh_test): Likewise.
53082 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53084         [BZ #15409]
53085         * math/s_catan.c (__catan): Handle arguments with large real or
53086         imaginary part separately without squaring.
53087         * math/s_catanf.c (__catanf): Likewise.
53088         * math/s_catanh.c (__catanh): Likewise.
53089         * math/s_catanhf.c (__catanhf): Likewise.
53090         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53091         and redefine.
53092         (__catanhl): Handle arguments with large real or imaginary part
53093         separately without squaring.
53094         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53095         and redefine.
53096         (__catanl): Handle arguments with large real or imaginary part
53097         separately without squaring.
53098         * math/libm-test.inc (catan_test): Add more tests.
53099         (catanh_test): Likewise.
53100         * sysdeps/i386/fpu/libm-test-ulps: Update.
53101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53103 2013-04-27  Andreas Jaeger  <aj@suse.de>
53105         [BZ #15007]
53106         * stdlib/stdlib.h: Update guards for qecvt.
53107         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53108         <stdlib.h>.
53110 2013-04-27  Allan McRae  <allan@archlinux.org>
53112         * sysdeps/i386/fpu/libm-test-ulps: Update.
53114 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53116         [BZ #15406]
53117         * math/s_catan.c: Include <float.h>.
53118         (__catan): Ensure underflow exception occurs for underflowed
53119         result.
53120         * math/s_catanf.c: Include <float.h>.
53121         (__catanf): Ensure underflow exception occurs for underflowed
53122         result.
53123         * math/s_catanh.c: Include <float.h>.
53124         (__catanh): Ensure underflow exception occurs for underflowed
53125         result.
53126         * math/s_catanhf.c: Include <float.h>.
53127         (__catanhf): Ensure underflow exception occurs for underflowed
53128         result.
53129         * math/s_catanhl.c: Include <float.h>.
53130         (__catanhl): Ensure underflow exception occurs for underflowed
53131         result.
53132         * math/s_catanl.c: Include <float.h>.
53133         (__catanl): Ensure underflow exception occurs for underflowed
53134         result.
53135         * math/libm-test.inc (catan_test): Add more tests.
53136         (catanh_test): Likewise.
53138         [BZ #15405]
53139         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53140         underflowed result.
53141         * math/s_ccoshf.c (__ccoshf): Likewise.
53142         * math/s_ccoshl.c (__ccoshl): Likewise.
53143         * math/s_csin.c (__csin): Likewise.
53144         * math/s_csinf.c (__csinf): Likewise.
53145         * math/s_csinh.c (__csinh): Likewise.
53146         * math/s_csinhf.c (__csinhf): Likewise.
53147         * math/s_csinhl.c (__csinhl): Likewise.
53148         * math/s_csinl.c (__csinl): Likewise.
53149         * math/libm-test.inc (ccos_test): Add more tests.
53150         (ccosh_test): Likewise.
53151         (csin_test): Likewise.
53152         (csinh_test): Likewise.
53154 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53156         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53157         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53158         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53159         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53160         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53161         powerpc/power5+/fpu folders.
53162         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53165 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53167         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53169 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53171         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53172         additions to variable.
53173         [$(config-machine) = x86_64] (modules-names): Likewise.
53174         ($(objpfx)tst-audit3): Remove dependency.
53175         ($(objpfx)tst-audit3.out): Likewise.
53176         ($(objpfx)tst-audit4): Likewise.
53177         ($(objpfx)tst-audit4.out): Likewise.
53178         ($(objpfx)tst-audit5): Likewise.
53179         ($(objpfx)tst-audit5.out): Likewise.
53180         ($(objpfx)tst-audit6): Likewise.
53181         ($(objpfx)tst-audit6.out): Likewise.
53182         ($(objpfx)tst-audit7): Likewise.
53183         ($(objpfx)tst-audit7.out): Likewise.
53184         (tst-audit3-ENV): Remove variable.
53185         (tst-audit4-ENV): Likewise.
53186         (tst-audit5-ENV): Likewise.
53187         (tst-audit6-ENV): Likewise.
53188         (tst-audit7-ENV): Likewise.
53189         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53190         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53191         addition to variable.
53192         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53193         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53194         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53195         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53196         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53197         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53198         tst-audit3, tst-audit4 and tst-audit5.
53199         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53200         tst-audit6 and tst-audit7.
53201         [$(subdir) = elf] (modules-names): Add audit modules for those
53202         tests.
53203         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53204         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53205         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53206         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53207         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53208         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53209         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53210         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53211         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53212         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53213         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53214         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53215         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53216         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53217         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53218         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53219         Likewise.
53220         [$(subdir) = elf && $(config-cflags-avx) = yes]
53221         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53222         [$(subdir) = elf && $(config-cflags-avx) = yes]
53223         (CFLAGS-tst-auditmod4a.c): Likewise.
53224         [$(subdir) = elf && $(config-cflags-avx) = yes]
53225         (CFLAGS-tst-auditmod4b.c): Likewise.
53226         [$(subdir) = elf && $(config-cflags-avx) = yes]
53227         (CFLAGS-tst-auditmod6b.c): Likewise.
53228         [$(subdir) = elf && $(config-cflags-avx) = yes]
53229         (CFLAGS-tst-auditmod6c.c): Likewise.
53230         [$(subdir) = elf && $(config-cflags-avx) = yes]
53231         (CFLAGS-tst-auditmod7b.c): Likewise.
53232         * elf/tst-audit3.c: Move to ...
53233         * sysdeps/x86_64/tst-audit3.c: ... here.
53234         * elf/tst-audit4.c: Move to ...
53235         * sysdeps/x86_64/tst-audit4.c: ... here.
53236         * elf/tst-audit5.c: Move to ...
53237         * sysdeps/x86_64/tst-audit5.c: ... here.
53238         * elf/tst-audit6.c: Move to ...
53239         * sysdeps/x86_64/tst-audit6.c: ... here.
53240         * elf/tst-audit7.c: Move to ...
53241         * sysdeps/x86_64/tst-audit7.c: ... here.
53242         * elf/tst-auditmod3a.c: Move to ...
53243         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53244         * elf/tst-auditmod3b.c: Move to ...
53245         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53246         * elf/tst-auditmod4a.c: Move to ...
53247         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53248         * elf/tst-auditmod4b.c: Move to ...
53249         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53250         * elf/tst-auditmod5a.c: Move to ...
53251         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53252         * elf/tst-auditmod5b.c: Move to ...
53253         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53254         * elf/tst-auditmod6a.c: Move to ...
53255         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53256         * elf/tst-auditmod6b.c: Move to ...
53257         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53258         * elf/tst-auditmod6c.c: Move to ...
53259         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53260         * elf/tst-auditmod7a.c: Move to ...
53261         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53262         * elf/tst-auditmod7b.c: Move to ...
53263         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53265 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53267         [BZ #15366]
53268         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53269         define unconditionally.
53270         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53271         define unconditionally.
53272         (INT8_C, INT16_C, etc.): Likewise.
53274 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53276         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53277         __ehdr_start with hidden visibility.
53279         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53281 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53283         * math/libm-test.inc (cos_test): Use accurate hex constants.
53284         (sincost_test): Likewise.
53286 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53288         * math/libm-test.inc (catan_test): Add more tests.
53289         (catanh_test): Likewise.
53291         * math/s_catanf.c (__catanf): Use suffixed floating-point
53292         constants.
53293         * math/s_catanhf.c (__catanhf): Likewise.
53294         * math/s_catanhl.c (__catanhl): Likewise.
53295         * math/s_catanl.c (__catanl): Likewise.
53297         [BZ #15394]
53298         * math/s_catan.c (__catan): Calculate imaginary part of result
53299         with log1p not log unless computing log of number close to 0.
53300         * math/s_catanf.c (__catanf): Likewise.
53301         * math/s_catanl.c (__catanl): Likewise.
53302         * math/s_catanh.c (__catanh): Calculate real part of result with
53303         log1p not log unless computing log of number close to 0.
53304         * math/s_catanhf.c (__catanhf): Likewise.
53305         * math/s_catanhl.c (__catanhl): Likewise.
53306         * math/libm-test.inc (catan_test): Add more tests.
53307         (catanh_test): Likewise.
53308         * sysdeps/i386/fpu/libm-test-ulps: Update.
53309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53311 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53313         * benchtests/Makefile: Mention files in which fast and slow
53314         paths of math functions are implemented.
53316 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53318         * sysdeps/posix/timespec_get.c: New file.
53320 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53322         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53323         POWER.
53324         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53325         for POWER.
53326         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53327         powerpc/power5/fpu folders.
53328         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53329         * benchtests/Makefile: Add modf testcase.
53330         * benchtests/bench-modf.c: New file: Benchmark test for mo
53332 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53334         [BZ #14888]
53335         * time/Makefile (tests): Add tst-strptime-whitespace.
53336         * time/strptime_l.c (get_number): Use ISSPACE.
53337         (__strptime_internal): Likewise.
53338         * time/tst-strptime-whitespace.c: New test case.
53340 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53342         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53343         member.
53344         (_nss_files_init): Set it here.
53346 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53348         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53349         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53350         unsigned.
53352 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53354         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53356 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53358         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53359         size just once.
53361 2013-04-21  David S. Miller  <davem@davemloft.net>
53363         * po/ru.po: Update Russion translation from translation project.
53365 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53367         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53368         and setfsgid.
53370 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53372         * configure.in: Remove i386 configure warning. Remove i386 case.
53373         * configure: Regenerate.
53374         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53375         Add example to error message.
53376         * sysdeps/i386/configure: Regenerate.
53378 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53380         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53381         slowtan.
53382         * benchtests/cos-inputs: New file.
53383         * benchtests/slowcos-inputs: New file.
53384         * benchtests/slowcos.c: New file.
53385         * benchtests/slowtan-inputs: New file.
53386         * benchtests/slowtan.c: New file.
53387         * benchtests/tan-inputs: New file.
53389 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53391         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53392         considered kosher.
53394 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53396         * benchtests/Makefile: Include cppflags-iterator.mk to add
53397         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53399         * Makefile.in (bench-clean): New target.
53400         * benchtests/Makefile (bench-clean): Likewise.
53402 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53404         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53406 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53408         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53410 2013-04-15  Andreas Schwab  <schwab@suse.de>
53412         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53413         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53414         * nscd/pwdcache.c (cache_addpw): Likewise.
53415         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53416         more than recsize.
53418 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53420         * benchtests/Makefile (bench): Write all output to
53421         bench-out.tmp together.
53423 2013-04-15  Andreas Schwab  <schwab@suse.de>
53425         * nscd/nscd.c (main): Don't fork again after closing files.
53427 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53429         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53431         * benchtests/Rules (bench-deps): Collect dependencies into a
53432         single variable.  Add Makefile to dependencies.
53433         ($(objpfx)bench-%.c): Depend on bench-deps.
53435 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53436             Xavier Roche  <roche+kml2@exalead.com>
53438         [BZ #15361]
53439         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53440         just that it's a file descriptor.
53441         * manual/llio.texi (Synchronizing AIO Operations): Update description
53442         for EBADF error from aio_fsync.
53444 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53446         * Rules (bench): Move target definition...
53447         * benchtests/Makefile: ... here.
53449 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53451         * math/libm-test.inc (cos_test): Fix PI/2 test.
53452         (sincos_test): Likewise.
53453         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53454         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53456 2013-04-11  Andreas Schwab  <schwab@suse.de>
53458         [BZ #13988]
53459         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53460         accept exponent character only when digits were seen.
53461         * stdio-common/Makefile (tests): Add bug26.
53462         * stdio-common/bug26.c: New file.
53464         [BZ #14293]
53465         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53466         non-freeable.
53468 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53470         * Makeconfig (rtld-prefix): Define built linker prefix.
53471         * Rules (run-bench): Use it.
53472         * math/Makefile (run-regen-ulps): Likewise.
53474         * Rules (bench): Remove eval.
53476 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53477             Roland McGrath  <roland@hack.frob.com>
53478             Ondrej Bilka  <neleai@seznam.cz>
53480         [BZ #15346]
53481         * time/getdate.c: Include ctype.h and alloca.h.
53482         (__getdate_r): Trim leading and trailing spaces of input.
53483         * time/tst-getdate.c (tests): Add tests with leading and
53484         trailing spaces.
53486 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53488         [BZ #14280]
53489         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53490         when computing value.
53492 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53494         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53495         Use testrun.sh to run libm tests.
53497         [BZ #15309]
53498         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53500 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53502         [BZ #15264]
53503         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53505 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53507         * Makefile.in (regen-ulps): New target.
53508         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53509         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53510         [ifneq (no,$(PERL)] (regen-ulps): New target.
53511         [ifeq (no,$(PERL)] (regen-ulps): New target.
53512         * math/libm-test.inc (ulps_file_name): Define.
53513         (output_dir): New variable.
53514         (options): Add "output-dir" option.
53515         (parse_opt): Handle 'o' case.
53516         (main): If output_dir is non-NULL use it as a prefix
53517         otherwise use "".
53518         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53520 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53522         [BZ #10060, #10062]
53523         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53524         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53525         fail configure if __sync_val_compare_and_swap is not inlined.
53526         * sysdeps/i386/configure: Regenerate.
53527         * configure.in: Build for i686 when configured for i386.
53528         * configure: Regenerate.
53529         * README: Remove i386 reference.
53531 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53533         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53534         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53536 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53538         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53539         (lmsnanval): New variables.
53540         (F): Add conversion tests.
53541         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53542         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53544         * stdio-common/tstdiomisc.c (F): Properly collect individual
53545         tests' results.
53547         [BZ #14686, #15336]
53548         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53549         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53550         Instead, use input NaN values or generate a qNaN by arithmetic
53551         operation.  Also fix bugs to comply with the standard.
53552         * math/libm-test.inc (remainder_test): Add more tests.
53554         [BZ #15335, #15342]
53555         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53556         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53557         input NaN values or generate a qNaN by arithmetic operation.
53559         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53560         unreachable code.
53562         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53563         definitions.
53565 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53567         [BZ #14478]
53568         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53569         underflowed result.
53570         * math/s_cexpf.c (__cexpf): Likewise.
53571         * math/s_cexpl.c (__cexpl): Likewise.
53572         * math/libm-test.inc (cexp_test): Add more tests.
53574 2013-04-03  Andreas Schwab  <schwab@suse.de>
53576         [BZ #15330]
53577         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53578         order arrays from heap if bigger than alloca cutoff.
53580 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53582         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53583         (SNAN_TESTS_double): Refer to GCC PR56831.
53584         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53585         GCC PR56828.
53587 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53589         * Rules (bench): Move bench.out after the run is complete.
53591         * Rules (bench): Echo currently running benchmark.
53593         * benchtests/Makefile (bench): Add atan and slowatan.
53594         * benchtests/atan-inputs: New file.
53595         * benchtests/slowatan-inputs: New file.
53596         * benchtests/slowatan.c: New file.
53598         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53599         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53600         its value.
53602         [BZ #15305]
53603         * sysdeps/unix/sysv/linux/kernel-features.h
53604         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53605         __ASSUME_XFS_RESTRICTED_CHOWN.
53606         * sysdeps/unix/sysv/linux/pathconf.c
53607         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53608         Save and restore errno.
53610 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53612         [BZ #15327]
53613         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53614         arguments using __kernel_casinh.
53615         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53616         arguments using __kernel_casinhf.
53617         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53618         arguments using __kernel_casinhl.
53619         * math/libm-test.inc (cacosh_test): Add more tests.
53620         * sysdeps/i386/fpu/libm-test-ulps: Update.
53621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53623 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53625         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53628         * bench/Makefile (bench): Add sin and slowsin.
53629         * benchtests/sin-inputs: New file.
53630         * benchtests/slowsin-inputs: New file.
53631         * benchtests/slowsin.c: New file.
53633         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53634         (bench): Add slowexp and slowpow.
53635         (exp-ITER): Increase iterations.
53636         (pow-ITER): Likewise.
53637         * benchtests/exp-inputs: Change input.
53638         * benchtests/pow-inputs: Likewise.
53639         * benchtests/slowexp-inputs: New file.
53640         * benchtests/slowexp.c: New file.
53641         * benchtests/slowpow-inputs: New file.
53642         * benchtests/slowpow.c: New file.
53644 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53646         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53647         instructions.
53648         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53649         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53650         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53651         * benchtests/Makefile: Add rint benchtest.
53652         * benchtests/rint-inputs: Input for rint benchtest.
53654 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53656         * Versions.def (libm): Add GLIBC_2.18.
53657         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53658         hidden libm prototypes.
53659         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53660         * math/Makefile (libm-calls): Add s_issignaling.
53661         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53662         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53663         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53664         declaration.
53665         * math/math.h [__USE_GNU] (issignaling): New macro.
53666         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53667         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53668         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53669         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53672         * manual/arith.texi (issignaling): New section.
53673         * manual/libm-err-tab.pl (@all_functions): Update comment.
53674         * math/gen-libm-test.pl (parse_args): Apply special handling for
53675         issignaling.
53676         * math/libm-test.inc (print_float, issignaling_test): New
53677         functions.
53678         (check_float_internal): Add issignaling checks.
53679         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53680         default definition.
53681         * sysdeps/powerpc/math-tests.h: New file.
53682         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53683         tests.
53684         * math/test-snan.c (TEST_FUNC): Likewise.
53686 2013-03-30  David S. Miller  <davem@davemloft.net>
53688         * po/de.po: Update from translation team.
53690 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53692         [BZ #10357]
53693         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53694         imaginary part less than 1.0 and real part less than 0.5
53695         specially.
53696         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53697         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53698         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53699         (cacos_test): Add more tests.
53700         (casin_test): Likewise.
53701         (casinh_test): Likewise.
53702         * sysdeps/i386/fpu/libm-test-ulps: Update.
53703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53705 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53707         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53708         ONE with its value.
53710         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53711         (__pow_mp): Replace ONE and MONE with their values.
53712         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53713         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53714         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53715         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53716         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53717         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53719         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53721         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53722         (__pow_mp): Replace ZERO and MZERO with their values.
53723         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53724         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53725         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53727         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53728         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53729         (__sqr): Likewise.
53731         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53733         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53735 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53737         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53738         Declare with __attribute__ ((weak)).
53739         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53740         Call __call_tls_dtors only if it's not NULL.
53742 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53744         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53745         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53746         magic __ehdr_start linker symbol if it's defined.
53747         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53748         them up here if it was already done.
53750         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53751         (_dl_aux_init): Use const in cast when setting it.
53752         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53753         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53754         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53756         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53757         Declare them here.
53758         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53759         * csu/libc-tls.c: Nor here.
53760         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53762         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53763         (__libc_message): Never call vsyslog.
53765 2013-03-28  Alan Modra  <amodra@gmail.com>
53767         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53768         Define as empty.
53769         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53770         Likewise.
53772 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53774         [BZ #15214]
53775         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53776         underflow.
53777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53779 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53781         [BZ #15304]
53782         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53783         Don't add gid passed as argument.
53785         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53787 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53789         [BZ #15307]
53790         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53791         imaginary part between 1.0 and 1.5 and real part less than 0.5
53792         specially.
53793         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53794         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53795         * math/libm-test.inc (cacos_test): Add more tests.
53796         (casin_test): Likewise.
53797         (casinh_test): Likewise.
53798         * sysdeps/i386/fpu/libm-test-ulps: Update.
53799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53801 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53803         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53804         constants.
53805         (norm): Likewise.
53806         (denorm): Likewise.
53807         (__dbl_mp): Likewise.
53808         (add_magnitudes): Likewise.
53809         (sub_magnitudes): Likewise.
53810         (__add): Likewise.
53811         (__sub): Likewise.
53812         (__mul): Likewise.
53813         (__sqr): Likewise.
53814         (__inv): Likewise.
53815         (__dvd): Likewise.
53817         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53818         commented code.
53819         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53820         (__dubcos): Likewise.
53821         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53822         (__ieee754_acos): Likewise.
53823         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53824         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53825         (__exp1): Likewise.
53826         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53828         (log1): Likewise.
53829         (my_log2): Likewise.
53830         (checkint): Likewise.
53831         * sysdeps/ieee754/dbl-64/e_remainder.c
53832         (__ieee754_remainder): Likewise.
53833         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53835         (bsloww): Likewise.
53836         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53838         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53839         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53840         MANTISSA_STORE_T to store computations on mantissa.  Use
53841         macros for rounding and division.
53842         (denorm): Likewise.
53843         (__dbl_mp): Likewise.
53844         (add_magnitudes): Likewise.
53845         (sub_magnitudes): Likewise.
53846         (__mul): Likewise.
53847         (__sqr): Likewise.
53848         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53849         powers of two in terms of TWOPOW macro.
53850         (mp_no): Make type of mantissa as MANTISSA_T.
53851         [!RADIXI]: Define RADIXI.
53852         [!TWO52]: Define TWO52.
53853         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53855 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53857         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53858         llroundl symbol when building for PPC32.
53860 2013-03-24  Mark H Weaver  <mhw@netris.org>
53862         * manual/arith.texi (Normalization Functions): Fix prototypes for
53863         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53865 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53867         [BZ #13889]
53868         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53869         high value to check if expl overflow.
53870         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53871         to check for underflow and overflow.
53872         * math/libm-test.inc: Add exp test.
53874 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53876         [BZ #11120]
53877         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53878         with NOT_IN_libc.
53880 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53882         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53883         symbol.
53885 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53887         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53888         wrap blocks consisting of several statements.
53890         * sysdeps/generic/math-tests.h: New file.
53891         * sysdeps/i386/fpu/math-tests.h: Likewise.
53892         * math/test-snan.c: Include it.
53893         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53895 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53897         [BZ #15285]
53898         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53899         (__ieee754_j0l): Do not improve calculations using cos of twice
53900         input for inputs above LDBL_MAX / 2.0L.
53901         (__ieee754_y0l): Likewise.
53902         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53903         (__ieee754_j1l): Do not improve calculations using cos of twice
53904         input for inputs above LDBL_MAX / 2.0L.
53905         (__ieee754_y1l): Likewise.
53906         * math/libm-test.inc (j0_test): Add another test.
53907         (j1_test): Likewise.
53908         (y0_test): Likewise.
53909         (y1_test): Likewise.
53910         * sysdeps/i386/fpu/libm-test-ulps: Update.
53912 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53914         * Rules ($(objpfx)bench-%.c): Include code from a C source
53915         file.
53917 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53919         [BZ #15287]
53920         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53921         imaginary part 1.0 and real part less than 0.5 specially.
53922         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53923         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53924         * math/libm-test.inc (cacos_test): Add more tests.
53925         (casin_test): Likewise.
53926         (casinh_test): Likewise.
53927         * sysdeps/i386/fpu/libm-test-ulps: Update.
53928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53930 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53932         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53933         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53935 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53937         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53938         * config.make.in (config-cflags-sse4): Remove variable.
53939         (config-cflags-avx): Likewise.
53940         (config-cflags-sse2avx): Likewise.
53941         (config-cflags-novzeroupper): Likewise.
53942         (config-asflags-i686): Likewise.
53943         (have-mfma4): Likewise.
53944         (have-as-vis3): Likewise.
53945         (MIG): Likewise.
53946         * configure.in (MIG): Do not AC_SUBST.
53947         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53948         (libc_cv_cc_sse4): Do not AC_SUBST.
53949         (libc_cv_cc_avx): Likewise.
53950         (libc_cv_cc_sse2avx): Likewise.
53951         (libc_cv_cc_novzeroupper): Likewise.
53952         (libc_cv_cc_fma4): Likewise.
53953         (libc_cv_as_i686): Likewise.
53954         (libc_cv_sparc_as_vis3): Likewise.
53955         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53956         LIBC_CONFIG_VAR.
53957         (config-asflags-i686): Likewise.
53958         (config-cflags-avx): Likewise.
53959         (config-cflags-sse2avx): Likewise.
53960         (have-mfma4): Likewise.
53961         (config-cflags-novzeroupper): Likewise.
53962         * sysdeps/mach/configure.in (MIG): Likewise.
53963         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53964         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53965         LIBC_CONFIG_VAR.
53966         (config-cflags-avx): Likewise.
53967         (config-cflags-sse2avx): Likewise.
53968         (have-mfma4): Likewise.
53969         (config-cflags-novzeroupper): Likewise.
53970         * configure: Regenerated.
53971         * sysdeps/i386/configure: Likewise.
53972         * sysdeps/mach/configure: Likewise.
53973         * sysdeps/sparc/configure: Likewise.
53974         * sysdeps/x86_64/configure: Likewise.
53976 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53978         [BZ #14812]
53979         * locale/programs/localedef.c (options): Put N_ translation marker
53980         on argument names, not just descriptions.
53982 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53984         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53986 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53988         [BZ #14176]
53989         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53991 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53993         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53994         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53995         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53996         [!BEFORE_ABORT] (before_abort): New function.
53997         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53998         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53999         (writev_for_fatal): New function.
54000         (WRITEV_FOR_FATAL): New macro; call that.
54001         (backtrace_and_maps): New function.
54002         (BEFORE_ABORT): New macro; call that.
54003         (struct str_list): Type removed.
54004         (__libc_message, __libc_fatal): Functions removed.
54005         Include <sysdeps/posix/libc_fatal.c> instead.
54007 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54009         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54010         constants.
54011         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54012         double constants.
54014 2013-03-19  Andreas Schwab  <schwab@suse.de>
54016         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54017         * sysdeps/gnu/configure: Regenerate.
54019         * configure.in: Substitute libc_cv_rtlddir.
54020         * configure: Regenerate.
54021         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54022         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54023         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54024         * elf/Makefile (install-others, CFLAGS-interp.c)
54025         (ldso_install, common-ldd-rewrite): Likewise.
54026         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54027         $(inst_slibdir)/$(rtld-installed-name).
54028         * scripts/rellns-sh: Add -p option.
54029         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54030         for source.
54032 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54034         * manual/nptl.texi: Renamed to ...
54035         * manual/threads.texi: ... this.
54036         * manual/Makefile (chapters): Update.
54038 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54040         [BZ #14812]
54041         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54042         on argument names, not just descriptions.
54043         * malloc/memusagestat.c (options): Likewise.
54044         * nss/getent.c (options): Likewise.
54046 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54048         [BZ #14812]
54049         * iconv/iconv_prog.c (options): Put N_ translation marker
54050         on argument names, not just descriptions.
54051         * iconv/iconvconfig.c (options): Likewise.
54053 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54055         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54056         implementation which is faster on all x86_64 architectures.
54057         Tested on AMD, Intel Nehalem, SNB, IVB.
54058         * sysdeps/x86_64/strnlen.S: Likewise.
54060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54061         Remove all multiarch strlen and strnlen versions.
54062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54063         Remove strlen and strnlen related parts.
54065         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54066         Inline strlen part.
54067         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54069         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54070         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54071         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54072         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54073         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54074         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54076 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54078         * manual/memory.texi (Malloc Tunable Parameters):
54079         Sort parameters alphabetically. Add comments for missing entries.
54081 2013-03-17  David S. Miller  <davem@davemloft.net>
54083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54085 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54087         [BZ #15283]
54088         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54089         for arguments at most half maximum finite value.
54090         * math/libm-test.inc (j0_test): Add more tests.
54091         (j1_test): Likewise.
54092         (y0_test): Likewise.
54093         (y1_test): Likewise.
54094         * sysdeps/i386/fpu/libm-test-ulps: Update.
54095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54097         [BZ #14155]
54098         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54099         1 / x and functions P and Q for arguments above 0x1p256L.
54100         (__ieee754_y0l): Likewise.
54101         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54102         (__ieee754_y1l): Likewise.
54103         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54104         (j1_test): Likewise.
54105         (y0_test): Likewise.
54106         (y1_test): Likewise.
54108 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54110         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54111         variable.
54113 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54115         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54116         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54117         zero since it's initialized to EXEC_PAGESIZE.
54119         * sysdeps/unix/sysv/linux/ldsodefs.h
54120         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54121         * sysdeps/generic/ldsodefs.h: ... here.
54123 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54125         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54127         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54128         math/test-snan.c.
54129         * math/test-snan.c: Renamed from
54130         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54131         * math/Makefile (tests): Add test-snan.
54132         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54133         test-powerpc-snan.
54135         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54136         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54137         functions.
54138         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54139         __builtin_nan family of functions.
54140         * math/libm-test.inc (initialize): Initialize qnan_value with
54141         __builtin_nan family of functions.
54142         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54143         Remove variables.
54144         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54145         Remove functions.
54146         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54147         storage class.  Initialize qNaN_var and sNaN_var with
54148         __builtin_nan and __builtin_nans families of functions,
54149         respectively.
54151         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54152         (sqrt_test): Remove duplicate test with qNaN input.
54153         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54154         (round_test, signbit_test, significand_test): Note missing +/-Inf
54155         as well as qNaN tests.
54157         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54158         qNaN_var.  Fix a few strings, too.
54159         * math/libm-test.inc (nan_value): Rename to qnan_value.
54160         * math/gen-libm-test.pl (%beautify): Adjust to that.
54161         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54162         * math/test-misc.c (main): Likewise.
54163         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54164         to __qnan_bytes, and __qnan_union, respectively.
54165         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54166         Likewise.
54167         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54168         and lqnanval, respectively.
54169         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54170         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54171         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54172         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54174         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54175         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54176         doubles.
54178         * math/test-misc.c (main): Fix copy'n'pastos.
54179         * misc/tst-efgcvt.c (special): Likewise.
54181         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54182         Remove declarations.
54184 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54186         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54187         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54188         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54189         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54191 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54193         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54194         macro to return vdso values correctly in IFUNC implementations.
54195         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54196         Optimization by using IFUNC.
54198 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54199             Richard Henderson  <rth@redhat.com>
54200             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54202         * Makefile.in (bench): New target.
54203         * NEWS: Mention the benchmark framework.
54204         * Rules (bench): Likewise.
54205         (binaries-bench): Generate binaries for functions to
54206         benchmark.
54207         * benchtests/Makefile: New makefile for benchmark tests.
54208         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54209         programs.
54210         * benchtests/exp-inputs: New input file for EXP function.
54211         * benchtests/pow-inputs: New input file for POW function.
54212         * scripts/bench.pl: New script to generate source files for
54213         benchmark programs.
54215 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54217         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54218         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54219         computations on mantissa.  Use macros for rounding and
54220         division.
54221         (denorm): Likewise.
54222         (__dbl_mp): Likewise.
54223         (add_magnitudes): Likewise.
54224         (sub_magnitudes): Likewise.
54225         (__mul): Likewise.
54226         (__sqr): Likewise.
54227         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54228         powers of two in terms of TWOPOW macro.
54229         (mp_no): Make type of mantissa as MANTISSA_T.
54230         [!RADIXI]: Define RADIXI.
54231         [!TWO52]: Define TWO52.
54232         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54234         * manual/nptl.texi (cindex): Modify threads to pthreads.
54236 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54238         * sysdeps/x86_64/preconfigure: Regenerated.
54240 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54242         [BZ #14155]
54243         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54244         0x1p28 and above.
54245         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54246         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54247         0x1p28 and above.
54248         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54249         * math/libm-test.inc (j0_test): Do not allow one spurious
54250         underflow exception.
54251         (y1_test): Likewise.
54253 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54255         * manual/Makefile (chapters): Add nptl.
54256         * manual/debug.texi (Debugging Support): Add link to Threads
54257         chapter.
54258         * manual/nptl.texi: New file.
54260         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54262 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54264         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54265         for non-NULL pointer before the memory validity test. Pointed
54266         out by Holger Brunck <holger.brunck@keymile.com>.
54268 2013-03-13  Andreas Schwab  <schwab@suse.de>
54270         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54271         instead of .os.
54273 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54275         * timezone/zic.c: Update from tzcode 2013b.
54277 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54279         * manual/install.texi (Configuring and compiling):
54280         Mention i686 and i586.
54281         * INSTALL: Regenerate.
54283 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54285         * sysdeps/init_array/elf-init.c: New file.
54286         * csu/elf-init.c
54287         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54288         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54290         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54291         __gmon_start__ as global, but as static with a .preinit_array pointer.
54292         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54293         * sysdeps/init_array/crti.S: New file, empty except for comments.
54294         * sysdeps/init_array/crtn.S: Likewise.
54296 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54298         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54299         definining bcopy.
54300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54301         Remove Prefer_SSE_for_memop.
54302         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54303         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54304         HAS_PREFER_SSE_FOR_MEMOP.
54305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54306         memset-x86-64.
54307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54308         Remove bzero, memset ifunc support.
54309         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54310         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54311         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54312         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54314 2013-03-11  Andreas Schwab  <schwab@suse.de>
54316         [BZ #15234]
54317         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54318         by SHLIB_COMPAT.
54319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54320         (GLIBC_2.16): Remove pthread_atfork.
54322 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54324         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54325         (ptestcases.h): Likewise.
54327 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54329         * Makeconfig ($(common-objpfx)config.status): Depend on
54330         sysdeps/*/preconfigure{,.in} too.
54332 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54334         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54335         (__free_hook): Use void * instead of __malloc_ptr_t.
54336         (__malloc_hook): Likewise.
54337         (__realloc_hook): Likewise.
54338         (__memalign_hook): Likewise.
54339         (__after_morecore_hook): Likewise.
54340         * malloc/arena.c (save_malloc_hook): Likewise.
54341         (save_free_hook): Likewise.
54342         * malloc/hooks.c (malloc_hook_ini): Likewise.
54343         (realloc_hook_ini): Likewise.
54344         (memalign_hook_ini): Likewise.
54345         * malloc/malloc.c (malloc_hook_ini): Likewise.
54346         (realloc_hook_ini): Likewise.
54347         (memalign_hook_ini): Likewise.
54348         (__free_hook): Likewise.
54349         (__malloc_hook): Likewise.
54350         (__realloc_hook): Likewise.
54351         (__memalign_hook): Likewise.
54352         (__libc_malloc): Likewise.
54353         (__libc_free): Likewise.
54354         (__libc_realloc): Likewise.
54355         (__libc_memalign): Likewise.
54356         (__libc_valloc): Likewise.
54357         (__libc_pvalloc): Likewise.
54358         (__libc_calloc): Likewise.
54359         (__posix_memalign): Likewise.
54360         * malloc/morecore.c (__sbrk): Likewise.
54361         (__default_morecore): Likewise.
54363         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54365         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54366         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54367         __malloc_ptrdiff_t.
54369         * malloc/malloc.h (__malloc_size_t): Remove macro.
54370         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54371         __malloc_size_t.
54372         (old_memalign_hook): Likewise.
54373         (old_realloc_hook): Likewise.
54374         (struct hdr): Likewise.
54375         (flood): Likewise.
54376         (mallochook): Likewise.
54377         (memalignhook): Likewise.
54378         (reallochook): Likewise.
54379         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54380         (tr_old_realloc_hook): Likewise.
54381         (tr_old_memalign_hook): Likewise.
54382         (tr_mallochook): Likewise.
54383         (tr_reallochook): Likewise.
54384         (tr_memalignhook): Likewise.
54386 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54388         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54389         default_ldbl_pack and using as default implementation.
54390         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54391         implementation.
54392         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54393         redundant definition.
54394         (ldbl_insert_mantissa): Likewise.
54395         (ldbl_canonicalize): Likewise.
54396         (ldbl_nearbyint): Likewise.
54397         (ldbl_pack): Rename to ldbl_pack_ppc.
54398         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54399         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54400         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54402 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54405         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54406         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54407         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54409         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54410         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54411         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54413 2013-03-07  Andreas Jaeger  <aj@suse.de>
54415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54416         bits/mman-linux.h.
54418 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54420         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54421         Include mpa.h and declare __MPEXP.
54422         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54423         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54424         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54425         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54426         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54427         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54428         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54430         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54431         (__slowpow): Use long double EXPL and LOGL functions to
54432         compute POW.
54433         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54434         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54435         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54436         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54437         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54438         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54441         intermediate variable to calculate exponent.
54442         (__sqr): Likewise.
54443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54444         Likewise.
54445         (__sqr): Likewise.
54447         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54448         [!NO__SQR]: Define __sqr.
54449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54450         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54451         sysdeps/ieee754/dbl-64/mpa.c.
54452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54454         [BZ #12723]
54455         * posix/Makefile (tests): Add tst-pathconf.
54456         * posix/tst-pathconf.c: New test case.
54457         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54458         _PC_PIPE_BUF.
54459         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54461 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54463         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54465 2013-03-06  Andreas Jaeger  <aj@suse.de>
54467         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54468         definition via __MAP_ANONYMOUS.
54470         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54471         it's not part of Linux headers.
54473         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54474         (MAP_HUGE_MASK): Define.
54476         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54477         Define.
54478         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54479         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54480         Define.
54481         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54482         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54483         Define.
54484         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54485         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54486         Define.
54487         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54489         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54490         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54491         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54492         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54493         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54494         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54496         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54497         Handle f2fs.
54499         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54500         Handle f2fs and efivarfs.
54502         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54503         f2fs.
54505         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54506         (EFIVARFS_MAGIC): Add.
54507         (F2FS_LINK_MAX): Add.
54509 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54511         * stdio-common/vfprintf.c: Replace __builtin_expect with
54512         __glibc_unlikely.
54514 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54516         [BZ #13550]
54517         * sysdeps/generic/bp-sym.h: Remove file.
54518         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54519         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54520         <bp-sym.h> and <bp-asm.h>.
54521         (__longjmp): Don't use BP_SYM.
54522         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54523         and <bp-asm.h>.
54524         (memcpy): Don't use BP_SYM.
54525         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54526         <bp-sym.h> and <bp-asm.h>.
54527         (memcpy): Don't use BP_SYM.
54528         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54529         <bp-asm.h>.
54530         (memcpy): Don't use BP_SYM.
54531         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54532         <bp-asm.h>.
54533         (memset): Don't use BP_SYM.
54534         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54535         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54536         (__bzero): Don't use BP_SYM.
54537         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54538         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54540         <bp-sym.h> and <bp-asm.h>.
54541         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54542         pointers.
54543         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54544         <bp-sym.h> and <bp-asm.h>.
54545         (memcpy): Don't use BP_SYM.
54546         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54547         <bp-sym.h> and <bp-asm.h>.
54548         (memset): Don't use BP_SYM.
54549         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54550         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54551         (__bzero): Don't use BP_SYM.
54552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54554         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54555         <bp-sym.h> and <bp-asm.h>.
54556         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54557         pointers.
54558         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54559         <bp-sym.h> and <bp-asm.h>.
54560         (memcpy): Don't use BP_SYM.
54561         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54562         <bp-sym.h> and <bp-asm.h>.
54563         (memset): Don't use BP_SYM.
54564         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54565         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54566         (__bzero): Don't use BP_SYM.
54567         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54568         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54569         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54570         <bp-sym.h> and <bp-asm.h>.
54571         (__memchr): Don't use BP_SYM.
54572         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54573         <bp-sym.h> and <bp-asm.h>.
54574         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54575         pointers.
54576         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54577         <bp-sym.h> and <bp-asm.h>.
54578         (memcpy): Don't use BP_SYM.
54579         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54580         <bp-sym.h> and <bp-asm.h>.
54581         (__mempcpy): Don't use BP_SYM.
54582         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54583         <bp-sym.h> and <bp-asm.h>.
54584         (__memrchr): Don't use BP_SYM.
54585         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54586         <bp-sym.h> and <bp-asm.h>.
54587         (memset): Don't use BP_SYM.
54588         (__bzero): Likewise.
54589         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54590         <bp-sym.h> and <bp-asm.h>.
54591         (__rawmemchr): Don't use BP_SYM.
54592         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54593         <bp-sym.h> and <bp-asm.h>.
54594         (__STRCMP): Don't use BP_SYM.
54595         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54596         <bp-sym.h> and <bp-asm.h>.
54597         (strchr): Don't use BP_SYM.
54598         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54599         <bp-sym.h> and <bp-asm.h>.
54600         (__strchrnul): Don't use BP_SYM.
54601         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54602         <bp-sym.h> and <bp-asm.h>.
54603         (strlen): Don't use BP_SYM.
54604         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54605         <bp-sym.h> and <bp-asm.h>.
54606         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54607         pointers.
54608         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54609         <bp-sym.h> and <bp-asm.h>.
54610         (__strnlen): Don't use BP_SYM.
54611         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54612         <bp-sym.h> and <bp-asm.h>.
54613         (__GI__setjmp): Don't use BP_SYM.
54614         (_setjmp): Likewise.
54615         (__sigsetjmp): Likewise.
54616         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54617         (L(start_addresses)): Don't use BP_SYM.
54618         (_start): Likewise.
54619         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54620         <bp-asm.h>.
54621         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54622         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54623         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54624         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54625         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54626         <bp-asm.h>.
54627         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54628         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54629         about bounded pointers.
54630         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54631         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54632         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54633         <bp-asm.h>.
54634         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54635         about bounded pointers.  Remove GKM FIXME comments.
54636         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54637         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54638         <bp-asm.h>.
54639         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54640         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54641         Remove GKM FIXME comments.
54642         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54643         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54644         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54645         <bp-asm.h>.
54646         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54647         about bounded pointers.  Remove GKM FIXME comment.
54648         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54649         and <bp-asm.h>.
54650         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54651         pointers.
54652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54653         <bp-sym.h> and <bp-asm.h>.
54654         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54656         <bp-sym.h> and <bp-asm.h>.
54657         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54658         comment.
54660 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54662         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54663         call free(NULL).
54665 2013-03-05  David S. Miller  <davem@davemloft.net>
54667         * po/es.po: Update from translation team.
54669 2013-03-05  Andreas Jaeger  <aj@suse.de>
54671         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54672         <bits/mman-linux.h>.
54673         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54674         is fine.
54675         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54676         <bits/mman-linux.h> to end of file.
54677         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54678         is fine.
54679         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54680         <bits/mman-linux.h> to end of file.
54681         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54682         is fine.
54683         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54684         <bits/mman-linux.h> to end of file.
54686         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54687         (MCL_CURRENT, MCL_FUTURE): Define here.
54689 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54691         [BZ #15232]
54692         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54693         attribute_hidden.
54694         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54696 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54698         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54699         fourth parameter needed for rt_sigprocmask syscall.
54700         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54701         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54702         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54703         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54704         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54705         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54707 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54709         [BZ #13550]
54710         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54711         comment about bounded pointers.
54712         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54713         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54715 2013-03-04  Andreas Jaeger  <aj@suse.de>
54717         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54718         common definitions.
54720         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54721         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54722         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54723         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54724         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54725         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54727 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54729         [BZ #15055]
54730         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54731         __ieee754_sqrl instead of __sqrl.
54733 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54735         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54736         * sysdeps/powerpc/fpu_control.h: ... here.
54737         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54738         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54739         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54740         * sysdeps/powerpc/bits/mathinline.h: ... here.
54742 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54744         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54745         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54746         to just [NEED_DL_SYSINFO_DSO].
54747         * elf/dl-support.c: Likewise.
54748         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54749         * elf/rtld.c (dl_main): Likewise.
54750         * elf/setup-vdso.h (setup_vdso): Likewise.
54751         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54752         * sysdeps/unix/sysv/linux/dl-sysdep.c
54753         (_dl_discover_osversion): Likewise.
54755 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54757         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54758         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54760 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54762         * NEWS: Mention libm performance improvements and non-x86 PI
54763         futex support.
54765         * csu/libc-start.c (__pthread_initialize_minimal): Change
54766         function arguments.
54767         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54769 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54771         [BZ #13550]
54772         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54773         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54774         <bp-sym.h> and <bp-asm.h>.
54775         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54776         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54777         and <bp-asm.h>.
54778         (memcpy): Don't use BP_SYM.
54779         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54780         <bp-asm.h>.
54781         (__mpn_add_n): Don't use BP_SYM.
54782         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54783         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54784         and <bp-asm.h>.
54785         (__mpn_addmul_1): Don't use BP_SYM.
54786         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54787         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54788         <bp-sym.h>.
54789         (_setjmp): Don't use BP_SYM.
54790         (__novmx_setjmp): Likewise.
54791         (__GI__setjmp): Likewise.
54792         (__vmx_setjmp): Likewise.
54793         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54794         <bp-sym.h>.
54795         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54796         (__bzero): Don't use BP_SYM.
54797         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54798         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54799         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54800         <bp-sym.h> and <bp-asm.h>.
54801         (memcpy): Don't use BP_SYM.
54802         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54803         <bp-sym.h> and <bp-asm.h>.
54804         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54805         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54806         <bp-sym.h> and <bp-asm.h>.
54807         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54808         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54809         <bp-asm.h>.
54810         (__mpn_lshift): Don't use BP_SYM.
54811         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54812         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54813         <bp-asm.h>.
54814         (memset): Don't use BP_SYM.
54815         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54816         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54817         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54818         <bp-asm.h>.
54819         (__mpn_mul_1): Don't use BP_SYM.
54820         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54821         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54822         <bp-sym.h> and <bp-asm.h>.
54823         (memcmp): Don't use BP_SYM.
54824         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54825         <bp-sym.h> and <bp-asm.h>.
54826         (memcpy): Don't use BP_SYM.
54827         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54828         <bp-sym.h> and <bp-asm.h>.
54829         (memset): Don't use BP_SYM.
54830         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54831         <bp-sym.h> and <bp-asm.h>.
54832         (strncmp): Don't use BP_SYM.
54833         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54834         <bp-sym.h> and <bp-asm.h>.
54835         (memcpy): Don't use BP_SYM.
54836         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54837         <bp-sym.h> and <bp-asm.h>.
54838         (memset): Don't use BP_SYM.
54839         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54840         <bp-sym.h> and <bp-asm.h>.
54841         (__memchr): Don't use BP_SYM.
54842         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54843         <bp-sym.h> and <bp-asm.h>.
54844         (memcmp): Don't use BP_SYM.
54845         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54846         <bp-sym.h> and <bp-asm.h>.
54847         (memcpy): Don't use BP_SYM.
54848         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54849         <bp-sym.h> and <bp-asm.h>.
54850         (__mempcpy): Don't use BP_SYM.
54851         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54852         <bp-sym.h> and <bp-asm.h>.
54853         (__memrchr): Don't use BP_SYM.
54854         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54855         <bp-sym.h> and <bp-asm.h>.
54856         (memset): Don't use BP_SYM.
54857         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54858         <bp-sym.h> and <bp-asm.h>.
54859         (__rawmemchr): Don't use BP_SYM.
54860         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54861         <bp-sym.h> and <bp-asm.h>.
54862         (__STRCMP): Don't use BP_SYM.
54863         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54864         <bp-sym.h> and <bp-asm.h>.
54865         (strchr): Don't use BP_SYM.
54866         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54867         <bp-sym.h> and <bp-asm.h>.
54868         (__strchrnul): Don't use BP_SYM.
54869         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54870         <bp-sym.h> and <bp-asm.h>.
54871         (strlen): Don't use BP_SYM.
54872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54873         <bp-sym.h> and <bp-asm.h>.
54874         (strncmp): Don't use BP_SYM.
54875         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54876         <bp-sym.h> and <bp-asm.h>.
54877         (__strnlen): Don't use BP_SYM.
54878         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54879         <bp-asm.h>.
54880         (__mpn_rshift): Don't use BP_SYM.
54881         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54882         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54883         <bp-sym.h> and <bp-asm.h>.
54884         (__sigsetjmp): Don't use BP_SYM.
54885         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54886         (L(start_addresses)): Don't use BP_SYM.
54887         (_start): Likewise.
54888         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54889         <bp-asm.h>.
54890         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54891         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54892         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54893         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54894         <bp-asm.h>.
54895         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54896         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54897         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54898         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54899         <bp-asm.h>.
54900         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54901         comments.
54902         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54903         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54904         <bp-asm.h>.
54905         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54906         FIXME comments.
54907         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54908         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54909         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54910         <bp-asm.h>.
54911         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54912         comment.
54913         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54914         and <bp-asm.h>.
54915         (strncmp): Don't use BP_SYM,
54916         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54917         <bp-asm.h>.
54918         (__mpn_sub_n): Don't use BP_SYM.
54919         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54920         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54921         and <bp-asm.h>.
54922         (__mpn_submul_1): Don't use BP_SYM.
54923         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54925         <bp-sym.h> and <bp-asm.h>.
54926         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54928         <bp-sym.h> and <bp-asm.h>.
54929         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54930         comment.
54932 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54935         Use ZK to minimize writes to Z.
54936         (sub_magnitudes): Simplify code a bit.
54937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54938         Use ZK to minimize writes to Z.
54939         (sub_magnitudes): Simplify code a bit.
54941 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54943         * csu/gmon-start.c: Add special exception to license text.
54945 2013-02-27  Richard Henderson  <rth@redhat.com>
54947         * scripts/config.guess: Update from config.git.
54948         * scripts/config.sub: Likewise.
54950 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54952         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54954         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54956         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54958         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54960         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54962 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54964         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54965         [$(build-shared = yes].
54967 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54969         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54970         (__mul): Reduce iterations for calculating mantissa.
54972         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54973         MPTWO.
54974         (__mpranred): Likewise.
54976         [BZ #15160]
54977         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54978         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54980 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54982         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54983         Define __attribute__.
54985 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54987         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54988         unused.
54989         * posix/regex_internal.h (__attribute): Remove.
54990         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54991         (re_string_context_at): Likewise.
54992         (bitset_not): Use __attribute__ and mark function as possibly
54993         unused.
54994         (bitset_merge): Likewise.
54995         (bitset_mask): Likewise.
54996         (re_string_char_size_at): Likewise.
54997         (re_string_wchar_at): Likewise.
54998         (re_string_elem_size_at): Likewise.
55000 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55002         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55003         code.
55004         (cc32): Likewise.
55006         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55007         (__acr): Likewise.
55008         (__cpy): Likewise.
55009         (norm): Likewise.
55010         (denorm): Likewise.
55011         (__dbl_mp): Likewise.
55012         (add_magnitudes): Likewise.
55013         (sub_magnitudes): Likewise.
55014         (__mul): Likewise.
55015         (__inv): Likewise.
55017         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55018         style.
55020         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55021         style.
55023         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55024         code.
55026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55027         up changes with default code.
55028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55029         Likewise.
55031 2013-02-24  Allan McRae  <allan@archlinux.org>
55033         * manual/socket.texi (The Internet Namespace): Order menu items
55034         to match that in the file.
55036         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55037         node listing of the info page menu.
55039 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55041         [BZ #13550]
55042         * sysdeps/i386/bp-asm.h: Remove file.
55043         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55044         (PARMS): Do not use macros from bp-asm.h.
55045         (S1): Likewise.
55046         (S2): Likewise.
55047         (SIZE): Likewise.
55048         (__mpn_add_n): Do not use BP_SYM
55049         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55050         "bp-asm.h".
55051         (PARMS): Do not use macros from bp-asm.h.
55052         (S1): Likewise.
55053         (SIZE): Likewise.
55054         (__mpn_addmul_1): Do not use BP_SYM
55055         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55056         "bp-asm.h".
55057         (PARMS): Do not use macros from bp-asm.h.
55058         (SIGMSK): Likewise.
55059         (_setjmp): Likewise.  Do not use BP_SYM.
55060         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55061         "bp-asm.h".
55062         (PARMS): Do not use macros from bp-asm.h.
55063         (SIGMSK): Likewise.
55064         (setjmp): Likewise.  Do not use BP_SYM.
55065         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55066         "bp-asm.h".
55067         (PARMS): Do not use macros from bp-asm.h.
55068         (__frexp): Do not use BP_SYM.
55069         (frexp): Likewise.
55070         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55071         "bp-asm.h".
55072         (PARMS): Do not use macros from bp-asm.h.
55073         (__frexpf): Do not use BP_SYM.
55074         (frexpf): Likewise.
55075         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55076         "bp-asm.h".
55077         (PARMS): Do not use macros from bp-asm.h.
55078         (__frexpl): Do not use BP_SYM.
55079         (frexpl): Likewise.
55080         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55081         "bp-asm.h".
55082         (PARMS): Do not use macros from bp-asm.h.
55083         (__remquo): Do not use BP_SYM.
55084         (remquo): Likewise.
55085         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55086         "bp-asm.h".
55087         (PARMS): Do not use macros from bp-asm.h.
55088         (__remquof): Do not use BP_SYM.
55089         (remquof): Likewise.
55090         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55091         "bp-asm.h".
55092         (PARMS): Do not use macros from bp-asm.h.
55093         (__remquol): Do not use BP_SYM.
55094         (remquol): Likewise.
55095         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55096         "bp-asm.h".
55097         (PARMS): Do not use macros from bp-asm.h.
55098         (DEST): Likewise.
55099         (SRC): Likewise.
55100         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55101         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55102         "bp-asm.h".
55103         (PARMS): Do not use macros from bp-asm.h.
55104         (strlen): Do not use BP_SYM.
55105         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55106         "bp-asm.h".
55107         (PARMS): Do not use macros from bp-asm.h.
55108         (S1): Likewise.
55109         (S2): Likewise.
55110         (SIZE): Likewise.
55111         (__mpn_add_n): Do not use BP_SYM.
55112         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55113         "bp-asm.h".
55114         (PARMS): Do not use macros from bp-asm.h.
55115         (S1): Likewise.
55116         (SIZE): Likewise.
55117         (__mpn_addmul_1): Do not use BP_SYM.
55118         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55119         weak_alias.
55120         (bzero): Likewise.
55121         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55122         "bp-asm.h".
55123         (PARMS): Do not use macros from bp-asm.h.
55124         (S): Likewise.
55125         (SIZE): Likewise.
55126         (__mpn_lshift): Do not use BP_SYM.
55127         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55128         "bp-asm.h".
55129         (PARMS): Do not use macros from bp-asm.h.
55130         (DEST): Likewise.
55131         (SRC): Likewise.
55132         (LEN): Likewise.
55133         (memcpy): Likewise.  Do not use BP_SYM.
55134         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55135         libc_hidden_def and weak_alias.
55136         (mempcpy): Do not use BP_SYM in weak_alias.
55137         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55138         "bp-asm.h".
55139         (PARMS): Do not use macros from bp-asm.h.
55140         (DEST): Likewise.
55141         (LEN): Likewise.
55142         [!BZERO_P] (CHR): Likewise.
55143         (memset): Likewise.  Do not use BP_SYM.
55144         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55145         "bp-asm.h".
55146         (PARMS): Do not use macros from bp-asm.h.
55147         (S1): Likewise.
55148         (SIZE): Likewise.
55149         (__mpn_mul_1): Do not use BP_SYM.
55150         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55151         "bp-asm.h".
55152         (PARMS): Do not use macros from bp-asm.h.
55153         (S): Likewise.
55154         (SIZE): Likewise.
55155         (__mpn_rshift): Do not use BP_SYM.
55156         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55157         "bp-asm.h".
55158         (PARMS): Do not use macros from bp-asm.h.
55159         (STR): Likewise.
55160         (CHR): Likewise.
55161         (strchr): Likewise.  Do not use BP_SYM.
55162         (index): Do not use BP_SYM in weak_alias.
55163         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55164         "bp-asm.h".
55165         (PARMS): Do not use macros from bp-asm.h.
55166         (DEST): Likewise.
55167         (SRC): Likewise.
55168         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55169         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55170         "bp-asm.h".
55171         (PARMS): Do not use macros from bp-asm.h.
55172         (strlen): Do not use BP_SYM.
55173         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55174         "bp-asm.h".
55175         (PARMS): Do not use macros from bp-asm.h.
55176         (S1): Likewise.
55177         (S2): Likewise.
55178         (SIZE): Likewise.
55179         (__mpn_sub_n): Do not use BP_SYM.
55180         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55181         "bp-asm.h".
55182         (PARMS): Do not use macros from bp-asm.h.
55183         (S1): Likewise.
55184         (SIZE): Likewise.
55185         (__mpn_submul_1): Do not use BP_SYM.
55186         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55187         "bp-asm.h".
55188         (PARMS): Do not use macros from bp-asm.h.
55189         (S1): Likewise.
55190         (S2): Likewise.
55191         (SIZE): Likewise.
55192         (__mpn_add_n): Do not use BP_SYM.
55193         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55194         weak_alias.
55195         (bzero): Likewise.
55196         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55197         "bp-asm.h".
55198         (PARMS): Do not use macros from bp-asm.h.
55199         (BLK2): Likewise.
55200         (LEN): Likewise.
55201         (memcmp): Do not use BP_SYM.
55202         (bcmp): Do not use BP_SYM in weak_alias.
55203         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55204         "bp-asm.h".
55205         (PARMS): Do not use macros from bp-asm.h.
55206         (DEST): Likewise.
55207         (SRC): Likewise.
55208         (LEN): Likewise.
55209         (memcpy): Likewise.  Do not use BP_SYM.
55210         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55211         "bp-asm.h".
55212         (PARMS): Do not use macros from bp-asm.h.
55213         (DEST): Likewise.
55214         (SRC): Likewise.
55215         (LEN): Likewise.
55216         (memmove): Likewise.  Do not use BP_SYM.
55217         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55218         "bp-asm.h".
55219         (PARMS): Do not use macros from bp-asm.h.
55220         (DEST): Likewise.
55221         (SRC): Likewise.
55222         (LEN): Likewise.
55223         (__mempcpy): Likewise.  Do not use BP_SYM.
55224         (mempcpy): Do not use BP_SYM in weak_alias.
55225         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55226         "bp-asm.h".
55227         (PARMS): Do not use macros from bp-asm.h.
55228         (DEST): Likewise.
55229         (LEN): Likewise.
55230         [!BZERO_P] (CHR): Likewise.
55231         (memset): Likewise.  Do not use BP_SYM.
55232         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55233         "bp-asm.h".
55234         (PARMS): Do not use macros from bp-asm.h.
55235         (STR2): Likewise.
55236         (strcmp): Do not use BP_SYM.
55237         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55238         "bp-asm.h".
55239         (PARMS): Do not use macros from bp-asm.h.
55240         (STR): Likewise.
55241         (DELIM): Likewise.
55242         [USE_AS_STRTOK_R] (SAVE): Likewise.
55243         (FUNCTION): Likewise.  Do not use BP_SYM.
55244         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55245         aliases.
55246         (strtok_r): Likewise.
55247         (__GI___strtok_r): Likewise.
55248         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55249         (PARMS): Do not use macros from bp-asm.h.
55250         (S): Likewise.
55251         (SIZE): Likewise.
55252         (__mpn_lshift): Do not use BP_SYM.
55253         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55254         (PARMS): Do not use macros from bp-asm.h.
55255         (STR): Likewise.
55256         (CHR): Likewise.
55257         (__memchr): Do not use BP_SYM.
55258         (memchr): Do not use BP_SYM in weak_alias.
55259         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55260         (PARMS): Do not use macros from bp-asm.h.
55261         (BLK2): Likewise.
55262         (LEN): Likewise.
55263         (memcmp): Do not use BP_SYM.
55264         (bcmp): Do not use BP_SYM in weak_alias.
55265         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55266         (PARMS): Do not use macros from bp-asm.h.
55267         (S1): Likewise.
55268         (SIZE): Likewise.
55269         (__mpn_mul_1): Do not use BP_SYM.
55270         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55271         "bp-asm.h".
55272         (PARMS): Do not use macros from bp-asm.h.
55273         (STR): Likewise.
55274         (CHR): Likewise.
55275         (__rawmemchr): Do not use BP_SYM.
55276         (rawmemchr): Do not use BP_SYM in weak_alias.
55277         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55278         (PARMS): Do not use macros from bp-asm.h.
55279         (S): Likewise.
55280         (SIZE): Likewise.
55281         (__mpn_rshift): Do not use BP_SYM.
55282         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55283         (PARMS): Do not use macros from bp-asm.h.
55284         (SIGMSK): Likewise.
55285         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55286         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55287         (_start): Do not use BP_SYM.
55288         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55289         (PARMS): Do not use macros from bp-asm.h.
55290         (DEST): Likewise.
55291         (SRC): Likewise.
55292         (__stpcpy): Likewise.  Do not use BP_SYM.
55293         (stpcpy): Do not use BP_SYM in weak_alias.
55294         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55295         "bp-asm.h".
55296         (PARMS): Do not use macros from bp-asm.h.
55297         (DEST): Likewise.
55298         (SRC): Likewise.
55299         (LEN): Likewise.
55300         (__stpncpy): Likewise.  Do not use BP_SYM.
55301         (stpncpy): Do not use BP_SYM in weak_alias.
55302         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55303         (PARMS): Do not use macros from bp-asm.h.
55304         (STR): Likewise.
55305         (CHR): Likewise.
55306         (strchr): Likewise.  Do not use BP_SYM.
55307         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55308         "bp-asm.h".
55309         (PARMS): Do not use macros from bp-asm.h.
55310         (STR): Likewise.
55311         (CHR): Likewise.
55312         (__strchrnul): Likewise.  Do not use BP_SYM.
55313         (strchrnul): Do not use BP_SYM in weak_alias.
55314         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55315         "bp-asm.h".
55316         (PARMS): Do not use macros from bp-asm.h.
55317         (STOP): Likewise.
55318         (strcspn): Do not use BP_SYM.
55319         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55320         "bp-asm.h".
55321         (PARMS): Do not use macros from bp-asm.h.
55322         (STR): Likewise.
55323         (STOP): Likewise.
55324         (strpbrk): Likewise.  Do not use BP_SYM.
55325         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55326         "bp-asm.h".
55327         (PARMS): Do not use macros from bp-asm.h.
55328         (STR): Likewise.
55329         (CHR): Likewise.
55330         (strrchr): Likewise.  Do not use BP_SYM.
55331         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55332         (PARMS): Do not use macros from bp-asm.h.
55333         (SKIP): Likewise.
55334         (strspn): Do not use BP_SYM.
55335         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55336         (PARMS): Do not use macros from bp-asm.h.
55337         (STR): Likewise.
55338         (DELIM): Likewise.
55339         (SAVE): Likewise.
55340         (FUNCTION): Likewise.  Do not use BP_SYM.
55341         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55342         aliases.
55343         (strtok_r): Likewise.
55344         (__GI___strtok_r): Likewise.
55345         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55346         (PARMS): Do not use macros from bp-asm.h.
55347         (S1): Likewise.
55348         (S2): Likewise.
55349         (SIZE): Likewise.
55350         (__mpn_sub_n): Do not use BP_SYM.
55351         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55352         "bp-asm.h".
55353         (PARMS): Do not use macros from bp-asm.h.
55354         (S1): Likewise.
55355         (SIZE): Likewise.
55356         (__mpn_submul_1): Do not use BP_SYM.
55357         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55358         <bp-sym.h>.
55359         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55360         and <bp-asm.h>.
55361         (PARMS): Do not use macros from bp-asm.h.
55362         (FLAGS): Likewise.
55363         (PTID): Likewise.
55364         (TLS): Likewise.
55365         (CTID): Likewise.
55366         (__clone): Do not use BP_SYM.
55367         (clone): Do not use BP_SYM in weak_alias.
55368         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55369         and <bp-asm.h>.
55370         (PARMS): Do not use macros from bp-asm.h.
55371         (LEN): Likewise.
55372         (__mmap64): Do not use BP_SYM.
55373         (mmap64): Do not use BP_SYM in weak_alias.
55374         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55375         <bp-sym.h> and <bp-asm.h>.
55376         (PARMS): Do not use macros from bp-asm.h.
55377         (__posix_fadvise64_l64): Do not use BP_SYM.
55378         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55379         (PARMS): Do not use macros from bp-asm.h.
55380         (NSOPS): Likewise.
55381         (semtimedop): Do not use BP_SYM.
55382         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55383         and <bp-asm.h>.
55385 2013-02-21  Allan McRae  <allan@archlinux.org>
55387         * manual/message.texi (Charset conversion in gettext):
55388         Move @end statement to beginning of line.
55390 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55393         static.
55394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55395         Likewise.
55397         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55398         (denorm): Likewise.
55399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55402 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55404         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55405         tail-call to the resolved function if pltexit isn't needed.
55407 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55410         or Y being zero as being unlikely.
55411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55412         Likewise.
55414 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55416         * manual/nss.texi (System Databases and Name Service Switch):
55417         Remove frobnicate @pxref.
55419 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55421         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55422         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55424 2013-02-20  Petr Machata  <pmachata@redhat.com>
55426         * elf/elf.h (R_ARM_TARGET1): New macro.
55427         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55428         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55429         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55430         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55431         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55432         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55433         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55434         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55435         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55436         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55437         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55438         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55439         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55440         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55441         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55442         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55443         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55444         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55445         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55446         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55447         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55448         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55449         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55450         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55451         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55452         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55453         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55454         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55455         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55456         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55457         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55458         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55459         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55460         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55461         (R_ARM_THM_GOT_BREL12): Likewise.
55462         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55463         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55464         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55465         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55466         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55467         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55468         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55469         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55470         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55472 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55474         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55475         __attribute_used__ to __attribute__ ((unused)).
55477 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55479         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55480         powerpc mpa.c.
55481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55482         comment formatting.
55483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55485 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55487         [BZ #13550]
55488         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55489         Remove macro.
55490         (ENTER): Remove both macro definitions.
55491         (LEAVE): Likewise.
55492         (CHECK_BOUNDS_LOW): Likewise.
55493         (CHECK_BOUNDS_HIGH): Likewise.
55494         (CHECK_BOUNDS_BOTH): Likewise.
55495         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55496         (RETURN_BOUNDED_POINTER): Likewise.
55497         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55498         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55499         (POP_ERRNO_LOCATION_RETURN): Likewise.
55500         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55501         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55502         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55503         macros.
55504         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55505         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55506         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55507         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55508         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55509         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55510         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55511         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55512         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55513         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55514         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55515         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55517         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55518         removed macros.
55519         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55520         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55521         macros.
55522         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55523         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55524         * sysdeps/i386/i586/memset.S (memset): Likewise.
55525         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55526         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55527         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55528         macros.
55529         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55530         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55531         Change uses of L(2) to L(out).
55532         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55533         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55534         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55535         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55536         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55537         removed macros.
55538         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55539         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55540         macros.
55541         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55542         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55543         (RETURN): Do not use macro LEAVE.
55544         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55545         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55546         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55547         * sysdeps/i386/i686/memset.S (memset): Likewise.
55548         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55549         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55550         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55551         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55552         Likewise.
55553         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55554         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55555         L(1_2) and L(1_3) into L(1).
55556         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55557         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55558         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55559         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55560         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55561         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55562         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55563         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55564         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55565         macros.
55566         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55567         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55568         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55569         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55570         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55571         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55572         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55573         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55574         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55575         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55576         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55577         * sysdeps/i386/strspn.S (strspn): Likewise.
55578         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55579         conditional code.
55580         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55581         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55582         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55583         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55584         L(1_3) into L(1_1).
55585         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55586         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55587         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55588         macros.
55589         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55591 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55593         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55594         macro.
55596 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55598         * math/atest-exp.c (exp_mpn): Remove ROUND.
55599         * math/atest-exp2.c (exp_mpn): Likewise.
55600         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55602         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55603         * stdlib/tst-tls-atexit-lib.c: Likewise.
55604         * stdlib/tst-tls-atexit.c: Likewise.
55606 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55608         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55609         and __attribute_alloc_size__.
55611 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55613         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55614         __attribute_alloc_size__.
55615         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55616         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55618 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55620         * include/programs/xmalloc.h: New file.
55621         * catgets/gencat.c: Include it.
55622         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55623         * elf/pldd.c: Likewise.
55624         * iconv/iconv_charmap.c: Likewise.
55625         * iconv/iconvconfig.c: Likewise.
55626         * iconv/strtab.c: Likewise.
55627         * locale/programs/locale.c: Likewise.
55628         * locale/programs/localedef.h: Likewise.
55629         * locale/programs/simple-hash.c: Likewise.
55630         * nscd/nscd.h: Likewise.
55631         * nss/makedb.c: Likewise.
55632         * sysdeps/generic/ldconfig.h: Likewise.
55634 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55636         * Versions.def: Add GLIBC_2.18.
55637         * include/link.h (struct link_map): New member l_tls_dtor_count.
55638         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55639         (__call_tls_dtors): Likewise.
55640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55641         __cxa_thread_atexit_impl.
55642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55643         Likewise.
55644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55645         Likewise.
55646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55647         Likewise.
55648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55649         Likewise.
55650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55652         Likewise.
55653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55654         Likewise.
55655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55657         Likewise.
55658         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55659         (tests): Add test case tst-tls-atexit.
55660         (modules-names): Add shared library for tst-tls-atexit.
55661         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55662         (GLIBC_PRIVATE): Add __call_tls_dtors.
55663         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55664         for libstdc++.
55665         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55666         * stdlib/tst-tls-atexit.c: New test case.
55667         * stdlib/tst-tls-atexit-lib.c: New test case.
55669         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55671         * elf/Versions (ld): Add _dl_find_dso_for_object.
55672         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55673         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55674         (dl_open_worker): Use _dl_find_dso_for_object.
55675         * elf/dl-sym.c (do_sym): Likewise.
55676         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55678 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55680         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55681         Syntactic changes only.
55682         (_dl_runtime_profile): Do a tail-call to the resolved function.
55684 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55686         [BZ #13550]
55687         * sysdeps/x86_64/bp-asm.h: Remove file.
55688         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55689         <bp-sym.h> and <bp-asm.h>.
55690         (__clone): Do not use BP_SYM.
55691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55692         <bp-sym.h> and <bp-asm.h>.
55693         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55694         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55695         "bp-asm.h".
55696         (_setjmp): Do not use BP_SYM.
55697         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55698         "bp-asm.h".
55699         (setjmp): Do not use BP_SYM.
55700         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55701         libc_hidden_def.
55702         (mempcpy): Do not use BP_SYM in weak_alias.
55703         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55704         "bp-asm.h".
55705         (strchr): Do not use BP_SYM.
55706         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55707         "bp-asm.h".
55708         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55709         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55710         (_start): Do not use BP_SYM.
55711         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55712         "bp-asm.h".
55713         (strcat): Do not use BP_SYM.
55714         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55715         "bp-asm.h".
55716         (STRCMP): Do not use BP_SYM.
55717         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55718         "bp-asm.h".
55719         (STRCPY): Do not use BP_SYM.
55720         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55721         "bp-asm.h".
55722         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55723         "bp-asm.h".
55724         (FUNCTION): Do not use BP_SYM.
55725         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55726         weak_alias.
55727         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55729 2013-02-17  Andreas Jaeger  <aj@suse.de>
55731         * time/Versions: Sort entries.
55732         * string/Versions: Likewise.
55733         * resolv/Versions: Likewise.
55734         * posix/Versions: Likewise.
55735         * iconv/Versions: Likewise.
55736         * elf/Versions: Likewise.
55737         * wcsmbs/Versions: Likewise.
55739 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55741         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55742         loop termination condition.
55744         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55745         variable to calculate EZ.
55746         (__sqr): Likewise.
55748         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55749         the lower precision input.
55751 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55753         [BZ #13550]
55754         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55755         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55756         (run-via-rtld-prefix): Do not handle %-bp tests.
55757         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55758         (all-object-suffixes): Remove .ob.
55759         (bppfx): Remove variable.
55760         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55761         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55762         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55763         [$(build-bounded) = yes] (libtype.ob): Likewise.
55764         * Makerules (elide-routines.ob): Remove variable.
55765         (do-tests-clean): Do not handle *-bp.out.
55766         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55767         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55768         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55769         (tests): Do not include $(tests-bp.out).
55770         (xtests): Do not include $(xtests-bp.out).
55771         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55772         [$(build-bounded) = yes] ($(addprefix
55773         $(objpfx),$(binaries-bounded))): Remove rule.
55774         ($(objpfx)%-bp.out): Remove rule.
55775         * config.make.in (build-bounded): Remove variable.
55776         * crypt/Makefile [$(build-bounded) = yes]
55777         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55778         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55779         append to variable.
55780         [$(build-bounded) = yes] (install-lib): Likewise.
55781         [$(build-bounded) = yes] (generated): Likewise.
55782         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55783         Remove rule.
55784         * intl/Makefile [$(build-bounded) = yes]
55785         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55786         * math/Makefile [$(build-bounded) = yes]
55787         ($(tests:%=$(objpfx)%-bp): Likewise.
55788         * misc/Makefile [$(build-bounded) = yes]
55789         ($(objpfx)tst-tsearch-bp): Likewise.
55790         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55791         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55792         Remove dependency.
55793         * string/Makefile (o-objects.ob): Remove variable.
55794         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55795         (CFLAGS-.ob): Remove variable.
55796         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55797         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55798         both definitions of variable.
55799         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55800         (ASFLAGS-.ob): Remove variable.
55802 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55804         [BZ #13550]
55805         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55806         Remove __BOUNDED_POINTERS__ from condition.
55807         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55808         * string/bits/string2.h [!__NO_STRING_INLINES &&
55809         !__BOUNDED_POINTERS__]: Likewise.
55810         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55811         Likewise.
55812         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55813         Remove conditional code.
55814         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55815         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55816         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55817         condition.
55819         [BZ #13550]
55820         * csu/libc-start.c: Do not include <bp-sym.h>.
55821         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55822         * elf/dl-open.c: Do not include <bp-sym.h>.
55823         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55824         * math/fegetenv.c: Do not include <bp-sym.h>.
55825         (fegetenv): Do not use BP_SYM in versioned symbols.
55826         * nptl/sysdeps/pthread/bits/libc-lockP.h
55827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55828         <bp-sym.h>.
55829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55830         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55832         (__pthread_mutex_destroy): Likewise.
55833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55834         (__pthread_mutex_lock): Likewise.
55835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55836         (__pthread_mutex_trylock): Likewise.
55837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55838         (__pthread_mutex_unlock): Likewise.
55839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55840         (__pthread_mutexattr_init): Likewise.
55841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55842         (__pthread_mutexattr_destroy): Likewise.
55843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55844         (__pthread_mutexattr_settype): Likewise.
55845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55846         (__pthread_rwlock_init): Likewise.
55847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55848         (__pthread_rwlock_destroy): Likewise.
55849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55850         (__pthread_rwlock_rdlock): Likewise.
55851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55852         (__pthread_rwlock_tryrdlock): Likewise.
55853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55854         (__pthread_rwlock_wrlock): Likewise.
55855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55856         (__pthread_rwlock_trywrlock): Likewise.
55857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55858         (__pthread_rwlock_unlock): Likewise.
55859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55860         (__pthread_key_create): Likewise.
55861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55862         (__pthread_setspecific): Likewise.
55863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55864         (__pthread_getspecific): Likewise.
55865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55866         Likewise.
55867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55868         (_pthread_cleanup_push_defer): Likewise.
55869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55870         (_pthread_cleanup_pop_restore): Likewise.
55871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55872         (pthread_setcancelstate): Likewise.
55873         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55874         <bp-sym.h>.
55875         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55876         (memchr): Do not use BP_SYM in weak_alias.
55877         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55878         (fegetenv): Do not use BP_SYM in versioned symbols.
55879         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55880         (fesetenv): Do not use BP_SYM in versioned symbols.
55881         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55882         (feupdateenv): Do not use BP_SYM in versioned symbols.
55883         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55884         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55885         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55886         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55887         (open64): Do not use BP_SYM in weak_alias.
55888         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55889         (fegetenv): Do not use BP_SYM in versioned symbols.
55890         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55891         (fesetenv): Do not use BP_SYM in versioned symbols.
55892         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55893         (feupdateenv): Do not use BP_SYM in versioned symbols.
55894         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55895         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55896         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55897         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55898         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55899         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55900         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55901         <bp-sym.h>.
55902         (__libc_start_main): Do not use BP_SYM.
55904 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55907         redundant return line.
55908         (norm): Likewise.
55909         (denorm): Likewise.
55910         (dbl_mp): Likewise.
55911         (sub_magnitudes): Likewise.
55912         (__add): Likewise.
55913         (__sub): Likewise.
55914         (__mul): Likewise.
55915         (__inv): Likewise.
55916         (__dvd): Likewise.
55917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55918         (norm): Likewise.
55919         (denorm): Likewise.
55920         (dbl_mp): Likewise.
55921         (sub_magnitudes): Likewise.
55922         (__add): Likewise.
55923         (__sub): Likewise.
55924         (__mul): Likewise.
55925         (__inv): Likewise.
55926         (__dvd): Likewise.
55928         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55929         instead of __mul.
55930         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55931         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55932         (cc32): Likewise.
55934         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55935         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55937         of __mul for squares.
55938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55939         function
55940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55941         Likewise.
55942         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55943         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55945 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55947         [BZ #13550]
55948         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55949         code.
55950         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55951         prototype or function definition.  Rename ubp_* variables and
55952         parameters.  Remove argv definitions conditional on
55953         [__BOUNDED_POINTERS__].
55954         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55955         * elf/dl-runtime.c (_dl_fixup): Likewise.
55956         * include/set-hooks.h (RUN_HOOK): Likewise.
55957         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55958         definition.
55959         * string/strcpy.c (strcpy): Do not use __unbounded.
55960         * sysdeps/generic/frame.h (struct layout): Likewise.
55961         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55962         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55963         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55964         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55965         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55966         (__backtrace): Likewise.
55967         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55968         use __ptrvalue.
55969         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55970         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55971         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55972         Likewise.
55973         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55974         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55975         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55976         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55977         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55978         Do not use __unbounded.
55979         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55980         Rename __unboundedrlimits parameter to rlimits in prototype.
55981         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55982         Do not use __unbounded.
55983         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55984         not use __ptrvalue.
55985         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55986         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55987         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55988         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55989         __ptrvalue or __unbounded.
55990         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55991         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55992         use __unbounded.
55993         (__new_msgctl): Do not use __ptrvalue.
55994         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55995         __unbounded.
55996         (__libc_msgrcv): Do not use __ptrvalue.
55997         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55998         startup_info): Do not use __unbounded.
55999         (__libc_start_main): Likewise.  Rename ubp_* variables and
56000         parameters.  Remove argv definitions conditional on
56001         [__BOUNDED_POINTERS__].
56002         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56003         __ptrvalue.
56004         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56005         use __unbounded.
56006         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56007         or __ptrvalue.
56008         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56009         use __unbounded.
56010         (__new_shmctl): Do not use __ptrvalue.
56011         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56012         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56013         Likewise.
56014         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56015         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56016         (__libc_sigaction): Likewise.
56017         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56018         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56019         Likewise.
56020         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56022 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56024         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56026         * string/mempcpy.c: Implement by calling memcpy.
56028 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56033         evaluation.
56035         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56036         values in the mantissa.
56038         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56039         minimize writes to Z.
56040         (sub_magnitudes): Simplify code a bit.
56042 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56044         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56045         from the message.  The linker prefixes all warnings with that already.
56047 2013-02-12  Andreas Schwab  <schwab@suse.de>
56049         [BZ #15078]
56050         * posix/regexec.c (extend_buffers): Add parameter min_len.
56051         (check_matching): Pass minimum needed length.
56052         (clean_state_log_if_needed): Likewise.
56053         (get_subexp): Likewise.
56054         * posix/Makefile (tests): Add bug-regex34.
56055         (bug-regex34-ENV): Define.
56056         * posix/bug-regex34.c: New file.
56058         [BZ #11561]
56059         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56060         elements compare against the byte sequence of it, not its name.
56061         * posix/Makefile (tests): Add bug-regex35.
56062         (bug-regex35-ENV): Define.
56063         * posix/bug-regex35.c: New file.
56065 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56067         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56068         comment.
56069         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56070         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56071         (CHECK_EOL): Add undef.
56073 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56075         * bits/stdlib-bsearch.h: New file.
56076         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56077         * stdlib/stdlib.h: Likewise.
56079 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56081         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56082         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56083         declaration.
56084         * manual/search.texi (Array Search Function): Add missing const in
56085         lfind prototype.
56086         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56087         declaration to use rlim_t.
56088         (Basic Scheduling Functions): Remove erroneous const from
56089         sched_getparam prototype.  Remove erroneous * from
56090         sched_get_priority_max and sched_get_priority_min prototypes.
56091         (Resource Usage): Fix summary @comment on vtimes to refer to
56092         sys/vtimes.h rather than vtimes.h.
56093         Add missing *s in vtimes prototype.
56094         (Limits on Resources): Fix ulimit prototype to return long int.
56095         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56096         prototypes to use long int rather than double.
56097         (BSD Random): Fix initstate and setstate to use char *, not void *.
56098         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56099         prototype to make second argument 'struct aiocb64 *const[]'.
56100         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56101         (Status of AIO Operations): Remove erroneous const in aio_return and
56102         aio_return64 prototypes.
56103         (Synchronizing I/O): Fix sync prototype to return void.
56104         * manual/startup.texi (Suboptions): Remove an erroneous const in
56105         getsubopt prototype.
56106         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56107         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56108         use size_t rather than int.
56109         (Scanning All Users): Likewise for getpwent_r.
56110         (Setting Groups): Add missing const to setgroups prototype.
56111         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56112         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56113         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56114         'const void *' rather than 'const char *'.
56115         (Host Address Functions): Likewise for inet_ntop.
56116         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56117         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56118         ssize_t for return value.
56119         (Sending Data): Likewise for send, sendto, sendmsg.
56120         (Socket Option Functions): Add a missing const in setsockopt prototype.
56121         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56122         use wchar_t for the argument.
56123         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56124         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56125         take no arguments.
56126         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56127         double/float/long double for second argument.
56128         Fix return types of significand, significandf, significandl.
56129         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56130         argument in fchmod prototype.
56131         (File Owner): Use uid_t and gid_t in fchown prototype.
56132         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56133         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56134         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56135         use 'const struct dirent **' as argument types to CMP function pointer
56136         argument.
56137         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56138         (File Times): Fix summary magic @comment for struct utimbuf and utime
56139         to refer to utime.h, not time.h.
56140         * manual/string.texi (Argz Functions): Add missing const in
56141         argz_extract and argz_next prototypes.
56142         (Finding Tokens in a String): Likewise for basename.
56143         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56144         (Copying and Concatenation): Fix typo in wmemmove prototype.
56145         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56146         (Signal Stack): Remove erroneous const in sigstack prototype.
56147         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56148         prototype.
56149         (Simple Calendar Time): Likewise for stime.
56150         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56151         prototype.
56152         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56153         say sys/sysctl.h instead.
56154         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56155         and vsyslog prototypes.
56157 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56159         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56160         Remove.
56162 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56164         * misc/sys/mman.h: Fix typo in mremap comment.
56166 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56168         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56169         the '\0' terminator.
56171 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56173         [BZ #13550]
56174         * debug/segfault.c: Don't include <bp-checks.h>.
56175         * sysdeps/generic/bp-checks.h: Remove file.
56176         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56177         (__GETDENTS): Don't use CHECK_N.
56178         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56179         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56180         (__getgroups): Don't use CHECK_N.
56181         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56182         (setgroups): Don't use CHECK_N.
56183         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56184         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56185         (__libc_msgrcv): Don't use CHECK_N.
56186         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56187         (__libc_msgsnd): Don't use CHECK_N.
56188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56189         <bp-checks.h>.
56190         (__libc_pread): Don't use CHECK_N.
56191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56192         include <bp-checks.h>.
56193         (__libc_pread64): Don't use CHECK_N.
56194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56195         include <bp-checks.h>.
56196         (__libc_pwrite): Don't use CHECK_N.
56197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56198         include <bp-checks.h>.
56199         (__libc_pwrite64): Don't use CHECK_N.
56200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56201         <bp-checks.h>.
56202         (__libc_pread): Don't use CHECK_N.
56203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56204         include <bp-checks.h>.
56205         (__libc_pread64): Don't use CHECK_N.
56206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56207         include <bp-checks.h>.
56208         (__libc_pwrite): Don't use CHECK_N.
56209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56210         include <bp-checks.h>.
56211         (__libc_pwrite64): Don't use CHECK_N.
56212         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56213         (do_pread): Don't use CHECK_N.
56214         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56215         (do_pread64): Don't use CHECK_N.
56216         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56217         (do_pwrite): Don't use CHECK_N.
56218         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56219         (do_pwrite64): Don't use CHECK_N.
56220         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56221         (__libc_readv): Don't use CHECK_N.
56222         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56223         (semop): Don't use CHECK_N.
56224         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56225         <bp-checks.h>.
56226         (semtimedop): Don't use CHECK_N.
56227         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56228         (__libc_pread): Don't use CHECK_N.
56229         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56230         <bp-checks.h>.
56231         (__libc_pread64): Don't use CHECK_N.
56232         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56233         <bp-checks.h>.
56234         (__libc_pwrite): Don't use CHECK_N.
56235         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56236         <bp-checks.h>.
56237         (__libc_pwrite64): Don't use CHECK_N.
56238         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56239         <bp-checks.h>.
56240         (__libc_msgrcv): Don't use CHECK_N.
56241         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56242         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56243         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56244         (__libc_writev): Don't use CHECK_N.
56246 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56248         * string/strcpy.c: Removed unused variable.
56250         * Makeconfig (+sysdep-includes): Define with := rather than =.
56251         Use an existing include/ subdir of each sysdeps dir before it.
56253 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56255         * nscd/connection.c (register_traced_file): Comment function.
56256         [HAVE_INOTIFY] (union __inev): Define.
56257         [HAVE_INOTIFY] (inotify_check_files): New function.
56258         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56259         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56260         clear_db_cache.
56261         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56263 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56265         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56266         loaded if not already and that a failure is permanent.
56268 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56270         [BZ #15006]
56271         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56272         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56274 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56276         [BZ #13550]
56277         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56278         (CHECK_1_NULL_OK): Likewise.
56279         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56280         (__fxstat): Do not use CHECK_1.
56281         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56282         <bp-checks.h>.
56283         (___fxstat64): Do not use CHECK_1.
56284         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56285         <bp-checks.h>.
56286         (__fxstatat): Do not use CHECK_1.
56287         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56288         <bp-checks.h>.
56289         (__fxstatat64): Do not use CHECK_1.
56290         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56291         <bp-checks.h>.
56292         (__fxstat): Do not use CHECK_1.
56293         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56294         <bp-checks.h>.
56295         (__fxstatat): Do not use CHECK_1.
56296         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56297         <bp-checks.h>.
56298         (__getresgid): Do not use CHECK_1.
56299         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56300         <bp-checks.h>.
56301         (__getresuid): Do not use CHECK_1.
56302         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56303         <bp-checks.h>.
56304         (__lxstat): Do not use CHECK_1.
56305         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56306         <bp-checks.h>.
56307         (__old_msgctl): Do not use CHECK_1.
56308         (__new_msgctl): Likewise.
56309         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56310         <bp-checks.h>.
56311         (__new_setrlimit): Do not use CHECK_1.
56312         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56313         <bp-checks.h>.
56314         (__old_shmctl): Do not use CHECK_1.
56315         (__new_shmctl): Likewise.
56316         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56317         <bp-checks.h>.
56318         (__xstat): Do not use CHECK_1.
56319         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56320         (__lxstat): Do not use CHECK_1.
56321         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56322         <bp-checks.h>.
56323         (___lxstat64): Do not use CHECK_1.
56324         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56325         (__old_msgctl): Do not use CHECK_1.
56326         (__new_msgctl): Likewise.
56327         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56328         <bp-checks.h>.
56329         (__gettimeofday): Do not use CHECK_1.
56330         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56331         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56332         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56333         <bp-checks.h>.
56334         (__gettimeofday): Do not use CHECK_1.
56335         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56336         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56337         (__new_shmctl): Do not use CHECK_1.
56338         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56339         <bp-checks.h>.
56340         (do_sigtimedwait): Do not use CHECK_1.
56341         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56342         <bp-checks.h>.
56343         (do_sigwaitinfo): Do not use CHECK_1.
56344         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56345         <bp-checks.h>.
56346         (msgctl): Do not use CHECK_1.
56347         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56348         <bp-checks.h>.
56349         (shmctl): Do not use CHECK_1.
56350         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56351         (ustat): Do not use CHECK_1.
56352         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56353         <bp-checks.h>.
56354         (__fxstat): Do not use CHECK_1.
56355         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56356         <bp-checks.h>.
56357         (__fxstatat): Do not use CHECK_1.
56358         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56359         <bp-checks.h>.
56360         (__lxstat): Do not use CHECK_1.
56361         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56362         <bp-checks.h>.
56363         (__xstat): Do not use CHECK_1.
56364         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56365         (__xstat): Do not use CHECK_1.
56366         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56367         (___xstat64): Do not use CHECK_1.
56369         [BZ #13550]
56370         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56371         definitions.
56372         (CHECK_BOUNDS_HIGH): Likewise.
56373         * string/strcpy.c: Do not include <bp-checks.h>.
56374         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56376 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56378         * nscd/nscd-client.h (__nscd_drop_map_ref):
56379         Add __attribute__ ((unused)).
56380         * nis/nss-nisplus.h (niserr2nss): Likewise.
56382         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56383         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56385         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56386         Remove inline keyword.
56387         * include/rounding-mode.h (round_away): Likewise.
56388         * libio/wfileops.c (adjust_wide_data): Likewise.
56389         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56390         (__m128i_strloadu_tolower): Likewise.
56391         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56392         (__m128i_strloadu_tolower): Likewise.
56393         * time/mktime.c (ydhms_diff): Likewise.
56394         * locale/elem-hash.h (elem_hash): Likewise.
56395         * locale/setlocale.c (setdata): Likewise.
56396         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56397         (re_string_wchar_at): Likewise.
56398         (bitset_not, bitset_merge, bitset_mask): Likewise.
56399         [!(__GNUC__ > 3)] (inline): Remove macro.
56400         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56401         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56402         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56403         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56404         * string/memcmp.c (memcmp_bytes): Likewise.
56405         * locale/programs/locarchive.c (compute_hashval): Likewise.
56406         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56407         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56408         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56409         * nss/getent.c (print_rpc, print_protocols): Likewise.
56410         (print_passwd, print_group, print_aliases): Likewise.
56411         * nis/nss-nisplus.h (niserr2nss): Likewise.
56412         * nscd/connections.c (restart_p): Likewise.
56413         Change return type to bool.
56415 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56417         * Makeconfig (all-Depend-files): Add existing
56418         $(sorted-subdirs:=/Depend) files.
56419         (all-subdirs): Remove nss.
56420         * sysdeps/unix/inet/Subdirs: Add it here instead.
56421         * hesiod/Depend: New file.
56423         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56424         instead of calling alloca.
56426         * io/lseek.c (__lseek): Rename to __libc_lseek.
56427         Define __lseek as an alias.
56429         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56431 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56433         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56434         else clause and remove check for non-standard endianness.
56436 2013-02-04  David S. Miller  <davem@davemloft.net>
56438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56440 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56442         [BZ #13550]
56443         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56444         (__ubp_memchr): Remove prototype.
56445         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56446         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56447         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56448         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56449         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56450         Remove alias.
56451         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56452         (__ubp_memchr): Likewise.
56453         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56454         (__ubp_memchr): Likewise.
56455         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56456         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56457         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56458         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56459         CHECK_STRING.
56460         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56461         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56462         (__getcwd): Do not use CHECK_STRING.
56463         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56464         <bp-checks.h>.
56465         (__real_chown): Do not use CHECK_STRING.
56466         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56467         <bp-checks.h>.
56468         (fchownat): Do not use CHECK_STRING.
56469         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56470         CHECK_STRING.
56471         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56472         <bp-checks.h>.
56473         (__lchown): Do not use CHECK_STRING.
56474         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56475         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56476         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56477         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56479         include <bp-checks.h>.
56480         (truncate64): Do not use CHECK_STRING.
56481         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56482         <bp-checks.h>.
56483         (__real_chown): Do not use CHECK_STRING.
56484         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56485         <bp-checks.h>.
56486         (__lchown): Do not use CHECK_STRING.
56487         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56488         <bp-checks.h>.
56489         (__chown): Do not use CHECK_STRING.
56490         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56491         <bp-checks.h>.
56492         (truncate64): Do not use CHECK_STRING.
56493         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56494         Likewise.
56495         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56496         (__xmknod): Do not use CHECK_STRING.
56497         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56498         <bp-checks.h>.
56499         (__xmknodat): Do not use CHECK_STRING.
56500         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56501         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56503 2013-02-04  Andreas Schwab  <schwab@suse.de>
56505         [BZ #14142]
56506         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56507         * include/netdb.h: Likewise for h_errno.
56508         * elf/tst-stackguard1.c: Include <tls.h>.
56510 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56512         * elf/link.h (struct link_map): Extend the l_addr comment.
56513         * include/link.h (struct link_map): Likewise.
56515 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56517         [BZ #13550]
56518         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56519         (BOUNDED_1): Remove macro.
56520         * debug/backtrace.c: Don't include <bp-checks.h>.
56521         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56522         (__backtrace): Likewise.
56523         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56524         <bp-checks.h>.
56525         (__backtrace): Don't use BOUNDED_1.
56526         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56527         <bp-checks.h>.
56528         (__backtrace): Don't use BOUNDED_1.
56529         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56530         (__backtrace): Don't use BOUNDED_1.
56531         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56532         (shmat): Don't use BOUNDED_N.
56534 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56536         [BZ #13550]
56537         * sysdeps/generic/bp-start.h: Remove file.
56538         * csu/libc-start.c: Don't include <bp-start.h>.
56539         (LIBC_START_MAIN): Set up __environ directly instead of using
56540         INIT_ARGV_and_ENVIRON.
56541         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56542         <bp-start.h>.
56544         [BZ #13550]
56545         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56546         definitions.
56547         (CHECK_FCNTL): Likewise.
56548         (CHECK_N_PAGES): Likewise.
56550         [BZ #13550]
56551         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56552         definitions.
56553         (CHECK_SIGSET_NULL_OK): Likewise.
56554         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56555         <bp-checks.h>.
56556         (sigpending): Don't use CHECK_SIGSET.
56557         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56558         <bp-checks.h>.
56559         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56560         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56561         <bp-checks.h>.
56562         (do_sigsuspend): Don't use CHECK_SIGSET.
56563         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56564         use CHECK_SIGSET.
56565         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56566         (do_sigwait): Don't use CHECK_SIGSET.
56567         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56568         use CHECK_SIGSET.
56569         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56570         include <bp-checks.h>.
56571         (sigpending): Don't use CHECK_SIGSET.
56572         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56573         include <bp-checks.h>.
56574         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56575         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56576         <bp-checks.h>.
56577         (sigpending): Don't use CHECK_SIGSET.
56578         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56579         <bp-checks.h>.
56580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56582         [BZ #13550]
56583         * sysdeps/generic/bp-semctl.h: Remove file.
56584         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56585         <bp-checks.h> and <bp-semctl.h>.
56586         (__old_semctl): Don't use CHECK_SEMCTL.
56587         (__new_semctl): Likewise.
56588         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56589         and <bp-semctl.h>.
56590         (__old_semctl): Don't use CHECK_SEMCTL.
56591         (__new_semctl): Likewise.
56592         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56593         <bp-checks.h> and <bp-semctl.h>.
56594         (__old_semctl): Don't use CHECK_SEMCTL.
56595         (__new_semctl): Likewise.
56596         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56597         <bp-checks.h> and <bp-semctl.h>.
56598         (semctl): Don't use CHECK_SEMCTL.
56600         [BZ #13550]
56601         * Makerules (elide-bp-thunks): Remove variable.
56602         (elide-routines.oS): Don't use $(elide-bp-thunks).
56603         (elide-routines.os): Likewise.
56604         (elide-routines.o): Likewise.
56605         (elide-routines.op): Likewise.
56606         (elide-routines.og): Likewise.
56607         (objects): Don't use $(bp-thunks).
56608         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56609         include.
56610         (common-generated): Do not add s-proto-bp.d.
56611         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56612         (int): Likewise.
56613         (typ): Likewise.
56614         Do not generate makefile rules for bounded-pointer thunks.
56615         * sysdeps/generic/bp-thunks.h: Remove file.
56616         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56617         * sysdeps/unix/s-proto-bp.S: Likewise.
56619         [BZ #15062]
56620         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56621         parts of result separately when argument is not close to line from
56622         -i to i and one part of argument is small.
56623         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56624         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56625         * math/libm-test.inc (cacos_test): Add more tests.
56626         (casin_test): Likewise.
56627         (casinh_test): Likewise.
56628         * sysdeps/i386/fpu/libm-test-ulps: Update.
56629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56631 2013-01-31  David S. Miller  <davem@davemloft.net>
56633         * po/de.po: Update from translation team.
56635 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56637         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56639 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56641         * configure.in (_AC_PROG_CC_C89): New definition.
56642         * configure: Regenerate.
56644         * configure.in (AC_PROG_CPP): New definition.
56645         * configure: Regenerate.
56647 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56649         * debug/tst-backtrace.h: New file.
56650         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56651         (ret): Remove variable.
56652         (x): Likewise.
56653         (FAIL): Remove macro.
56654         (NO_INLINE): Likewise.
56655         (fn1): Use match function instead of strstr.
56656         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56657         (ret): Remove variable.
56658         (x): Likewise.
56659         (FAIL): Remove macro.
56660         (NO_INLINE): Likewise.
56661         (fn): Use match function instead of strstr.
56662         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56663         (ret): Remove variable.
56664         (x): Likewise.
56665         (FAIL): Remove macro.
56666         (NO_INLINE): Likewise.
56667         (handle_signal): Use match function instead of strstr.
56668         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56669         (ret): Remove variable.
56670         (x): Likewise.
56671         (FAIL): Remove macro.
56672         (NO_INLINE): Likewise.
56673         (handle_signal): Use match function instead of strstr.
56675 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56677         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56679 2013-01-23  David S. Miller  <davem@davemloft.net>
56681         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56682         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56683         argument of CAS if possible.
56684         * sysdeps/sparc/sparc64/bits/atomic.h
56685         (__arch_compare_and_exchange_val_32_acq): Likewise.
56686         (__arch_compare_and_exchange_val_64_acq): Likewise.
56688 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56690         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56691         * sysdeps/posix/ulimit.c: ... this.
56692         Include <limits.h>.
56693         * sysdeps/unix/bsd/ulimit.c: Remove file.
56695 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56697         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56698         (LDFLAGS-tst-array5): Likewise.
56700 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56702         [BZ #15036]
56703         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56704         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56705         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56706         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56708 2013-01-21  David S. Miller  <davem@davemloft.net>
56710         * sysdeps/sparc/backtrace.c: New file.
56711         * sysdeps/sparc/sparc32/backtrace.h: New file.
56712         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56713         * sysdeps/sparc/sparc64/backtrace.h: New file.
56714         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56715         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56716         -funwind-tables.
56718 2013-01-21  Andreas Schwab  <schwab@suse.de>
56720         [BZ #15020]
56721         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56722         closed its stdout.
56724 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56727         "mpa2.h".
56728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56730 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56731             Mark Mitchell  <mark@codesourcery.com>
56732             Tom de Vries  <tom@codesourcery.com>
56733             Paul Pluzhnikov  <ppluzhnikov@google.com>
56735         * debug/tst-backtrace2.c: New file.
56736         * debug/tst-backtrace3.c: Likewise.
56737         * debug/tst-backtrace4.c: Likewise.
56738         * debug/tst-backtrace5.c: Likewise.
56739         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56740         (CFLAGS-tst-backtrace3.c): Likewise.
56741         (CFLAGS-tst-backtrace4.c): Likewise.
56742         (CFLAGS-tst-backtrace5.c): Likewise.
56743         (LDFLAGS-tst-backtrace2): Likewise.
56744         (LDFLAGS-tst-backtrace3): Likewise.
56745         (LDFLAGS-tst-backtrace4): Likewise.
56746         (LDFLAGS-tst-backtrace5): Likewise.
56747         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56748         tst-backtrace4 and tst-backtrace5.
56750 2013-01-18  Anton Blanchard  <anton@samba.org>
56751             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56753         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56754         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56755         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56756         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56758         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56759         "+r" and remove output regs list as redundant.  Add explicit inline
56760         asm to specify register of return val to work around compiler codegen
56761         bug.  Remove (int) cast on return value.  Add return type parameter to
56762         use in macro so that this macro does not truncate return value for
56763         64-bit values.
56764         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56765         pass to INTERNAL_VSYSCALL_NCS.
56766         (INLINE_VSYSCALL): Add 'long int' as return type to
56767         INTERNAL_VSYSCALL_NCS macro invocation.
56768         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56769         INTERNAL_VSYSCALL_NCS macro invocation.
56770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56772 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56774         [BZ #14496]
56775         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56776         Fix application of SIMD FP exception mask.
56778         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56779         mp_no from a power of two.
56780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56781         __mpexp_twomm1.  Use __pow_mp.
56783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56784         multiplication.
56786 2013-01-17  David S. Miller  <davem@davemloft.net>
56788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56790 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56792         [BZ #15023]
56793         * include/complex.h: Condition contents on [!_COMPLEX_H].
56794         (__kernel_casinhf): New prototype.
56795         (__kernel_casinh): Likewise.
56796         (__kernel_casinhl): Likewise.
56797         * math/Makefile (libm_calls): Add k_casinh.
56798         * math/k_casinh.c: New file.
56799         * math/k_casinhf.c: Likewise.
56800         * math/k_casinhl.c: Likewise.
56801         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56802         finite nonzero arguments.
56803         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56804         finite nonzero arguments.
56805         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56806         finite nonzero arguments.
56807         * math/s_casinh.c: Do not include <float.h>.
56808         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56809         * math/s_casinhf.c: Do not include <float.h>.
56810         (__casinhf): Move code for finite nonzero arguments to
56811         k_casinhf.c.
56812         * math/s_casinhl.c: Do not include <float.h>.
56813         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56814         redefine.
56815         (__casinhl): Move code for finite nonzero arguments to
56816         k_casinhl.c.
56817         * math/libm-test.inc (cacos_test): Add more tests.
56818         * sysdeps/i386/fpu/libm-test-ulps: Update.
56819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56821 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56823         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56824         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56825         [!HAVE_MREMAP]: Remove [defined linux] case.
56826         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56828 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56830         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56832 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56834         * elf/elf.h (R_386_SIZE32): New relocation.
56835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56836         R_386_SIZE32.
56837         (elf_machine_rela): Likewise.
56838         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56839         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56841 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56843         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56844         (FP_FAST_FMA): Do not define.
56845         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56846         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56847         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56848         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56849         !_SOFT_FLOAT]: Likewise.
56850         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56851         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56852         value.
56853         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56854         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56855         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56856         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56857         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56858         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56859         file.
56861 2013-01-16  Andreas Schwab  <schwab@suse.de>
56863         [BZ #14327]
56864         * include/stdlib.h (__mktemp): Add declaration.
56865         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56866         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56868 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56870         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56871         definitions.
56872         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56873         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56874         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56875         definitions here.
56876         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56877         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56878         definitions.
56879         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56880         and ONE.
56881         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56882         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56883         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56884         definitions.
56885         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56886         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56887         definitions.
56888         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56890         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56892 2013-01-15  David S. Miller  <davem@davemloft.net>
56894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56895         trunc{,f} to libm-sysdep_routes.
56896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56898         file.
56899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56901         file.
56902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56903         file.
56904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56906         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56907         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56908         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56909         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56910         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56911         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56914         nearbyint{,f} to libm-sysdep_routes.
56915         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56917         New file.
56918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56919         file.
56920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56921         New file.
56922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56923         file.
56924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56926         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56927         file.
56928         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56929         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56930         file.
56931         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56932         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56933         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56935         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56936         libc_feholdexcept and libc_fesetenv.
56938 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56940         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56942 2013-01-14  David S. Miller  <davem@davemloft.net>
56944         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56945         (SPARC_ASM_VIS2_IFUNC): Likewise.
56946         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56948         use of 'siam' instruction.
56949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56950         Likewise.
56951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56952         Likewise.
56953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56954         Likewise.
56955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56960         file.
56961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56962         file.
56963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56964         file.
56965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56966         file.
56967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56972         new VIS2 routines.
56973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56976         Likewise.
56977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56982         routines to libm-sysdep_routines.
56983         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56986         fdim/fdimf to libm-sysdep_routines.
56987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56988         file.
56989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56991         file.
56992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56995         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56996         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56997         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56998         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57000 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57002         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57003         to optimize copies.
57005         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57010         local variable MPTWO.
57011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57012         Likewise.
57014 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57016         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57017         GLOB_NOESCAPE.
57019 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57021         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57023 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57025         * manual/pattern.texi (glob_t): Document gl_flags.
57026         (glob64_t): Likewise.
57028 2013-01-11  David S. Miller  <davem@davemloft.net>
57030         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57031         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57032         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57033         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57034         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57035         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57036         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57037         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57038         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57039         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57040         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57041         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57042         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57044         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57045         sparc V9 rather than using V8 code.
57046         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57047         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57049         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57050         Move to...
57051         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57052         Here.
57054 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57056         [BZ #14941]
57057         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57058         not in the main loop.
57059         * configure: Regenerated.
57061 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57063         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57064         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57065         to just #else.
57066         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57067         [!__GLIBC_HAVE_LONG_LONG] case.
57068         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57069         condition to just #else.
57070         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57071         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57072         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57073         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57074         unconditional.
57075         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57076         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57077         #elif condition to just #else.
57078         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57079         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57080         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57081         #elif condition to just #else.
57083 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57085         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57086         (EF_MIPS_ARCH_64): Fix value.
57087         (EF_MIPS_ARCH_32R2): New.
57088         (EF_MIPS_ARCH_64R2): New.
57090 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57092         * Makeconfig (+link-pie-before-libc): New.
57093         (+link-pie-after-libc): Likewise.
57094         (+link-pie-tests): Likewise.
57095         (+link-pie): Rewritten.
57096         (link-before-libc): Remove $(config-LDFLAGS).
57097         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57098         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57099         (config-LDFLAGS): Renamed to ...
57100         (rtld-LDFLAGS): This.
57101         (rtld-tests-LDFLAGS): New macro.
57102         (link-libc-rpath-link): Likewise.
57103         (link-libc-tests-rpath-link): Likewise.
57104         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57105         (link-libc): Prepand $(link-libc-rpath-link).
57106         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57107         (test-program-prefix): New macro.
57108         (test-via-rtld-prefix): Likewise.
57109         (test-program-cmd): Likewise.
57110         (host-test-program-cmd): Likewise.
57111         * Makefile ($(common-objpfx)testrun.sh): Replace
57112         $(run-program-prefix) with $(test-program-prefix).
57113         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57114         $(rtld-LDFLAGS).
57115         ($(common-objpfx)shlib.lds): Likewise.
57116         (build-module-helper): Likewise.
57117         ($(common-objpfx)format.lds): Likewise.
57118         * Rules (binaries-pie-tests): New.
57119         (binaries-pie-notests): Likewise.
57120         (binaries-pie): Rewritten.
57121         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57122         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57123         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57124         (make-test-out): Replace $(host-built-program-cmd) with
57125         $(host-test-program-cmd).
57126         * config.make.in (build-hardcoded-path-in-tests): New variable.
57127         * configure.in (--enable-hardcoded-path-in-tests): New configure
57128         option.
57129         (hardcoded_path_in_tests): New AC_SUBST.
57130         * configure: Regenerated.
57131         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57132         $(built-program-cmd) with $(test-program-cmd).
57133         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57134         (test_program_cmd): This.
57135         * elf/Makefile ($(objpfx)order.out): Run test with
57136         $(test-program-prefix).
57137         ($(objpfx)order2.out): Likewise.
57138         ($(objpfx)tst-initorder.out): Likewise.
57139         ($(objpfx)tst-initorder2.out): Likewise.
57140         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57141         $(test-program-cmd).
57142         ($(objpfx)tst-array1-static.out): Likewise.
57143         ($(objpfx)tst-array2.out): Likewise.
57144         ($(objpfx)tst-array3.out): Likewise.
57145         ($(objpfx)tst-array4.out): Likewise.
57146         ($(objpfx)tst-array5.out): Likewise.
57147         ($(objpfx)tst-array5-static.out): Likewise.
57148         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57149         $(test-program-cmd).
57150         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57151         $(run-program-prefix) with $(test-program-prefix).
57152         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57153         (test_program_prefix): This.
57154         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57155         $(run-program-prefix) with $(test-program-prefix).
57156         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57157         (test_program_prefix): This.
57158         * iconvdata/tst-tables.sh: Likewise.
57159         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57160         $(run-program-prefix) with $(test-program-prefix).
57161         ($(objpfx)tst-translit.out): Likewise.
57162         ($(objpfx)tst-gettext2.out): Likewise.
57163         ($(objpfx)tst-gettext4.out): Likewise.
57164         ($(objpfx)tst-gettext6.out): Likewise.
57165         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57166         (test_program_prefix): This.
57167         * intl/tst-gettext2.sh: Likewise.
57168         * intl/tst-gettext4.sh  Likewise.
57169         * intl/tst-gettext6.sh: Likewise.
57170         * intl/tst-translit.sh: Likewise.
57171         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57172         with $(test-program-cmd).
57173         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57174         $(run-program-prefix) with $(test-program-prefix).
57175         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57176         (test_program_prefix): This.
57177         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57178         $(run-program-prefix) with $(test-program-prefix).
57179         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57180         (test_program_prefix): This.
57181         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57182         * posix/Makefile ($(objpfx)globtest.out): Replace
57183         $(run-via-rtld-prefix) and $(test-wrapper) with
57184         $(test-program-prefix) and $(test-via-rtld-prefix).
57185         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57186         $(test-program-prefix).
57187         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57188         $(host-test-program-cmd).
57189         (tst-spawn-ARGS): Likewise.
57190         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57191         $(test-program-prefix).
57192         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57193         (test_via_rtld_prefix): This.
57194         (test_wrapper): Renamed to ...
57195         (test_program_prefix): This.
57196         (run_program_prefix): Replaced by test_program_prefix.
57197         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57198         (test_program_prefix): This.
57199         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57200         with $(host-test-program-cmd).
57201         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57202         $(run-program-prefix) with $(test-program-prefix).
57203         ($(objpfx)tst-printf.out): Likewise.
57204         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57205         $(test-program-cmd).
57206         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57207         (test_program_prefix): This.
57208         * stdio-common/tst-unbputc.sh: Likewise.
57209         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57210         $(run-program-prefix) with $(test-program-prefix).
57211         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57212         (test_program_prefix): This.
57213         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57214         $(built-program-cmd) with $(test-program-cmd).
57216 2013-01-11  Andreas Jaeger  <aj@suse.de>
57218         [BZ #15003]
57219         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57220         value. Sync with Linux 3.7.
57222 2013-01-10  David S. Miller  <davem@davemloft.net>
57224         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57225         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57226         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57228 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57230         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57231         never set.
57232         * configure: Regenerated.
57234 2013-01-10  David S. Miller  <davem@davemloft.net>
57236         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57237         sparc V9 rather than using V8 code.
57238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57241 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57243         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57244         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57245         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57246         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57247         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57248         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57249         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57250         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57251         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57252         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57253         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57254         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57255         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57256         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57257         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57258         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57259         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57260         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57261         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57262         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57263         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57264         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57265         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57266         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57267         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57268         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57269         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57271 2013-01-10  David S. Miller  <davem@davemloft.net>
57273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57275 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57277         * posix/Makefile (tests-static): New variable.
57278         (tests): Add $(tests-static).
57279         (tst-exec-static-ARGS): New variable.
57280         (tst-spawn-static-ARGS): Likewise.
57281         * posix/tst-exec-static.c: New file.
57282         * posix/tst-spawn-static.c: Likewise.
57283         * posix/tst-exec.c: Support run directly.
57284         * posix/tst-spawn.c: Likewise.
57286 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57288         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57289         long.
57290         * math/bits/mathcalls.h (llrint): Likewise.
57291         (llround): Likewise.
57292         * stdlib/stdlib.h (struct drand48_data): Likewise.
57293         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57294         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57295         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57296         Likewise.
57297         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57298         Likewise.
57299         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57300         (elf_greg_t): Likewise.
57301         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57302         (__jmp_buf): Likewise.
57303         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57304         definitions.
57305         (llrint): Likewise, for all definitions.
57306         (llrintl): Likewise.
57308         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57309         Remove [__GNUC__] condition.
57310         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57311         condition to just [__USE_ISOC99].
57312         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57314 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57316         [BZ #14200]
57317         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57318         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57319         defined.
57320         (_POSIX_V6_ILP32_OFF32): Likewise.
57321         (_XBS5_ILP32_OFF32): Likewise.
57322         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57323         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57325 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57327         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57329         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57330         doubles __mpexp_twomm1.  Adjust usage.
57331         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57332         Remove.
57334 2013-01-10  Andreas Schwab  <schwab@suse.de>
57336         [BZ #14964]
57337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57338         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57340 2013-01-09  David S. Miller  <davem@davemloft.net>
57342         [BZ #15003]
57343         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57344         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57345         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57346         (TCP_FASTOPEN): Define.
57347         (tcp_repair_opt): New structure.
57348         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57349         enum values.
57350         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57351         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57352         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57353         (tcp_cookie_transactions): New structure.
57355 2013-01-09  Anton Blanchard  <anton@samba.org>
57357         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57358         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57360         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57362 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57364         * include/features.h (__USE_ANSI): Remove.
57366 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57368         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57370         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57372 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57374         * sysdeps/s390/fpu/libm-test-ulps: Update.
57376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57378         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57379         (__acr): Likewise.
57380         (__cpy): Likewise.
57381         (norm): Likewise.
57382         (denorm): Likewise.
57383         (__mp_dbl): Likewise.
57384         (__dbl_mp): Likewise.
57385         (add_magnitudes): Likewise.
57386         (sub_magnitudes): Likewise.
57387         (__add): Likewise.
57388         (__sub): Likewise.
57389         (__mul): Likewise.
57390         (__inv): Likewise.
57391         (__dvd): Likewise.
57392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57393         (__acr): Likewise.
57394         (__cpy): Likewise.
57395         (norm): Likewise.
57396         (denorm): Likewise.
57397         (__mp_dbl): Likewise.
57398         (__dbl_mp): Likewise.
57399         (add_magnitudes): Likewise.
57400         (sub_magnitudes): Likewise.
57401         (__add): Likewise.
57402         (__sub): Likewise.
57403         (__mul): Likewise.
57404         (__inv): Likewise.
57405         (__dvd): Likewise.
57406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57407         (__acr): Likewise.
57408         (__cpy): Likewise.
57409         (norm): Likewise.
57410         (denorm): Likewise.
57411         (__mp_dbl): Likewise.
57412         (__dbl_mp): Likewise.
57413         (add_magnitudes): Likewise.
57414         (sub_magnitudes): Likewise.
57415         (__add): Likewise.
57416         (__sub): Likewise.
57417         (__mul): Likewise.
57418         (__inv): Likewise.
57419         (__dvd): Likewise.
57421 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57423         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57424         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57425         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57426         2 && __USE_EXTERN_INLINES]: Likewise.
57428 2013-01-08  Andreas Jaeger  <aj@suse.de>
57430         [BZ# 14985]
57431         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57432         Remove.
57433         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57434         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57436 2013-01-07  Anton Blanchard  <anton@samba.org>
57438         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57439         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57440         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57441         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57442         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57443         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57444         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57445         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57447         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57448         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57449         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57450         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57452         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57453         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57454         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57455         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57456         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57457         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57458         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57459         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57460         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57461         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57462         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57463         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57464         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57465         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57467         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57468         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57470         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57472         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57473         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57474         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57476         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57480         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57482 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57484         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57485         (__MALLOC_PMT): Likewise.
57486         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57487         [__GNUC__], only on [_LIBC].
57488         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57489         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57490         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57491         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57492         forward declaration.
57493         (realloc_hook_ini): Likewise.
57494         (memalign_hook_ini): Likewise.
57495         (__libc_memalign): Do not use __MALLOC_PMT in variable
57496         declaration.
57497         (__libc_valloc): Likewise.
57498         (__libc_pvalloc): Likewise.
57499         (__libc_calloc): Likewise.
57500         (__posix_memalign): Likewise.
57502         [BZ #14996]
57503         * math/s_casinh.c: Include <float.h>.
57504         (__casinh): Do not do computation with squaring and square root
57505         for large arguments.
57506         * math/s_casinhf.c: Include <float.h>.
57507         (__casinhf): Do not do computation with squaring and square root
57508         for large arguments.
57509         * math/s_casinhl.c: Include <float.h>.
57510         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57511         (__casinhl): Do not do computation with squaring and square root
57512         for large arguments.
57513         * math/libm-test.inc (casin_test): Add more tests.
57514         (casinh_test): Likewise.
57515         * sysdeps/i386/fpu/libm-test-ulps: Update.
57516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57518 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57520         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57521         (__x86_64_raw_data_cache_size): Likewise.
57522         (__x86_64_data_cache_size_half): Likewise.
57523         (__x86_64_raw_data_cache_size_half): Likewise.
57524         (__x86_64_shared_cache_size): Likewise.
57525         (__x86_64_raw_shared_cache_size): Likewise.
57526         (__x86_64_shared_cache_size_half): Likewise.
57527         (__x86_64_raw_shared_cache_size_half): Likewise.
57528         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57529         to ...
57530         (__x86_data_cache_size): This.
57531         (__x86_64_raw_data_cache_size): Renamed to ...
57532         (__x86_raw_data_cache_size): This.
57533         (__x86_64_data_cache_size_half): Renamed to ...
57534         (__x86_data_cache_size_half): This.
57535         (__x86_64_raw_data_cache_size_half): Renamed to ...
57536         (__x86_raw_data_cache_size_half): This.
57537         (__x86_64_shared_cache_size): Renamed to ...
57538         (__x86_shared_cache_size): This.
57539         (__x86_64_raw_shared_cache_size): Renamed to ...
57540         (__x86_raw_shared_cache_size): This.
57541         (__x86_64_shared_cache_size_half): Renamed to ...
57542         (__x86_shared_cache_size_half): This.
57543         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57544         (__x86_raw_shared_cache_size_half): This.
57545         * sysdeps/x86_64/memcpy.S: Updated.
57546         * sysdeps/x86_64/memset.S: Likewise.
57547         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57548         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57551 2013-01-04  David S. Miller  <davem@davemloft.net>
57553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57555 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57557         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57558         1 to avoid redefinition warning.
57559         (__USE_GNU): Don't define.
57560         (init_signaling_nan): Protoize.
57562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57564 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57566         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57568         (__cpymn): Likewise.
57569         (norm): Remove commented code.
57570         (denorm): Likewise.
57571         (__mp_dbl): Likewise.
57572         (__inv): Likewise.
57573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57574         (__cpymn): Likewise.
57575         (norm): Remove commented code.
57576         (denorm): Likewise.
57577         (__mp_dbl): Likewise.
57578         (__inv): Likewise.
57580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57581         mp_no value for 1.0 and 2.0.
57582         (norm): Use RADIXI instead of radixi.d.
57583         (denorm): Likewise.
57584         (__mul): Use 0.0 instead of zero.d.
57585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57586         mp_no value for 1.0 and 2.0.
57587         (norm): Use RADIXI instead of radixi.d.
57588         (denorm): Likewise.
57589         (__mul): Use 0.0 instead of zero.d.
57591 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57593         [BZ #14994]
57594         * math/s_casinh.c (__casinh): Reduce finite argument to first
57595         quadrant then set signs of results at the end.
57596         * math/s_casinhf.c (__casinhf): Likewise.
57597         * math/s_casinhl.c (__casinhl): Likewise.
57598         * math/libm-test.inc (casin_test): Add more tests.
57599         (casinh_test): Likewise.
57600         * sysdeps/i386/fpu/libm-test-ulps: Update.
57601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57603 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57605         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57607         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57609         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57610         declarations.
57611         (denorm): Likewise.
57612         (__mp_dbl): Likewise.
57613         (__inv): Likewise.
57615         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57616         and adjust the header comment.
57618         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57619         variable name from declaration.
57621 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57624         Initialize COMMON_CPUID_INDEX_7 element.
57625         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57626         (CPUID_RTM): Likewise.
57627         (HAS_RTM): Likewise.
57628         (COMMON_CPUID_INDEX_7): New enum.
57630 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57632         [BZ #14981]
57633         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57634         size is zero, record memory as freed.
57636 2013-01-03  Andreas Jaeger  <aj@suse.de>
57638         * po/ia.po: Add new Interlingua translation.
57640 2012-01-03  Allan McRae  <allan@archlinux.org>
57642         * locale/programs/localedef.c: Fix description of '--posix' flag.
57644 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57646         * NEWS: Update dates in second copyright notice.
57647         * README: Update copyright dates in example.
57648         * manual/libc.texinfo: Update copyright dates.
57649         * scripts/test-installation.pl: Update copyright date in --version
57650         output.
57652         * hurd/ctty-input.c: Fix copyright notice formatting.
57653         * hurd/ctty-output.c: Likewise.
57654         * hurd/dtable.c: Likewise.
57655         * hurd/hurd-raise.c: Likewise.
57656         * hurd/hurdprio.c: Likewise.
57657         * hurd/msgportdemux.c: Likewise.
57658         * misc/sys/file.h: Likewise.
57659         * misc/sys/ioctl.h: Likewise.
57660         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57661         * sysdeps/mach/hurd/chdir.c: Likewise.
57662         * sysdeps/mach/hurd/fchdir.c: Likewise.
57663         * sysdeps/mach/hurd/rename.c: Likewise.
57664         * sysdeps/mach/hurd/rmdir.c: Likewise.
57665         * sysdeps/mach/hurd/seekdir.c: Likewise.
57666         * sysdeps/mach/hurd/setsid.c: Likewise.
57667         * sysdeps/posix/wait3.c: Likewise.
57669         * All files with FSF copyright notices: Update copyright dates
57670         using scripts/update-copyrights.
57671         * intl/plural.c: Regenerated.
57672         * locale/programs/charmap-kw.h: Likewise.
57673         * locale/programs/locfile-kw.h: Likewise.
57675 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57677         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57678         four values.
57680         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57681         calculation loop and add branch prediction.
57683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57684         check access beyond bounds of m1np.
57686         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57687         MPTWO.
57688         (__inv): Remove local variable MPTWO to use the global
57689         constant.
57690         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57692         variable MPTWO.
57693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57694         MP3HALFS static const.
57696 2013-01-01  David S. Miller  <davem@davemloft.net>
57698         * po/ca.po: Update from translation team.
57700 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57702         * scripts/update-copyrights: New file.
57703         * Makeconfig: Reformat copyright notice.
57704         * ctype/ctype.h: Likewise.
57705         * debug/swprintf_chk.c: Likewise.
57706         * elf/dl-cache.c: Likewise.
57707         * elf/dl-debug.c: Likewise.
57708         * elf/dl-object.c: Likewise.
57709         * grp/initgroups.c: Likewise.
57710         * hurd/Makefile: Likewise.
57711         * hurd/hurd/signal.h: Likewise.
57712         * hurd/hurdfault.c: Likewise.
57713         * hurd/hurdioctl.c: Likewise.
57714         * hurd/hurdlookup.c: Likewise.
57715         * hurd/intr-msg.c: Likewise.
57716         * iconv/gconv_open.c: Likewise.
57717         * libio/swprintf.c: Likewise.
57718         * locale/lc-ctype.c: Likewise.
57719         * locale/nl_langinfo.c: Likewise.
57720         * mach/Machrules: Likewise.
57721         * mach/Makefile: Likewise.
57722         * malloc/obstack.h: Likewise.
57723         * manual/Makefile: Likewise.
57724         * manual/tsort.awk: Likewise.
57725         * misc/bits/stab.def: Likewise.
57726         * nis/nis_print_group_entry.c: Likewise.
57727         * nis/nis_table.c: Likewise.
57728         * nis/nss_compat/compat-pwd.c: Likewise.
57729         * nis/nss_compat/compat-spwd.c: Likewise.
57730         * po/Makefile: Likewise.
57731         * posix/fnmatch.c: Likewise.
57732         * posix/regex.h: Likewise.
57733         * resolv/Makefile: Likewise.
57734         * resolv/nss_dns/dns-network.c: Likewise.
57735         * resolv/res_hconf.c: Likewise.
57736         * scripts/gen-sorted.awk: Likewise.
57737         * soft-fp/soft-fp.h: Likewise.
57738         * stdio-common/printf.h: Likewise.
57739         * stdlib/monetary.h: Likewise.
57740         * stdlib/random.c: Likewise.
57741         * stdlib/random_r.c: Likewise.
57742         * sysdeps/generic/Makefile: Likewise.
57743         * sysdeps/gnu/Makefile: Likewise.
57744         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57745         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57746         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57748         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57749         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57752         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57753         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57754         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57755         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57756         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57757         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57758         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57759         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57760         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57761         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57762         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57764         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57765         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57766         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57767         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57768         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57769         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57770         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57771         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57772         * sysdeps/mach/hurd/errnos.awk: Likewise.
57773         * sysdeps/mach/hurd/fork.c: Likewise.
57774         * sysdeps/mach/hurd/getcwd.c: Likewise.
57775         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57776         * sysdeps/mach/hurd/mmap.c: Likewise.
57777         * sysdeps/mach/hurd/utimes.c: Likewise.
57778         * sysdeps/mach/hurd/xmknod.c: Likewise.
57779         * sysdeps/posix/profil.c: Likewise.
57780         * sysdeps/posix/readdir_r.c: Likewise.
57781         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57782         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57783         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57784         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57786         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57787         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57788         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57790         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57792         * sysdeps/pthread/lio_listio.c: Likewise.
57793         * sysdeps/sparc/dl-procinfo.h: Likewise.
57794         * sysdeps/unix/i386/sysdep.S: Likewise.
57795         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57796         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57797         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57798         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57800         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57801         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57802         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57803         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57804         * sysdeps/wordsize-32/divdi3.c: Likewise.
57805         * time/sys/time.h: Likewise.
57806         * wcsmbs/Makefile: Likewise.
57808 2013-01-01  David S. Miller  <davem@davemloft.net>
57810         * po/fr.po: Update from translation team.
57812         * catgets/gencat.c: Update copyright year.
57813         * csu/version.c: Likewise.
57814         * debug/catchsegv.sh: Likewise.
57815         * debug/pcprofiledump.c: Likewise.
57816         * debug/xtrace.sh: Likewise.
57817         * elf/ldconfig.c: Likewise.
57818         * elf/ldd.bash.in: Likewise.
57819         * elf/pldd.c: Likewise.
57820         * elf/sotruss.ksh: Likewise.
57821         * elf/sprof.c: Likewise.
57822         * iconv/iconv_prog.c: Likewise.
57823         * iconv/iconvconfig.c: Likewise.
57824         * locale/programs/locale.c: Likewise.
57825         * locale/programs/localedef.c: Likewise.
57826         * login/programs/pt_chown.c: Likewise.
57827         * malloc/memusage.sh: Likewise.
57828         * malloc/memusagestat.c: Likewise.
57829         * malloc/mtrace.pl: Likewise.
57830         * nscd/nscd.c: Likewise.
57831         * nss/getent.c: Likewise.
57832         * nss/makedb.c: Likewise.
57833         * posix/getconf.c: Likewise.
57835 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57837         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57838         numbers.
57840 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57842         * math/bits/mathcalls.h (modf): Use __nonnull.
57844 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57846         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57847         (split): Use macro CN instead of the bare value.
57848         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57849         could be used.
57850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57851         instead of the bare value.
57852         (power1): Likewise.
57854 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57857         __ATAN_TWOM.
57858         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57860         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57861         their values.
57862         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57863         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57864         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57865         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57867 2012-12-28  Andreas Jaeger  <aj@suse.de>
57869         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57870         values are from Linux 3.7.
57872         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57873         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57875 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57877         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57878         TRUE case.
57880         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57881         (norm): Likewise.
57882         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57883         variables with preprocessor constants.
57884         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57885         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57886         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57888 2012-12-27  Bruno Haible  <bruno@clisp.org>
57890         [BZ #14317]
57891         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57892         only if needed.
57894 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57897         and use variable directly.
57898         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57900         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57901         MPONE.
57902         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57904         variable MPONE.
57905         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57907         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57908         include directive.  Remove local variable MPONE.
57909         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57910         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57911         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57913 2012-12-25  David S. Miller  <davem@davemloft.net>
57915         * version.h (RELEASE): Set to "development".
57916         (VERSION): Set to "2.17.90".
57917         * NEWS: Add 2.18 section.
57919 2012-12-21  David S. Miller  <davem@davemloft.net>
57921         * po/hr.po: Update from translation team.
57923 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57925         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57927 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57929         * NEWS:  Mention new memcpy for MIPS.
57931 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57933         * manual/contrib.texi (Contributors): Spelling correction.
57935 2012-12-15  David S. Miller  <davem@davemloft.net>
57937         * po/ru.po: Update from translation team.
57939 2012-12-13  David S. Miller  <davem@davemloft.net>
57941         * NEWS: Mention IFUNC testsuite enhancements.
57943         * po/pl.po: Update from translation team.
57944         * po/bg.po: Likewise.
57946         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57947         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57949 2012-12-11  David S. Miller  <davem@davemloft.net>
57951         * po/sv.po: Update from translation team.
57953         * po/vi.po: Update from translation team.
57955         * po/cs.po: Update from translation team.
57957         * po/de.po: Update from translation team.
57958         * po/eo.po: Likewise.
57959         * po/nl.po: Likewise.
57961 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57963         [BZ #14246]
57964         * manual/argp.texi (Argp Helper Functions): Move node to follow
57965         Argp Parsing State.
57967         [BZ #14872]
57968         * manual/conf.texi (Limits on File System Capacity): Mention if
57969         terminating null is included in the max size.
57971 2012-12-10  Andreas Jaeger  <aj@suse.de>
57973         * po/cs.po: Update from translation team.
57975 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57977         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57978         void pointer and cast to uintptr_t.
57979         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57980         path.
57981         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57982         * sysdeps/s390/s390-64/memset.S: Likewise.
57984 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57986         [BZ #14833]
57987         * menual/message.texi (Message Translation): Fix typos.
57988         (Helper programs for gettext): Likewise.
57990 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57992         [BZ #14898]
57993         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57994         Change to -1.
57996 2012-12-07  David S. Miller  <davem@davemloft.net>
57998         * po/libc.pot: Update.
58000 2012-12-07  Richard Henderson  <rth@redhat.com>
58002         [BZ #10114]
58003         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58004         normal/normal case to before the switch.
58005         (_FP_DIV): Likewise.
58007 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58008             Mike Frysinger  <vapier@gentoo.org>
58010         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58011         check for __NR_fadvise64_64.
58013 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58015         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58016         0, not just to plain "0" as a statement.
58017         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58018         with cw.
58020 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58022         * NEWS: Use sourceware.org in Bugzilla URL.
58024 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58027         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58029         * stdio-common/tst-put-error.c (do_test): Add newline to the
58030         padded test to ensure flush.
58032 2012-12-05  Jeff Law  <law@redhat.com>
58034         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58036 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58038         * README: Don't refer to ports add-on as distributed separately.
58039         Mention AArch64 in list of systems supported in the ports add-on.
58041         * LICENSES: Add more non-FSF copyright and license notices.
58043         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58044         ((unused)).
58046         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58048         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58049         10000 as width of padded output.
58051 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58053         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58055         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58056         variable LX with __attribute__ ((unused)).
58057         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58058         Likewise.
58059         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58062         with __attribute__ ((unused)).
58064 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58066         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58068 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58070         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58071         (CFLAGS-nldbl-acos.c): New variable.
58072         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58073         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58074         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58075         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58076         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58077         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58078         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58079         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58080         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58081         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58082         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58083         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58084         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58085         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58086         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58087         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58088         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58089         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58090         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58091         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58092         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58093         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58094         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58095         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58096         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58097         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58098         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58099         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58100         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58101         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58102         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58103         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58104         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58105         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58106         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58107         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58108         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58109         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58110         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58111         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58112         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58113         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58114         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58115         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58116         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58117         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58118         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58119         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58120         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58121         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58122         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58123         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58124         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58125         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58126         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58127         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58128         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58129         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58130         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58131         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58132         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58133         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58134         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58135         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58136         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58137         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58138         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58139         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58140         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58141         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58142         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58143         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58144         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58145         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58146         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58147         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58148         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58149         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58150         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58151         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58152         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58153         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58154         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58155         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58156         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58157         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58158         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58159         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58160         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58161         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58162         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58163         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58164         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58165         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58166         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58167         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58168         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58171         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58173         [BZ #14914]
58174         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58175         whole low double instead of just low 47 bits when splitting values
58176         into two parts.
58178 2012-12-03  Allan McRae  <allan@archlinux.org>
58180         * manual/stdio.texi (Predefined Printf Handlers): Remove
58181         @hsep and @vsep usage.
58183 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58185         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58186         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58188 2012-12-03  Jeff Law  <law@redhat.com>
58190         * time/sys/time.h (settimeofday): Do not mark TV argument
58191         as __nonnull.
58193 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58195         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58196         when currently writing and seek to current position when not.
58197         * libio/Makefile (tests): Remove bug-fclose1.
58198         * libio/bug-fclose1.c: Delete.
58200 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58202         * manual/arith.texi (feenableexcept): Fix typo.
58203         (fedisableexcept): Likewise.
58205 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58207         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58208         second, differently-typed declaration, rather than a cast.
58210 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58212         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58213         * include/rpc/svc.h: ... here.
58215 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58217         [BZ #13013]
58218         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58219         depending n and resplen2 to catch cases where answer
58220         equals answerp2.
58222 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58224         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58225         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58227 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58229         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58231 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58233         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58235 2012-11-28  Jeff Law  <law@redhat.com>
58237         [BZ #13761]
58238         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58239         dataset_temporary.  Track alloca usage into alloca_used.
58240         If dataset is large allocate and release it via malloc/free.
58242 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58244         [BZ #14197]
58245         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58247 2012-11-28  David S. Miller  <davem@davemloft.net>
58249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58251 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58253         [BZ #14803]
58254         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58255         of pi/2 rounded to nearest to 64 bits.
58256         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58257         nearest to 64 bits.
58258         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58259         bits.
58261 2012-11-28  Jeff Law <law@redhat.com>
58262             Martin Osvald <mosvald@redhat.com>
58264         [BZ #14889]
58265         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58266         * sunrpc/svc.c: Include time.h.
58267         (__svc_accept_failed): New function.
58268         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58269         any reason other than EINTR, call __svc_accept_failed.
58270         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58271         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58273 2012-11-28  Andreas Schwab  <schwab@suse.de>
58275         * scripts/abilist.awk: Also handle indirect functions in .opd
58276         section.
58278 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58280         [BZ #13881]
58281         * sysdeps/x86/fpu/powl_helper.c: New file.
58282         * sysdeps/x86/fpu/Makefile: Likewise.
58283         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58284         (p3): New object.
58285         (__ieee754_powl): Use __powl_helper for finite arguments except
58286         integer exponents below 8.
58287         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58288         (p3): New object.
58289         (__ieee754_powl): Use __powl_helper for finite arguments except
58290         integer exponents below 8.
58291         * math/libm-test.inc (pow_test): Add more tests and enable some
58292         previously disabled tests.
58293         * sysdeps/i386/fpu/libm-test-ulps: Update.
58294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58296 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58297             Carlos O'Donell  <carlos_odonell@mentor.com>
58299         * nss/makedb.c (is_prime): Assert that input is odd and greater
58300         than 4.  Note that fact in a comment too.
58301         (next_prime): Add 4 to input.
58303 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58305         [BZ #11741]
58306         * libio/Makefile (tests): Add test case tst-fwrite-error.
58307         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58308         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58309         * libio/tst-fwrite-error.c: New test case.
58311 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58313         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58314         before casting to void *.
58315         * include/libc-internal.h (__pointer_type): New macro.
58316         (__integer_if_pointer_type_sub): Likewise.
58317         (__integer_if_pointer_type): Likewise.
58318         (cast_to_integer): Likewise.
58319         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58320         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58321         before casting to atomic64_t.
58322         (atomic_exchange_acq): Likewise.
58323         (__arch_exchange_and_add_body): Likewise.
58324         (__arch_add_body): Likewise.
58325         (atomic_add_negative): Likewise.
58326         (atomic_add_zero): Likewise.
58328 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58330         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58331         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58332         (add_fdes): Likewise.
58333         (linear_search_fdes): Likewise.
58334         (binary_search_unencoded_fdes): Likewise.
58336 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58338         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58340 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58342         * configure.in: Autodetect C++ header directories.
58343         * configure: Regenerated.
58345 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58347         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58349 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58353 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58355         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58356         LDBL_MANT_DIG == 106]: Disable some tests.
58357         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58358         Likewise.
58359         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58360         Likewise.
58362         [BZ #14871]
58363         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58364         input for small inputs.  Return +/- pi/2 for large inputs.
58365         * math/libm-test.inc (atan_test): Add more tests.
58367         * sysdeps/generic/unwind-dw2-fde-glibc.c
58368         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58369         __attribute__ ((unused)).
58371         [BZ #14645]
58372         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58373         x * y if x and y are nonzero and z is zero.
58375         [BZ #14811]
58376         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58377         nonzero exponents with absolute value below 0x1p-117 to +/-
58378         0x1p-117.
58380         [BZ #14869]
58381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58382         up arguments below 2**-450, not just those below 2**-500.
58383         * math/libm-test.inc (hypot_test): Add another test.
58385         [BZ #14868]
58386         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58387         Return a+b for ratio over 2**120, not 2**60.
58388         * math/libm-test.inc (hypot_test): Add another test.
58390         * math/libm-test.inc (clog_test): Use
58391         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58392         (clog10_test): Likewise.
58394         [BZ #6778]
58395         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58397 2012-11-22  Andreas Schwab  <schwab@suse.de>
58399         * sysdeps/i386/fpu/libm-test-ulps: Update.
58401 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58403         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58404         printf output with newline.
58406 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58408         [BZ #14865]
58409         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58410         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58411         -z nodlopen, -z initfirst and -z execstack support.
58412         * configure: Regenerated.
58414         * elf/elf.h (DF_1_NODIRECT): New macro.
58415         (DF_1_IGNMULDEF): Likewise.
58416         (DF_1_NOKSYMS): Likewise.
58417         (DF_1_NOHDR): Likewise.
58418         (DF_1_EDITED): Likewise.
58419         (DF_1_NORELOC): Likewise.
58420         (DF_1_SYMINTPOSE): Likewise.
58421         (DF_1_GLOBAUDIT): Likewise.
58422         (DF_1_SINGLETON): Likewise.
58423         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58424         DT_1_SUPPORTED_MASK bits.
58425         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58427 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58429         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58431 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58433         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58434         macro.
58436         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58437         (sendmmsg): Move declarations...
58438         * socket/sys/socket.h: ... here.
58439         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58440         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58441         include it from...
58442         * socket/recvmmsg.c: ... this new file.
58443         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58444         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58445         definition of __sendmmsg hidden.
58446         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58447         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58448         Move ENOSYS stub into and include it from...
58449         * socket/sendmmsg.c: ... this new file.
58450         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58451         (sysdep_routines): Move recvmmsg and sendmmsg...
58452         * socket/Makefile (routines): ... here.
58453         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58454         (GLIBC_PRIVATE): Add __sendmmsg.
58455         * include/sys/socket.h (__sendmmsg): Add declarations.
58456         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58457         sendmmsg.
58459 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58462         variable I1 with __attribute__ ((unused)).
58463         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58465 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58467         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58468         DUMMY variables with __attribute__ ((unused)).
58470         * bits/byteswap.h: Include <bits/types.h>.
58471         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58473 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58475         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58476         string_t.  Do not manually set errno.
58477         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58478         length with __strnlen.  Make sure to both set errno and return it on
58479         failure.
58481 2012-11-19  David S. Miller  <davem@davemloft.net>
58483         With help from Joseph Myers.
58484         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58485         very large arguments properly.
58486         * math/libm-test.inc (atan_test): New tests.
58487         (atan2_test): New tests.
58488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58491 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58493         [BZ #14856]
58494         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58495         Define to 3.
58497         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58498         [POSIX] (EADDRNOTAVAIL): Likewise.
58499         [POSIX] (EAFNOSUPPORT): Likewise.
58500         [POSIX] (EALREADY): Likewise.
58501         [POSIX] (ECONNABORTED): Likewise.
58502         [POSIX] (ECONNREFUSED): Likewise.
58503         [POSIX] (ECONNRESET): Likewise.
58504         [POSIX] (EDESTADDRREQ): Likewise.
58505         [POSIX] (EDQUOT): Likewise.
58506         [POSIX] (EHOSTUNREACH): Likewise.
58507         [POSIX] (EIDRM): Likewise.
58508         [POSIX] (EISCONN): Likewise.
58509         [POSIX] (ELOOP): Likewise.
58510         [POSIX] (EMULTIHOP): Likewise.
58511         [POSIX] (ENETDOWN): Likewise.
58512         [POSIX] (ENETUNREACH): Likewise.
58513         [POSIX] (ENOBUFS): Likewise.
58514         [POSIX] (ENODATA): Likewise.
58515         [POSIX] (ENOLINK): Likewise.
58516         [POSIX] (ENOMSG): Likewise.
58517         [POSIX] (ENOPROTOOPT): Likewise.
58518         [POSIX] (ENOSR): Likewise.
58519         [POSIX] (ENOSTR): Likewise.
58520         [POSIX] (ENOTCONN): Likewise.
58521         [POSIX] (ENOTSOCK): Likewise.
58522         [POSIX] (EOPNOTSUPP): Likewise.
58523         [POSIX] (EOVERFLOW): Likewise.
58524         [POSIX] (EPROTO): Likewise.
58525         [POSIX] (EPROTONOSUPPORT): Likewise.
58526         [POSIX] (EPROTOTYPE): Likewise.
58527         [POSIX] (ESTALE): Likewise.
58528         [POSIX] (ETIME): Likewise.
58529         [POSIX] (ETXTBSY): Likewise.
58530         [POSIX] (EWOULDBLOCK): Likewise.
58531         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58532         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58533         [POSIX] (SEEK_CUR): Likewise.
58534         [POSIX] (SEEK_END): Likewise.
58535         [POSIX || UNIX98] (mode_t): Do not require.
58536         [POSIX] (off_t): Likewise.
58537         [POSIX] (pid_t): Likewise.
58538         [POSIX] (sys/stat.h): Do not allow header.
58539         [POSIX] (unistd.h): Likewise.
58540         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58541         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58542         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58543         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58544         require.
58545         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58546         sigevent): Specify elements.
58547         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58548         entry.
58549         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58550         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58552         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58553         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58554         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58555         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58556         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58557         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58558         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58559         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58560         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58561         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58562         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58563         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58564         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58566         Likewise.
58567         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58568         Likewise.
58569         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58570         Likewise.
58571         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58572         Likewise.
58573         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58574         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58575         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58576         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58577         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58578         Specify lower bound on value.
58579         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58580         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58581         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58582         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58583         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58584         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58585         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58586         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58587         value.
58588         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58589         as optional.
58590         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58591         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58592         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58593         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58594         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58595         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58596         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58597         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58598         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58599         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58600         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58601         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58602         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58603         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58604         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58605         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58606         entry.
58607         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58608         optional.
58609         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58610         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58611         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58612         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58613         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58614         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58615         Likewise.
58616         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58617         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58618         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58619         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58620         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58621         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58623         as optional.
58624         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58625         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58626         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58627         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58628         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58629         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58630         specify as optional.
58631         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58632         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58633         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58634         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58635         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58636         [XPG3] (NL_LANGMAX): Likewise.
58637         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58638         [POSIX || XPG3] (NL_NMAX): Likewise.
58639         [POSIX || XPG3] (NL_SETMAX): Likewise.
58640         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58641         [XPG3] (NZERO): Likewise.
58642         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58643         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58644         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58645         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58646         (REG_ERANGE): Expect.
58647         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58648         optional-constant.
58649         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58650         Use (void) in prototype.
58651         [POSIX] (*_t): Allow.
58652         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58653         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58654         (WRDE_BADVAL): Expect.
58656         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58657         expect.
58658         [XPG3 || XPG4] (O_RSYNC): Likewise.
58659         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58660         Likewise.
58661         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58662         [XPG3 || XPG4] (sigqueue): Likewise.
58663         [XPG3 || XPG4] (sigtimedwait): Likewise.
58664         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58665         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58666         [XPG3 || XPG4] (vsnprintf): Likewise.
58667         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58668         Likewise.
58669         [XPG3 || XPG4] (blksize_t): Likewise.
58670         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58671         Likewise.
58672         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58673         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58674         [XPG3 || XPG4] (struct itimerspec): Likewise.
58675         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58676         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58677         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58678         [XPG3 || XPG4] (clockid_t): Likewise.
58679         [XPG3 || XPG4] (timer_t): Likewise.
58680         [XPG3 || XPG4] (clock_getres): Likewise.
58681         [XPG3 || XPG4] (clock_gettime): Likewise.
58682         [XPG3 || XPG4] (clock_settime): Likewise.
58683         [XPG3 || XPG4] (nanosleep): Likewise.
58684         [XPG3 || XPG4] (timer_create): Likewise.
58685         [XPG3 || XPG4] (timer_delete): Likewise.
58686         [XPG3 || XPG4] (timer_gettime): Likewise.
58687         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58688         [XPG3 || XPG4] (timer_settime): Likewise.
58689         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58690         [XPG3 || XPG4] (getlogin_r): Likewise.
58691         [XPG3 || XPG4] (pread): Likewise.
58692         [XPG3 || XPG4] (pthread_atfork): Likewise.
58693         [XPG3 || XPG4] (pwrite): Likewise.
58695         [BZ #14835]
58696         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58697         <bits/siginfo.h>.
58699 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58701         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58702         finalizing MALLSTREAM.
58704         * sysdeps/mach/hurd/syncfs.c: New file.
58706 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58708         [BZ #14719]
58709         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58710         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58712         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58713         (_nss_dns_gethostbyname4_r): Likewise.
58714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58715         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58717 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58719         [BZ #13763]
58720         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58722 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58724         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58725         * elf/cache.c (print_entry): Print ",AArch64" for
58726         FLAG_AARCH64_LIB64
58728         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58729         * elf/cache.c (print_entry): Print ",hard-float" for
58730         FLAG_ARM_LIBHF.
58732 2012-11-18  David S. Miller  <davem@davemloft.net>
58734         With help from Joseph Myers.
58735         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58736         cutoff to 2**-13.
58737         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58738         cutoff to 2**-25.
58739         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58740         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58741         small.
58742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58743         * math/libm-test.inc (y0_test): New tests.
58744         (y1_test): New tests.
58745         * sysdeps/i386/fpu/libm-test-ulps: Update.
58746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58749 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58751         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58752         64-bit targets.
58753         * configure: Regenerated.
58755 2012-11-17  David S. Miller  <davem@davemloft.net>
58757         [BZ #14811]
58758         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58759         nonzero exponents with absolute value below 0x1p-128 to +/-
58760         0x1p-128.
58762 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58764         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58766         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58768         * posix/getconf-speclist.c: New file.
58769         * posix/posix-envs.def: Likewise.
58770         * posix/confstr.c (START_ENV_GROUP): New macro.
58771         (END_ENV_GROUP): Likewise.
58772         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58773         (KNOWN_PRESENT_ENV_STRING): Likewise.
58774         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58775         (UNKNOWN_ENVIRONMENT): Likewise.
58776         (confstr): Include posix-envs.def instead of handling
58777         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58778         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58779         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58780         (END_ENV_GROUP): Likewise.
58781         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58782         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58783         (UNKNOWN_ENVIRONMENT): Likewise.
58784         (__sysconf): Include posix-envs.def instead of handling associated
58785         cases directly here.
58786         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58787         preprocessing getconf-speclist.c rather than running getconf or
58788         generating empty file.
58790 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58792         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58794 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58796         [BZ #14672]
58797         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58799 2012-11-16  David S. Miller  <davem@davemloft.net>
58801         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58802         smaller than LDBL_EPSILON/2.0L, just return xm1.
58804 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58806         * elf/tst-array1.c (init): Set constructor priority to 1000.
58807         (fini): Set destructor priority to 1000.
58808         * elf/tst-array2dep.c: Likewise.
58810 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58812         [BZ #11741]
58813         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58814         (_IO_new_file_xsputn): Also return EOF if none of the input
58815         data was written when overflow failed.
58816         * libio/iopadn.c (_IO_padn): Likewise.
58817         * libio/iowpadn.c (_IO_wpadn): Likewise.
58818         * stdio-common/tst-put-error.c: Add copyright notice.
58819         (do_test): Add case for printing padded string.
58820         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58821         _IO_padn returned error.
58822         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58823         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58824         return EOF.
58826 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58828         * libio/libioP.h: Add comment note that the references to C++
58829         bits are now obsolete.
58831 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58833         * math/libm-test.inc (check_complex): Use asprintf.
58835 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58837         * debug/pcprofiledump.c (print_version): Update copyright year.
58838         * malloc/memusagestat.c (print_version): Likewise.
58840 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58842         [BZ #14831]
58843         * elf/Makefile (tests): Add tst-audit8.
58844         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58845         ($(objpfx)tst-audit8.out): New target.
58846         (tst-audit8-ENV): New variable.
58847         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58848         audit if l_reloc_result is NULL.
58849         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58850         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58851         * elf/tst-audit8.c: New file.
58853 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58855         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58856         * misc/Makefile (CFLAGS-select.c): Define.
58857         * posix/Makefile (CFLAGS-pause.c): Define.
58859 2012-11-13  David S. Miller  <davem@davemloft.net>
58861         * crypt/Makefile: Move test targets after toplevel Rules
58862         inclusion.  Grab any necessary sysdep routines when linking.
58863         * crypt/md5.c (md5_process_block): Remove define, we will always
58864         name it __md5_process_block.
58865         (md5_finish_ctx): Update md5_process_block call.
58866         (md5_stream): Likewise.
58867         (md5_process_bytes): Likewise.
58868         (md5_process_block): Rename to __md5_process_block and move to ...
58869         * crypt/md5-block.c: ... here.
58870         * crypt/sha256.c (sha256_process_block): Move to ...
58871         * crypt/sha256-block.c: ... here.
58872         * crypt/sha512.c (sha512_process_block): Move to ...
58873         * crypt/sha512-block.c: ... here.
58874         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58875         path.
58876         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58877         * sysdeps/sparc/sparc64/multiarch/Makefile
58878         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58879         crypt subdir.
58880         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58881         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58882         multiarch changes.
58883         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58884         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58885         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58886         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58887         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58888         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58889         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58890         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58892         file.
58893         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58894         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58895         file.
58896         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58898 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58900         * timezone/tzselect.ksh: Update from tzcode git revision
58901         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58902         * timezone/zdump.c: Likewise.
58903         * timezone/zic.c: Likewise.
58904         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58905         in TZVERSION setting, not $(PKGVERSION).
58906         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58907         REPORT_BUGS_TO settings.
58909         [BZ #14838]
58910         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58911         macro.
58913 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58915         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58916         detection to immediately after _FP_ROUND().
58917         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58918         bits are 0.
58920 2012-11-11  David S. Miller  <davem@davemloft.net>
58922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58923         inttypes.h
58924         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58925         __close rather than their public counterparts.
58927 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58929         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58930         file.
58931         [UNIX98] (sem_timedwait): Do not expect.
58932         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58933         [XPG4 || UNIX98] (sockatmark): Do not expect.
58934         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58935         (clock_getcpuclockid): Do not expect.
58936         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58937         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58938         Do not expect.
58939         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58940         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58941         [UNIX98] (vwscanf): Likewise.
58942         [UNIX98] (vswscanf): Likewise.
58944 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58946         * timezone/version.h: Remove file.
58947         * timezone/README: Do not refer to version.h.
58948         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58949         $(objpfx)version.h.
58950         ($(objpfx)zdump.o): Likewise.
58951         ($(objpfx)version.h): New target.
58953         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58954         2012i.
58955         * timezone/README: Don't mention modification to tzselect.ksh.
58956         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58957         work on unmodified tzselect.ksh.  Substitute version numbers in
58958         tzselect.ksh.
58960         * Makefile (format-me): Remove.
58961         (INSTALL): Adjust indentation.  Use commands directly instead of
58962         using $(format-me).
58964         * aclocal.m4 (ACX_PKGVERSION): New macro.
58965         (ACX_BUGURL): Likewise.
58966         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58967         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58968         (REPORT_BUGS_TO): Likewise.
58969         * configure: Regenerated.
58970         * config.h.in (PKGVERSION): New macro.
58971         (REPORT_BUGS_TO): Likewise.
58972         * config.make.in (PKGVERSION): New variable.
58973         (PKGVERSION_TEXI): Likewise.
58974         (REPORT_BUGS_TO): Likewise.
58975         (REPORT_BUGS_TEXI): Likewise.
58976         * Makefile (format-me): Use -I$(common-objpfx)manual.
58977         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58978         ($(common-objpfx)manual/%): New target.
58979         (manual/%): Remove target.
58980         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58981         (print_version): Use PKGVERSION.
58982         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58983         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58984         and REPORT_BUGS_TO.
58985         ($(objpfx)xtrace): Likewise.
58986         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58987         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58988         (print_version): Use PKGVERSION.
58989         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58990         (do_version): Use PKGVERSION.
58991         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58992         REPORT_BUGS_TO.
58993         (common-ldd-rewrite): Likewise.
58994         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58995         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58996         (print_version): Use PKGVERSION.
58997         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58998         * elf/pldd.c (argp_program_bug_address): Remove variable.
58999         (more_help): New function.
59000         (argp): Use more_help.
59001         (print_version): Use PKGVERSION.
59002         * elf/sln.c (main): Use PKGVERSION.
59003         (usage): Use REPORT_BUGS_TO.
59004         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59005         (top level): Use PKGVERSION.
59006         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59007         (print_version): Use PKGVERSION.
59008         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59009         (print_version): Use PKGVERSION.
59010         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59011         (print_version): Use PKGVERSION.
59012         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59013         (print_version): Use PKGVERSION.
59014         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59015         (print_version): Use PKGVERSION.
59016         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59017         (print_version): Use PKGVERSION.
59018         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59019         and BUGURL.
59020         ($(objpfx)memusage): Likewise.
59021         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59022         (do_version): Use PKGVERSION.
59023         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59024         (print_version): Use PKGVERSION.
59025         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59026         ($PKGVERSION): New variable.
59027         ($REPORT_BUGS_TO): Likewise.
59028         (usage): Use $REPORT_BUGS_TO.
59029         (top level): Use $PKGVERSION.
59030         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59031         ($(objpfx)pkgvers.texi): New rule.
59032         ($(objpfx)stamp-pkgvers): Likewise.
59033         * manual/install.texi: Include pkgvers.texi.
59034         (--with-pkgversion): Document new configure option.
59035         (--with-bugurl): Likewise.
59036         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59037         than necessarily for this particular distribution.  Use
59038         REPORT_BUGS_TO for where to report bugs.
59039         * INSTALL: Regenerated.
59040         * manual/libc.texinfo: Include pkgvers.texi.
59041         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59042         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59043         (print_version): Use PKGVERSION.
59044         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59045         (print_version): Use PKGVERSION.
59046         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59047         (print_version): Use PKGVERSION.
59048         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59049         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59050         macro.
59051         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59052         (print_version): Use PKGVERSION.
59053         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59054         (print_version): Use PKGVERSION.
59055         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59056         and PKGVERSION.
59058         * timezone/checktab.awk: Update from tzcode 2012i.
59059         * timezone/ialloc.c: Likewise.
59060         * timezone/private.h: Likewise.
59061         * timezone/scheck.c: Likewise.
59062         * timezone/tzfile.h: Likewise.
59063         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59064         (TZVERSION): Hardcode tzcode version number.
59065         * timezone/zdump.c: Update from tzcode 2012i.
59066         * timezone/zic.c: Likewise.
59067         * timezone/version.h: New file.
59068         * timezone/README: Describe version.h.  Update upstream location.
59070         [BZ #14824]
59071         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59072         (mktemp): Enable declaration.
59073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59077         Likewise.
59078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59079         Likewise.
59080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59081         Likewise.
59082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59083         Likewise.
59084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59085         Likewise.
59086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59087         Likewise.
59089         [BZ #14821]
59090         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59091         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59092         for copies of such integer values.
59093         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59094         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59096 2012-11-09  Andreas Jaeger  <aj@suse.de>
59098         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59099         definitions and declarations that are provided by
59100         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59102 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59104         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59105         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59106         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59107         definition.
59109 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59111         * elf/elf.h: Update comment before AArch64 relocations.
59113 2012-11-07  David S. Miller  <davem@davemloft.net>
59115         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59116         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59117         (__start_context): Declare.
59118         (__makecontext_ret): Delete.
59119         (__makecontext): Hook up __start_context instead of
59120         __makecontext_ret.
59121         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59122         (sysdep_routines): Add __start_context when in stdlib.
59124 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59126         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59127         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59128         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59129         hardcoded "nm".
59130         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59131         (READELF): New variable.  Use it instead of hardcoded "readelf".
59133 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59135         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59136         * sysdeps/x86/Makefile: Here.
59137         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59138         * sysdeps/x86/tst-xmmymm.sh: This.
59140 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59142         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59143         expectations.
59144         [UNIX98] (pthread_barrier_t): Do not expect.
59145         [UNIX98] (pthread_barrierattr_t): Likewise.
59146         [UNIX98] (pthread_spinlock_t): Likewise.
59147         [UNIX98] (pthread_barrier_destroy): Likewise.
59148         [UNIX98] (pthread_barrier_init): Likewise.
59149         [UNIX98] (pthread_barrier_wait): Likewise.
59150         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59151         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59152         [UNIX98] (pthread_barrierattr_init): Likewise.
59153         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59154         [UNIX98] (pthread_getcpuclockid): Likewise.
59155         [UNIX98] (pthread_mutex_timedlock): Likewise.
59156         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59157         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59158         [UNIX98] (pthread_sigmask): Likewise.
59159         [UNIX98] (pthread_spin_destroy): Likewise.
59160         [UNIX98] (pthread_spin_init): Likewise.
59161         [UNIX98] (pthread_spin_lock): Likewise.
59162         [UNIX98] (pthread_spin_trylock): Likewise.
59163         [UNIX98] (pthread_spin_unlock): Likewise.
59164         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59165         Do not expect.
59166         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59167         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59168         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59169         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59170         [XPG3 || XPG4] (pthread_key_t): Likewise.
59171         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59172         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59173         [XPG3 || XPG4] (pthread_once_t): Likewise.
59174         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59175         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59176         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59177         [XPG3 || XPG4] (pthread_t): Likewise.
59179         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59180         not expect.
59181         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59183         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59184         Change function return type to int.
59186         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59187         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59188         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59189         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59190         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59191         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59192         [!POSIX] (posix_madvise): Likewise.
59193         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59194         && !UNIX98].
59195         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59196         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59197         (mode_t): Likewise.
59198         (posix_mem_offset): Likewise.
59199         (posix_typed_mem_get_info): Likewise.
59200         (posix_typed_mem_open): Likewise.
59202         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59203         Change condition to [XOPEN2K8].
59205         * conform/conformtest.pl: Preprocess allow-header data with -x c
59206         instead of from stdin.
59207         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59208         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59209         [C99-based standards] (cerfc): Likewise.
59210         [C99-based standards] (cexp2): Likewise.
59211         [C99-based standards] (cexpm1): Likewise.
59212         [C99-based standards] (clog10): Likewise.
59213         [C99-based standards] (clog1p): Likewise.
59214         [C99-based standards] (clog2): Likewise.
59215         [C99-based standards] (clgamma): Likewise.
59216         [C99-based standards] (ctgamma): Likewise.
59217         [C99-based standards] (cerff): Likewise.
59218         [C99-based standards] (cerfcf): Likewise.
59219         [C99-based standards] (cexp2f): Likewise.
59220         [C99-based standards] (cexpm1f): Likewise.
59221         [C99-based standards] (clog10f): Likewise.
59222         [C99-based standards] (clog1pf): Likewise.
59223         [C99-based standards] (clog2f): Likewise.
59224         [C99-based standards] (clgammaf): Likewise.
59225         [C99-based standards] (ctgammaf): Likewise.
59226         [C99-based standards] (cerfl): Likewise.
59227         [C99-based standards] (cerfcl): Likewise.
59228         [C99-based standards] (cexp2l): Likewise.
59229         [C99-based standards] (cexpm1l): Likewise.
59230         [C99-based standards] (clog10l): Likewise.
59231         [C99-based standards] (clog1pl): Likewise.
59232         [C99-based standards] (clog2l): Likewise.
59233         [C99-based standards] (clgammal): Likewise.
59234         [C99-based standards] (ctgammal): Likewise.
59235         * conform/data/inttypes.h-data [C99-based standards]: Include
59236         stdint.h-data.  Remove all expectations for stdint.h contents.
59237         [C99-based standards] (PRI*): Do not allow.
59238         [C99-based standards] (SCN*): Likewise.
59239         [C99-based standards] (*_t): Likewise.
59240         [C99-based-standards] (PRId8): Expect macro.
59241         [C99-based-standards] (PRIi8): Likewise.
59242         [C99-based-standards] (PRIo8): Likewise.
59243         [C99-based-standards] (PRIu8): Likewise.
59244         [C99-based-standards] (PRIx8): Likewise.
59245         [C99-based-standards] (PRIX8): Likewise.
59246         [C99-based-standards] (SCNd8): Likewise.
59247         [C99-based-standards] (SCNi8): Likewise.
59248         [C99-based-standards] (SCNo8): Likewise.
59249         [C99-based-standards] (SCNu8): Likewise.
59250         [C99-based-standards] (SCNx8): Likewise.
59251         [C99-based-standards] (PRIdLEAST8): Likewise.
59252         [C99-based-standards] (PRIiLEAST8): Likewise.
59253         [C99-based-standards] (PRIoLEAST8): Likewise.
59254         [C99-based-standards] (PRIuLEAST8): Likewise.
59255         [C99-based-standards] (PRIxLEAST8): Likewise.
59256         [C99-based-standards] (PRIXLEAST8): Likewise.
59257         [C99-based-standards] (SCNdLEAST8): Likewise.
59258         [C99-based-standards] (SCNiLEAST8): Likewise.
59259         [C99-based-standards] (SCNoLEAST8): Likewise.
59260         [C99-based-standards] (SCNuLEAST8): Likewise.
59261         [C99-based-standards] (SCNxLEAST8): Likewise.
59262         [C99-based-standards] (PRIdFAST8): Likewise.
59263         [C99-based-standards] (PRIiFAST8): Likewise.
59264         [C99-based-standards] (PRIoFAST8): Likewise.
59265         [C99-based-standards] (PRIuFAST8): Likewise.
59266         [C99-based-standards] (PRIxFAST8): Likewise.
59267         [C99-based-standards] (PRIXFAST8): Likewise.
59268         [C99-based-standards] (SCNdFAST8): Likewise.
59269         [C99-based-standards] (SCNiFAST8): Likewise.
59270         [C99-based-standards] (SCNoFAST8): Likewise.
59271         [C99-based-standards] (SCNuFAST8): Likewise.
59272         [C99-based-standards] (SCNxFAST8): Likewise.
59273         [C99-based-standards] (PRId16): Likewise.
59274         [C99-based-standards] (PRIi16): Likewise.
59275         [C99-based-standards] (PRIo16): Likewise.
59276         [C99-based-standards] (PRIu16): Likewise.
59277         [C99-based-standards] (PRIx16): Likewise.
59278         [C99-based-standards] (PRIX16): Likewise.
59279         [C99-based-standards] (SCNd16): Likewise.
59280         [C99-based-standards] (SCNi16): Likewise.
59281         [C99-based-standards] (SCNo16): Likewise.
59282         [C99-based-standards] (SCNu16): Likewise.
59283         [C99-based-standards] (SCNx16): Likewise.
59284         [C99-based-standards] (PRIdLEAST16): Likewise.
59285         [C99-based-standards] (PRIiLEAST16): Likewise.
59286         [C99-based-standards] (PRIoLEAST16): Likewise.
59287         [C99-based-standards] (PRIuLEAST16): Likewise.
59288         [C99-based-standards] (PRIxLEAST16): Likewise.
59289         [C99-based-standards] (PRIXLEAST16): Likewise.
59290         [C99-based-standards] (SCNdLEAST16): Likewise.
59291         [C99-based-standards] (SCNiLEAST16): Likewise.
59292         [C99-based-standards] (SCNoLEAST16): Likewise.
59293         [C99-based-standards] (SCNuLEAST16): Likewise.
59294         [C99-based-standards] (SCNxLEAST16): Likewise.
59295         [C99-based-standards] (PRIdFAST16): Likewise.
59296         [C99-based-standards] (PRIiFAST16): Likewise.
59297         [C99-based-standards] (PRIoFAST16): Likewise.
59298         [C99-based-standards] (PRIuFAST16): Likewise.
59299         [C99-based-standards] (PRIxFAST16): Likewise.
59300         [C99-based-standards] (PRIXFAST16): Likewise.
59301         [C99-based-standards] (SCNdFAST16): Likewise.
59302         [C99-based-standards] (SCNiFAST16): Likewise.
59303         [C99-based-standards] (SCNoFAST16): Likewise.
59304         [C99-based-standards] (SCNuFAST16): Likewise.
59305         [C99-based-standards] (SCNxFAST16): Likewise.
59306         [C99-based-standards] (PRId32): Likewise.
59307         [C99-based-standards] (PRIi32): Likewise.
59308         [C99-based-standards] (PRIo32): Likewise.
59309         [C99-based-standards] (PRIu32): Likewise.
59310         [C99-based-standards] (PRIx32): Likewise.
59311         [C99-based-standards] (PRIX32): Likewise.
59312         [C99-based-standards] (SCNd32): Likewise.
59313         [C99-based-standards] (SCNi32): Likewise.
59314         [C99-based-standards] (SCNo32): Likewise.
59315         [C99-based-standards] (SCNu32): Likewise.
59316         [C99-based-standards] (SCNx32): Likewise.
59317         [C99-based-standards] (PRIdLEAST32): Likewise.
59318         [C99-based-standards] (PRIiLEAST32): Likewise.
59319         [C99-based-standards] (PRIoLEAST32): Likewise.
59320         [C99-based-standards] (PRIuLEAST32): Likewise.
59321         [C99-based-standards] (PRIxLEAST32): Likewise.
59322         [C99-based-standards] (PRIXLEAST32): Likewise.
59323         [C99-based-standards] (SCNdLEAST32): Likewise.
59324         [C99-based-standards] (SCNiLEAST32): Likewise.
59325         [C99-based-standards] (SCNoLEAST32): Likewise.
59326         [C99-based-standards] (SCNuLEAST32): Likewise.
59327         [C99-based-standards] (SCNxLEAST32): Likewise.
59328         [C99-based-standards] (PRIdFAST32): Likewise.
59329         [C99-based-standards] (PRIiFAST32): Likewise.
59330         [C99-based-standards] (PRIoFAST32): Likewise.
59331         [C99-based-standards] (PRIuFAST32): Likewise.
59332         [C99-based-standards] (PRIxFAST32): Likewise.
59333         [C99-based-standards] (PRIXFAST32): Likewise.
59334         [C99-based-standards] (SCNdFAST32): Likewise.
59335         [C99-based-standards] (SCNiFAST32): Likewise.
59336         [C99-based-standards] (SCNoFAST32): Likewise.
59337         [C99-based-standards] (SCNuFAST32): Likewise.
59338         [C99-based-standards] (SCNxFAST32): Likewise.
59339         [C99-based-standards] (PRId64): Likewise.
59340         [C99-based-standards] (PRIi64): Likewise.
59341         [C99-based-standards] (PRIo64): Likewise.
59342         [C99-based-standards] (PRIu64): Likewise.
59343         [C99-based-standards] (PRIx64): Likewise.
59344         [C99-based-standards] (PRIX64): Likewise.
59345         [C99-based-standards] (SCNd64): Likewise.
59346         [C99-based-standards] (SCNi64): Likewise.
59347         [C99-based-standards] (SCNo64): Likewise.
59348         [C99-based-standards] (SCNu64): Likewise.
59349         [C99-based-standards] (SCNx64): Likewise.
59350         [C99-based-standards] (PRIdLEAST64): Likewise.
59351         [C99-based-standards] (PRIiLEAST64): Likewise.
59352         [C99-based-standards] (PRIoLEAST64): Likewise.
59353         [C99-based-standards] (PRIuLEAST64): Likewise.
59354         [C99-based-standards] (PRIxLEAST64): Likewise.
59355         [C99-based-standards] (PRIXLEAST64): Likewise.
59356         [C99-based-standards] (SCNdLEAST64): Likewise.
59357         [C99-based-standards] (SCNiLEAST64): Likewise.
59358         [C99-based-standards] (SCNoLEAST64): Likewise.
59359         [C99-based-standards] (SCNuLEAST64): Likewise.
59360         [C99-based-standards] (SCNxLEAST64): Likewise.
59361         [C99-based-standards] (PRIdFAST64): Likewise.
59362         [C99-based-standards] (PRIiFAST64): Likewise.
59363         [C99-based-standards] (PRIoFAST64): Likewise.
59364         [C99-based-standards] (PRIuFAST64): Likewise.
59365         [C99-based-standards] (PRIxFAST64): Likewise.
59366         [C99-based-standards] (PRIXFAST64): Likewise.
59367         [C99-based-standards] (SCNdFAST64): Likewise.
59368         [C99-based-standards] (SCNiFAST64): Likewise.
59369         [C99-based-standards] (SCNoFAST64): Likewise.
59370         [C99-based-standards] (SCNuFAST64): Likewise.
59371         [C99-based-standards] (SCNxFAST64): Likewise.
59372         [C99-based-standards] (PRIdMAX): Likewise.
59373         [C99-based-standards] (PRIiMAX): Likewise.
59374         [C99-based-standards] (PRIoMAX): Likewise.
59375         [C99-based-standards] (PRIuMAX): Likewise.
59376         [C99-based-standards] (PRIxMAX): Likewise.
59377         [C99-based-standards] (PRIXMAX): Likewise.
59378         [C99-based-standards] (SCNdMAX): Likewise.
59379         [C99-based-standards] (SCNiMAX): Likewise.
59380         [C99-based-standards] (SCNoMAX): Likewise.
59381         [C99-based-standards] (SCNuMAX): Likewise.
59382         [C99-based-standards] (SCNxMAX): Likewise.
59383         [C99-based-standards] (PRIdPTR): Likewise.
59384         [C99-based-standards] (PRIiPTR): Likewise.
59385         [C99-based-standards] (PRIoPTR): Likewise.
59386         [C99-based-standards] (PRIuPTR): Likewise.
59387         [C99-based-standards] (PRIxPTR): Likewise.
59388         [C99-based-standards] (PRIXPTR): Likewise.
59389         [C99-based-standards] (SCNdPTR): Likewise.
59390         [C99-based-standards] (SCNiPTR): Likewise.
59391         [C99-based-standards] (SCNoPTR): Likewise.
59392         [C99-based-standards] (SCNuPTR): Likewise.
59393         [C99-based-standards] (SCNxPTR): Likewise.
59394         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59395         allow.
59396         * conform/data/stdint.h-data: Update comments to clarify
59397         requirements.
59398         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59399         type.
59400         [C99-based standards] (INT8_MAX): Likewise.
59401         [C99-based standards] (INT16_MIN): Likewise.
59402         [C99-based standards] (INT16_MAX): Likewise.
59403         [C99-based standards] (INT32_MIN): Likewise.
59404         [C99-based standards] (INT32_MAX): Likewise.
59405         [C99-based standards] (INT64_MIN): Likewise.
59406         [C99-based standards] (INT64_MAX): Likewise.
59407         [C99-based standards] (UINT8_MAX): Likewise.
59408         [C99-based standards] (UINT16_MAX): Likewise.
59409         [C99-based standards] (UINT32_MAX): Likewise.
59410         [C99-based standards] (UINT64_MAX): Likewise.
59411         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59412         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59413         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59414         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59415         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59416         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59417         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59418         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59419         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59420         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59421         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59422         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59423         [C99-based standards] (INT_FAST8_MIN): Likewise.
59424         [C99-based standards] (INT_FAST8_MAX): Likewise.
59425         [C99-based standards] (INT_FAST16_MIN): Likewise.
59426         [C99-based standards] (INT_FAST16_MAX): Likewise.
59427         [C99-based standards] (INT_FAST32_MIN): Likewise.
59428         [C99-based standards] (INT_FAST32_MAX): Likewise.
59429         [C99-based standards] (INT_FAST64_MIN): Likewise.
59430         [C99-based standards] (INT_FAST64_MAX): Likewise.
59431         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59432         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59433         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59434         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59435         [C99-based standards] (INTPTR_MIN): Likewise.
59436         [C99-based standards] (INTPTR_MAX): Likewise.
59437         [C99-based standards] (UINTPTR_MAX): Likewise.
59438         [C99-based standards] (INTMAX_MIN): Likewise.
59439         [C99-based standards] (INTMAX_MAX): Likewise.
59440         [C99-based standards] (UINTMAX_MAX): Likewise.
59441         [C99-based standards] (PTRDIFF_MIN): Likewise.
59442         [C99-based standards] (PTRDIFF_MAX): Likewise.
59443         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59444         [C99-based standards] (SIZE_MAX): Likewise.
59445         [C99-based standards] (WCHAR_MAX): Likewise.
59446         [C99-based standards] (WINT_MAX): Likewise.
59447         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59448         constraint on value.
59449         [C99-based standards] (WCHAR_MIN): Likewise.
59450         [C99-based standards] (WINT_MIN): Likewise.
59451         [C99-based standards] (*_t): Allow.
59452         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59453         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59454         Include math.h-data and complex.h-data.  Remove all expectations
59455         of math.h and complex.h contents.
59456         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59457         at end of line.
59458         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59459         (struct tm): Expect tag.
59460         [C99-based-standards] (wcstof): Expect function.
59461         [C99-based-standards] (wcstold): Likewise.
59462         [C99-based-standards] (wcstoll): Likewise.
59463         [C99-based-standards] (wcstoull): Likewise.
59464         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59465         macro-int-constant.  Specify type.
59466         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59467         constraint on value.
59468         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59469         Specify type.
59470         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59471         Specify value.
59472         [ISO C standards]: Do not allow headers.
59473         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59474         wcs[abcdefghijklmnopqrstuvwxyz]*.
59475         [ISO C standards] (*_t): Do not allow.
59476         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59477         Expect function.
59478         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59479         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59480         Specify type.
59481         [ISO C standards]: Do not allow headers.
59482         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59483         is[abcdefghijklmnopqrstuvwxyz]*.
59484         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59485         to[abcdefghijklmnopqrstuvwxyz]*.
59486         [ISO C standards] (*_t): Do not allow.
59487         * conform/data/stdalign.h-data: New file.
59488         * conform/data/stdbool.h-data: Likewise.
59489         * conform/data/stdnoreturn.h-data: Likewise.
59491 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59493         [BZ #14815]
59494         * manual/filesys.texi (Directory Entries): Typo fix.
59495         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59497 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59499         * elf/elf.h (EM_AARCH64): New macro.
59500         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59501         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59502         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59503         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59504         (R_AARCH64_TLSDESC): Likewise.
59505         (NT_ARM_TLS): Likewise.
59506         (NT_ARM_HW_BREAK): Likewise.
59507         (NT_ARM_HW_WATCH): Likewise.
59509 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59511         [BZ #14811]
59512         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59513         (__ieee754_powl): Saturate nonzero exponents with absolute value
59514         below 0x1p-79 to +/- 0x1p-79.
59515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59516         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59517         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59518         nonzero exponents with absolute value below 0x1p-32 to +/-
59519         0x1p-32.
59520         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59521         (__ieee754_powl): Saturate nonzero exponents with absolute value
59522         below 0x1p-79 to +/- 0x1p-79.
59523         * math/libm-test.inc (pow_test): Add more tests.
59525 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59527         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59528         _dl_s390_cap_flags with kernel. Increase string length.
59529         (_dl_s390_platforms): Add z196 and zEC12.
59531 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59533         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59534         Change XOPEN21K to XOPEN2K.
59536 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59538         * string/memmove.c: Use memcpy when possible.
59540 2012-11-06  Andreas Jaeger  <aj@suse.de>
59542         * po/eo.po: Update from translation team.
59544 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59546         [BZ #14793]
59547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59548         exponent and small x and y exponents, scale x or y up.  Increase
59549         by 2 the exponent used in scaling up.
59550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59552         * math/libm-test.inc (fma_test): Add more tests.
59553         (fma_test_towardzero): Likewise.
59554         (fma_test_downward): Likewise.
59555         (fma_test_upward): Likewise.
59557 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59559         [BZ #14805]
59560         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59561         fenv_t *.
59563         [BZ #14801]
59564         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59565         namespace for names of struct fields.
59566         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59567         fenv_t fields.
59568         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59569         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59571 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59573         [BZ #3665]
59574         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59576 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59578         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59579         PTR_DEMANGLE.
59581         [BZ #5246]
59582         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59583         PTR_DEMANGLE.
59585 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59587         [BZ #14797]
59588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59589         definitely overflow as x * y not x * y + z.
59590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59592         * math/libm-test.inc (fma_test): Add more tests.
59593         (fma_test_towardzero): Likewise.
59594         (fma_test_downward): Likewise.
59595         (fma_test_upward): Likewise.
59597 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59599         [BZ #157]
59601         * include/stub-tag.h: Remove file.
59602         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59603         '#include' of it.
59604         * manual/maint.texi (Porting): Don't reference it.
59605         * Makerules ($(objpfx)stubs): Likewise.
59606         * dirent/closedir.c: Don't include <stub-tag.h>.
59607         * dirent/dirfd.c: Likewise.
59608         * dirent/fdopendir.c: Likewise.
59609         * dirent/getdents.c: Likewise.
59610         * dirent/getdents64.c: Likewise.
59611         * dirent/opendir.c: Likewise.
59612         * dirent/readdir.c: Likewise.
59613         * dirent/readdir64.c: Likewise.
59614         * dirent/readdir64_r.c: Likewise.
59615         * dirent/readdir_r.c: Likewise.
59616         * dirent/rewinddir.c: Likewise.
59617         * dirent/seekdir.c: Likewise.
59618         * dirent/telldir.c: Likewise.
59619         * gmon/profil.c: Likewise.
59620         * grp/setgroups.c: Likewise.
59621         * inet/if_index.c: Likewise.
59622         * io/access.c: Likewise.
59623         * io/chdir.c: Likewise.
59624         * io/chmod.c: Likewise.
59625         * io/chown.c: Likewise.
59626         * io/close.c: Likewise.
59627         * io/dup.c: Likewise.
59628         * io/dup2.c: Likewise.
59629         * io/dup3.c: Likewise.
59630         * io/euidaccess.c: Likewise.
59631         * io/faccessat.c: Likewise.
59632         * io/fchdir.c: Likewise.
59633         * io/fchmod.c: Likewise.
59634         * io/fchmodat.c: Likewise.
59635         * io/fchown.c: Likewise.
59636         * io/fchownat.c: Likewise.
59637         * io/fcntl.c: Likewise.
59638         * io/flock.c: Likewise.
59639         * io/fstatfs.c: Likewise.
59640         * io/fstatfs64.c: Likewise.
59641         * io/fstatvfs.c: Likewise.
59642         * io/fstatvfs64.c: Likewise.
59643         * io/futimens.c: Likewise.
59644         * io/fxstat.c: Likewise.
59645         * io/fxstat64.c: Likewise.
59646         * io/fxstatat.c: Likewise.
59647         * io/fxstatat64.c: Likewise.
59648         * io/getcwd.c: Likewise.
59649         * io/isatty.c: Likewise.
59650         * io/lchmod.c: Likewise.
59651         * io/lchown.c: Likewise.
59652         * io/link.c: Likewise.
59653         * io/linkat.c: Likewise.
59654         * io/lseek.c: Likewise.
59655         * io/lseek64.c: Likewise.
59656         * io/lxstat64.c: Likewise.
59657         * io/mkdir.c: Likewise.
59658         * io/mkdirat.c: Likewise.
59659         * io/mkfifo.c: Likewise.
59660         * io/mkfifoat.c: Likewise.
59661         * io/open.c: Likewise.
59662         * io/open64.c: Likewise.
59663         * io/openat.c: Likewise.
59664         * io/openat64.c: Likewise.
59665         * io/pipe.c: Likewise.
59666         * io/pipe2.c: Likewise.
59667         * io/poll.c: Likewise.
59668         * io/posix_fadvise.c: Likewise.
59669         * io/posix_fadvise64.c: Likewise.
59670         * io/posix_fallocate.c: Likewise.
59671         * io/posix_fallocate64.c: Likewise.
59672         * io/read.c: Likewise.
59673         * io/readlink.c: Likewise.
59674         * io/readlinkat.c: Likewise.
59675         * io/rmdir.c: Likewise.
59676         * io/sendfile.c: Likewise.
59677         * io/sendfile64.c: Likewise.
59678         * io/statfs.c: Likewise.
59679         * io/statfs64.c: Likewise.
59680         * io/statvfs.c: Likewise.
59681         * io/statvfs64.c: Likewise.
59682         * io/symlink.c: Likewise.
59683         * io/symlinkat.c: Likewise.
59684         * io/ttyname.c: Likewise.
59685         * io/ttyname_r.c: Likewise.
59686         * io/umask.c: Likewise.
59687         * io/unlink.c: Likewise.
59688         * io/unlinkat.c: Likewise.
59689         * io/utime.c: Likewise.
59690         * io/utimensat.c: Likewise.
59691         * io/write.c: Likewise.
59692         * io/xmknod.c: Likewise.
59693         * io/xmknodat.c: Likewise.
59694         * io/xstat.c: Likewise.
59695         * io/xstat64.c: Likewise.
59696         * login/getpt.c: Likewise.
59697         * login/grantpt.c: Likewise.
59698         * login/unlockpt.c: Likewise.
59699         * math/e_acoshl.c: Likewise.
59700         * math/e_acosl.c: Likewise.
59701         * math/e_asinl.c: Likewise.
59702         * math/e_atan2l.c: Likewise.
59703         * math/e_atanhl.c: Likewise.
59704         * math/e_coshl.c: Likewise.
59705         * math/e_expl.c: Likewise.
59706         * math/e_fmodl.c: Likewise.
59707         * math/e_gammal_r.c: Likewise.
59708         * math/e_hypotl.c: Likewise.
59709         * math/e_j0l.c: Likewise.
59710         * math/e_j1l.c: Likewise.
59711         * math/e_jnl.c: Likewise.
59712         * math/e_lgammal_r.c: Likewise.
59713         * math/e_log10l.c: Likewise.
59714         * math/e_log2l.c: Likewise.
59715         * math/e_logl.c: Likewise.
59716         * math/e_powl.c: Likewise.
59717         * math/e_rem_pio2l.c: Likewise.
59718         * math/e_sinhl.c: Likewise.
59719         * math/e_sqrtl.c: Likewise.
59720         * math/fclrexcpt.c: Likewise.
59721         * math/fedisblxcpt.c: Likewise.
59722         * math/feenablxcpt.c: Likewise.
59723         * math/fegetenv.c: Likewise.
59724         * math/fegetexcept.c: Likewise.
59725         * math/fegetround.c: Likewise.
59726         * math/feholdexcpt.c: Likewise.
59727         * math/fesetenv.c: Likewise.
59728         * math/fesetround.c: Likewise.
59729         * math/feupdateenv.c: Likewise.
59730         * math/fgetexcptflg.c: Likewise.
59731         * math/fraiseexcpt.c: Likewise.
59732         * math/fsetexcptflg.c: Likewise.
59733         * math/ftestexcept.c: Likewise.
59734         * math/k_cosl.c: Likewise.
59735         * math/k_rem_pio2l.c: Likewise.
59736         * math/k_sinl.c: Likewise.
59737         * math/k_tanl.c: Likewise.
59738         * math/s_asinhl.c: Likewise.
59739         * math/s_atanl.c: Likewise.
59740         * math/s_cbrtl.c: Likewise.
59741         * math/s_erfl.c: Likewise.
59742         * math/s_expm1l.c: Likewise.
59743         * math/s_log1pl.c: Likewise.
59744         * math/s_tanhl.c: Likewise.
59745         * misc/acct.c: Likewise.
59746         * misc/brk.c: Likewise.
59747         * misc/chflags.c: Likewise.
59748         * misc/chroot.c: Likewise.
59749         * misc/fchflags.c: Likewise.
59750         * misc/fgetxattr.c: Likewise.
59751         * misc/flistxattr.c: Likewise.
59752         * misc/fremovexattr.c: Likewise.
59753         * misc/fsetxattr.c: Likewise.
59754         * misc/fsync.c: Likewise.
59755         * misc/ftruncate.c: Likewise.
59756         * misc/futimes.c: Likewise.
59757         * misc/futimesat.c: Likewise.
59758         * misc/getdomain.c: Likewise.
59759         * misc/getdtsz.c: Likewise.
59760         * misc/gethostid.c: Likewise.
59761         * misc/gethostname.c: Likewise.
59762         * misc/getloadavg.c: Likewise.
59763         * misc/getpagesize.c: Likewise.
59764         * misc/getsysstats.c: Likewise.
59765         * misc/getxattr.c: Likewise.
59766         * misc/gtty.c: Likewise.
59767         * misc/ioctl.c: Likewise.
59768         * misc/lgetxattr.c: Likewise.
59769         * misc/listxattr.c: Likewise.
59770         * misc/llistxattr.c: Likewise.
59771         * misc/lremovexattr.c: Likewise.
59772         * misc/lsetxattr.c: Likewise.
59773         * misc/lutimes.c: Likewise.
59774         * misc/madvise.c: Likewise.
59775         * misc/mincore.c: Likewise.
59776         * misc/mlock.c: Likewise.
59777         * misc/mlockall.c: Likewise.
59778         * misc/mmap.c: Likewise.
59779         * misc/mprotect.c: Likewise.
59780         * misc/msync.c: Likewise.
59781         * misc/munlock.c: Likewise.
59782         * misc/munlockall.c: Likewise.
59783         * misc/munmap.c: Likewise.
59784         * misc/preadv.c: Likewise.
59785         * misc/preadv64.c: Likewise.
59786         * misc/ptrace.c: Likewise.
59787         * misc/pwritev.c: Likewise.
59788         * misc/pwritev64.c: Likewise.
59789         * misc/readv.c: Likewise.
59790         * misc/reboot.c: Likewise.
59791         * misc/remap_file_pages.c: Likewise.
59792         * misc/removexattr.c: Likewise.
59793         * misc/revoke.c: Likewise.
59794         * misc/select.c: Likewise.
59795         * misc/setdomain.c: Likewise.
59796         * misc/setegid.c: Likewise.
59797         * misc/seteuid.c: Likewise.
59798         * misc/sethostid.c: Likewise.
59799         * misc/sethostname.c: Likewise.
59800         * misc/setregid.c: Likewise.
59801         * misc/setreuid.c: Likewise.
59802         * misc/setxattr.c: Likewise.
59803         * misc/sstk.c: Likewise.
59804         * misc/stty.c: Likewise.
59805         * misc/swapoff.c: Likewise.
59806         * misc/swapon.c: Likewise.
59807         * misc/sync.c: Likewise.
59808         * misc/syncfs.c: Likewise.
59809         * misc/syscall.c: Likewise.
59810         * misc/truncate.c: Likewise.
59811         * misc/ualarm.c: Likewise.
59812         * misc/usleep.c: Likewise.
59813         * misc/ustat.c: Likewise.
59814         * misc/utimes.c: Likewise.
59815         * misc/vhangup.c: Likewise.
59816         * misc/writev.c: Likewise.
59817         * posix/_exit.c: Likewise.
59818         * posix/alarm.c: Likewise.
59819         * posix/execve.c: Likewise.
59820         * posix/fexecve.c: Likewise.
59821         * posix/fork.c: Likewise.
59822         * posix/fpathconf.c: Likewise.
59823         * posix/getaddrinfo.c: Likewise.
59824         * posix/getegid.c: Likewise.
59825         * posix/geteuid.c: Likewise.
59826         * posix/getgid.c: Likewise.
59827         * posix/getgroups.c: Likewise.
59828         * posix/getlogin.c: Likewise.
59829         * posix/getlogin_r.c: Likewise.
59830         * posix/getpgid.c: Likewise.
59831         * posix/getpid.c: Likewise.
59832         * posix/getppid.c: Likewise.
59833         * posix/getresgid.c: Likewise.
59834         * posix/getresuid.c: Likewise.
59835         * posix/getsid.c: Likewise.
59836         * posix/getuid.c: Likewise.
59837         * posix/glob64.c: Likewise.
59838         * posix/nanosleep.c: Likewise.
59839         * posix/pathconf.c: Likewise.
59840         * posix/pause.c: Likewise.
59841         * posix/posix_madvise.c: Likewise.
59842         * posix/pread.c: Likewise.
59843         * posix/pread64.c: Likewise.
59844         * posix/pwrite.c: Likewise.
59845         * posix/pwrite64.c: Likewise.
59846         * posix/sched_getaffinity.c: Likewise.
59847         * posix/sched_getp.c: Likewise.
59848         * posix/sched_gets.c: Likewise.
59849         * posix/sched_primax.c: Likewise.
59850         * posix/sched_primin.c: Likewise.
59851         * posix/sched_rr_gi.c: Likewise.
59852         * posix/sched_setaffinity.c: Likewise.
59853         * posix/sched_setp.c: Likewise.
59854         * posix/sched_sets.c: Likewise.
59855         * posix/sched_yield.c: Likewise.
59856         * posix/setgid.c: Likewise.
59857         * posix/setlogin.c: Likewise.
59858         * posix/setpgid.c: Likewise.
59859         * posix/setresgid.c: Likewise.
59860         * posix/setresuid.c: Likewise.
59861         * posix/setsid.c: Likewise.
59862         * posix/setuid.c: Likewise.
59863         * posix/sleep.c: Likewise.
59864         * posix/spawni.c: Likewise.
59865         * posix/sysconf.c: Likewise.
59866         * posix/times.c: Likewise.
59867         * posix/wait.c: Likewise.
59868         * posix/wait3.c: Likewise.
59869         * posix/wait4.c: Likewise.
59870         * posix/waitpid.c: Likewise.
59871         * resolv/gai_sigqueue.c: Likewise.
59872         * resource/getpriority.c: Likewise.
59873         * resource/getrlimit.c: Likewise.
59874         * resource/getrusage.c: Likewise.
59875         * resource/nice.c: Likewise.
59876         * resource/setpriority.c: Likewise.
59877         * resource/setrlimit.c: Likewise.
59878         * resource/ulimit.c: Likewise.
59879         * rt/aio_cancel.c: Likewise.
59880         * rt/aio_fsync.c: Likewise.
59881         * rt/aio_read.c: Likewise.
59882         * rt/aio_sigqueue.c: Likewise.
59883         * rt/aio_suspend.c: Likewise.
59884         * rt/aio_write.c: Likewise.
59885         * rt/clock_getres.c: Likewise.
59886         * rt/clock_gettime.c: Likewise.
59887         * rt/clock_nanosleep.c: Likewise.
59888         * rt/clock_settime.c: Likewise.
59889         * rt/lio_listio.c: Likewise.
59890         * rt/mq_close.c: Likewise.
59891         * rt/mq_getattr.c: Likewise.
59892         * rt/mq_notify.c: Likewise.
59893         * rt/mq_open.c: Likewise.
59894         * rt/mq_receive.c: Likewise.
59895         * rt/mq_send.c: Likewise.
59896         * rt/mq_setattr.c: Likewise.
59897         * rt/mq_timedreceive.c: Likewise.
59898         * rt/mq_timedsend.c: Likewise.
59899         * rt/mq_unlink.c: Likewise.
59900         * rt/shm_open.c: Likewise.
59901         * rt/shm_unlink.c: Likewise.
59902         * rt/timer_create.c: Likewise.
59903         * rt/timer_delete.c: Likewise.
59904         * rt/timer_getoverr.c: Likewise.
59905         * rt/timer_gettime.c: Likewise.
59906         * rt/timer_settime.c: Likewise.
59907         * setjmp/__longjmp.c: Likewise.
59908         * setjmp/setjmp.c: Likewise.
59909         * signal/kill.c: Likewise.
59910         * signal/killpg.c: Likewise.
59911         * signal/raise.c: Likewise.
59912         * signal/sigaction.c: Likewise.
59913         * signal/sigaltstack.c: Likewise.
59914         * signal/sigblock.c: Likewise.
59915         * signal/sigignore.c: Likewise.
59916         * signal/sigintr.c: Likewise.
59917         * signal/signal.c: Likewise.
59918         * signal/sigpause.c: Likewise.
59919         * signal/sigpending.c: Likewise.
59920         * signal/sigqueue.c: Likewise.
59921         * signal/sigreturn.c: Likewise.
59922         * signal/sigset.c: Likewise.
59923         * signal/sigsetmask.c: Likewise.
59924         * signal/sigstack.c: Likewise.
59925         * signal/sigsuspend.c: Likewise.
59926         * signal/sigtimedwait.c: Likewise.
59927         * signal/sigvec.c: Likewise.
59928         * signal/sigwait.c: Likewise.
59929         * signal/sigwaitinfo.c: Likewise.
59930         * signal/sysv_signal.c: Likewise.
59931         * socket/accept.c: Likewise.
59932         * socket/accept4.c: Likewise.
59933         * socket/bind.c: Likewise.
59934         * socket/connect.c: Likewise.
59935         * socket/getpeername.c: Likewise.
59936         * socket/getsockname.c: Likewise.
59937         * socket/getsockopt.c: Likewise.
59938         * socket/isfdtype.c: Likewise.
59939         * socket/listen.c: Likewise.
59940         * socket/recv.c: Likewise.
59941         * socket/recvfrom.c: Likewise.
59942         * socket/recvmsg.c: Likewise.
59943         * socket/send.c: Likewise.
59944         * socket/sendmsg.c: Likewise.
59945         * socket/sendto.c: Likewise.
59946         * socket/setsockopt.c: Likewise.
59947         * socket/shutdown.c: Likewise.
59948         * socket/sockatmark.c: Likewise.
59949         * socket/socket.c: Likewise.
59950         * socket/socketpair.c: Likewise.
59951         * stdio-common/ctermid.c: Likewise.
59952         * stdio-common/cuserid.c: Likewise.
59953         * stdio-common/remove.c: Likewise.
59954         * stdio-common/rename.c: Likewise.
59955         * stdio-common/renameat.c: Likewise.
59956         * stdio-common/tempname.c: Likewise.
59957         * stdlib/getcontext.c: Likewise.
59958         * stdlib/makecontext.c: Likewise.
59959         * stdlib/setcontext.c: Likewise.
59960         * stdlib/swapcontext.c: Likewise.
59961         * stdlib/system.c: Likewise.
59962         * streams/fattach.c: Likewise.
59963         * streams/fdetach.c: Likewise.
59964         * streams/getmsg.c: Likewise.
59965         * streams/getpmsg.c: Likewise.
59966         * streams/putmsg.c: Likewise.
59967         * streams/putpmsg.c: Likewise.
59968         * sysdeps/unix/bsd/getpt.c: Likewise.
59969         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59970         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59971         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59973         Likewise.
59974         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59975         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59976         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59977         * sysvipc/msgctl.c: Likewise.
59978         * sysvipc/msgget.c: Likewise.
59979         * sysvipc/msgrcv.c: Likewise.
59980         * sysvipc/msgsnd.c: Likewise.
59981         * sysvipc/semctl.c: Likewise.
59982         * sysvipc/semget.c: Likewise.
59983         * sysvipc/semop.c: Likewise.
59984         * sysvipc/semtimedop.c: Likewise.
59985         * sysvipc/shmat.c: Likewise.
59986         * sysvipc/shmctl.c: Likewise.
59987         * sysvipc/shmdt.c: Likewise.
59988         * sysvipc/shmget.c: Likewise.
59989         * termios/tcdrain.c: Likewise.
59990         * termios/tcflow.c: Likewise.
59991         * termios/tcflush.c: Likewise.
59992         * termios/tcgetattr.c: Likewise.
59993         * termios/tcgetpgrp.c: Likewise.
59994         * termios/tcsendbrk.c: Likewise.
59995         * termios/tcsetattr.c: Likewise.
59996         * termios/tcsetpgrp.c: Likewise.
59997         * time/adjtime.c: Likewise.
59998         * time/clock.c: Likewise.
59999         * time/getitimer.c: Likewise.
60000         * time/gettimeofday.c: Likewise.
60001         * time/setitimer.c: Likewise.
60002         * time/settimeofday.c: Likewise.
60003         * time/stime.c: Likewise.
60004         * time/time.c: Likewise.
60006 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60008         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60009         /usr/old/bin.
60011         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60012         instead of spaces.
60013         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60015 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60017         [BZ #14796]
60018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60019         FE_TONEAREST before applying Dekker multiplication and Knuth
60020         addition.  Clear inexact exceptions and check for exact zero
60021         results afterwards.
60022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60023         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60025         * math/libm-test.inc (fma_test): Add more tests.
60026         (fma_test_towardzero): Likewise.
60027         (fma_test_downward): Likewise.
60028         (fma_test_upward): Likewise.
60029         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60030         function.
60031         (libc_fesetround): New macro.
60032         (libc_fesetroundf): Likewise.
60033         (libc_fesetroundl): Likewise.
60034         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60035         function.
60036         (libc_fesetround_387): Likewise.
60037         (libc_fesetroundf): New macro.
60038         (libc_fesetround): Likewise.
60039         (libc_fesetroundl): Likewise.
60040         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60041         function.
60042         (libc_fesetroundf): New macro.
60043         (libc_fesetround): Likewise.
60044         (libc_fesetroundl): Likewise.
60045         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60046         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60047         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60048         libm_hidden_ver.
60049         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60050         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60051         libm_hidden_def.
60052         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60053         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60054         libm_hidden_ver.
60055         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60056         libm_hidden_def.
60058         [BZ #3439]
60059         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60060         integer constant usable in #if and use that to give value to enum
60061         constant.
60062         (FE_DIVBYZERO): Likewise.
60063         (FE_UNDERFLOW): Likewise.
60064         (FE_OVERFLOW): Likewise.
60065         (FE_INVALID): Likewise.
60066         (FE_INVALID_SNAN): Likewise.
60067         (FE_INVALID_ISI): Likewise.
60068         (FE_INVALID_IDI): Likewise.
60069         (FE_INVALID_ZDZ): Likewise.
60070         (FE_INVALID_IMZ): Likewise.
60071         (FE_INVALID_COMPARE): Likewise.
60072         (FE_INVALID_SOFTWARE): Likewise.
60073         (FE_INVALID_SQRT): Likewise.
60074         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60075         (FE_TONEAREST): Likewise.
60076         (FE_TOWARDZERO): Likewise.
60077         (FE_UPWARD): Likewise.
60078         (FE_DOWNWARD): Likewise.
60079         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60080         (FE_DIVBYZERO): Likewise.
60081         (FE_OVERFLOW): Likewise.
60082         (FE_UNDERFLOW): Likewise.
60083         (FE_INEXACT): Likewise.
60084         (FE_TONEAREST): Likewise.
60085         (FE_DOWNWARD): Likewise.
60086         (FE_UPWARD): Likewise.
60087         (FE_TOWARDZERO): Likewise.
60088         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60089         (FE_UNDERFLOW): Likewise.
60090         (FE_OVERFLOW): Likewise.
60091         (FE_DIVBYZERO): Likewise.
60092         (FE_INVALID): Likewise.
60093         (FE_TONEAREST): Likewise.
60094         (FE_TOWARDZERO): Likewise.
60095         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60096         (FE_OVERFLOW): Likewise.
60097         (FE_UNDERFLOW): Likewise.
60098         (FE_DIVBYZERO): Likewise.
60099         (FE_INEXACT): Likewise.
60100         (FE_TONEAREST): Likewise.
60101         (FE_TOWARDZERO): Likewise.
60102         (FE_UPWARD): Likewise.
60103         (FE_DOWNWARD): Likewise.
60104         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60105         (FE_DIVBYZERO): Likewise.
60106         (FE_OVERFLOW): Likewise.
60107         (FE_UNDERFLOW): Likewise.
60108         (FE_INEXACT): Likewise.
60109         (FE_TONEAREST): Likewise.
60110         (FE_DOWNWARD): Likewise.
60111         (FE_UPWARD): Likewise.
60112         (FE_TOWARDZERO): Likewise.
60114 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60116         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60118 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60120         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60121         commands.  Quote $PWD.
60122         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60123         -x" by "export".
60124         (remove_newlines): Remove.
60126 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60128         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60129         * stdlib/stdlib.h (atof): Moved to ...
60130         * include/bits/stdlib-float.h: Here.  New file.
60131         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60132         * stdlib/bits/stdlib-float.h: New file.
60133         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60134         -mno-sse -mno-mmx.
60135         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60136         <xmmintrin.h>.
60138 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60140         * conform/conformtest.pl (@headers): Add fenv.h.
60141         * conform/data/fenv.h-data: New file.
60142         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60143         include of <math/fenv.h>.
60145         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60146         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60147         && !UNIX98].  Enables tests for XOPEN2K8.
60148         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60149         POSIX2008]: Likewise.
60151         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60152         (struct rusage): Do not expect type or its members.
60154         [BZ #3439]
60155         * math/math.h (FP_NAN): Define macro to integer constant usable in
60156         #if and use that to give value to enum constant.
60157         (FP_INFINITE): Likewise.
60158         (FP_ZERO): Likewise.
60159         (FP_SUBNORMAL): Likewise.
60160         (FP_NORMAL): Likewise.
60162 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60164         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60165         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60166         arguments.
60168 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60170         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60171         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60172         autoconf-time if not.
60173         * configure.in: Remove AC_PREREQ.
60175 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60177         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60178         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60179         of the internal implementation.
60181 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60183         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60184         except include of <misc/sys/syslog.h>.
60186 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60189         function returns with a NULL context exit with zero.
60191 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60193         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60195 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60197         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60198         (run_program_cmd): This.
60199         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60200         (tst_langinfo): New variable.  Use it.
60202 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60204         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60205         floating point opcodes.
60207 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60209         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60210         variable.
60212         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60214         * sysdeps/mach/hurd/powerpc: Remove directory.
60215         * sysdeps/mach/powerpc: Likewise.
60217 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60219         * scripts/check-local-headers.sh: Ignore c++ headers.
60221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60223         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60224         __libc_cleanup_region_start argument.
60226 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60228         [BZ #14784]
60229         [BZ #14785]
60230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60231         x * y using scaling, not as x * y + z.
60232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60234         * math/libm-test.inc (fma_test): Add more tests.
60235         (fma_test_towardzero): Likewise.
60236         (fma_test_downward): Likewise.
60237         (fma_test_upward): Likewise.
60239 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60241         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60243 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60245         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60246         New variable.
60248 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60250         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60252 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60255         Fix sort order.
60256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60257         Likewise.
60259 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60262         Fix the order of the list for glibc 2.17.
60263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60264         Likewise.
60266 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60270 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60272         [BZ #14610]
60273         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60274         for low part of x being zero before using __atanl (y).
60275         * math/libm-test.inc (atan2_test): Add another test.
60277         * manual/install.texi (Configuring and compiling): Document
60278         general use of test-wrapper and test-wrapper-env.
60279         * INSTALL: Regenerated.
60281         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60282         (__fma): Do not extract and scale down low bits on after-rounding
60283         systems when result rounded to normal precision would have normal
60284         exponent.
60285         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60286         (__fmal): Do not extract and scale down low bits on after-rounding
60287         systems when result rounded to normal precision would have normal
60288         exponent.
60289         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60290         (__fmal): Do not extract and scale down low bits on after-rounding
60291         systems when result rounded to normal precision would have normal
60292         exponent.
60293         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60294         macro.
60295         (fma_test): Add more tests.
60296         (fma_test_towardzero): Likewise.
60297         (fma_test_downward): Likewise.
60298         (fma_test_upward): Likewise.
60300 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60302         * sysdeps/i386/tininess.h: Renamed to ...
60303         * sysdeps/x86/tininess.h: This.
60304         * sysdeps/x86_64/tininess.h: Removed.
60306 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60308         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60309         input.  Use $(build-program-cmd).
60310         ($(objpfx)tst-array1-static.out): Likewise.
60311         ($(objpfx)tst-array2.out): Likewise.
60312         ($(objpfx)tst-array3.out): Likewise.
60313         ($(objpfx)tst-array4.out): Likewise.
60314         ($(objpfx)tst-array5.out): Likewise.
60315         ($(objpfx)tst-array5-static.out): Likewise.
60317 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60319         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60320         if defined.
60322         * nss/nsswitch.h (nss_interface_function): Provide new
60323         macro for use with NSS functions.
60324         * grp/initgroups.c: Use new macro.
60325         * nss/getXXbyYY.c: Likewise.
60326         * nss/getXXbyYY_r.c: Likewise.
60327         * nss/getXXent.c: Likewise.
60328         * nss/getXXent_r.c: Likewise.
60329         * sysdeps/posix/getaddrinfo.c: Likewise.
60331 2012-10-30  Andreas Jaeger  <aj@suse.de>
60333         * po/ru.po: Update Russion translation from translation project.
60335 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60337         [BZ #14152]
60338         [BZ #14783]
60339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60340         result and shift together with sticky bit instead of replicating
60341         round-to-nearest rounding.
60342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60344         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60345         missing underflow exceptions.
60346         (fma_test_towardzero): Add more tests.
60347         (fma_test_downward): Likewise.
60348         (fma_test_upward): Likewise.
60350         [BZ #14047]
60351         * sysdeps/generic/tininess.h: New file.
60352         * sysdeps/i386/tininess.h: Likewise.
60353         * sysdeps/sh/tininess.h: Likewise.
60354         * sysdeps/x86_64/tininess.h: Likewise.
60355         * stdlib/tst-strtod-underflow.c: Likewise.
60356         * stdlib/tst-tininess.c: Likewise.
60357         * stdlib/strtod_l.c: Include <tininess.h>.
60358         (round_and_return): Do not set errno for exact underflow cases.
60359         Force an underflow exception when setting errno for underflow.
60360         Determine underflow based on rounding to normal precision if
60361         TININESS_AFTER_ROUNDING.
60362         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60363         ERANGE for exact underflow cases.
60364         * stdlib/Makefile (tests): Add tst-tininess and
60365         tst-strtod-underflow.
60366         ($(objpfx)tst-tininess): Use $(link-libm).
60367         ($(objpfx)tst-strtod-underflow): Likewise.
60369 2012-10-30  Andreas Jaeger  <aj@suse.de>
60371         [BZ#14767]
60372         * elf/Makefile (tests): Remove conditional for have-initfini-array
60373         since this is now always required and the variable does not exist
60374         anymore.
60375         (tests-static): Likewise.
60376         (modules-names): Likewise.
60378         * po/eo.po: Add Esperanto translation from translation project.
60380         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60381         merged with constructor/destructor.
60382         (init_array): Likewise.
60383         * elf/tst-array2dep.c (fini_array): Likewise.
60384         (init_array): Likewise.
60386 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60388         * manual/message.texi: Delete @cartouche tags.
60390 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60392         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60393         EOPNOTSUPP.
60394         * sysdeps/mach/hurd/fsync.c: Likewise.
60396         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60397         [_POSIX_REALTIME_SIGNALS]: Change condition to
60398         [_POSIX_REALTIME_SIGNALS > 0].
60400 2012-10-27  Andreas Jaeger  <aj@suse.de>
60402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60403         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60404         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60405         [__WORDSIZE != 64]: Likewise.
60407 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60409         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60410         *  iconvdata/tst-tables.sh: Likewise.
60412 2012-10-25  David S. Miller  <davem@davemloft.net>
60414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60415         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60416         of strtoull.
60418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60419         ifunc-impl-list.c
60420         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60421         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60422         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60423         file.
60425 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60428         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60429         __getdirentries.
60431 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60432             Jim Blandy  <jimb@codesourcery.com>
60434         * scripts/cross-test-ssh.sh: New file.
60435         * manual/install.texi (Configuring and compiling): Document use of
60436         cross-test-ssh.sh.
60437         * INSTALL: Regenerated.
60439 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60441         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60442         EOPNOTSUPP.
60444 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60446         * Makeconfig (run-program-prefix): Fix comment.
60448 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60449             Jim Blandy  <jimb@codesourcery.com>
60451         * Makeconfig (test-wrapper): New variable,
60452         (test-wrapper-env): Likewise.
60453         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60454         (run-built-tests): Define to yes.
60455         (run-program-prefix): Use $(test-wrapper).
60456         (built-program-cmd): Likewise.
60457         * Rules (make-test-out): Use $(test-wrapper-env) and
60458         $(host-built-program-cmd).
60459         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60460         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60461         tst-pathopt.sh.
60462         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60463         $(test-wrapper-env) to tst-rtld-load-self.sh.
60464         ($(objpfx)order2.out): Use $(test-wrapper).
60465         ($(objpfx)tst-initorder.out): Likewise.
60466         ($(objpfx)tst-initorder2.out): Likewise.
60467         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60468         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60469         (test_wrapper_env): New variable.  Use it to run ld.so.
60470         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60471         Use it to run ld.so.
60472         (test_wrapper_env): Likewise.
60473         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60474         $(test-wrapper) to run-iconv-test.sh.
60475         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60476         (ICONV): Use $test_wrapper.
60477         * posix/Makefile ($(objpfx)globtest.out): Pass
60478         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60479         globtest.sh, not $(run-program-prefix).
60480         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60481         (test_wrapper): Likewise.
60482         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60483         set together with run_via_rtld_prefix.
60484         (run_program_prefix): Define in terms of test_wrapper and
60485         run_via_rtld_prefix.
60487 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60489         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60490         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60491         Targets removed.
60493         [BZ #14743]
60494         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60495         Declare __clock_getres, __clock_gettime, __clock_settime,
60496         __clock_nanosleep, and __clock_getcpuclockid.
60497         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60498         Remove librt_hidden_def (clock_gettime).
60499         * sysdeps/unix/clock_gettime.c: Likewise.
60500         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60501         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60502         * rt/clock_getres.c: Define __clock_getres as an alias.
60503         * sysdeps/posix/clock_getres.c: Likewise.
60504         * rt/clock_settime.c: Define __clock_settime as an alias.
60505         * sysdeps/unix/clock_settime.c: Likewise.
60506         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60507         * sysdeps/unix/clock_nanosleep.c: Likewise.
60508         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60509         * rt/clock-compat.c: New file.
60510         * rt/Makefile (librt-routines): Add clock-compat and move
60511         $(clock-routines) to ...
60512         (routines): ... here, new variable.
60513         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60514         Don't add get_clockfreq here.
60515         * rt/Versions (libc: GLIBC_2.17): New version set.
60516         Add clock_* symbols here.
60517         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60519         (GLIBC_2.17): Add clock_* symbols.
60520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60522         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60524         Likewise.
60525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60526         Likewise.
60527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60531         * NEWS: Mention the move.
60533         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60534         Use __open, __read, __close rather than their public counterparts.
60535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60536         (__get_clockfreq_via_cpuinfo): Likewise.
60537         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60538         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60540         * config.h.in (HAVE_IFUNC): New #undef.
60541         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60542         was successful.
60543         * configure: Regenerated.
60545 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60547         * configure.in: Move READELF check to start of file.
60548         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60549         libc_cv_asm_gnu_indirect_function in the process.
60550         * configure: Regenerated.
60552 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60554         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60555         send the output to /dev/null.
60556         (libc_cv_cc_with_libunwind): Likewise.
60557         (libc_cv_as_noexecstack): Likewise.
60558         * configure: Regenerate.
60560 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60562         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60564         * posix/globtest.sh (TMPDIR): Do not set.
60565         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60566         (testout): Likewise.
60568 2012-10-24  Andreas Jaeger  <aj@suse.de>
60570         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60571         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60572         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60573         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60574         posix_fadvise64, posix_fallocate64.
60576         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60577         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60578         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60579         Likewise.
60580         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60581         Likewise.
60582         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60585         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60586         <bits/fcntl-linux.h>.
60587         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60590         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60591         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60592         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60593         [__WORDSIZE != 64]: Likewise.
60595 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60597         * Makeconfig (run-built-tests): New variable.
60598         * Rules [$(cross-compiling) = yes]: Change condition to
60599         [$(run-built-tests) = no].
60600         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60601         to [$(run-built-tests) = yes].
60602         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60603         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60604         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60605         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60606         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60607         * io/Makefile [$(cross-compiling) = no]: Likewise.
60608         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60609         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60610         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60611         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60612         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60613         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60614         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60615         * string/Makefile [$(cross-compiling) = no]: Likewise.
60617         * posix/Makefile ($(objpfx)globtest.out): Pass
60618         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60619         $(rtld-installed-name).
60620         * posix/globtest.sh (elf_objpfx): Remove variable.
60621         (rtld_installed_name): Likewise.
60622         (library_path): Likewise.
60623         (run_program_prefix): New variable.  Use for running globtest
60624         binary.
60626 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60627             Joseph Myers  <joseph@codesourcery.com>
60629         * Makeconfig (host-built-program-cmd): New variable.
60630         * elf/Makefile (tst-stackguard1-ARGS): Use
60631         $(host-built-program-cmd).
60632         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60633         (tst-spawn-ARGS): Likewise.
60634         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60636 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60637             Jim Blandy  <jimb@codesourcery.com>
60639         * Makeconfig (run-via-rtld-prefix): New variable.
60640         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60641         (built-program-cmd): Likewise.
60643 2012-10-22  Andreas Jaeger  <aj@suse.de>
60645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60646         __O_RSYNC if it exists, otherwise to O_SYNC.
60648 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60649             Joseph Myers  <joseph@codesourcery.com>
60651         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60652         /dev/null.
60653         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60654         from /dev/null
60655         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60656         /dev/null.
60658 2012-10-22  Andreas Jaeger  <aj@suse.de>
60660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60661         Define always.
60662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60665         bits/fcntl-linux.h.
60667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60668         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60671         to __O_LARGEFILE.
60672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60673         to __O_LARGEFILE.
60675 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60676             Joseph Myers  <joseph@codesourcery.com>
60678         * config.make.in (NM): New variable.
60680 2012-10-21  Andreas Jaeger  <aj@suse.de>
60682         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60683         definitions and declarations that are provided by
60684         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60686 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60688         [BZ #14683]
60689         * elf/Makefile (tests-static): Add tst-leaks1-static.
60690         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60691         ($(objpfx)tst-leaks1-static): New rule.
60692         ($(objpfx)tst-leaks1-static-mem): Likewise.
60693         (tst-leaks1-static-ENV): New macro.
60694         * elf/dl-open.c (dl_open_worker): Check the main application
60695         only if SHARED is defined.
60696         * elf/tst-leaks1-static.c: New file.
60698 2012-10-20  Andreas Jaeger  <aj@suse.de>
60700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60701         generic values for Linux.
60702         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60703         and declarations that are provided by <bits/fcntl-linux.h> and
60704         include <bits/fcntl-linux.h>.
60705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60708 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60710         * io/fcntl.h: Move include of <bits/types.h> to the top and
60711         include it unconditionally.
60713 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60715         * wcsmbs/Makefile (tests-ifunc): New variable.
60716         (tests): Add $(tests-ifunc).
60717         * wcsmbs/test-wcschr-ifunc.c: New file.
60718         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60719         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60720         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60721         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60722         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60724         * string/Makefile (tests-ifunc): New variable.
60725         (tests): Add $(tests-ifunc).
60726         * string/test-memccpy.c (TEST_NAME): New macro.
60727         * string/test-memchr.c (TEST_NAME): Likewise.
60728         * string/test-memcmp.c (TEST_NAME): Likewise.
60729         * string/test-memcpy.c (TEST_NAME): Likewise.
60730         * string/test-memmem.c (TEST_NAME): Likewise.
60731         * string/test-memmove.c (TEST_NAME): Likewise.
60732         * string/test-memset.c (TEST_NAME): Likewise.
60733         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60734         * string/test-stpcpy.c (TEST_NAME): Likewise.
60735         * string/test-stpncpy.c (TEST_NAME): Likewise.
60736         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60737         * string/test-strcasestr.c (TEST_NAME): Likewise.
60738         * string/test-strcat.c (TEST_NAME): Likewise.
60739         * string/test-strchr.c (TEST_NAME): Likewise.
60740         * string/test-strcmp.c(TEST_NAME): Likewise.
60741         * string/test-strcpy.c (TEST_NAME): Likewise.
60742         * string/test-strcspn.c (TEST_NAME): Likewise.
60743         * string/test-strlen.c (TEST_NAME): Likewise.
60744         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60745         * string/test-strncmp.c (TEST_NAME): Likewise.
60746         * string/test-strncpy.c (TEST_NAME): Likewise.
60747         * string/test-strnlen.c (TEST_NAME): Likewise.
60748         * string/test-strpbrk.c (TEST_NAME): Likewise.
60749         * string/test-strrchr.c (TEST_NAME): Likewise.
60750         * string/test-strspn.c (TEST_NAME): Likewise.
60751         * string/test-strstr.c (TEST_NAME): Likewise.
60752         * string/test-bcopy-ifunc.c: New file.
60753         * string/test-bzero-ifunc.c: Likewise.
60754         * string/test-memccpy-ifunc.c: Likewise.
60755         * string/test-memchr-ifunc.c: Likewise.
60756         * string/test-memcmp-ifunc.c: Likewise.
60757         * string/test-memcpy-ifunc.c: Likewise.
60758         * string/test-memmem-ifunc.c: Likewise.
60759         * string/test-memmove-ifunc.c: Likewise.
60760         * string/test-mempcpy-ifunc.c: Likewise.
60761         * string/test-memset-ifunc.c: Likewise.
60762         * string/test-rawmemchr-ifunc.c: Likewise.
60763         * string/test-stpcpy-ifunc.c: Likewise.
60764         * string/test-stpncpy-ifunc.c: Likewise.
60765         * string/test-strcasecmp-ifunc.c: Likewise.
60766         * string/test-strcasestr-ifunc.c: Likewise.
60767         * string/test-strcat-ifunc.c: Likewise.
60768         * string/test-strchr-ifunc.c: Likewise.
60769         * string/test-strchrnul-ifunc.c: Likewise.
60770         * string/test-strcmp-ifunc.c: Likewise.
60771         * string/test-strcpy-ifunc.c: Likewise.
60772         * string/test-strcspn-ifunc.c: Likewise.
60773         * string/test-strlen-ifunc.c: Likewise.
60774         * string/test-strncasecmp-ifunc.c: Likewise.
60775         * string/test-strncat-ifunc.c: Likewise.
60776         * string/test-strncmp-ifunc.c: Likewise.
60777         * string/test-strncpy-ifunc.c: Likewise.
60778         * string/test-strnlen-ifunc.c: Likewise.
60779         * string/test-strpbrk-ifunc.c: Likewise.
60780         * string/test-strrchr-ifunc.c: Likewise.
60781         * string/test-strspn-ifunc.c: Likewise.
60782         * string/test-strstr-ifunc.c: Likewise.
60784         * debug/Makefile (tests-ifunc): New variable.
60785         (tests): Add $(tests-ifunc).
60786         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60787         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60788         * debug/test-stpcpy_chk-ifunc.c: New file.
60789         * debug/test-strcpy_chk-ifunc.c: Likewise.
60791 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60793         [BZ #13601]
60794         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60795         header is not read in.
60797 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60799         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60800         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60801         directly.  Pass built executable to script as
60802         $(built-program-cmd).
60803         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60804         $testprogram without using LD_LIBRARY_PATH and $ldso.
60806         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60807         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60808         $(rtld-installed-name).
60809         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60810         (rtld_installed_name): Likewise.
60811         (library_path): Likewise.
60812         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60813         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60814         $(run-program-prefix) to tst-tables.sh.
60815         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60816         it to run tst-table-from and tst-table-to.
60817         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60818         Pass it to tst-table.sh.
60819         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60820         $(run-program-prefix) to tst-gettext.sh.
60821         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60822         tst-translit.sh.
60823         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60824         tst-gettext2.sh.
60825         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60826         to run tst-gettext.
60827         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60828         to run tst-gettext2.
60829         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60830         to run tst-translit.
60831         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60832         $(run-program-prefix) to tst-mtrace.sh.
60833         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60834         to run tst-mtrace.
60835         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60836         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60837         $(rtld-installed-name).
60838         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60839         (rtld_installed_name): Likewise.
60840         (run_program_prefix): New variable.  Use it to run wordexp-test.
60842         * Makeconfig (ARCH): Remove all definitions.
60843         (machine): Likewise.
60844         [ARCH]: Remove conditional code.
60845         [!objdir]: Give error.
60846         [!objdir] (objpfx): Remove.
60847         [!objdir] (common-objpfx): Likewise.
60848         [!objdir] (common-objdir): Likewise.
60849         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60850         AC_CONFIG_FILES call.
60851         * configure: Regenerated.
60853         [BZ #13888]
60854         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60855         or TMPDIR.
60856         (testout): Likewise.
60858         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60859         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60860         $(rtld-installed-name).
60861         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60862         (rtld_installed_name): Likwise.
60863         (runit): Remove function.
60864         (run_getconf): New variable,  Use it for running getconf binary.
60866 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60868         [BZ #14716]
60869         * string/test-memmem.c (check_result): New function.
60870         (do_one_test): Use it.
60871         (check1): New function.
60872         (test_main): Use it.
60874 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60876         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60878 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60880         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60881         (_G_LSEEK64): Likewise.
60882         (_G_MMAP64): Likewise.
60883         (_G_FSTAT64): Likewise.
60884         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60885         (_G_LSEEK64): Likewise.
60886         (_G_MMAP64): Likewise.
60887         (_G_FSTAT64): Likewise.
60888         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60889         unconditional.  Call __mmap64 directly.
60890         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60891         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60892         __lseek64 directly.
60893         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60894         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60895         __mmap64 directly.
60896         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60897         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60898         __lseek64 directly.
60899         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60900         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60901         __lseek64 directly.
60902         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60903         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60904         __lseek64 directly.
60905         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60906         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60907         __fxstat64 directly.
60908         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60909         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60910         unconditional.
60911         (freopen64) [!_G_OPEN64]: Remove conditional code.
60912         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60913         unconditional.
60914         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60915         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60916         unconditional.
60917         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60918         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60919         unconditional.
60920         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60921         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60922         unconditional.
60923         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60924         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60925         unconditional.
60926         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60927         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60928         unconditional.
60929         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60930         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60931         unconditional.
60932         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60934 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60936         [BZ #12140]
60937         * manual/memory.texi (Malloc Tunable Parameters): Add note
60938         about free list pointers overwriting some perturb bytes.
60939         Wording suggested by Roland McGrath.
60941 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60943         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60944         (lgamma_test): Likewise.
60945         (tgamma_test): Likewise.
60947 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60949         [BZ #14700]
60950         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60951         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60953 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60955         * NEWS: Mention BZ #14716.
60956         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60957         when removing AVAILABLE1_USES_J macro.
60959 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60961         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60962         (__bswap_64): __uint64_t for unsigned 64-bit int.
60964 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60966         * include/string.h (memmem): Declare libc hidden alias.
60967         * string/memmem.c (memmem): Define libc hidden alias.
60968         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60969         __read, __close instead of open, read, close.
60971 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60974         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60975         global and hidden.
60976         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60977         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60978         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60979         Likewise.
60980         (__rawmemchr_sse2): Likewise.
60981         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60982         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60983         (__strchr_sse2): Likewise.
60984         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60985         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60986         (__strcasecmp_sse2): Likewise.
60987         (__strncasecmp_sse2): Likewise.
60988         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60989         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60990         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60991         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60992         (__strrchr_sse2): Likewise.
60993         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60994         ifunc-impl-list.c.
60995         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60996         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60997         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60998         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60999         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61000         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61001         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61003         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61004         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61005         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61006         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61007         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61008         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61009         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61010         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61011         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61012         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61013         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61014         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61015         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61016         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61017         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61018         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61019         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61021         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61022         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61023         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61024         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61026         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61027         global and hidden.
61028         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61029         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61030         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61031         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61032         Likewise.
61033         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61034         Likewise.
61035         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61036         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61037         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61038         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61039         ifunc-impl-list.c.
61040         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61041         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61042         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61049         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61050         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61051         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61052         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61053         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61054         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61056         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61057         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61058         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61059         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61061         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61062         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61063         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61064         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61065         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61066         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61067         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61068         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61069         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61070         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61071         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61072         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61073         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61074         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61075         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61076         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61077         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61078         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61079         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61080         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61082         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61083         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61084         * include/ifunc-impl-list.h: New file.
61085         * misc/ifunc-impl-list.c: Likewise.
61086         * misc/Makefile (routines): Add ifunc-impl-list.
61087         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61088         * string/test-string.h: Include <ifunc-impl-list.h>.
61089         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61090         TEST_NAME]: New variables.
61091         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61092         are defined.
61093         (test_init): Call __libc_ifunc_impl_list to initialize
61094         func_list if TEST_IFUNC and TEST_NAME are defined.
61096         * string/Makefile (strop-tests): Add bcopy and bzero.
61097         * string/test-bcopy.c: New file.
61098         * string/test-bzero.c: Likewise.
61099         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61100         defined.
61101         * string/test-memset.c: Support bzero test if TEST_BZERO is
61102         defined.
61103         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61104         __libc_memmove.
61105         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61106         __libc_memset.
61107         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61108         of memset.
61110 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61112         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61113         * configure: Regenerated.
61115         * Makeconfig (+link-static-before-libc): Don't include
61116         $(link-static-libc).
61118         * libio/libio.h (_IO_pos_t): Remove.
61120 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61122         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61123         McGrath.
61125 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61127         * crypt/crypt-entry.c: Include fips-private.h.
61128         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61129         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61130         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61131         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61135         * crypt/crypt-private.h: Include stdbool.h.
61136         (_ufc_setup_salt_r): Return bool.
61137         * crypt/crypt-entry.c: Include errno.h.
61138         (__crypt_r): Return NULL with EINVAL for bad salt.
61139         * crypt/crypt_util.c (bad_for_salt): New.
61140         (_ufc_setup_salt_r): Check that salt is long enough and within
61141         the specified alphabet.
61142         * crypt/badsalttest.c: New file.
61143         * crypt/Makefile (tests): Add it.
61144         ($(objpfx)badsalttest): New.
61146 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61148         * NEWS: Add entry for BZ #14602.
61150 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61152         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61153         type-generic.
61154         * math/libm-test.inc: Update comment listing what functions and
61155         macros are tested.
61156         (isgreater_test): New function.
61157         (isgreaterequal_test): Likewise.
61158         (isless_test): Likewise.
61159         (islessequal_test): Likewise.
61160         (islessgreater_test): Likewise.
61161         (isunordered_test): Likewise.
61162         (main): Call the new functions.
61164 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61166         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61167         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61168         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61169         * sysdeps/i386/configure: Regenerated.
61170         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61171         * sysdeps/mach/configure: Regenerated.
61172         * sysdeps/mach/hurd/configure: Regenerated.
61173         * sysdeps/powerpc/configure: Regenerated.
61174         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61175         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61176         * sysdeps/s390/s390-32/configure: Regenerated.
61177         * sysdeps/s390/s390-64/configure: Regenerated.
61178         * sysdeps/sh/configure: Regenerated.
61179         * sysdeps/sparc/configure: Regenerated.
61180         * sysdeps/unix/sysv/linux/configure: Regenerated.
61181         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61182         * sysdeps/x86_64/configure: Regenerated.
61184         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61185         defined.  Don't check if MAP is NULL.
61187 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61189         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61190         (_G_stat64): Likewise.
61191         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61192         (_G_stat64): Likewise.
61193         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61194         instead of struct _G_stat64.
61195         * libio/fileops.c (mmap_remap_check): Likewise.
61196         (decide_maybe_mmap): Likewise.
61197         (_IO_new_file_seekoff): Likewise.
61198         (_IO_file_stat): Likewise.
61199         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61200         _G_off64_t.
61201         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61202         instead of struct _G_stat64.
61203         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61205 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61207         [BZ #14602]
61208         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61209         Replace with ...
61210         (CHECK_EOL): New macro.
61211         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61212         CHECK_EOL.
61213         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61214         Replace with CHECK_EOL.
61215         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61216         Replace with CHECK_EOL.
61218 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61220         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61221         type-generic.
61222         * math/libm-test.inc: Update comment listing what functions and
61223         macros are tested.
61224         (finite_test): New function.
61225         (isinf_test): Likewise.
61226         (isnan_test): Likewise.
61227         (fpclassify_test): Test subnormal input.
61228         (isfinite_test): Likewise.
61229         (isnormal_test): Likewise.
61230         (main): Call the new functions.
61232 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61234         [BZ #14660]
61235         * Makerules (%.dynsym): Force C locale when running
61236         $(OBJDUMP) --dynamic-syms.
61238 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61240         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61241         <stdint.h>.
61243 2012-10-06  David S. Miller  <davem@davemloft.net>
61245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61246         upper 32-bits of the length value in %o2 since we use branch-on-register
61247         tests which consider the entire 64-bit register.
61249 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61251         * string/test-strstr.c (check2): Add a test for page boundary.
61253 2012-10-05  David S. Miller  <davem@davemloft.net>
61255         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61256         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61257         file.
61258         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61259         sysdep_routines.
61260         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61261         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61262         and bzero when HWCAP_SPARC_CRYPTO is present.
61264 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61266         [BZ #14602]
61267         * string/test-strstr.c (check2): New function.
61268         (test_main): Call check2.
61270         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61271         and bug-strchr1.
61272         * string/bug-strcasestr1.c (do_test): Moved to ...
61273         * string/test-strcasestr.c (check1): Here.  New function.
61274         (do_one_test): Break out result checking code into ...
61275         (check_result): This.  New function.
61276         (do_one_test): Call check_result.
61277         (test_main): Call check1.
61278         * string/bug-strchr1.c (do_test): Moved to ...
61279         * string/test-strchr.c (check1): Here.  New function.
61280         (do_one_test): Break out result checking code into ...
61281         (check_result): This.  New function.
61282         (do_one_test): Call check_result.
61283         (test_main): Call check1.
61284         * string/bug-strstr1.c (main): Moved to ...
61285         * string/test-strstr.c (check1): Here.  New function.
61286         (do_one_test): Break out result checking code into ...
61287         (check_result): This.  New function.
61288         (do_one_test): Call check_result.
61289         (test_main): Call check1.
61290         * string/bug-strcasestr1.c: Removed.
61291         * string/bug-strchr1.c: Likewise.
61292         * string/bug-strstr1.c: Likewise.
61294         * elf/Makefile (dl-routines): Add hwcaps.
61295         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61296         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61297         (_dl_important_hwcaps): Moved to ...
61298         * elf/dl-hwcaps.c: Here.  New file.
61299         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61301         [BZ #14557]
61302         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61303         if IS_IN_rtld isn't defined.
61305         * elf/dl-support.c (_dl_sysinfo_map): New.
61306         Include "get-dynamic-info.h" and "setup-vdso.h".
61307         (_dl_non_dynamic_init): Call setup_vdso.
61308         * elf/dynamic-link.h: Don't include <assert.h>.
61309         (elf_get_dynamic_info): Moved to ...
61310         * elf/get-dynamic-info.h: Here.  New file.
61311         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61312         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61313         * elf/setup-vdso.h: Here.  New file.
61314         * elf/rtld.c: Include "setup-vdso.h".
61315         (dl_main): Call setup_vdso.
61317 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61319         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61320         creal in comment listing functions tested.  List finite, isinf,
61321         isnan, isless, islessequal, isgreater, isgreaterequal,
61322         islessgreater, isunordered, lgamma_r and pow10 as functions and
61323         macros not tested.  Mention which functions not tested are aliases
61324         for other functions.  Fix typo.  Note that signs of NaNs are not
61325         tested.
61327         * scripts/config.guess: Update from config.git.
61328         * scripts/config.sub: Likewise.
61330 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61332         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61333         * misc/madvise.c (madvise): Renamed to __madvise.
61334         Make madvise a weak alias.
61335         * include/sys/mman.h: Declare __madvise.
61336         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61337         * sysdeps/unix/syscalls.list
61338         (madvise): Make __madvise the strong name, and madvise a weak alias.
61339         * sysdeps/unix/sysv/linux/syscalls.list
61340         (madvise, mmap): Remove redundant entries.
61341         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61342         * malloc/malloc.c (mtrim): Likewise.
61343         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61345 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61347         * sysdeps/mach/hurd/dl-cache.c: File removed.
61348         * config.h.in (USE_LDCONFIG): New #undef.
61349         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61350         * configure: Regenerated.
61351         * elf/Makefile (dl-routines): Add dl-cache only under
61352         [$(use-ldconfig) = yes].
61353         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61354         cache on [USE_LDCONFIG].
61355         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61356         [USE_LDCONFIG].
61357         * elf/rtld.c (dl_main): Likewise.
61359 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61361         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61362         _SC_LEVEL4_CACHE_LINESIZE.
61364 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61366         * sysdeps/unix/bsd/confstr.h: File removed.
61368 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61370         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61371         sys/sdt-config.h.
61373 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61375         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61376         Make 'mapoff' field ElfW(Off) rather than off_t.
61378 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61380         * nscd/Makefile: Remove nscd-cflags and all its users.
61381         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61382         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61384         [BZ #10631]
61385         * malloc.c (malloc_printerr): Clarify error message.
61387 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61389         [BZ #14648]
61390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61391         Set bit_FMA_Usable if FMA is supported.
61392         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61393         macro.
61394         (bit_FMA4_Usable): Updated.
61395         (index_FMA_Usable): New macro.
61396         (CPUID_FMA): Likewise.
61397         (HAS_FMA): Defined with bit_FMA_Usable.
61399 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61401         * bits/types.h (__swblk_t): Type removed.
61402         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61403         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61405         (__SWBLK_T_TYPE): Likewise.
61406         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61407         (__SWBLK_T_TYPE): Likewise.
61408         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61409         (__SWBLK_T_TYPE): Likewise.
61410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61411         (__SWBLK_T_TYPE): Likewise.
61413 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61414             Honza Horak <hhorak@redhat.com>
61416         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61417         (xdr_mapname): Use YPMAXMAP as maxsize.
61418         (xdr_peername): Use YPMAXPEER as maxsize.
61419         (xdr_keydat): Use YPAXRECORD as maxsize.
61420         (xdr_valdat): Use YPMAXRECORD as maxsize.
61422 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61424         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61426         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61427         * csu/init-first.c: ... here.
61428         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61429         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61430         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61431         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61432         * sysdeps/i386/init-first.c: File removed.
61433         * sysdeps/sh/init-first.c: File removed.
61435 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61437         [BZ #14645]
61438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61439         if x * y might underflow to zero and z is zero.
61440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61441         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61442         * math/libm-test.inc (min_subnorm_value): New variable.
61443         (fma_test): Add more tests.
61444         (fma_test_towardzero): Likewise.
61445         (fma_test_downward): Likewise.
61446         (fma_test_upward): Likewise.
61447         (initialize): Set min_subnorm_value.
61449 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61451         [BZ #14638]
61452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61453         0 + 0.
61454         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61455         mode for addition resulting in exact zero.
61456         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61458         exact 0 + 0.
61459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61461         * math/libm-test.inc (fma_test): Add more tests.
61462         (fma_test_towardzero): New function.
61463         (fma_test_downward): Likewise.
61464         (fma_test_upward): Likewise.
61465         (main): Call the new functions.
61467 2012-09-28  David S. Miller  <davem@davemloft.net>
61469         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61471 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61473         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61474         instead of SIGALRM.
61476         * sysdeps/gnu/_G_config.h: Moved to ...
61477         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61478         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61479         * sysdeps/generic/_G_config.h: ... here.
61481         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61483         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61485         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61486         Conditionalize target on [libnss_test1.so-version].
61488         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61490         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61491         (elfobjdir): Move out of conditionals.
61493         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61494         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61495         (__nss_lookup_function): Conditionalize label remove_from_tree on
61496         [!DO_STATIC_NSS || SHARED], matching its only use.
61498 2012-09-28  David S. Miller  <davem@davemloft.net>
61500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61501         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61502         file.
61503         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61504         sysdep_routines.
61505         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61507         when HWCAP_SPARC_CRYPTO is present.
61509 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61511         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61513 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61515         [BZ #6530]
61516         * stdio-common/vfprintf.c (process_string_arg): Revert
61517         2000-07-22 change.
61519 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61521         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61522         for testcase.
61523         * stdio-common/tst-sprintf.c: Include <locale.h>
61524         (main): Test sprintf's handling of incomplete multibyte
61525         characters.
61527 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61529         * elf/dl-runtime.c (VERSYMIDX): Removed.
61530         * elf/dl-version.c (VERSYMIDX): Likewise.
61531         * elf/do-rel.h (VERSYMIDX): Likewise.
61532         (VALIDX): Likewise.
61533         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61534         * elf/rtld.c (VALIDX): Likewise.
61535         (ADDRIDX): Likewise.
61536         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61537         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61538         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61539         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61540         (VALIDX): Likewise.
61541         (ADDRIDX): Likewise.
61543 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61545         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61547 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61549         [BZ #11438]
61550         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61551         to global scope.
61552         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61553         addresses are in the same scope as 192.0.2/24.
61554         * posix/gai.conf: Document new scope table defaults.
61556 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61558         [BZ #5298]
61559         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61560         for ftell.  Compute offsets from write pointers instead.
61561         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61563 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61565         [BZ #14543]
61566         * libio/Makefile (tests): New test case tst-fseek.
61567         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61568         combination works in wide mode.
61569         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61570         state when the external buffer state changes.
61572 2012-09-27  David S. Miller  <davem@davemloft.net>
61574         [BZ #14376]
61575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61576         pass reloc->r_addend in as the 'high' argument to
61577         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61581 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61583         * rt/tst-aio2.c: Include <pthread.h>.
61584         * rt/tst-aio3.c: Likewise.
61586 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61588         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61590 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61592         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61593         contents on [SHARED].
61595 2012-09-26  Marek Polacek  <polacek@redhat.com>
61597         [BZ #14530]
61598         [BZ #13741]
61599         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61600         for C++ and GCC <4.3 as well as for non GCC compilers.
61602 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61606 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61608         * Makefile.in (all, install): Declare with .PHONY.
61609         Reported by Michael Hope <michael.hope@linaro.org>.
61611 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61613         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61614         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61615         system header.
61616         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61617         Likewise.
61618         (sydep_routines): Add the new and the internal functions.
61619         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61620         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61622         (GLIBC_2.17): Add the new function.
61623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61624         (GLIBC_2.17): Likewise.
61625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61626         (GLIBC_2.17): Likewise.
61627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61628         (GLIBC_2.17): Likewise.
61629         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61631 2012-09-25  Alan Modra  <amodra@gmail.com>
61633         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61634         Add release barrier before setting once_control to say
61635         initialisation is done.  Add hints on lwarx.  Use macro in
61636         place of isync.
61637         (clear_once_control): Add release barrier.
61639 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61641         [BZ #13629]
61642         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61643         specially.
61644         * math/s_clog10.c (__clog10): Likewise.
61645         * math/s_clog10f.c (__clog10f): Likewise.
61646         * math/s_clog10l.c (__clog10l): Likewise.
61647         * math/s_clogf.c (__clogf): Likewise.
61648         * math/s_clogl.c (__clogl): Likewise.
61649         * math/Makefile (libm-calls): Add x2y2m1.
61650         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61651         (__x2y2m1): Likewise.
61652         (__x2y2m1l): Likewise.
61653         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61654         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61655         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61656         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61657         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61658         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61659         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61660         * sysdeps/i386/fpu/libm-test-ulps: Update.
61661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61663         [BZ #14621]
61664         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61665         int as type of variable DEPTH.
61666         (glob): Use size_t instead of int as type of variables NEWCOUNT
61667         and OLD_PATHC.
61669 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61671         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61672         Add s_sincosf-sse2.
61673         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61674         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61675         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61676         macros for using routine as __sincosf_ia32.
61677         Use macro for function declaration and weak_alias.
61678         * sysdeps/i386/fpu/libm-test-ulps: Update.
61680         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61683         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61684         subnormal argument.
61685         * math/s_cexpf.c (__cexpf): Likewise.
61686         * math/s_csinf.c (__csinf): Likewise.
61687         * math/s_csinhf.c (__csinhf): Likewise.
61688         * math/s_ctanf.c (__ctanf): Likewise.
61689         * math/s_ctanhf.c (__ctanhf): Likewise.
61690         * math/s_ccosh.c (__ccoshf): Likewise.
61691         * math/s_cexp.c (__cexpl): Likewise.
61692         * math/s_csin.c (__csin): Likewise.
61693         * math/s_csinh.c (__csinh): Likewise.
61694         * math/s_ctan.c (__ctan): Likewise.
61695         * math/s_ctanh.c (ctanh): Likewise.
61696         * math/s_ccoshl.c (__ccoshl): Likewise.
61697         * math/s_cexpl.c (__cexpl): Likewise.
61698         * math/s_csinl.c (__csinl): Likewise.
61699         * math/s_csinhl.c (__csinhl): Likewise.
61700         * math/s_ctanl.c (__ctanl): Likewise.
61701         * math/s_ctanhl.c (__ctanhl): Likewise.
61703 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61705         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61706         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61707         (_IO_off_t): Define to __off_t, not _G_off_t.
61708         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61709         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61710         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61711         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61712         type of __dummy and __dummy2 fields.
61713         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61714         (_G_ssize_t): Likewise.
61715         (_G_off_t): Likewise.
61716         (_G_pid_t): Likewise.
61717         (_G_uid_t): Likewise.
61718         (_G_wchar_t): Likewise.
61719         (_G_wint_t): Likewise.
61720         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61721         (_G_ssize_t): Likewise.
61722         (_G_off_t): Likewise.
61723         (_G_pid_t): Likewise.
61724         (_G_uid_t): Likewise.
61725         (_G_wchar_t): Likewise.
61726         (_G_wint_t): Likewise.
61727         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61728         (_G_ssize_t): Likewise.
61729         (_G_off_t): Likewise.
61730         (_G_pid_t): Likewise.
61731         (_G_uid_t): Likewise.
61732         (_G_wchar_t): Likewise.
61733         (_G_wint_t): Likewise.
61735 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61737         * malloc/arena.c: Include malloc-sysdep.h.
61738         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61739         is sufficient to shrink the heap or an unmap is needed.
61740         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61741         new function check_may_shrink_heap.
61742         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61743         new function check_may_shrink_heap.
61745 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61747         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61748         comments.
61750 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61752         * catgets/test-gencat.sh: Add "set -e".
61753         * elf/tst-pathopt.sh: Likewise.
61754         * grp/tst_fgetgrent.sh: Likewise.
61755         * iconvdata/run-iconv-test.sh: Likewise.
61756         * intl/tst-gettext.sh: Likewise.
61757         * intl/tst-gettext2.sh: Likewise.
61758         * intl/tst-gettext4.sh: Likewise.
61759         * intl/tst-gettext6.sh: Likewise.
61760         * intl/tst-translit.sh: Likewise.
61761         * io/ftwtest-sh: Likewise.
61762         * libio/test-freopen.sh: Likewise.
61763         * malloc/tst-mtrace.sh: Likewise.
61764         * posix/globtest.sh: Likewise.
61765         * posix/tst-getconf.sh: Likewise.
61766         * posix/wordexp-tst.sh: Likewise.
61767         * stdio-common/tst-printf.sh: Likewise.
61768         * stdio-common/tst-unbputc.sh: Likewise.
61769         * stdlib/tst-fmtmsg.sh: Likewise.
61770         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61771         * catgets/Makefile: Do not specify -e option when running
61772         testsuite shell scripts.
61773         * elf/Makefile: Likewise.
61774         * grp/Makefile: Likewise.
61775         * iconvdata/Makefile: Likewise.
61776         * intl/Makefile: Likewise.
61777         * io/Makefile: Likewise.
61778         * libio/Makefile: Likewise.
61779         * malloc/Makefile: Likewise.
61780         * posix/Makefile: Likewise.
61781         * stdio-common/Makefile: Likewise.
61782         * stdlib/Makefile: Likewise.
61783         * sysdeps/x86_64/Makefile: Likewise.
61785         * io/ftwtest-sh: Add copyright header.
61786         * posix/globtest.sh: Likewise.
61787         * posix/tst-getconf.sh: Likewise.
61788         * posix/wordexp-tst.sh: Likewise.
61789         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61791 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61793         [BZ #13679]
61794         * Makeconfig (+link): Defined as $(+link-static) if
61795         $(build-shared) isn't yes.
61796         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61797         isn't yes.
61798         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61800         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61802         [BZ #14562]
61803         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61804         new chunk size with MALLOC_ALIGN_MASK.
61806 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61808         [BZ #5044]
61809         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61810         <rounding-mode.h>.
61811         (__printf_fphex): Determine rounding using get_rounding_mode and
61812         round_away.
61813         * stdio-common/tst-printf-round.c (struct hex_test): New
61814         structure.
61815         (hex_tests): New variable.
61816         (test_hex_in_one_mode): New function.
61817         (do_test): Also run tests for hex float output.
61819 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61821         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61822         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61823         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61824         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61825         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61826         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61827         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61828         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61830 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61832         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61833         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61834         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61835         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61837 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61839         [BZ #14579]
61840         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61841         mode only.
61842         * elf/tst-rtld-load-self.sh: New test.
61843         * elf/Makefile: Run it.
61845 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61847         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61848         (tst-writev-ENV): Remove.
61849         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61851 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61853         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61855 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61857         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61858         unconditional.
61859         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61860         Likewise.
61861         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61862         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61863         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61864         Likewise.
61866 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61868         [BZ #14587]
61869         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61870         * config.make.in (have-cpp-asm-debuginfo): Removed.
61871         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61872         * configure: Regenerated.
61874 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61876         [BZ #5044]
61877         * stdio-common/printf_fp.c: Include <stdbool.h> and
61878         <rounding-mode.h>.
61879         (___printf_fp): Determine rounding using get_rounding_mode and
61880         round_away.
61881         * stdio-common/tst-printf-round.c: New file.
61882         * stdio-common/Makefile (tests): Add tst-printf-round.
61883         (link-libm): New variable.
61884         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61886 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61888         [BZ #14576]
61889         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61890         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61891         Likewise.
61892         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61893         Likewise.
61895 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61897         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61898         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61899         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61900         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61902 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61904         [BZ #14518]
61905         * include/rounding-mode.h: New file.
61906         * sysdeps/generic/get-rounding-mode.h: Likewise.
61907         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61908         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61909         (MAX_VALUE): New macro.
61910         (MIN_VALUE): Likewise.
61911         (overflow_value): New function.
61912         (underflow_value): Likewise.
61913         (round_and_return): Use overflow_value and underflow_value to
61914         determine return values in overflow and underflow cases.  Use
61915         round_away to determine rounding depending on rounding mode.
61916         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61917         determine return values in overflow and underflow cases.
61918         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61919         (struct test_results): New structure.
61920         (struct test): Use struct test_results to store expected results
61921         for all rounding modes.
61922         (TEST): Include expected results for all rounding modes.
61923         (test_in_one_mode): New function.
61924         (do_test): Use test_in_one_mode to compute and check results.
61925         Check results for all rounding modes.
61926         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61927         $(link-libm).
61929 2012-12-09  Allan McRae  <allan@archlinux.org>
61931         * sysdeps/i386/fpu/libm-test-ulps: Update
61933 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61935         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61936         (_G_int32_t): Likewise.
61937         (_G_uint16_t): Likewise.
61938         (_G_uint32_t): Likewise.
61939         (_G_HAVE_BOOL): Likewise.
61940         (_G_HAVE_ATEXIT): Likewise.
61941         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61942         (_G_HAVE_IO_FILE_OPEN): Likewise.
61943         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61944         (_G_int32_t): Likewise.
61945         (_G_uint16_t): Likewise.
61946         (_G_uint32_t): Likewise.
61947         (_G_HAVE_BOOL): Likewise.
61948         (_G_HAVE_ATEXIT): Likewise.
61949         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61950         (_G_HAVE_IO_FILE_OPEN): Likewise.
61951         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61952         (_G_int32_t): Likewise.
61953         (_G_uint16_t): Likewise.
61954         (_G_uint32_t): Likewise.
61955         (_G_HAVE_BOOL): Likewise.
61956         (_G_HAVE_ATEXIT): Likewise.
61957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61958         (_G_HAVE_IO_FILE_OPEN): Likewise.
61960 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61962         * csu/libc-tls.c: Update copyright years.
61964 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61966         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61967         [!_G_USING_THUNKS]: Remove conditional code.
61968         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61969         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61971         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61972         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61973         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61974         (_G_VTABLE_LABEL_PREFIX): Likewise.
61975         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61976         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61977         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61978         (_G_VTABLE_LABEL_PREFIX): Likewise.
61979         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61980         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61981         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61982         (_G_VTABLE_LABEL_PREFIX): Likewise.
61983         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61985 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61987         * libio/Makefile: Include ../Makeconfig before tests.
61988         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61989         only if $(build-shared) is yes.
61991         * iconv/gconv_db.c: Update copyright years.
61993 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61996         unwind info if defined PIC. Fix special cases description.
61997         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61999         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62000         DP_HI_MASK entry.
62001         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62003 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62005         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62007         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62008         is NULL.
62010         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62011         (LDLIBS-tst-chk4): This.
62012         (LDFLAGS-tst-chk5): Renamed to ...
62013         (LDLIBS-tst-chk5): This.
62014         (LDFLAGS-tst-chk6): Renamed to ...
62015         (LDLIBS-tst-chk6): This.
62016         (LDFLAGS-tst-lfschk4): Renamed to ...
62017         (LDLIBS-tst-lfschk4): This.
62018         (LDFLAGS-tst-lfschk5): Renamed to ...
62019         (LDLIBS-tst-lfschk5): This.
62020         (LDFLAGS-tst-lfschk6): Renamed to ...
62021         (LDLIBS-tst-lfschk6): This.
62023         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62024         on $(common-objpfx)soversions.mk.
62026 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62028         [BZ #10014]
62029         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62030         example host name.
62032 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62034         * malloc/arena.c (arena_get_retry): New function that gets
62035         another arena for the caller to try its request on.
62036         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62037         current arena cannot fulfill the request.
62038         (__libc_memalign): Likewise.
62039         (__libc_memalign): Likewise.
62040         (__libc_pvalloc): Likewise.
62041         (__libc_calloc): Likewise.
62043 2012-09-05  John Tobey  <john.tobey@gmail.com>
62045         [BZ #13542]
62046         * manual/arith.texi (Operations on Complex): Fix description
62047         of carg branch cut.
62049 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62051         [BZ #10014]
62052         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62053         host name.
62055         [BZ #10038]
62056         * manual/memory.texi (Memory): Make order of menu items match
62057         order of sections.
62059 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62061         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62062         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62063         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62065 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62067         * csu/libc-tls.c (static_dtv): Renamed to ...
62068         (_dl_static_dtv): This.  Make it global.
62069         (_dl_initial_dtv): Removed.
62070         (__libc_setup_tls): Updated.
62071         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62072         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62073         DL_INITIAL_DTV.
62075 2012-09-06  Petr Machata  <pmachata@redhat.com>
62077         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62078         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62079         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62080         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62082 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62084         [BZ #14545]
62085         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62086         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62087         freeing dtv[-1].
62089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62091         [BZ #14544]
62092         * Makeconfig (link-static-before-libc): Replace $(+prector)
62093         with $(+prectorT).
62094         (link-static-after-libc): Replace $(+postctor) with
62095         $(+postctorT).
62096         (link-bounded): Replace $(+prector)/$(+postctor) with
62097         $(+prectorT)/$(+postctorT).
62098         (+prectorT): New macro.
62099         (+postctorT): Likewise.
62101 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62103         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62104         (round_str): Handle values above the maximum for IBM long double
62105         as inexact.
62106         * stdlib/tst-strtod-round.c (tests): Regenerated.
62108 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62110         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62111         assembler flag.
62112         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62113         zarch_nohighgprs around the zarch optimized routines.
62114         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62115         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62117         for zarch.
62119 2012-09-05  David S. Miller  <davem@davemloft.net>
62121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62123         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62124         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62125         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62126         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62127         entries.
62129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62131         * malloc/arena.c: Fold copyright years.
62132         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62134 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62136         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62138 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62140         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62144         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62145         change internal state upon failure.
62147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62149         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62150         * malloc/memusage.c (mmap): Likewise.
62151         (mmap64, mremap): Likewise.  Adjust name in comment.
62153 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62155         * libio/fileops.c: Fix typos in comments.
62156         * libio/oldfileops.c: Likewise.
62157         * libio/wfileops.c: Likewise.
62159 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62161         [BZ #1349]
62162         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62163         (tst-malloc-usable-ENV): Set environment for test case.
62164         * malloc/hooks.c (malloc_check_get_size): New function to get
62165         requested size.
62166         * malloc/malloc.c (musable): Use malloc_check_get_size.
62167         * malloc/tst-malloc-usable.c: New test case.
62169 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62171         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62173 2012-09-05  Allan McRae  <allan@archlinux.org>
62175         [BZ #13966]
62176         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62177         determine header location.
62178         * configure: Regenerated.
62180 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62182         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62183         float format.
62184         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62185         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62186         format.
62187         (test): Regenerate.
62189 2012-09-04  David S. Miller  <davem@davemloft.net>
62191         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62192         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62195 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62197         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62198         failures.
62200         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62202 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62204         [BZ #9914]
62205         * libio/iogetdelim.c: Include <limits.h>.
62206         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62207         + len + 1 would overflow.
62209 2012-09-03  Andreas Jaeger  <aj@suse.de>
62211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62212         * sysdeps/i386/fpu/libm-test-ulps: Update.
62214 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62216         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62217         Add s_sinf-sse2, s_conf-sse2.
62219         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62220         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62221         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62222         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62224         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62225         for using routine as __sinf_ia32.
62226         Use macro for function declaration and weak_alias.
62227         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62228         for using routine as __cosf_ia32.
62229         Use macro for function declaration and weak_alias.
62231         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62232         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62234         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62235         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62238         * math/libm-test.inc (cos_test): Add more test cases.
62239         (sin_test): Likewise.
62240         (sincos_test): Likewise.
62242 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62245         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62246         hidden.
62247         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62249 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62251         [BZ #14538]
62252         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62253         first element of the GOT.
62254         (elf_machine_load_address): Return the difference between
62255         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62257 2012-09-01  Allan McRae  <allan@archlinux.org>
62259         [BZ #13412]
62260         * configure.in (AWK): Require gawk version 3.0 or later.
62261         * configure: Regenerated.
62263 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62265         * sysdeps/unix/sysv/linux/kernel-features.h
62266         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62267         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62268         [__NR_clock_getres]: Make code unconditional.
62269         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62270         (clock_getcpuclockid): Remove code left unreachable by removal of
62271         conditionals.
62272         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62273         code unconditional.
62274         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62275         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62276         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62277         Make code unconditional.
62278         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62279         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62280         * sysdeps/unix/sysv/linux/clock_settime.c
62281         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62282         conditional code.
62283         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62284         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62286 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62288         [BZ #14476]
62289         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62290         scripts/test-installation.pl.
62292         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62293         and $ld_so_version if it is set.
62295 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62297         [BZ #14516]
62298         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62299         failure if reading from procfs failed.
62300         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62302 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62304         * sysdeps/unix/sysv/linux/kernel-features.h
62305         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62306         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62307         Remove conditional code.
62308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62309         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62310         Remove conditional code.
62311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62312         * sysdeps/unix/sysv/linux/i386/fxstat.c
62313         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62315         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62316         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62318         * sysdeps/unix/sysv/linux/i386/lxstat.c
62319         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62321         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62322         Remove conditional code.
62323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62324         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62325         Remove conditional code.
62326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62327         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62328         <kernel-features.h>.
62329         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62330         Remove.
62331         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62332         Remove conditional code.
62333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62334         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62335         Remove conditional.
62337 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62339         [BZ #5400]
62340         * NEWS: Add fixed bug number.
62342 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62344         [BZ #14519]
62345         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62346         underflowing exponent in case of negative sign.
62347         * stdlib/tst-strtod-round-data: Add more tests.
62348         * stdlib/tst-strtod-round.c (tests): Regenerated.
62350         [BZ #3479]
62351         * stdlib/strtod_l.c (NDIG): Remove.
62352         (HEXNDIG): Likewise.
62353         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62354         smallest representable value.
62355         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62356         lie within an exact representation of 1/2 ulp of the result.
62357         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62358         unconditionally.
62359         (TENS_P9_IDX): Define unconditionally.
62360         (TENS_P9_SIZE): Likewise.
62361         (TENS_P10_IDX): Likewise.
62362         (TENS_P10_SIZE): Likewise.
62363         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62364         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62365         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62366         entries for 10^2^13 and 10^2^14.
62367         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62368         (TENS_P13_IDX): Define.
62369         (TENS_P13_SIZE): Likewise.
62370         (TENS_P14_IDX): Likewise.
62371         (TENS_P14_SIZE): Likewise.
62372         (_fpioconst_pow10): Change array size to
62373         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62374         unconditional.
62375         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62376         1024]: Add entries for 10^2^13 and 10^2^14.
62377         [LAST_POW10 > _LAST_POW10]: Remove #error.
62378         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62379         (_fpioconst_pow10): Change array size to
62380         FPIOCONST_POW10_ARRAY_SIZE.
62381         * stdlib/gen-fpioconst.c: New file.
62382         * stdlib/gen-tst-strtod-round.c: Likewise.
62383         * stdlib/tst-strtod-round-data: Likewise.
62384         * stdlib/tst-strtod-round.c: Likewise.
62385         * stdlib/Makefile (tests): Add tst-strtod-round.
62387         [BZ #14459]
62388         * stdlib/strtod_l.c: Include <stdint.h>.
62389         (NDEBUG): Do not define.
62390         (round_and_return): Change EXPONENT parameter to type intmax_t.
62391         Rearrange calculations to avoid internal overflow possibilities.
62392         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62393         Rearrange calculations to avoid internal overflow possibilities.
62394         Assert that number fits inside MPNSIZE limbs.
62395         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62396         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62397         calculations and add assertions to avoid internal overflow
62398         possibilities.  Add casts to avoid signed/unsigned operations.
62399         * stdlib/tst-strtod-overflow.c: New file.
62400         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62402 2012-08-25  Marek Polacek  <polacek@redhat.com>
62404         * time/time.h: Fix some typos in comments.
62406 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62408         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62409         * posix/tst-rfc3484-2.c: Likewise.
62410         * posix/tst-rfc3484-3.c: Likewise.
62412 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62414         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62415         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62417 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62419         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62420         #include of fxstatat64.c.
62422 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62424         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62425         * shadow/getspent_r.c: Likewise.
62426         * shadow/getspnam.c: Likewise.
62427         * shadow/getspnam_r.c: Likewise.
62428         * gshadow/getsgent.c: Likewise.
62429         * gshadow/getsgent_r.c: Likewise.
62430         * gshadow/getsgnam.c: Likewise.
62431         * gshadow/getsgnam_r.c: Likewise.
62432         * inet/getnetbyad.c: Likewise.
62433         * inet/getnetbyad_r.c: Likewise.
62434         * inet/getnetbynm.c: Likewise.
62435         * inet/getnetbynm_r.c: Likewise.
62436         * inet/getnetent.c: Likewise.
62437         * inet/getnetent_r.c: Likewise.
62438         * inet/getproto.c: Likewise.
62439         * inet/getproto_r.c: Likewise.
62440         * inet/getprtent.c: Likewise.
62441         * inet/getprtent_r.c: Likewise.
62442         * inet/getprtname.c: Likewise.
62443         * inet/getprtname_r.c: Likewise.
62444         * inet/getrpcbyname.c: Likewise.
62445         * inet/getrpcbyname_r.c: Likewise.
62446         * inet/getrpcbynumber.c: Likewise.
62447         * inet/getrpcbynumber_r.c: Likewise.
62448         * inet/getrpcent.c: Likewise.
62449         * inet/getrpcent_r.c: Likewise.
62450         * inet/getaliasent.c: Likewise.
62451         * inet/getaliasent_r.c: Likewise.
62452         * inet/getaliasname.c: Likewise.
62453         * inet/getaliasname_r.c: Likewise.
62454         * nscd/getgrgid_r.c: Likewise.
62455         * nscd/getgrnam_r.c: Likewise.
62456         * nscd/gethstbyad_r.c: Likewise.
62457         * nscd/gethstbynm3_r.c: Likewise.
62458         * nscd/getpwnam_r.c: Likewise.
62459         * nscd/getpwuid_r.c: Likewise.
62460         * nscd/getsrvbynm_r.c: Likewise.
62461         * nscd/getsrvbypt_r.c: Likewise.
62462         * nscd/gai.c: Likewise.
62464         * configure.in (build_nscd): New substituted variable, set
62465         by --disable-build-nscd and defaults to $use_nscd.
62466         * configure: Regenerated.
62467         * config.make.in (build-nscd): New substituted variable.
62468         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62469         Change conditional to require [$(build-nscd) = yes] as well.
62470         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62472         [BZ# 13696]
62473         * configure.in (use_nscd): New substituted variable, set by
62474         --disable-nscd.  If enabled, define USE_NSCD.
62475         * configure: Regenerated.
62476         * config.h.in: Add USE_NSCD.
62477         * config.make.in (use-nscd): New substituted variable.
62478         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62479         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62480         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62481         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62482         (CFLAGS-getgrnam_r.c): Likewise.
62483         (CFLAGS-initgroups.c): Likewise.
62484         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62485         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62486         Variables removed.
62487         * inet/getnetgrent_r.c
62488         (nscd_setnetgrent): New function, broken out of ...
62489         (setnetgrent): ... here.  Call it.
62490         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62491         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62492         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62493         * nscd/Makefile (routines, aux): Move definitions after include of
62494         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62495         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62496         Conditionalize on [USE_NSCD].
62497         (is_nscd, nscd_init_cb): Likewise.
62498         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62499         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62500         * nss/nss_db/db-init.c: Likewise.
62501         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62502         [USE_NSCD].
62503         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62504         (make_request): Use it.
62505         (cache_valid_p): New function.
62506         (__check_pf): Use it.
62507         * NEWS: Add item for --disable-nscd.
62509 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62511         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62512         to support sed >= 4.2.1-20-ga9bf076.
62513         * configure: Regenerated.
62515 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62517         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62518         Conditionalize whole body on [IREL].
62520 2012-08-22  Jeff Law <law@redhat.com>
62522         [BZ #14505]
62523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62524         if the family is PF_UNSPEC.
62526 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62528         * Makerules (lib-version): Rename from V.
62529         (install-lib-nosubdir): Change V to lib-version.
62531 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62533         [BZ #14252]
62534         * powerpc32/power6/wcschr.c: New file.
62535         * powerpc32/power6/wcscpy.c: New file.
62536         * powerpc32/power6/wcsrchr.c: New file.
62537         * powerpc64/power6/wcschr.c: New file.
62538         * powerpc64/power6/wcscpy.c: New file.
62539         * powerpc64/power6/wcsrchr.c: New file.
62541 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62543         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62544         (two_way_short_needle): Use it.
62545         * string/strstr.c (AVAILABLE1_USES_J): Define.
62546         * string/strcasestr.c: Likewise.
62548         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62549         array references.
62550         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62552         [BZ #11607]
62553         * NEWS: Add an entry.
62554         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62555         define their defaults.
62556         (two_way_short_needle): Detect end-of-string on-the-fly.
62557         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62558         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62559         * string/bug-strcasestr1.c: New test.
62560         * string/Makefile: Run it.
62562 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62564         [BZ #11607]
62565         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62566         the first character.
62568 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62570         * csu/elf-init.c (__libc_csu_irel): Function removed.
62571         * csu/libc-start.c (apply_irel): New function.
62572         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62574 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62576         * sysdeps/unix/sysv/linux/kernel-features.h
62577         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62578         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62579         <kernel-features.h>.
62580         [__NR_fadvise64_64]: Make code unconditional.
62581         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62582         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62583         !__NR_fadvise64_64)]: Likewise.
62584         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62585         !__NR_fadvise64_64))]: Likewise.
62586         [__NR_fadvise64]: Make code unconditional.
62587         [!__NR_fadvise64]: Remove conditional code.
62588         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62589         <kernel-features.h>.
62590         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62591         unconditional.
62592         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62593         conditional code.
62594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62595         not include <kernel-features.h>.
62596         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62597         unconditional.
62598         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62599         conditional code.
62600         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62601         include <kernel-features.h>.
62602         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62603         unconditional.
62604         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62605         conditional code.
62607 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62610         slight instruction rearrangements per scrollpipe analysis.
62611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62613 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62615         * manual/syslog.texi (syslog; vsyslog, closelog):
62616         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62617         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62619         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62620         DSOCAPS to match condition on defining it.
62622 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62624         * sysdeps/unix/sysv/linux/kernel-features.h
62625         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62627         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62628         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62630         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62631         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62633         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62634         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62636         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62637         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62639         * sysdeps/unix/sysv/linux/kernel-features.h
62640         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62641         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62642         unconditional.
62643         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62644         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62645         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62646         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62647         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62648         Make code unconditional.
62649         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62650         (__mmap64) [!__NR_mmap2]: Likewise.
62651         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62652         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62653         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62654         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62655         [__NR_mmap2]: Make code unconditional.
62656         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62657         (__mmap64) [!__NR_mmap2]: Likewise.
62659 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62661         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62663 2012-08-18  Andreas Jaeger  <aj@suse.de>
62665         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62667 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62669         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62670         * include/unistd.h (__have_sock_cloexec): Likewise.
62671         (__have_pipe2): Likewise.
62672         (__have_dup3): Likewise.
62674 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62676         [BZ #9685]
62677         * include/unistd.h (__have_pipe2): Change define into an extern int.
62678         (__have_dup3): Likewise.
62679         * socket/have_sock_cloexec.c: Include fcntl.h.
62680         (__have_pipe2): New variable.
62681         (__have_dup3): Likewise.
62683 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62685         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62687 2012-08-17  Marek Polacek  <polacek@redhat.com>
62689         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62690         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62692 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62694         * configure.in: Add AC_SUBST for sysheaders.
62695         * configure: Regenerated.
62696         * config.make.in (sysheaders): New substituted variable.
62698         * sysdeps/unix/mkfifo.c: Moved ...
62699         * sysdeps/posix/mkfifo.c: ... here.
62700         * sysdeps/unix/mkfifoat.c: Moved ...
62701         * sysdeps/posix/mkfifoat.c: ... here.
62703         * sysdeps/unix/utime.c: Moved ...
62704         * sysdeps/posix/utime.c: ... here.
62706         * sysdeps/unix/time.c: Moved ...
62707         * sysdeps/posix/time.c: ... here.
62708         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62709         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62711         * sysdeps/unix/nice.c: Moved ...
62712         * sysdeps/posix/nice.c: ... here.
62714         * sysdeps/unix/alarm.c: Moved ...
62715         * sysdeps/posix/alarm.c: ... here.
62717         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62719 2012-08-17  Jeff Law <law@redhat.com>
62721         * intl/Makefile (codeset_mo): New variable.
62722         ($(codeset_mo)): New target.
62723         (tst-codeset.out): Depend on that.  Remove explicit rule.
62724         (tst-gettext3.out, tst-gettext5.out): Likewise.
62725         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62726         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62727         * intl/tst-codeset.sh: Remove.
62728         * intl/tst-gettext3.sh: Likewise.
62729         * intl/tst-gettext5.sh: Likewise.
62731 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62733         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62734         * sysdeps/unix/syscalls.list: ... here.
62736         * sysdeps/posix/getaddrinfo.c
62737         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62738         (gaiconf_init, gaiconf_reload): Use them.
62739         [!_STATBUF_ST_NSEC]
62740         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62741         Define using time_t rather than struct timespec.
62743         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62744         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62745         Macros removed.
62746         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62747         [!NO_THREADS].
62748         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62749         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62750         Likewise.
62752         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62753         __libc_cleanup_push argument.
62755         * bits/param.h: New file.
62756         * misc/sys/param.h: New file.
62757         * include/sys/param.h: New file.
62758         * misc/Makefile (headers): Add bits/param.h.
62759         * sysdeps/generic/sys/param.h: File removed.
62760         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62761         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62762         * sysdeps/mach/hurd/bits/param.h: New file.
62763         * sysdeps/mach/hurd/sys/param.h: File removed.
62765         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62766         last change.
62768         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62769         [_IO_MTSAFE_IO].
62770         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62771         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62772         New macros.
62774         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62775         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62776         rather than -D_IO_MTSAFE_IO conditionally.
62777         * stdio-common/Makefile (CPPFLAGS): Likewise.
62778         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62779         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62780         Use $(libio-mtsafe).
62781         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62782         of -D_IO_MTSAFE_IO.
62783         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62784         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62785         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62786         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62787         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62788         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62789         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62790         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62791         (CFLAGS-fread_u_chk.c): Likewise.
62792         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62793         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62794         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62795         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62796         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62797         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62798         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62799         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62800         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62802         * libio/Makefile: Test [$(libc-reentrant) = yes]
62803         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62805         * Makeconfig
62806         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62807         * sysdeps/pthread/configure: File removed.
62808         * sysdeps/pthread/Makeconfig: New file.
62809         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62810         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62812 2012-08-16  Gary Benson  <gbenson@redhat.com>
62814         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62815         unmapping the first object in a namespace.
62817 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62819         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62820         (__internal_setnetgrent): ... this.  Add internal_function to
62821         definition.  Add libc_hidden_def.
62822         (setnetgrent): Update caller.
62823         (internal_endnetgrent): Renamed to ...
62824         (__internal_endnetgrent): ... this.  Add internal_function to
62825         definition.  Add libc_hidden_def.
62826         (endnetgrent): Update caller.
62827         (internal_getnetgrent_r): Renamed to ...
62828         (__internal_getnetgrent_r): ... this.  Add internal_function to
62829         definition.  Add libc_hidden_def.
62830         (__getnetgrent_r): Update caller.
62831         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62833 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62835         * stdlib/longlong.h: Update from GCC.
62837 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62839         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62840         on _QL, which is set by umul_ppmm but never used.
62841         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62842         variables, which are set by GMP macros but never used.
62843         * stdio-common/_itowa.c (_itowa): Likewise.
62844         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62845         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62847 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62849         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62850         struct La_sh_regs is not constant.
62851         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62852         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62853         and struct La_sparc64_regs are not constant.
62855 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62857         * sysdeps/unix/sysv/linux/kernel-features.h
62858         (__ASSUME_POSIX_TIMERS): Remove.
62859         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62860         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62861         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62862         Make code unconditional.
62863         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62864         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62865         Make code unconditional.
62866         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62867         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62868         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62869         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62870         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62871         Make code unconditional.
62872         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62873         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62874         (__libc_missing_posix_timers): Remove.
62876 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62878         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62879         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62881         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62883         * elf/dl-sym.c: Include <stdlib.h>.
62885         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62886         constants, which avoids warnings in 32-bit builds.
62888         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62889         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62891         * misc/lseek.c: File moved to ...
62892         * io/lseek.c: ... here.
62894         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62896         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62897         shifting LEN more than 31 bits at once.
62899 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62901         [BZ #14195]
62902         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62903         segmentation fault for a case of two empty input strings.
62904         * string/test-strncasecmp.c (check1): Renamed to...
62905         (bz12205): ...this.
62906         (bz14195): Add new testcase for two empty input strings and N > 0.
62907         (test_main): Call new testcase, adapt for renamed function.
62909 2012-08-15  Andreas Jaeger  <aj@suse.de>
62911         [BZ #14090]
62912         * crypt/md5test2.c: New test, based on test supplied by Serge
62913         Belyshev <belyshev@depni.sinp.msu.ru>.
62914         * crypt/Makefile (xtests): Add md5test-giant..
62915         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62917 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62919         [BZ #14090]
62920         * crypt/md5.c (md5_process_block): Don't assume the buffer
62921         length is less than 2**32.
62922         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62923         length is less than 2**64.
62925 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62927         * string/str-two-way.h: Include <sys/param.h>.
62928         (MAX): Macro removed.
62930         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62931         Move #define and #undef of memmove to just before and after
62932         including <string.h>.
62934         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62935         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62936         and after including <string.h>.  Move declarations of
62937         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62938         to before #include "string/memmove.c".
62940         * include/dirent.h: Declare __getdirentries.
62942         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62943         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62945 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62947         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62948         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62949         * sysdeps/i386/configure: Regenerated.
62950         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62951         STABS_CURRENT_FILE, and STABS_FUN.
62952         (END): Remove call to STABS_FUN_END.
62953         (STABS_CURRENT_FILE1): Delete.
62954         (STABS_CURRENT_FILE): Likewise.
62955         (STABS_FUN): Likewise.
62956         (STABS_FUN_END): Likewise.
62957         (STABS_FUN2): Likewise.
62958         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62959         * sysdeps/x86_64/configure: Regenerated.
62961 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62963         * elf/dl-open.c: Include <atomic.h>.
62964         * elf/dl-lookup.c: Likewise.
62966 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62968         * sysdeps/unix/sysv/linux/kernel-features.h
62969         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62970         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62971         unconditionally.
62972         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62973         unconditionally.
62974         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62975         condition on __ASSUME_CLONE_THREAD_FLAGS.
62977 2012-08-14  Andreas Jaeger  <aj@suse.de>
62979         * sysdeps/i386/fpu/libm-test-ulps: Update.
62981 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62983         * include/atomic.h (atomic_exchange_and_add): Split into ...
62984         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62985         New atomic macros.
62987 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62991 2012-08-13  Jeff Law <law@redhat.com>
62993         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62994         null byte in the output string.
62996 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62998         * sysdeps/unix/sysv/linux/kernel-features.h
62999         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63000         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63001         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63002         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63003         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63004         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63005         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63007 2012-08-09  Jeff Law <law@redhat.com>
63009         [BZ #13939]
63010         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63011         When avoid_arena is set, don't retry in the that arena.  Pick the
63012         next one, whatever it might be.
63013         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63014         (arena_lock): Pass in new parameter to arena_get2.
63015         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63016         arena_get2.
63017         (__libc_malloc): Unify retrying after main arena failure with
63018         __libc_memalign version.
63019         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63021 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63023         [BZ #14166]
63024         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63025         to __redirect_strstr.
63026         (__strstr_sse42): Use typeof __redirect_strstr.
63027         (__strstr_ia32): Likewise.
63028         (__libc_strstr): New prototype.
63029         (strstr): Renamed to ...
63030         (__libc_strstr): This.
63031         (strstr): New strong alias of __libc_strstr.
63032         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63033         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63034         __redirect_time.
63035         Include <time.h>.
63036         (__libc_time): New prototype.
63037         (time_ifunc): Replace time with __libc_time.
63038         (time): New strong alias and hidden definition of __libc_time.
63039         (__GI_time): Remove strong alias.
63040         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63041         Include <stddef.h>.
63042         (memmove): Redefined to __redirect_memmove.
63043         (__memmove_sse2): Use typeof __redirect_memmove.
63044         (__memmove_ssse3): Likewise.
63045         (__memmove_ssse3_back): Likewise.
63046         (__libc_memmove): New prototype.
63047         (memmove): Renamed to ...
63048         (__libc_memmove): This.
63049         (memmove): New strong alias of __libc_memmove.
63051 2012-08-08  Mark Salter  <msalter@redhat.com>
63053         * elf/elf.h
63054         (R_MN10300_TLS_GD): Define.
63055         (R_MN10300_TLS_LD): Likewise.
63056         (R_MN10300_TLS_LDO): Likewise.
63057         (R_MN10300_TLS_GOTIE): Likewise.
63058         (R_MN10300_TLS_IE): Likewise.
63059         (R_MN10300_TLS_LE): Likewise.
63060         (R_MN10300_TLS_DTPMOD): Likewise.
63061         (R_MN10300_TLS_DTPOFF): Likewise.
63062         (R_MN10300_TLS_TPOFF): Likewise.
63063         (R_MN10300_SYM_DIFF): Likewise.
63064         (R_MN10300_ALIGN): Likewise.
63065         (R_MN10300_NUM): Update.
63067 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63069         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63070         Remove.
63072 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63074         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63076         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63077         sysdeps/unix -> sysdeps/posix move.
63078         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63080 2012-08-07      Allan McRae     <allan@archlinux.org>
63082         [BZ #14303]
63083         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63084         (SUNOS_CPP): Likewise.
63085         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63086         not found.
63087         (open_input): Call CPP using execvp.
63089 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63091         * sysdeps/unix/sysv/linux/kernel-features.h
63092         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63093         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63094         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63095         (__ASSUME_WAITID_SYSCALL): Likewise.
63096         * sysdeps/unix/sysv/linux/dl-execstack.c
63097         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63098         code unconditional.
63099         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63100         conditional code.
63101         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63102         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63103         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63104         code.
63105         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63106         unconditional.
63107         [__ASSUME_WAITID_SYSCALL]: Likewise.
63108         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63110 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63112         * sysdeps/unix/closedir.c: Renamed to ...
63113         * sysdeps/posix/closedir.c: ... here.
63114         * sysdeps/unix/dirfd.c: Renamed to ...
63115         * sysdeps/posix/dirfd.c: ... here.
63116         * sysdeps/unix/dirstream.h: Renamed to ...
63117         * sysdeps/posix/dirstream.h: ... here.
63118         * sysdeps/unix/fdopendir.c: Renamed to ...
63119         * sysdeps/posix/fdopendir.c: ... here.
63120         * sysdeps/unix/opendir.c: Renamed to ...
63121         * sysdeps/posix/opendir.c: ... here.
63122         * sysdeps/unix/readdir.c: Renamed to ...
63123         * sysdeps/posix/readdir.c: ... here.
63124         * sysdeps/unix/readdir_r.c: Renamed to ...
63125         * sysdeps/posix/readdir_r.c: ... here.
63126         * sysdeps/unix/rewinddir.c: Renamed to ...
63127         * sysdeps/posix/rewinddir.c: ... here.
63128         * sysdeps/unix/seekdir.c: Renamed to ...
63129         * sysdeps/posix/seekdir.c: ... here.
63130         * sysdeps/unix/telldir.c: Renamed to ...
63131         * sysdeps/posix/telldir.c: ... here.
63132         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63133         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63134         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63135         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63137         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63138         * bits/fcntl.h: ... here.
63140         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63141         not 0.
63142         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63143         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63144         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63145         (struct flock): Move l_start, l_len to the beginning.
63146         Use __pid_t for l_pid.
63147         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63148         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63149         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63150         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63151         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63152         [__USE_LARGEFILE64] (struct flock64): New type.
63153         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63155         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63156         * bits/dirent.h: ... here.
63158         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63159         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63161 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63164         Change from 2.6.0 to 2.6.16.
63165         * sysdeps/unix/sysv/linux/configure: Regenerated.
63166         * sysdeps/unix/sysv/linux/kernel-features.h
63167         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63168         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63169         version.
63170         (__ASSUME_UTIMES): Likewise.
63171         (__ASSUME_CLONE_STOPPED): Remove.
63172         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63173         architectures, not kernel version.
63174         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63175         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63176         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63177         (__ASSUME_WAITID_SYSCALL): Likewise.
63178         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63179         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63180         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63181         refer to older versions.
63183 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63185         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63186         Define alphasort64 as an alias.
63187         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63188         Define versionsort64 as an alias.
63189         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63190         Define scandir64 as an alias.
63191         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63192         Define scandirat64 as an alias.
63193         * dirent/alphasort64.c (alphasort64):
63194         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63195         * dirent/versionsort64.c: Likewise.
63196         * dirent/scandir64.c: Likewise.
63197         * dirent/scandirat64.c: Likewise.
63198         * sysdeps/wordsize-64/alphasort.c: File removed.
63199         * sysdeps/wordsize-64/alphasort64.c: File removed.
63200         * sysdeps/wordsize-64/scandir.c: File removed.
63201         * sysdeps/wordsize-64/scandir64.c: File removed.
63202         * sysdeps/wordsize-64/scandirat.c: File removed.
63203         * sysdeps/wordsize-64/scandirat64.c: File removed.
63204         * sysdeps/wordsize-64/versionsort.c: File removed.
63205         * sysdeps/wordsize-64/versionsort64.c: File removed.
63206         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63207         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63212         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63213         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63215         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63217         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63219         [defined __arch64__ || defined __sparcv9]
63220         (__INO_T_MATCHES_INO64_T): New macro.
63221         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63222         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63223         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63224         * sysdeps/unix/sysv/linux/bits/dirent.h
63225         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63226         (_DIRENT_MATCHES_DIRENT64): New macro.
63228         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63229         Define lockf64 as an alias.
63230         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63231         Define fseeko64 as an alias.
63232         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63233         Define ftello64 as an alias.
63234         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63235         Define _IO_fgetpos64 and fgetpos64 as aliases.
63236         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63237         Define _IO_fsetpos64 and fsetpos64 as aliases.
63238         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63239         Conditionalize body on this.
63240         * libio/fseeko64.c: Likewise.
63241         * libio/ftello64.c: Likewise.
63242         * libio/iofgetpos64.c: Likewise.
63243         * libio/iofsetpos64.c: Likewise.
63244         * sysdeps/wordsize-64/lockf.c: File removed.
63245         * sysdeps/wordsize-64/lockf64.c: File removed.
63246         * sysdeps/wordsize-64/fseeko.c: File removed.
63247         * sysdeps/wordsize-64/fseeko64.c: File removed.
63248         * sysdeps/wordsize-64/ftello.c: File removed.
63249         * sysdeps/wordsize-64/ftello64.c: File removed.
63250         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63251         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63252         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63253         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63254         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63255         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63256         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63257         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63258         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63259         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63260         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63261         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63262         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63263         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63265         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63266         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63267         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63268         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63269         [defined __arch64__ || defined __sparcv9]
63270         (__OFF_T_MATCHES_OFF64_T): New macro.
63271         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63272         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63274         (__OFF_T_MATCHES_OFF64_T): New macro.
63276 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63278         * stdlib/secure-getenv.c (__secure_getenv): Replace
63279         GLIBC_2_16 with GLIBC_2_17.
63281 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63283         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63284         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63286 2012-08-03  David S. Miller  <davem@davemloft.net>
63288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63290 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63293         Remove.
63294         (__ASSUME_CORRECT_SI_PID): Likewise.
63295         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63296         (__ASSUME_TMPFS_NAME): Likewise.
63297         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63298         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63299         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63300         (HAVE_AUX_SECURE): Make definition unconditional.
63301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63302         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63304 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63306         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63307         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63308         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63309         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63310         __eloop_threshold instead of SYMLOOP_MAX.
63312         * sysdeps/generic/eloop-threshold.h: New file.
63313         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63314         of MAXSYMLINKS.
63315         * elf/chroot_canon.c (chroot_canon): Likewise.
63317 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63319         [BZ #13717]
63320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63321         Change to 2.6.0 everywhere.
63322         * sysdeps/unix/sysv/linux/configure: Regenerated.
63323         * sysdeps/unix/sysv/linux/kernel-features.h
63324         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63325         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63326         kernel versions.
63327         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63328         (__ASSUME_FUTEX_REQUEUE): Remove.
63329         (__ASSUME_STATFS64): Define unconditionally.
63330         (__ASSUME_AT_SECURE): Likewise.
63331         (__ASSUME_CORRECT_SI_PID): Likewise.
63332         (__ASSUME_TGKILL): Define without depending on kernel version for
63333         i386.
63334         (__ASSUME_UTIMES): Likewise.
63335         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63336         kernel version.
63337         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63338         (__ASSUME_TMPFS_NAME): Likewise.
63339         * README: Update reference to Linux kernel versions.
63341 2012-08-02  Marek Polacek  <polacek@redhat.com>
63343         [BZ# 14150]
63344         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63345         libc_cv_asm_type_prefix with %.
63346         * configure: Regenerated.
63347         * include/libc-symbols.h: Remove comment about
63348         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63349         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63350         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63351         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63352         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63353         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63354         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63355         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63356         * elf/tst-unique2mod1.c: Likewise.
63357         * elf/tst-unique1mod2.c: Likewise.
63358         * elf/tst-unique1mod1.c: Likewise.
63359         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63360         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63361         Replace ASM_TYPE_DIRECTIVE with .type.
63362         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63363         * sysdeps/i386/sysdep.h: Likewise.
63364         * sysdeps/x86_64/sysdep.h: Likewise.
63365         * sysdeps/sh/sysdep.h: Likewise.
63366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63367         Do not define ASM_TYPE_DIRECTIVE.
63368         * sysdeps/powerpc/sysdep.h: Likewise.
63369         * sysdeps/powerpc/powerpc32/sysdep.h:
63370         Replace ASM_TYPE_DIRECTIVE with .type.
63371         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63372         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63373         * sysdeps/i386/fpu/e_powf.S: Likewise.
63374         * sysdeps/i386/fpu/e_expl.S: Likewise.
63375         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63377         * sysdeps/i386/fpu/e_pow.S: Likewise.
63378         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63379         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63380         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63381         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63382         * sysdeps/i386/fpu/e_log2.S: Likewise.
63383         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63384         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63385         * sysdeps/i386/fpu/e_powl.S: Likewise.
63386         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63387         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63388         * sysdeps/i386/fpu/e_logl.S: Likewise.
63389         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63390         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63391         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63392         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63393         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63394         * sysdeps/i386/fpu/e_log.S: Likewise.
63395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63396         * sysdeps/i386/fpu/e_logf.S: Likewise.
63397         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63398         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63399         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63400         * sysdeps/i386/fpu/e_log10.S: Likewise.
63401         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63402         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63403         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63404         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63405         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63406         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63407         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63408         * sysdeps/i386/i686/strtok.S: Likewise.
63409         * sysdeps/i386/i386-mcount.S: Likewise.
63410         * sysdeps/i386/strtok.S: Likewise.
63411         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63412         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63413         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63414         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63415         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63416         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63417         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63418         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63419         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63420         * sysdeps/x86_64/_mcount.S: Likewise.
63421         * sysdeps/x86_64/strtok.S: Likewise.
63422         * sysdeps/sh/_mcount.S: Likewise.
63424 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63426         * libio/iofopen.c: Include <fcntl.h>.
63427         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63428         (_IO_fopen64, fopen64): Define as aliases.
63429         * libio/iofopen64.c: Include <fcntl.h>.
63430         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63431         Conditionalize body on this.
63432         * sysdeps/wordsize-64/iofopen.c: File removed.
63433         * sysdeps/wordsize-64/iofopen64.c: File removed.
63435 2012-08-01  Marek Polacek  <polacek@redhat.com>
63437         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63438         Use dlfcn directly instead of a variable.
63439         (binfmt-subdir): Do not define.
63440         (dlfcn): Likewise.
63442 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63445         Remove all definitions.
63446         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63447         <kernel-features.h>.
63448         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63449         (miss_F_GETOWN_EX): Remove all definitions.
63450         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63451         macro definition.
63452         [!__ASSUME_FCNTL64]: Remove conditional code.
63453         [__ASSUME_FCNTL64]: Make code unconditional.
63454         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63455         <kernel-features.h>.
63456         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63457         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63458         (lockf64) [__NR_fcntl64]: Make code unconditional.
63459         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63461         * sysdeps/unix/sysv/linux/kernel-features.h
63462         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63463         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63464         Make code unconditional.
63465         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63466         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63468         [__NR_vfork]: Make code unconditional.
63469         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63470         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63472         [__NR_vfork]: Make code unconditional.
63473         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63474         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63476 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63478         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63479         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63481         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63482         Define mkstemp64 as an alias.
63483         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63484         Define mkstemps64 as an alias.
63485         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63486         Define mkostemp64 as an alias.
63487         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63488         Define mkostemps64 as an alias.
63489         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63490         Conditionalize body on this.
63491         * misc/mkostemp64.c: Likewise.
63492         * misc/mkostemps64.c: Likewise.
63493         * misc/mkstemps64.c: Likewise.
63494         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63495         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63496         * sysdeps/wordsize-64/mkostemp.c: File removed.
63497         * sysdeps/wordsize-64/mkstemp.c: File removed.
63498         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63499         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63500         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63501         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63503         [BZ #14138]
63504         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63505         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63506         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63507         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63509         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63510         compat_symbol macros from <shlib-compat.h> rather than the underlying
63511         default_symbol_version and symbol_version macros, so that DEFAULT
63512         lines in shlib-versions are respected.
63513         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63515 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63517         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63518         Declare with warn_unused_result.
63519         (setgid, setregid, setegid, setresgid): Likewise.
63520         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63521         Likewise.
63522         * WUR-REPORT: Remove set*id functions.
63524 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63526         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63528 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63530         [BZ #10191]
63531         * include/sys/socket.h (__libc_accept, __libc_accept4):
63532         Add attribute_hidden.
63533         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63535         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63536         use of PTR_MANGLE.
63537         * inet/getnetgrent_r.c (setup): Likewise.
63539         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63541 2012-07-31  David S. Miller  <davem@davemloft.net>
63543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63545 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63547         [BZ #13629]
63548         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63549         value between 1.0 and 2.0 and smaller part has absolute value less
63550         than 1.0.
63551         * math/s_clog10.c (__clog10): Likewise.
63552         * math/s_clog10f.c (__clog10f): Likewise.
63553         * math/s_clog10l.c (__clog10l): Likewise.
63554         * math/s_clogf.c (__clogf): Likewise.
63555         * math/s_clogl.c (__clogl): Likewise.
63556         * math/libm-test.inc (clog_test): Add more tests.
63557         (clog10_test): Likewise.
63558         * sysdeps/i386/fpu/libm-test-ulps: Update.
63559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63561 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63563         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63564         Exit with zero in case no suitable GID is found, and write a
63565         message to standard error.
63567 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63569         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63570         rather than to 1.
63571         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63572         (MAXPATHLEN): Removed.
63573         (NOGROUP, NODEV): New macros.
63574         (setbit, clrbit, isset, isclr): New macros.
63575         (howmany, roundup, powerof2): New macros.
63576         (DEV_BSIZE): New macro.
63578         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63579         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63581         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63582         definition on [!__NO_LONG_DOUBLE_MATH].
63584         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63585         PTR_MANGLE and PTR_DEMANGLE.
63587         * socket/accept4.c (accept4): Rename to __libc_accept4.
63588         Define accept4 as a weak alias.
63590         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63591         on [_DIRENT_HAVE_D_TYPE].
63592         * io/ftw.c (ftw_dir): Likewise.
63594         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63596         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63598         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63599         Use the BSD numbers rather than the arbitrary ones we had.
63600         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63601         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63602         (SIGXCPU, SIGXFSZ): New macros.
63603         (_NSIG): Now 32.
63605         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63606         initializer on [_LIBC_REENTRANT].
63608         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63609         definitions inside [_POSIX_MAPPED_FILES].
63611         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63613         * dirent/opendir.c: Include <fcntl.h>.
63615         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63616         (__libc_getspecific): Likewise.
63617         (__libc_key_create): Likewise.
63619         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63620         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63621         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63622         (tmpfile64): Define as alias.
63623         * sysdeps/wordsize-64/tmpfile.c: File removed.
63624         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63625         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63626         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63628         * stdio-common/vfscanf.c: Include <stdbool.h>.
63629         * nss/makedb.c: Likewise.
63630         * stdio-common/_i18n_number.h: Likewise.
63631         * argp/argp-help.c: Likewise.
63632         * posix/wordexp.c: Likewise.
63633         * sysdeps/posix/spawni.c: Likewise.
63634         * nss/nss_files/files-initgroups.c: Likewise.
63635         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63636         * nss/nss_files/files-initgroups.c: Likewise.
63637         * nss/nss_db/db-netgrp.c: Likewise.
63638         * nss/nss_db/db-initgroups.c: Likewise.
63639         * io/fchmodat.c: Include <sys/stat.h>.
63641         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63642         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63644         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63645         [HAVE_MMAP].
63647         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63648         Add multiple inclusion protection.
63650 2012-07-27  David S. Miller  <davem@davemloft.net>
63652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63654 2012-07-27  Gary Benson  <gbenson@redhat.com>
63656         [BZ #14298]
63657         * elf/rtld.c: Include <stap-probe.h>.
63658         (dl_main): Added static probes "init_start" and "init_complete".
63659         * elf/dl-load.c: Include <stap-probe.h>.
63660         (lose): Take new parameter "nsid".
63661         Added static probe "map_failed".
63662         (_dl_map_object_from_fd): Pass namespace id to lose.
63663         Added static probe "map_start".
63664         (open_verify): Pass namespace id to lose.
63665         * elf/dl-open.c: Include <stap-probe.h>.
63666         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63667         and "reloc_complete".
63668         * elf/dl-close.c: Include <stap-probe.h>.
63669         (_dl_close_worker): Added static probes "unmap_start" and
63670         "unmap_complete".
63671         * elf/rtld-debugger-interface.txt: New file documenting the above.
63673 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63675         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63676         rather than a string variable.
63677         * sunrpc/rpc_main.c (h_output): Likewise.
63678         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63680 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63682         * inet/check_native.c: New file.
63684 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63686         [BZ #13629]
63687         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63688         if larger part has absolute value 1.0.
63689         * math/s_clog10.c (__clog10): Likewise.
63690         * math/s_clog10f.c (__clog10f): Likewise.
63691         * math/s_clog10l.c (__clog10l): Likewise.
63692         * math/s_clogf.c (__clogf): Likewise.
63693         * math/s_clogl.c (__clogl): Likewise.
63694         * math/libm-test.inc (clog_test): Add more tests.
63695         (clog10_test): Likewise.
63696         * sysdeps/i386/fpu/libm-test-ulps: Update.
63697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63699         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63700         (pltexit): Likewise.
63701         (La_regs): Likewise.
63702         (La_retval): Likewise.
63703         (int_retval): Likewise.
63704         Update #error for removed macros to refer only to definitions in
63705         tst-audit.h.
63706         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63707         macro.
63708         (pltexit): Likewise.
63709         (La_regs): Likewise.
63710         (La_retval): Likewise.
63711         (int_retval): Likewise.
63712         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63713         macro.
63714         (pltexit): Likewise.
63715         (La_regs): Likewise.
63716         (La_retval): Likewise.
63717         (int_retval): Likewise.
63718         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63719         macro.
63720         (pltexit): Likewise.
63721         (La_regs): Likewise.
63722         (La_retval): Likewise.
63723         (int_retval): Likewise.
63724         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63725         macro.
63726         (pltexit): Likewise.
63727         (La_regs): Likewise.
63728         (La_retval): Likewise.
63729         (int_retval): Likewise.
63730         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63731         macro.
63732         (pltexit): Likewise.
63733         (La_regs): Likewise.
63734         (La_retval): Likewise.
63735         (int_retval): Likewise.
63736         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63737         macro.
63738         (pltexit): Likewise.
63739         (La_regs): Likewise.
63740         (La_retval): Likewise.
63741         (int_retval): Likewise.
63742         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63743         macro definitions in tst-audit.h.
63744         * sysdeps/i386/tst-audit.h: New file.
63745         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63746         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63747         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63748         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63749         * sysdeps/sh/tst-audit.h: Likewise.
63750         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63751         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63752         * sysdeps/x86_64/tst-audit.h: Likewise.
63754 2012-07-26  Andreas Jaeger  <aj@suse.de>
63756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63757         ptrace.
63759         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63760         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63761         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63762         PTRACE_O_MASK.
63763         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63764         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63765         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63767         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63768         value.
63770         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63771         _sigsys.
63772         (si_call_addr, si_syscall, si_arch): Define new macro.
63773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63774         _sigsys.
63775         (si_call_addr, si_syscall, si_arch): Define new marcro.
63776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63777         _sigsys.
63778         (si_call_addr, si_syscall, si_arch): Define new macro.
63779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63780         _sigsys.
63781         (si_call_addr, si_syscall, si_arch): Define new macro.
63783 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63785         [BZ #13717]
63786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63787         Change to 2.4.21 where previously 2.4.1.
63788         * sysdeps/unix/sysv/linux/configure: Regenerated.
63789         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63790         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63791         Linux kernel version.
63792         (__ASSUME_STD_AUXV): Remove.
63793         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63794         kernel version.
63795         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63796         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63797         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63798         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63799         (__ASSUME_NETLINK_SUPPORT): Likewise.
63800         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63801         (__no_netlink_support): Remove conditional definition.
63802         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63803         Remove.
63804         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63805         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63806         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63807         (if_nameindex_ioctl): Remove.
63808         (if_nameindex_netlink): Do not handle __no_netlink_support.
63809         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63810         code.
63811         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63812         Remove conditional code.
63813         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63814         code.
63815         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63816         unconditional.
63817         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63818         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63819         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63820         Remove.
63821         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63822         [!__ASSUME_STD_AUXV]: Remove conditional code.
63823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63824         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63825         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63827         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63828         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63829         code.
63830         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63832         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63833         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63834         conditional code.
63835         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63837         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63838         code.
63839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63840         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63841         conditional code.
63842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63843         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63844         code unconditional.
63845         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63846         conditional code.
63847         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63848         unconditional.
63849         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63850         conditional code.
63851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63852         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63853         unconditional.
63854         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63855         conditional code.
63856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63857         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63858         code unconditional.
63859         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63860         conditional code.
63861         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63862         unconditional.
63863         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63864         conditional code.
63865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63866         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63867         code unconditional.
63868         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63869         conditional code.
63870         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63871         unconditional.
63872         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63873         conditional code.
63875 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63877         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63878         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63879         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63880         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63881         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63882         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63883         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63884         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63885         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63886         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63887         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63888         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63889         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63890         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63891         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63892         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63893         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63894         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63895         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63897         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63898         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63899         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63901 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63903         * Versions.def: Add GLIBC_2.17.
63904         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63905         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63906         Introduce __libc_secure_getenv.
63907         * stdlib/Versions (2.17): Add secure_getenv
63908         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63909         * stdlib/secure-getenv.c: Rename __secure_getenv to
63910         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63911         symbol __secure_getenv for GLIBC_2.0.
63912         * stdlib/tst-secure-getenv.c: New.
63913         * stdlib/Makefile (tests): Add testcase.
63914         * manual/startup.texi (Environment Access): Document
63915         secure_getenv.
63916         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63917         __libc_secure_getenv.
63918         * inet/ruserpass.c (ruserpass): Likewise.
63919         * malloc/mtrace.c (mtrace): Likewise.
63920         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63921         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63922         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63923         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63924         HAVE_SECURE_GETENV.
63925         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63926         __secure_getenv to __libc_secure_getenv.
63927         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63929         Likewise.
63930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63931         Likewise.
63932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63934         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63940 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63942         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63943         (struct La_i86_retval): Likewise.
63944         (struct La_x86_64_regs): Likewise.
63945         (struct La_x86_64_retval): Likewise.
63946         (struct La_x32_regs): Likewise.
63947         (struct La_x32_retval): Likewise.
63948         (struct La_ppc32_regs): Likewise.
63949         (struct La_ppc32_retval): Likewise.
63950         (struct La_ppc64_regs): Likewise.
63951         (struct La_ppc64_retval): Likewise.
63952         (struct La_sh_regs): Likewise.
63953         (struct La_sh_retval): Likewise.
63954         (struct La_s390_32_regs): Likewise.
63955         (struct La_s390_32_retval): Likewise.
63956         (struct La_s390_64_regs): Likewise.
63957         (struct La_s390_64_retval): Likewise.
63958         (struct La_sparc32_regs): Likewise.
63959         (struct La_sparc32_retval): Likewise.
63960         (struct La_sparc64_regs): Likewise.
63961         (struct La_sparc64_retval): Likewise.
63962         (struct audit_ifaces): Remove architecture-specific pltenter and
63963         pltexit members.
63964         * sysdeps/i386/ldsodefs.h: New file.
63965         * sysdeps/powerpc/ldsodefs.h: Likewise.
63966         * sysdeps/s390/ldsodefs.h: Likewise.
63967         * sysdeps/sh/ldsodefs.h: Likewise.
63968         * sysdeps/sparc/ldsodefs.h: Likewise.
63969         * sysdeps/x86_64/ldsodefs.h: Likewise.
63971 2012-07-25  Marek Polacek  <polacek@redhat.com>
63973         [BZ #6808]
63974         * math/libm-test.inc (yn_test): Add another test.
63975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63976         to ERANGE when the result is +-Inf.
63977         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63978         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63979         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63980         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63982 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63984         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63985         equal to 0.
63986         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63987         clock_t.
63988         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63990 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63992         * configure.in <sysdeps resolving>: Correct printing
63993         Implies_before.
63994         * configure: Regenerate.
63996 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63998         * math/w_ilogb.c: Include <limits.h>.
63999         * math/w_ilogbl.c: Likewise.
64001 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64003         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64004         va_copy.  Document allowing for unavailable va_copy only as
64005         pre-C99 compatibility.
64006         * manual/string.texi (Copying and Concatenation): Use va_copy
64007         instead of __va_copy in concat example.
64009 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64011         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64012         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64013         it if not null.
64015         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64016         with O_NOLINK passed to __file_name_lookup.
64018         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64019         with O_NOLINK passed to __file_name_lookup.
64021         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64022         negative N or less than NGIDS.
64024         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64025         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64026         enough.  Use memcpy instead of strncpy.
64028 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64030         * elf/Makefile (check-data): Remove.
64031         (localplt.data): New vpath directive.
64032         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64033         instead of $(check-data).
64034         * scripts/data/localplt-generic.data: Move to ...
64035         * sysdeps/generic/localplt.data: ... here.
64036         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64037         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64038         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64040         ... here.
64041         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64043         ... here.
64044         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64046         ... here.
64047         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64049         ... here.
64050         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64052         ... here.
64053         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64055         ... here.
64057 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64059         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64060         PPC32 and PPC64 files.
64061         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64062         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64064 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64066         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64067         __makecontext_ret to ...
64068         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64069         ... here and call exit if uc_link is NULL.  New file.
64070         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64071         __makecontext_ret.S.
64072         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64073         __makecontext_ret to ...
64074         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64075         ... here and call exit if uc_link is NULL.  New file.
64076         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64077         __makecontext_ret.S.
64079 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64081         * elf/elf.h (R_390_IRELATIVE): New definition.
64082         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64083         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64084         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64085         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64086         (elf_machine_lazy_rel): Likewise.
64087         * sysdeps/s390/dl-irel.h: New file.
64088         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64089         * sysdeps/s390/s390-64/memset.S: New asm code.
64090         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64091         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64092         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64093         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64094         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64095         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64096         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64097         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64098         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64099         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64100         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64101         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64102         * sysdeps/s390/s390-32/memset.S: New asm code.
64103         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64105 2012-07-17  Marek Polacek  <polacek@redhat.com>
64107         [BZ #14349]
64108         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64109         * sysdeps/s390/s390-64/configure.in: Likewise.
64110         * sysdeps/sparc/configure.in: Likewise.
64111         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64112         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64113         * sysdeps/i386/configure.in: Likewise.
64114         * sysdeps/x86_64/configure.in: Likewise.
64115         * sysdeps/sh/configure.in: Likewise.
64116         * sysdeps/s390/s390-32/configure: Regenerated.
64117         * sysdeps/s390/s390-64/configure: Likewise.
64118         * sysdeps/x86_64/configure: Likewise.
64119         * sysdeps/sh/configure: Likewise.
64120         * sysdeps/powerpc/powerpc64/configure: Likewise.
64121         * sysdeps/powerpc/powerpc32/configure: Likewise.
64122         * sysdeps/sparc/configure: Likwise.
64123         * sysdeps/i386/configure: Likewise.
64125         * elf/dl-open.c: Comment fixes.
64127 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64129         * Makefile [CXX] (check-data): Remove.
64130         [CXX] (c++-types.data): New vpath directive.
64131         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64132         vpath.  Do not allow for C++ type data being missing.
64133         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64134         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64135         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64136         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64137         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64138         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64139         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64141         ... here.
64142         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64144         ... here.
64145         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64147         ... here.
64148         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64150         ... here.
64151         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64153         ... here.
64154         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64156         ... here.
64157         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64159         ... here.
64160         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64163         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64164         definitions to architecture-specific files.
64165         (TLS_IE): Likewise.
64166         (TLS_LD): Likewise.
64167         (TLS_GD): Likewise.
64168         * sysdeps/i386/tls-macros.h: New file.
64169         * sysdeps/powerpc/tls-macros.h: Likewise.
64170         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64171         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64172         * sysdeps/sh/tls-macros.h: Likewise.
64173         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64174         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64175         * sysdeps/x86_64/tls-macros.h: Likewise.
64177 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64179         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64180         zero value for regular exit case.
64182         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64183         (__start_context): Preserve zero value for regular exit case.
64185 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64186             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64188         * manual/setjmp.texi (setcontext): Clarify normal process
64189         termination when uc_link is the null pointer.
64190         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64191         exit call.
64193 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64195         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64196         preprocessor.  Test for each exception mask separately.
64198 2012-07-16  Andreas Jaeger  <aj@suse.de>
64200         * po/ru.po: Update from translation team.
64202 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64204         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64205         equal to 0.
64206         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64207         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64208         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64209         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64212 2012-07-13  Andreas Jaeger  <aj@suse.de>
64214         * po/fr.po: Update from translation team.
64216 2012-07-12  Marek Polacek  <polacek@redhat.com>
64218         [BZ #14173]
64219         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64220         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64221         loop condition.
64223 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64225         [BZ #13717]
64226         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64227         Change to 2.4.1 where previously 2.4.0.
64228         * sysdeps/unix/sysv/linux/configure: Regenerated.
64229         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64230         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64231         version.
64232         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64233         (__ASSUME_AT_CLKTCK): Remove.
64234         (__ASSUME_AT_PAGESIZE): Likewise.
64235         (__ASSUME_AT_XID): Likewise.
64236         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64237         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64238         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64239         unconditionally.
64240         (HAVE_AUX_PAGESIZE): Likewise.
64241         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64242         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64243         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64245 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64247         [BZ #14307]
64248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64249         the temporary buffer used to invoke __gethostbyname2_r,
64250         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64251         host_data / struct gaih_addrtuple.
64252         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64253         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64254         header file nss/nsswitch.h.
64255         * nss/nsswitch.h (global scope): Add definition of implementation
64256         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64257         resolv/nss_dns/dns-host.c).
64259 2012-07-11  Andreas Jaeger  <aj@suse.de>
64261         * po/fr.po: Update from translation team.
64263         * po/sv.po: Update from translation team
64264         * po/fr.po: Another update from translation team.
64266 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64269         for subnormals or multiply small sinh result by itself.
64270         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64273 2012-07-11  David S. Miller  <davem@davemloft.net>
64275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64277 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64279         [BZ #14347]
64280         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64281         (INTERNAL_MARK): Shift it here.
64283 2012-07-10  Marek Polacek  <polacek@redhat.com>
64285         [BZ #14151]
64286         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64287         libc_cv_asm_global_directive with .globl.
64288         * configure: Regenerated.
64289         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64290         with .globl.
64291         * sysdeps/i386/configure: Regenerated.
64292         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64293         with .globl.
64294         * sysdeps/x86_64/configure: Regenerated.
64295         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64296         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64297         * elf/tst-unique2mod2.c: Likewise.
64298         * elf/tst-unique2mod1.c: Likewise.
64299         * elf/tst-unique1mod2.c: Likewise.
64300         * elf/tst-unique1mod1.c: Likewise.
64301         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64302         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64304         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64305         * sysdeps/mach/sysdep.h: Likewise.
64306         * sysdeps/i386/sysdep.h: Likewise.
64307         * sysdeps/i386/i386-mcount.S: Likewise.
64308         * sysdeps/x86_64/_mcount.S: Likewise.
64309         * sysdeps/x86_64/sysdep.h: Likewise.
64310         * sysdeps/sh/_mcount.S: Likewise.
64311         * sysdeps/sh/sysdep.h: Likewise.
64312         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64313         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64314         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64315         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64316         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64317         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64318         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64319         * locale/localeinfo.h: Likewise.
64320         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64321         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64323 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64325         [BZ #14336]
64326         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64327         system".
64328         * manual/message.texi (The Uniforum approach): Likewise.
64329         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64330         (glibc iconv Implementation): Likewise.
64332 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64334         [BZ #14337]
64335         * math/s_clog.c (__clog): Avoid scaling a value down where that
64336         could result in underflow.
64337         * math/s_clog10.c (__clog10): Likewise.
64338         * math/s_clog10f.c (__clog10f): Likewise.
64339         * math/s_clog10l.c (__clog10l): Likewise.
64340         * math/s_clogf.c (__clogf): Likewise.
64341         * math/s_clogl.c (__clogl): Likewise.
64342         * math/libm-test.inc (clog_test): Add more tests.
64343         (clog10_test): Likewise.
64344         * sysdeps/i386/fpu/libm-test-ulps: Update.
64345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64347 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64349         [BZ #14283]
64350         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64351         by 7 not 8 to examine high bit of fractional part.
64353         [BZ #14042]
64354         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64355         for call to __mcount_internal.
64356         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64357         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64358         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64360 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64362         [BZ #14154]
64363         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64364         approximation for values within 0x1p-13f of an odd multiple of
64365         pi/4.
64366         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64367         exception.  Add more tests.
64368         * sysdeps/i386/fpu/libm-test-ulps: Update.
64370         [BZ #6778]
64371         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64372         inputs and return -1 for them.  Do not check for +Inf in case not
64373         reachable for +Inf.
64374         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64375         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64377         and return -1 for them.  Do not check for +Inf in case not
64378         reachable for +Inf.
64379         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64380         define.
64381         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64382         and return -1 for them.  Do not check for +Inf in case not
64383         reachable for +Inf.
64384         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64385         spurious underflow.
64386         * sysdeps/i386/fpu/libm-test-ulps: Update.
64387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64389 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64391         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64393 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64395         [BZ #14157]
64396         [BZ #14331]
64397         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64398         could result in spurious underflow.  Scale down values above
64399         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64400         * math/s_csqrtf.c (__csqrtf): Likewise.
64401         * math/s_csqrtl.c (__csqrtl): Likewise.
64402         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64403         spurious underflow.
64404         * sysdeps/i386/fpu/libm-test-ulps: Update.
64405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64407 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64409         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64410         xopen-msg.sed.
64411         * catgets/xopen-msg.awk: New file.
64412         * catgets/xopen-msg.sed: Removed.
64414         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64415         po2text.sed.
64416         * intl/po2test.awk: New file.
64417         * intl/po2test.sed: Removed.
64419 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64421         [BZ #14328]
64422         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64423         or multiply small sinh result by itself.
64424         * math/s_ctanf.c (__ctanf): Likewise.
64425         * math/s_ctanh.c (__ctanh): Likewise.
64426         * math/s_ctanhf.c (__ctanhf): Likewise.
64427         * math/s_ctanhl.c (__ctanhl): Likewise.
64428         * math/s_ctanl.c (__ctanl): Likewise.
64429         * math/libm-test.inc (ctan_test_tonearest): New function.
64430         (ctan_test_towardzero): Likewise.
64431         (ctan_test_downward): Likewise.
64432         (ctan_test_upward): Likewise.
64433         (ctanh_test_tonearest): Likewise.
64434         (ctanh_test_towardzero): Likewise.
64435         (ctanh_test_downward): Likewise.
64436         (ctanh_test_upward): Likewise.
64437         (main): Call these new functions.
64438         * sysdeps/i386/fpu/libm-test-ulps: Update.
64439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64441 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64443         * .gitignore: Delete /ports entry.
64445 2012-07-03  Andreas Jaeger  <aj@suse.de>
64447         * po/bg.po: Update from translation team.
64448         * po/cs.po: Likewise.
64449         * po/de.po: Likewise.
64450         * po/hr.po: Likewise.
64451         * po/nl.pl: Likewise.
64452         * po/pl.po: Likewise.
64453         * po/vi.po: Likewise.
64455 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64457         * Makeconfig [!+link] (+link-before-libc): New variable.
64458         [!+link] (+link-after-libc): Likewise.
64459         [!+link] (+link-tests): Likewise.
64460         [!+link] (+link): Define in terms of $(+link-before-libc) and
64461         $(+link-after-libc).
64462         [!+link-static] (+link-static-before-libc): New variable.
64463         [!+link-static] (+link-static-after-libc): Likewise.
64464         [!+link-static] (+link-static-tests): Likewise.
64465         [!+link-static] (+link-static): Define in terms of
64466         $(+link-static-before-libc) and $(+link-static-after-libc).
64467         [build-shared] (link-libc-before-gnulib): New variable.
64468         [build-shared] (link-libc-tests): Likewise.
64469         [build-shared] (link-libc): Define in terms of
64470         $(link-libc-before-gnulib).
64471         [!build-shared] (link-libc-tests): New variable.
64472         (link-libc-static-tests): New variable.
64473         [!gnulib] (gnulib-arch): New variable.
64474         [!gnulib] (gnulib-tests): Likewise.
64475         [!gnulib] (static-gnulib-arch): Likewise.
64476         [!gnulib] (static-gnulib-tests): Likewise.
64477         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64478         Define with "=" instead of ":=".
64479         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64480         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64481         * Rules (binaries-all-notests): New variable.
64482         (binaries-all-tests): Likewise.
64483         (binaries-static-notests): Likewise.
64484         (binaries-static-tests): Likewise.
64485         (binaries-all): Define using $(binaries-all-notests) and
64486         $(binaries-all-tests).
64487         (binaries-static): Define using $(binaries-static-notests) and
64488         $(binaries-static-tests).
64489         (binaries-shared-tests): New variable.
64490         (binaries-shared-notests): Likewise.
64491         (binaries-shared): Remove variable.
64492         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64493         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64494         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64495         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64496         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64497         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64498         * elf/Makefile (sln-modules): New variable.
64499         (extra-objs): Add $(sln-modules:=.o).
64500         (ldconfig-modules): Add static-stubs.
64501         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64502         * elf/static-stubs.c: New file.
64504         [BZ #14283]
64505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64506         by 7 not 8 to examine high bit of fractional part.  Use volatile
64507         variables when splitting into final array of floats if
64508         __FLT_EVAL_METHOD__ != 0.
64509         * math/libm-test.inc (cos_test): Add another test.
64510         (sin_test): Likewise.
64511         * sysdeps/i386/fpu/libm-test-ulps: Update.
64513         [BZ #14273]
64514         * math/libm-test.inc (cosh_test): Add more tests.
64516         * version.h (RELEASE): Set to "development".
64517         (VERSION): Set to "2.16.90".
64519 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64521         * NEWS: Update copyright. Remove last-updated date.
64522         Mention math library bug fixes and timezone data changes.
64523         * README: Mention GNU/Hurd, x32, and HPPA support status.
64525 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64527         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64529 2012-06-27  Andreas Jaeger  <aj@suse.de>
64531         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64533 2012-06-25  Andreas Jaeger  <aj@suse.de>
64535         * sysdeps/s390/fpu/libm-test-ulps: Update.
64537 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64538             Thomas Schwinge  <thomas@codesourcery.com>
64540         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64541         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64543         fanotify_mark.
64545 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64547         * sysdeps/mach/start.c: Remove file.
64548         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64549         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64550         * sysdeps/sh/init-first.c: Likewise.
64552         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64553         registers for frame unwinding purposes, add CFI directives.
64554         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64555         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64556         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64557         Likewise.
64559         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64560         __fortify_fail returning.
64561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64563         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64564         sysdeps/sh/____longjmp_chk.S.
64565         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64566         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64567         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64568         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64570         * sysdeps/sh/abort-instr.h: New file.
64571         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64572         process in case exit returns.
64574         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64575         initialize the GOT register before use.
64577         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64578         calculation of ARGC > 4.
64580         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64581         meaningful names to some local labels.
64583 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64584             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64586         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64587         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64588         (__arch_compare_and_exchange_val_16_acq): Likewise.
64589         (__arch_compare_and_exchange_val_32_acq): Likewise.
64590         (atomic_exchange_and_add): Fix gUSA sequence.
64591         (atomic_add): Likewise.
64592         (atomic_add_negative): Likewise.
64593         (atomic_add_zero): Likewise.
64594         (atomic_bit_test_set): Likewise.
64596 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64598         [BZ #13579]
64599         * include/link.h (struct link_map): Add l_free_initfini.
64600         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64601         l_initfini.
64602         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64603         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64604         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64605         set.
64607 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64609         * configure.in: Use AC_LANG_SOURCE.
64610         * configure: Regenerate.
64612 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64614         * configure.in (libc_cv_localstatedir): New substituted variable.
64615         * configure: Regenerated.
64616         * config.make.in (localstatedir): New variable, substituted from
64617         libc_cv_localstatedir.
64618         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64619         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64620         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64621         * sysdeps/gnu/configure: Regenerated.
64623 2012-06-21  Jeff Law  <law@redhat.com>
64625         [BZ #14277]
64626         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64627         free.  Simplify list management for _LIBC case.
64629 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64631         [BZ #14273]
64632         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64633         Clear sign bit of 64-bit integer value before comparing against
64634         overflow value.
64636         * sysdeps/mach/configure: Regenerated.
64638 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64640         [BZ #14278]
64641         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64643 2012-06-21  Jeff Law  <law@redhat.com>
64645         [BZ #13882]
64646         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64647         uint16_t for elements in the "seen" array to avoid char overflows.
64648         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64649         * elf/dl-open.c (dl_open_worker): Likewise.
64651 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64653         * scripts/list-sources.sh: Scan PORTS for translations.
64654         * po/libc.pot: Regenerated.
64656 2012-06-21  Andreas Jaeger  <aj@suse.de>
64658         [BZ #12194]
64659         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64660         warning.
64661         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64662         * bits/byteswap-16.h (__bswap_16): Likewise.
64663         * bits/byteswap.h (__bswap_constant_16): Likewise.
64665 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64667         [BZ #14117]
64668         * sysdeps/i386/fpu_control.h: Removed.
64669         * sysdeps/x86_64/fpu_control.h: Moved to ...
64670         * sysdeps/x86/fpu_control.h: Here.
64672         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64673         (_FPU_SETCW): Likewise.
64675 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64677         [BZ #14117]
64678         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64679         * sysdeps/x86/fpu/bits/mathinline.h: This.
64680         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64682         [BZ #14050]
64683         [BZ #14117]
64684         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64685         functions if __x86_64__ is defined.
64687 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64689         * string/endian.h: Add !__ASSEMBLER__ condition for including
64690         conversion interfaces.
64692 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64694         [BZ #14241]
64695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64696         of ABS(x) in calculating zero to negative powers other than odd
64697         integers.
64698         * math/libm-test.inc (pow_test): Add more tests.
64700 2012-06-15  Andreas Jaeger  <aj@suse.de>
64702         * manual/contrib.texi (Contributors): Update entry of Liubov
64703         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64704         Machado Filho.
64706 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64708         * string/string.h: Add __wur to GNU version of strerror_r.
64710 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64712         [BZ #14229]
64713         * string/Makefile (tests): Add tst-strtok_r.
64714         * string/tst-strtok_r.c: New file.
64715         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64716         RAX_LP/RDX_LP on SAVE_PTR.
64718 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64720         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64722 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64724         * libm_test.inc (csqrt_test): Allow more spurious underflow
64725         exceptions.
64726         (j0_test): Likewise.
64727         (j1_test): Likewise.
64728         (y0_test): Likewise.
64729         (y1_test): Likewise.
64731 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64733         * po/Makefile (libc.pot): Use UTF-8 charset.
64735 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64737         [BZ #14210]
64738         Suppress sign-conversion warning from FD_SET.
64739         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64740         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64741         not unsigned long int.
64742         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64744 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64746         [BZ #14050]
64747         [BZ #14117]
64748         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64749         __extern_always_inline instead of __extern_inline.
64750         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64751         (__signbit): Likewise.
64752         (__signbitl): Support C++ namespace.
64753         (lrintf): New inline function.
64754         (lrint): Likewise.
64755         (llrintf): Likewise.
64756         (llrint): Likewise.
64757         (fmaxf): Likewise.
64758         (fmax): Likewise.
64759         (fminf): Likewise.
64760         (fmin): Likewise.
64761         (rint): Likewise.
64762         (rintf): Likewise.
64763         (ceil): Likewise.
64764         (ceilf): Likewise.
64765         (floor): Likewise.
64766         (floorf): Likewise.
64767         (nearbyint): Likewise.
64768         (nearbyintf): Likewise.
64770 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64772         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64773         non-default versions.
64775 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64777         [BZ #14218]
64778         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64780 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64782         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64783         (FE_UPWARD, FE_DOWNWARD): Don't define.
64784         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64785         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64788         reading it.
64789         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64790         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64792 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64794         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64796         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64797         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64799 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64801         [BZ #14117]
64802         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64803         * sysdeps/i386/fpu/Implies: New file.
64804         * sysdeps/x86_64/fpu/Implies: Likewise.
64805         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64806         * sysdeps/x86/fpu/bits/fenv.h: This.
64808         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64809         __SSE_MATH__.
64811 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64813         [BZ #14134]
64814         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64815         character 0xffff that matches the last element of the
64816         conversion table.
64818 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64820         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64821         fmodl commit.
64823 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64826         values higher than 25.6283.
64828 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64831         subnormal exponent extraction and add some __builtin_expect.
64832         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64833         Fix for subnormal mantissa calculation.
64835 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64837         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64838         cpu2 is -1 and errno is not ENOSYS.
64840 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64842         [BZ #14117]
64843         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64844         * sysdeps/x86/bits/string.h: This.
64845         * sysdeps/x86_64/bits/string.h: Removed.
64847         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64848         if not compiling for x86-64, but compiling for >= i486.
64850         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64851         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64853         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64854         New macro from Linux kernel 3.4.0.
64855         (FP_XSTATE_MAGIC2): Likewise.
64856         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64857         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64858         (struct _fpx_sw_bytes): New struct.
64859         (struct _xsave_hdr): Likewise.
64860         (struct _ymmh_state): Likewise.
64861         (struct _xstate): Likewise.
64863         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64864         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64865         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64866         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64867         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64868         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64870         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64871         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64872         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64873         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64874         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64875         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64877 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64879         [BZ #13743]
64880         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64881         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64882         (sysdep_headers): Include sys/platform/ppc.h.
64883         * sysdeps/powerpc/test-gettimebase.c: Test for
64884         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64885         * manual/Makefile (appendices): Include platform.texi.
64886         * manual/contrib.texi (Contributors): Update @node pointers.
64887         * manual/maint.texi (Maintenance): Likewise.
64888         (Platform): New node.
64889         * manual/platform.texi: New file.  Document the new features.
64891 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64892             Jakub Jelinek  <jakub@redhat.com>
64894         [BZ #14188]
64895         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64896         where __builtin_expect is unavailable.
64898 2012-06-03  David S. Miller  <davem@davemloft.net>
64900         * stdlib/longlong.h: Updated from GCC.
64902 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64904         [BZ #14042]
64905         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64906         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64907         __mcount_internal.
64908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64909         (GLIBC_2.16): Likewise.
64911 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64913         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64915 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64918         (default-abi): New variable.
64919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64920         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64921         variable.
64922         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64923         Likewise.
64924         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64925         Likewise.
64926         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64927         Likewise.
64929         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64930         definition.  Document in comment.
64932 2012-06-01  David S. Miller  <davem@davemloft.net>
64934         * stdlib/longlong.h: Updated from GCC.
64936 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64938         [BZ #14117]
64939         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64940         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64941         sys/debugreg.h sys/io.h here.
64942         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64943         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64944         sys/io.h.
64945         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64946         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64947         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64948         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64949         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64950         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64952         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64953         Define only if __x86_64__ is defined.
64955 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64957         [BZ #14048]
64958         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64959         Use int64_t for variable i.
64960         * math/libm-test.inc (fmod_test): Add more tests.
64962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64963         z computation is not scheduled after fetestexcept.
64964         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64965         Use math_force_eval instead of asm to ensure calculation scheduled
64966         before exception test.
64967         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64968         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64970 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64973         computation is not scheduled after fetestexcept.
64975 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64977         [BZ #14117]
64978         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64979         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64981 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64983         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64984         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64986 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64988         [BZ #14117]
64989         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64990         <bits/wordsize.h>.
64991         (__WCHAR_MIN): Support __WORDSIZE == 64.
64992         (__WCHAR_MAX): Likewise.
64994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64995         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64997         [BZ #14183]
64998         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64999         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65001         [BZ #14117]
65002         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65003         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65005         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65006         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65008         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65009         Defined to 1 if __x86_64__ isn't defined.
65010         (_STAT_VER_LINUX_OLD): New.
65011         (st_atime): Remove duplicate.
65012         (st_mtime): Likewise.
65013         (st_ctime): Likewise.
65015 2012-05-31  David S. Miller  <davem@davemloft.net>
65017         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65018         entries.
65020 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65022         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65023         gen-libm-test.pl.
65025         [BZ #14132]
65026         * elf/dl-reloc.c: Include <_itoa.h>.
65027         (_dl_reloc_bad_type): Remove use of INTUSE.
65028         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65029         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65030         * stdio-common/psiginfo.c (psiginfo): Likewise.
65031         * stdio-common/psignal.c (psignal): Likewise.
65032         * string/strsignal.c (strsignal): Likewise.
65033         * include/signal.h (_sys_siglist): Declare hidden proto.
65034         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65035         INTVARDEF with libc_hidden_data_def.
65036         * stdio-common/itoa-udigits.c: Likewise.
65037         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65038         (_itoa_lower_digits_internal): Remove declaration.
65039         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65040         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65041         (_sys_sigabbrev_internal): Remove aliases.
65042         (_sys_siglist): Define hidden alias.
65044 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65047         bits/sysctl.h.
65049 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65051         [BZ #14117]
65052         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65053         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65055         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65056         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65057         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65058         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65059         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65060         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65062         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65063         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65064         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65066         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65067         with __addr.
65068         (insw): Likewise.
65069         (insl): Likewise.
65070         (outsb): Likewise.
65071         (outsw): Likewise.
65072         (outsl): Likewise.
65074         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65075         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65076         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65078         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65079         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65080         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65081         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65082         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65083         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65085         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65086         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65088         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65089         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65091         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65092         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65093         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65095         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65096         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65097         to ...
65098         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65100         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65101         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65102         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65104         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65105         for x86-64.
65106         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65108 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65110         * math/math.h (M_El): Use two more decimal places.
65111         (M_LOG2El): Likewise.
65112         (M_LOG10El): Likewise.
65113         (M_LN2l): Likewise.
65114         (M_LN10l): Likewise.
65115         (M_PIl): Likewise.
65116         (M_PI_2l): Likewise.
65117         (M_PI_4l): Likewise.
65118         (M_1_PIl): Likewise.
65119         (M_2_PIl): Likewise.
65120         (M_2_SQRTPIl): Likewise.
65121         (M_SQRT2l): Likewise.
65122         (M_SQRT1_2l): Likewise.
65124 2012-05-31  David S. Miller  <davem@davemloft.net>
65126         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65127         values between float registers.
65128         * sysdeps/sparc/sparc64/memset.S: Likewise.
65129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65131 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65133         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65134         -D_FORTIFY_SOURCE=1.
65135         (CPPFLAGS-tst-longjmp_chk.c): Define.
65136         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65137         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65138         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65139         CFLAGS-tst-wchar-h.c.
65141 2012-05-31  Marek Polacek  <polacek@redhat.com>
65143         [BZ #14132]
65144         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65145         __endmntent_internal): Remove declaration.
65146         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65147         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65148         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65150 2012-05-30  David S. Miller  <davem@davemloft.net>
65152         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65153         (___Q_simulate_exceptions): Use real FP ops rather than writing
65154         into the %fsr.
65155         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65156         Likewise.
65158 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65160         [BZ #14117]
65161         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65162         * sysdeps/x86/bits/xtitypes.h: This.
65164         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65165         * sysdeps/x86/bits/wordsize.h: This.
65167         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65168         * sysdeps/x86/bits/huge_vall.h: This.
65170         * sysdeps/i386/bits/select.h: Removed.
65171         * sysdeps/x86_64/bits/select.h: Renamed to ...
65172         * sysdeps/x86/bits/select.h: This.
65174         * sysdeps/i386/bits/setjmp.h: Removed.
65175         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65176         * sysdeps/x86/bits/setjmp.h: This.
65178         * sysdeps/i386/bits/mathdef.h: Removed.
65179         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65180         * sysdeps/x86/bits/mathdef.h: This.
65182 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65184         [BZ #14132]
65185         * include/sys/socket.h (__connect_internal)
65186         (__libc_sa_len_internal): Remove declaration.
65187         (__connect, __libc_sa_len): Declare hidden_proto.
65188         (SA_LEN): Remove use of INTUSE.
65189         * socket/connect.c: Add libc_hidden_def.
65190         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65191         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65192         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65193         alias.
65194         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65195         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65196         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65197         of adding _internal alias.
65199 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65201         [BZ #14117]
65202         * sysdeps/i386/bits/link.h: Removed.
65203         * sysdeps/i386/bits/linkmap.h: Likewise.
65204         * sysdeps/x86_64/bits/link.h: Renamed to ...
65205         * sysdeps/x86/bits/link.h: This.
65206         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65207         * sysdeps/x86/bits/linkmap.h: This.
65209         * sysdeps/i386/bits/endian.h: Removed.
65210         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65211         * sysdeps/x86/bits/endian.h: This.
65213         * sysdeps/i386/bits/byteswap.h: Removed.
65214         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65215         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65216         * sysdeps/x86/bits/byteswap.h: This.
65217         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65218         * sysdeps/x86/bits/byteswap-16.h: This.
65219         * sysdeps/i386/Implies: Add x86.
65220         * sysdeps/x86_64/Implies: Likewise.
65222 2012-05-30  David S. Miller  <davem@davemloft.net>
65224         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65225         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65226         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65227         (FP_TRAPPING_EXCEPTIONS): Define.
65228         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65229         (FP_TRAPPING_EXCEPTIONS): Define.
65230         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65231         subnormals only when inexact has been signalled or underflow
65232         exceptions are enabled.
65233         (_FP_PACK_CANONICAL): Likewise.
65235 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65237         [BZ #14183]
65238         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65239         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65241 2012-05-30  Richard Henderson  <rth@twiddle.net>
65243         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65244         with #ifndef NOT_IN_libc.
65246         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65247         marked to avoid plt entry.
65249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65251         [BZ #14112]
65252         * Makeconfig (default-abi): New macro.
65253         (abi-includes): Likewise.
65254         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65255         $(abi-$(default-abi)-lib-soname) for soname if defined.
65256         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65257         abi-variants.
65258         * Makefile (installed-stubs): Likewise.
65259         * include/stubs-biarch.h: Removed.
65260         * scripts/lib-names.awk: Only handle one library at a time.
65261         * scripts/soversions.awk: Remove WORDSIZE support.
65262         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65263         entries.
65264         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65265         Removed.
65266         (syscall-list-default-condition): Likewise.
65267         (syscall-list-default-condition): Likewise.
65268         (syscall-list-includes): Likewise.
65269         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65270         syscall-list-* with abi-*.  Handle undefined abi-variants.
65271         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65272         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65273         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65274         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65275         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65276         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65277         Removed.
65278         (syscall-list-32-options): Likewise.
65279         (syscall-list-32-condition): Likewise.
65280         (syscall-list-64-options): Likewise.
65281         (syscall-list-64-condition): Likewise.
65282         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65283         macro.
65284         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65285         Renamed to ...
65286         (abi-*): This.
65287         (abi-64-ld-soname): New macro.
65288         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65289         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65290         Renamed to ...
65291         (abi-*): This.
65292         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65293         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65295 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65297         * sysdeps/unix/sysv/linux/kernel-features.h
65298         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65299         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65300         include <kernel-features.h>.
65301         [!__NR_ftruncate64]: Remove conditional code.
65302         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65303         [__NR_ftruncate64]: Make code unconditional.
65304         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65305         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65306         include <kernel-features.h>.
65307         [!__NR_ftruncate64]: Remove conditional code.
65308         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65309         [__NR_ftruncate64]: Make code unconditional.
65310         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65312         include <kernel-features.h>.
65313         [!__NR_ftruncate64]: Remove conditional code.
65314         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65315         [__NR_ftruncate64]: Make code unconditional.
65316         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65318         include <kernel-features.h>.
65319         [!__NR_ftruncate64]: Remove conditional code.
65320         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65321         [__NR_ftruncate64]: Make code unconditional.
65322         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65324         * configure.in (libc_cv_fpie): Weaken to a compile test using
65325         LIBC_TRY_CC_OPTION.
65326         * configure: Regenerated.
65328 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65334         Refreshed.
65335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65341         Refreshed.
65343 2012-05-27  David S. Miller  <davem@davemloft.net>
65345         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65346         (___Q_zero): New.
65347         (__Q_simulate_exceptions): Return void.  Change to simulate
65348         exceptions by writing into the %fsr.
65349         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65350         (__Qp_handle_exceptions): Likewise.
65351         (numbers): Delete.
65352         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65353         __Qp_handle_exceptions.
65354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65355         __Qp_handle_exceptions.
65356         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65357         as unused and give dummy FP_RND_NEAREST initializer.
65358         (FP_INHIBIT_RESULTS): Define.
65359         (___Q_simulate_exceptions): Update declaration.
65360         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65361         formatting.
65362         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65363         as unused and give dummy FP_RND_NEAREST initializer.
65364         (__Qp_handle_exceptions): Update declaration.
65365         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65366         formatting.
65368 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65370         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65371         the temporary FPU control word.
65372         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65373         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65374         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65375         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65376         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65377         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65378         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65379         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65380         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65381         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65382         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65384 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65386         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65387         fields.
65389 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65391         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65392         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65393         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65394         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65395         Likewise.
65396         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65397         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65398         Likewise.
65400 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65402         * po/h.po: Update from translation team.
65404 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65406         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65408         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65409         handling of denormals.
65410         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65411         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65412         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65413         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65417         Likewise.
65419 2012-05-26  Marek Polacek  <polacek@redhat.com>
65421         [BZ #14152]
65422         * math/libm-test.inc (fma_test): Don't always expect underflow
65423         exception.
65425 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65427         [BZ #12416]
65428         * elf/tst-execstack.c: Include stackinfo.h.
65429         (do_test): Adjust test case to ensure that pthread_getattr_np
65430         behaviour remains the same after marking stack executable.
65432 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65434         * sysdeps/unix/sysv/linux/kernel-features.h
65435         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65436         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65437         kernel-features.h.
65438         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65439         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65440         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65441         kernel-features.h.
65442         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65443         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65445 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65447         * configure.in: Define the default includes to being none.
65448         * configure: Regenerated.
65450 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65452         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65453         * sysdeps/x86_64/setjmp.S: Likewise.
65454         * sysdeps/i386/bsd-setjmp.S: Likewise.
65455         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65456         * sysdeps/i386/setjmp.S: Likewise.
65457         * sysdeps/i386/__longjmp.S: Likewise.
65458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65459         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65461         * include/stap-probe.h: New file.
65462         * configure.in: Handle --enable-systemtap.
65463         * configure: Regenerated.
65464         * config.h.in (USE_STAP_PROBE): New #undef.
65465         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65466         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65467         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65469 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65471         [BZ #13717]
65472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65473         to 2.4.0 where earlier.
65474         * sysdeps/unix/sysv/linux/configure: Regenerated.
65475         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65476         <kernel-features.h>.
65477         [__ASSUME_32BITUIDS]: Make code unconditional.
65478         [!__ASSUME_32BITUIDS]: Remove conditional code.
65479         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65480         <kernel-features.h>.
65481         [__ASSUME_32BITUIDS]: Make code unconditional.
65482         [!__ASSUME_32BITUIDS]: Remove conditional code.
65483         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65484         [__ASSUME_32BITUIDS]: Make code unconditional.
65485         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65486         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65487         <kernel-features.h>.
65488         [__ASSUME_32BITUIDS]: Make code unconditional.
65489         [!__ASSUME_32BITUIDS]: Remove conditional code.
65490         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65491         <kernel-features.h>.
65492         [__ASSUME_32BITUIDS]: Make code unconditional.
65493         [!__ASSUME_32BITUIDS]: Remove conditional code.
65494         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65495         <kernel-features.h>.
65496         [__ASSUME_32BITUIDS]: Make code unconditional.
65497         [!__ASSUME_32BITUIDS]: Remove conditional code.
65498         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65499         <kernel-features.h>.
65500         [__ASSUME_32BITUIDS]: Make code unconditional.
65501         [!__ASSUME_32BITUIDS]: Remove conditional code.
65502         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65503         <kernel-features.h>.
65504         [__ASSUME_32BITUIDS]: Make code unconditional.
65505         [!__ASSUME_32BITUIDS]: Remove conditional code.
65506         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65507         <kernel-features.h>.
65508         [__ASSUME_32BITUIDS]: Make code unconditional.
65509         [!__ASSUME_32BITUIDS]: Remove conditional code.
65510         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65511         <kernel-features.h>.
65512         [__ASSUME_32BITUIDS]: Make code unconditional.
65513         [!__ASSUME_32BITUIDS]: Remove conditional code.
65514         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65515         <kernel-features.h>.
65516         [__ASSUME_32BITUIDS]: Make code unconditional.
65517         [!__ASSUME_32BITUIDS]: Remove conditional code.
65518         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65519         <kernel-features.h>.
65520         [__ASSUME_32BITUIDS]: Make code unconditional.
65521         [!__ASSUME_32BITUIDS]: Remove conditional code.
65522         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65523         <kernel-features.h>.
65524         [__ASSUME_32BITUIDS]: Make code unconditional.
65525         [!__ASSUME_32BITUIDS]: Remove conditional code.
65526         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65527         <kernel-features.h>.
65528         [__NR_setresgid] (__setresgid): Do not declare.
65529         [__ASSUME_32BITUIDS]: Make code unconditional.
65530         [!__ASSUME_32BITUIDS]: Remove conditional code.
65531         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65532         <kernel-features.h>.
65533         [__NR_setresuid] (__setresuid): Do not declare.
65534         [__ASSUME_32BITUIDS]: Make code unconditional.
65535         [!__ASSUME_32BITUIDS]: Remove conditional code.
65536         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65537         <kernel-features.h>.
65538         [__ASSUME_32BITUIDS]: Make code unconditional.
65539         [!__ASSUME_32BITUIDS]: Remove conditional code.
65540         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65541         <kernel-features.h>.
65542         [__ASSUME_32BITUIDS]: Make code unconditional.
65543         [!__ASSUME_32BITUIDS]: Remove conditional code.
65544         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65545         <kernel-features.h>.
65546         [__ASSUME_32BITUIDS]: Make code unconditional.
65547         [!__ASSUME_32BITUIDS]: Remove conditional code.
65548         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65549         <kernel-features.h>.
65550         [__ASSUME_32BITUIDS]: Make code unconditional.
65551         [!__ASSUME_32BITUIDS]: Remove conditional code.
65552         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65553         <kernel-features.h>.
65554         [__ASSUME_32BITUIDS]: Make code unconditional.
65555         [!__ASSUME_32BITUIDS]: Remove conditional code.
65556         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65557         <kernel-features.h>.
65558         [__ASSUME_32BITUIDS]: Make code unconditional.
65559         [!__ASSUME_32BITUIDS]: Remove conditional code.
65560         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65561         <kernel-features.h>.
65562         [__ASSUME_32BITUIDS]: Make code unconditional.
65563         [!__ASSUME_32BITUIDS]: Remove conditional code.
65564         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65565         <kernel-features.h>.
65566         [__ASSUME_32BITUIDS]: Make code unconditional.
65567         [!__ASSUME_32BITUIDS]: Remove conditional code.
65568         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65569         <kernel-features.h>.
65570         [__ASSUME_32BITUIDS]: Make code unconditional.
65571         [!__ASSUME_32BITUIDS]: Remove conditional code.
65572         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65573         <kernel-features.h>.
65574         [__ASSUME_32BITUIDS]: Make code unconditional.
65575         [!__ASSUME_32BITUIDS]: Remove conditional code.
65576         * sysdeps/unix/sysv/linux/kernel-features.h
65577         (__ASSUME_SETRESUID_SYSCALL): Remove.
65578         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65579         (__ASSUME_32BITUIDS): Likewise.
65580         (__ASSUME_LDT_WORKS): Likewise.
65581         (__ASSUME_O_DIRECTORY): Likewise.
65582         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65583         architecture but not kernel version.
65584         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65585         (__ASSUME_MMAP2_SYSCALL): Likewise.
65586         (__ASSUME_STAT64_SYSCALL): Likewise.
65587         (__ASSUME_IPC64): Likewise.
65588         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65589         <kernel-features.h>.
65590         [__ASSUME_32BITUIDS]: Make code unconditional.
65591         [!__ASSUME_32BITUIDS]: Remove conditional code.
65592         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65593         <kernel-features.h>.
65594         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65595         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65596         132096]: Remove conditional code.
65597         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65598         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65599         <kernel-features.h>.
65600         [__ASSUME_32BITUIDS]: Make code unconditional.
65601         [!__ASSUME_32BITUIDS]: Remove conditional code.
65602         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65603         <kernel-features.h>.
65604         [__ASSUME_32BITUIDS]: Make code unconditional.
65605         [!__ASSUME_32BITUIDS]: Remove conditional code.
65606         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65607         <kernel-features.h>.
65608         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65609         unconditional.
65610         (__setresgid): Do not declare.
65611         [__ASSUME_32BITUIDS]: Make code unconditional.
65612         [!__ASSUME_32BITUIDS]: Remove conditional code.
65613         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65614         <kernel-features.h>.
65615         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65616         unconditional.
65617         (__setresuid): Do not declare.
65618         [__ASSUME_32BITUIDS]: Make code unconditional.
65619         [!__ASSUME_32BITUIDS]: Remove conditional code.
65620         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65621         <kernel-features.h>.
65622         [__ASSUME_32BITUIDS]: Make code unconditional.
65623         [!__ASSUME_32BITUIDS]: Remove conditional code.
65624         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65625         <kernel-features.h>.
65626         [__ASSUME_32BITUIDS]: Make code unconditional.
65627         [!__ASSUME_32BITUIDS]: Remove conditional code.
65629 2012-05-25  Richard Henderson  <rth@twiddle.net>
65631         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65632         dl_hwcap to ifunc resolver.
65633         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65634         elf_ifunc_invoke.
65635         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65636         dl_hwcap to ifunc resolver.
65637         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65639 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65641         [BZ #14153]
65642         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65643         for |x| <= 2**-26, not 2**-57.
65644         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65645         exception.
65647 2012-05-24  Jeff Law  <law@redhat.com>
65649         * stdio-common/Makefile (tests): Add bug25.
65650         * stdio-common/bug25.c: New test.
65652 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65654         [BZ #13576]
65655         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65656         multiple of MALLOC_ALIGNMENT in size.
65657         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65659 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65661         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65662         Require >= 256.
65663         (FILENAME_MAX): Use macro-int-constant.
65664         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65665         (_IOFBF): Use macro-int-constant.
65666         (_IOLBF): Likewise.
65667         (_IONBF): Likewise.
65668         (SEEK_CUR): Likewise.
65669         (SEEK_END): Likewise.
65670         (SEEK_SET): Likewise.
65671         (TMP_MAX): Likewise.
65672         (EOF): Use macro-int-constant.  Require < 0.
65673         (NULL): Use macro-constant.  Require == 0.
65674         (stdin): Require type to be FILE *.
65675         (stdout): Likewise.
65676         (stderr): Likewise.
65677         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65678         macro-int-constant.
65679         (EXIT_SUCCESS): Likewise.
65680         (NULL): Use macro-constant.  Require == 0.
65681         (RAND_MAX): Use macro-int-constant.
65682         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65683         [C99-based standards] (strtof): Require function.
65684         [C99-based standards] (strtold): Likewise.
65685         [C99-based standards] (strtoll): Likewise.
65686         [C99-based standards] (strtoull): Likewise.
65687         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65688         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65689         [ISO || ISO99 || ISO11] (math.h): Likewise.
65690         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65691         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65692         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65694 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65696         [BZ #14132]
65697         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65698         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65699         * intl/dgettext.c (DCGETTEXT): Likewise.
65700         * intl/gettext.c (DCGETTEXT): Likewise.
65701         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65702         * posix/regex_internal.h (gettext): Likewise.
65703         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65704         Remove declaration.
65705         * include/argz.h (__argz_count_internal)
65706         (__argz_stringify_internal): Remove declaration.
65707         (__argz_count, __argz_stringify): Declare hidden proto.
65708         * intl/dcgettext.c: Remove use of INTDEF.
65709         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65710         * string/argz-stringify.c: Likewise.
65711         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65712         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65713         Declare hidden proto.
65714         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65715         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65716         Declare hidden proto.
65717         * include/stdio.h (__asprintf_internal): Don't declare.
65718         (__asprintf): Don't define as macro.  Declare hidden proto.
65719         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65720         (__fsetlocking): Declare hidden proto.
65721         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65722         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65723         hidden proto.
65724         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65725         (_IO_setlinebuf): Remove use of INTUSE.
65726         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65727         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65728         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65729         Remove declaration.
65730         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65731         (_IO_do_flush): Remove use of INTUSE.
65732         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65733         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65734         (_IO_adjust_column, _IO_least_wmarker)
65735         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65736         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65737         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65738         (_IO_default_doallocate, _IO_wdefault_doallocate)
65739         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65740         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65741         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65742         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65743         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65744         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65745         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65746         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65747         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65748         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65749         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65750         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65751         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65752         proto.
65753         (_IO_flush_all_internal, _IO_adjust_column_internal)
65754         (_IO_default_uflow_internal, _IO_default_finish_internal)
65755         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65756         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65757         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65758         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65759         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65760         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65761         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65762         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65763         (_IO_file_close_internal, _IO_file_close_it_internal)
65764         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65765         (_IO_file_init_internal, _IO_file_attach_internal)
65766         (_IO_file_fopen_internal, _IO_file_read_internal)
65767         (_IO_file_sync_internal, _IO_file_seek_internal)
65768         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65769         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65770         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65771         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65772         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65773         (_IO_list_all_internal, _IO_link_in_internal)
65774         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65775         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65776         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65777         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65778         (_IO_do_write_internal, _IO_padn_internal)
65779         (_IO_getline_info_internal, _IO_getline_internal)
65780         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65781         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65782         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65783         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65784         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65785         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65786         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65787         with libc_hidden_ver, remove use of INTUSE.
65788         * libio/genops.c: Likewise.
65789         * libio/freopen.c: Likewise.
65790         * libio/freopen64.c: Likewise.
65791         * libio/iofclose.c: Likewise.
65792         * libio/iofdopen.c: Likewise.
65793         * libio/iofflush.c: Likewise.
65794         * libio/iofflush_u.c: Likewise.
65795         * libio/iofgets.c: Likewise.
65796         * libio/iofgets_u.c: Likewise.
65797         * libio/iofopen.c: Likewise.
65798         * libio/iofopncook.c: Likewise.
65799         * libio/iofread.c: Likewise.
65800         * libio/iofread_u.c: Likewise.
65801         * libio/ioftell.c: Likewise.
65802         * libio/iofwrite.c: Likewise.
65803         * libio/iogetline.c: Likewise.
65804         * libio/iogets.c: Likewise.
65805         * libio/iogetwline.c: Likewise.
65806         * libio/iopadn.c: Likewise.
65807         * libio/iopopen.c: Likewise.
65808         * libio/ioseekoff.c: Likewise.
65809         * libio/ioseekpos.c: Likewise.
65810         * libio/iosetbuffer.c: Likewise.
65811         * libio/iosetvbuf.c: Likewise.
65812         * libio/ioungetc.c: Likewise.
65813         * libio/ioungetwc.c: Likewise.
65814         * libio/iovdprintf.c: Likewise.
65815         * libio/iovsprintf.c: Likewise.
65816         * libio/iovsscanf.c: Likewise.
65817         * libio/memstream.c: Likewise.
65818         * libio/obprintf.c: Likewise.
65819         * libio/oldfileops.c: Likewise.
65820         * libio/oldiofclose.c: Likewise.
65821         * libio/oldiofdopen.c: Likewise.
65822         * libio/oldiofopen.c: Likewise.
65823         * libio/oldiopopen.c: Likewise.
65824         * libio/oldstdfiles.c: Likewise.
65825         * libio/putc.c: Likewise.
65826         * libio/setbuf.c: Likewise.
65827         * libio/setlinebuf.c: Likewise.
65828         * libio/stdfiles.c: Likewise.
65829         * libio/strops.c: Likewise.
65830         * libio/vasprintf.c: Likewise.
65831         * libio/vscanf.c: Likewise.
65832         * libio/vsnprintf.c: Likewise.
65833         * libio/vswprintf.c: Likewise.
65834         * libio/wfiledoalloc.c: Likewise.
65835         * libio/wfileops.c: Likewise.
65836         * libio/wgenops.c: Likewise.
65837         * libio/wmemstream.c: Likewise.
65838         * libio/wstrops.c: Likewise.
65839         * libio/__fpurge.c: Likewise.
65840         * libio/__fsetlocking.c: Likewise.
65841         * assert/assert.c: Likewise.
65842         * debug/fgets_chk.c: Likewise.
65843         * debug/fgets_u_chk.c: Likewise.
65844         * debug/fread_chk.c: Likewise.
65845         * debug/fread_u_chk.c: Likewise.
65846         * debug/gets_chk.c: Likewise.
65847         * debug/obprintf_chk.c: Likewise.
65848         * debug/vasprintf_chk.c: Likewise.
65849         * debug/vdprintf_chk.c: Likewise.
65850         * debug/vsnprintf_chk.c: Likewise.
65851         * debug/vsprintf_chk.c: Likewise.
65852         * malloc/mtrace.c: Likewise.
65853         * misc/error.c: Likewise.
65854         * misc/syslog.c: Likewise.
65855         * stdio-common/asprintf.c: Likewise.
65856         * stdio-common/fxprintf.c: Likewise.
65857         * stdio-common/getw.c: Likewise.
65858         * stdio-common/isoc99_fscanf.c: Likewise.
65859         * stdio-common/isoc99_scanf.c: Likewise.
65860         * stdio-common/isoc99_vfscanf.c: Likewise.
65861         * stdio-common/isoc99_vscanf.c: Likewise.
65862         * stdio-common/isoc99_vsscanf.c: Likewise.
65863         * stdio-common/printf-prs.c: Likewise.
65864         * stdio-common/printf_fp.c: Likewise.
65865         * stdio-common/printf_fphex.c: Likewise.
65866         * stdio-common/printf_size.c: Likewise.
65867         * stdio-common/putw.c: Likewise.
65868         * stdio-common/scanf.c: Likewise.
65869         * stdio-common/sprintf.c: Likewise.
65870         * stdio-common/tmpfile.c: Likewise.
65871         * stdio-common/vfprintf.c: Likewise.
65872         * stdio-common/vfscanf.c: Likewise.
65873         * stdlib/strfmon_l.c: Likewise.
65874         * sunrpc/openchild.c: Likewise.
65875         * sunrpc/xdr_stdio.c: Likewise.
65876         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65877         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65879 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65881         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65883         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65884         in the third column, to generate for the shared library an IFUNC
65885         that uses _dl_vdso_vsym.
65886         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65887         * Makeconfig (object-suffixes-noshared): New variable.
65889         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65890         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65891         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65892         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65894         [BZ #14132]
65895         * include/sys/time.h (__gettimeofday): Remove macro.
65896         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65897         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65898         Remove INTDEF.
65899         (__gettimeofday): Add libc_hidden_def.
65900         (gettimeofday): Add libc_hidden_weak.
65901         * sysdeps/mach/gettimeofday.c: Likewise.
65902         * sysdeps/posix/gettimeofday.c: Likewise.
65903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65904         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65905         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65906         (__gettimeofday_internal): Remove strong_alias.
65907         (__gettimeofday): Add libc_hidden_def.
65908         (gettimeofday): Add libc_hidden_weak.
65909         * sysdeps/unix/syscalls.list (gettimeofday):
65910         Remove __gettimeofday_internal alias.
65912 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65913             H.J. Lu  <hongjiu.lu@intel.com>
65915         [BZ #12495]
65916         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65917         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65918         (largebin_index_32_big): New.
65919         (largebin_index): Use it for 16-byte alignment.
65920         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65921         correction with front_misalign.
65923 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65927         Likewise.
65928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65929         Likewise.
65930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65931         Likewise.
65932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65933         Likewise.
65934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65935         Likewise.
65936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65937         Likewise.
65938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65939         Likewise.
65940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65941         Likewise.
65942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65943         Likewise.
65944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65945         Likewise.
65946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65947         Likewise.
65948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65949         Likewise.
65951         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65952         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65954 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65956         [BZ #10846]
65957         [BZ #14036]
65958         * math/libm-test.inc (exp_test): Add test from bug 14036.
65959         (pow_test): Add test from bug 10846.
65961         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65962         and other flags.
65963         (special_function): Do not include flags in test name.
65964         (parse_args): Likewise.
65965         * sysdeps/i386/fpu/libm-test-ulps: Update.
65966         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65967         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65968         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65971         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65972         exceptions.
65973         * math/libm-test.inc ("Philosophy"): Update comment about
65974         exception testing.
65975         (UNDERFLOW_EXCEPTION): New macro.
65976         (UNDERFLOW_EXCEPTION_OK): Likewise.
65977         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65978         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65979         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65980         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65981         (INVALID_EXCEPTION_OK): Update value.
65982         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65983         (OVERFLOW_EXCEPTION_OK): Likewise.
65984         (IGNORE_ZERO_INF_SIGN): Likewise.
65985         (test_exceptions): Handle underflow exceptions.
65986         (acos_test): Update for underflow exception expectations.
65987         (cexp_test): Likewise.
65988         (clog_test): Likewise.
65989         (clog10_test): Likewise.
65990         (csqrt_test): Likewise.
65991         (ctan_test): Likewise.
65992         (ctanh_test): Likewise.
65993         (exp_test): Likewise.
65994         (exp10_test): Likewise.
65995         (exp2_test): Likewise.
65996         (expm1_test): Likewise.
65997         (fma_test): Likewise.
65998         (j0_test): Likewise.
65999         (jn_test): Likewise.
66000         (nexttoward_test): Likewise.
66001         (pow_test): Likewise.
66002         (scalbn_test): Likewise.
66003         (scalbln_test): Likewise.
66004         (tan_test): Likewise.
66005         (y1_test): Likewise.
66006         * sysdeps/i386/fpu/libm-test-ulps: Update.
66007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66009 2012-05-23  David S. Miller  <davem@davemloft.net>
66011         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66012         (__libc_sigaction): Remove unused local variables.
66014 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66016         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66018 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66020         mktime: avoid signed integer overflow
66021         * time/mktime.c (__mktime_internal): Do not mishandle the case
66022         where diff == INT_MIN.
66024         mktime: simplify computation of average
66025         * time/mktime.c (ranged_convert): Use new time_t_avg function
66026         instead of rolling our own (probably-slower) code.
66028         mktime: do not assume signed right shift propagates sign bit
66029         * time/mktime.c (isdst_differ): New static function.
66030         (__mktime_internal): No need to normalize tm_isdst now.
66031         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66032         tm_isdst values.
66034         mktime: merge another wrapv change from gnulib
66035         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66036         from some compilers.
66038         mktime: remove incorrect attempt at unusual arithmetics
66039         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66040         The code didn't really work on such machines anyway.
66041         (TYPE_MINIMUM): Assume two's complement.
66042         (twos_complement_arithmetic): Verify that long_int and time_t
66043         are two's complement (or unsigned, in the latter case).
66045         mktime: check signed shifts on long_int and time_t, too
66046         * time/mktime.c (SHR): Check that shifts work as desired
66047         on the types long_int and time_t too, as SHR is used on
66048         such types.
66050         mktime: do not assume 'long' is wide enough
66051         * time/mktime.c (verify): Move decl up.
66052         (long_int): New type.
66053         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66054         to remove assumption in the code that 'long' is wide enough to
66055         store year values.  This assumption is not true on x32 and on
66056         some non-glibc platforms.
66058         mktime: merge wrapv change from gnulib
66059         * time/mktime.c (WRAPV): New macro.
66060         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66061         (guess_time_tm, __mktime_internal): Do not assume that signed
66062         integer overflow wraps around; modern compilers generate code
66063         where this assumption is no longer valid.
66065 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66067         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66068         Replace "jmp L(pseudo_end)" with "ret".
66069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66070         Likewise.
66072 2012-05-23  Andreas Jaeger  <aj@suse.de>
66074         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66075         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66077 2012-05-23  Andreas Jaeger  <aj@suse.de>
66078             Maximilian Attems  <max@stro.at>
66080         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66081         New macros.
66083 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66085         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66086         code so that pseudo_end is just ret and the stack pointer is
66087         correct also for static library in error case.
66089 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66091         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66092         move to syscalls.list.
66093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66098         * manual/install.texi (Running make install): Do not mention Linux
66099         kernel version for which pt_chown is not needed.
66100         (Linux): Do not mention problems with nscd with 2.0 kernels.
66101         * INSTALL: Regenerated.
66103 2012-05-23  Andreas Jaeger  <aj@suse.de>
66105         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66106         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66107         macro.
66108         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66110         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66112         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66113         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66114         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66115         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66116         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66117         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66118         * sysdeps/unix/sysv/linux/bits/in.h
66119         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66121 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66123         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66124         (PREPARE_VERSION): Just use assert instead, it will be elided
66125         under [NDEBUG] anyway.
66127 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66129         * sysdeps/unix/sysv/linux/Makefile: Include
66130         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66131         (sysdep_routines): Remove sysctl.
66132         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66133         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66134         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66135         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66136         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66138 2012-05-22  Andreas Jaeger  <aj@suse.de>
66140         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66141         that pseudo_end is just ret and the stack pointer is correct also
66142         for static library in error case.
66144 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66146         [BZ #14122]
66147         * nss/nsswitch.c (defconfig_entries): New variable.
66148         (__nss_database_lookup): Don't leak defconfig entries.
66149         (nss_parse_service_list): Don't leak on error paths.
66150         (free_database_entries): New function.
66151         (free_defconfig): New function.
66152         (free_mem): Move common code to free_database_entries.
66154 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66156         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66157         Add arch_prctl.
66158         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66160         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66161         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66163         New macro.
66164         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66165         (INTERNAL_SYSCALL_TYPES): Likewise.
66166         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66167         (LOAD_REGS_TYPES_[1-6]): Likewise.
66168         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66169         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66171 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66173         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66174         copysignl for GLIBC_2_0.
66175         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66176         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66178         logbl for GLIBC_2_0.
66179         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66180         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66185         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66187         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66188         Use "neg %eax".
66190         * time/mktime.c: Update copyright years.
66192 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66194         mktime: merge comment-quoting-style change from gnulib
66195         * time/mktime.c: Quote 'like this' in comments.
66196         The GNU coding standards suggest that we no longer quote `like this',
66197         as "`" and "'" are typically rendered asymmetrically nowadays.
66198         The typical gnulib style is to quote 'like this' when quoting
66199         code, and "like this" when quoting English.
66201         * time/mktime.c (compile-command): Add "-I.".
66203         mktime: merge mktime-internal.h change from gnulib
66204         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66206         mktime: merge time_r change from gnulib
66207         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66209         mktime: merge DEBUG change from gnulib
66210         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66211         case system <time.h> has a #define.
66213         mktime: merge <sys/types.h> change from gnulib
66214         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66215         since <time.t> is now guaranteed to define time_t.
66217         mktime: merge HAVE_CONFIG_H change from gnulib
66218         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66220 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66223         Use "neg %eax".
66225         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66226         __rlim_t cast.
66227         (struct rusage): Use anonymous union to pad each field to
66228         __syscall_slong_t.
66230 2012-05-21  David S. Miller  <davem@davemloft.net>
66232         * Makefules (o-iterator): Remove .s cases.
66233         (compile-command.s): Delete.
66234         (COMPILE.s): Delete.
66235         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66237 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66239         * configure.in (libc_cv_predef_stack_protector): Only consider
66240         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66241         * configure: Regenerated.
66243 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66246         New macro.  Use R*LP on int and pointer.
66247         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66248         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66249         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66250         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66252         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66253         [__WORDSIZE_TIME64_COMPAT32] instead of
66254         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66255         (struct utmp): Likewise.
66256         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66257         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66258         Renamed to ...
66259         (__WORDSIZE_TIME64_COMPAT32): This.
66260         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66261         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66262         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66263         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66264         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66265         (__WORDSIZE_TIME64_COMPAT32): New macro.
66267 2012-05-21  Andreas Jaeger  <aj@suse.de>
66269         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66270         only if [SHARED]. Add prototype for __wcschr_ia32.
66272 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66274         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66275         of %rbp unmolested in the jmp_buf while mangling the low bits.
66276         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66277         unmolested high bits of %rbp while demangling the low bits.
66278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66280 2012-05-21  Andreas Jaeger  <aj@suse.de>
66282         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66283         * sunrpc/svc_simple.c: Use it for registerrpc.
66284         * sunrpc/xcrypt.c: Use it for passwd2des.
66286         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66288 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66290         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66291         Don't define if [__SYSCALL_WORDSIZE != 32].
66292         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66293         New macro.
66295 2012-05-21  Bruno Haible  <bruno@clisp.org>
66296             Andreas Jaeger  <aj@suse.de>
66298         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66299         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66300         inptr and inend for must_buffer_ch.
66301         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66302         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66303         * stdio-common/Makefile (tests): Remove bug15.
66304         (bug15-ENV): Remove macro.
66305         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66306         anymore.
66308 2012-05-19  Andreas Jaeger  <aj@suse.de>
66309             Roland McGrath  <roland@hack.frob.com>
66311         * manual/contrib.texi: Completely rewritten. It contains now an
66312         alphabetical list of contributors and their contributions.
66314 2012-05-21  Richard Henderson  <rth@twiddle.net>
66316         * misc/getauxval.c (__getauxval): Use unsigned long int.
66317         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66318         (getauxval): Use unsigned long int.
66320 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66322         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66324 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66326         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66327         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66328         __alignof__ (long double).
66330 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66334 2012-05-20  Richard Henderson  <rth@twiddle.net>
66336         * misc/getauxval.c: New file.
66337         * misc/sys/auxv.h: New file.
66338         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66339         (routines): Add getauxval.
66340         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66341         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66342         * elf/dl-sysdep.c (_dl_auxv): Remove.
66343         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66344         * elf/dl-support.c (_dl_auxv): New variable.
66345         (_dl_aux_init): Initialize it.
66346         * manual/startup.texi (Auxiliary Vector): New node.
66347         * sysdeps/generic/bits/hwcap.h: New file.
66348         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66349         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66350         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66351         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66352         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66353         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66355         Update.
66356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66365 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66369 2012-05-19  David S. Miller  <davem@davemloft.net>
66371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66373 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66375         [BZ #14123]
66376         * math/s_ccosh.c: Include <float.h>
66377         (__ccosh): Avoid internal overflow calculating sinh and cosh
66378         values before multiplying by sin and cos values.
66379         * math/s_ccoshf.c: Likewise.
66380         * math/s_ccoshl.c: Likewise.
66381         * math/s_csin.c: Likewise.
66382         * math/s_csinf.c: Likewise.
66383         * math/s_csinl.c: Likewise.
66384         * math/s_csinh.c: Likewise.
66385         * math/s_csinhf.c: Likewise.
66386         * math/s_csinhl.c: Likewise.
66387         * math/libm-test.inc (ccos_test): Add more tests.
66388         (ccosh_test): Likewise.
66389         (csin_test): Likewise.
66390         (csinh_test): Likewise.
66391         * sysdeps/i386/fpu/libm-test-ulps: Update.
66392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66394 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66396         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66397         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66399         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66401 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66403         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66404         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66405         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66406         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66407         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66408         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66409         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66410         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66411         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66412         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66413         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66414         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66415         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66416         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66417         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66418         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66419         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66420         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66421         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66422         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66423         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66424         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66425         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66426         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66427         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66428         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66429         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66430         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66431         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66432         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66433         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66435 2012-05-18  Andreas Jaeger  <aj@suse.de>
66437         * csu/.gitignore: Delete.
66439 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66441         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66442         (timex): Use __syscall_slong_t.
66444 2012-05-18  Andreas Jaeger  <aj@suse.de>
66445             Carlos O'Donell  <carlos_odonell@mentor.com>
66447         * manual/install.texi (Configuring and compiling): Update
66448         description about files modified in the source directory.
66449         * INSTALL: Regenerated.
66451 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66453         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66454         value.  Use "or" to set return value to -1.
66455         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66456         negate return value.
66458 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66460         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66461         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66462         failure if the compiler has Graphite support disabled.
66463         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66464         Likewise.
66465         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66466         (CFLAGS-memmove.c): Likewise.
66467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66468         Likewise.
66470 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66472         * sysdeps/x86_64/x32/_itoa.h: New file.
66474         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66475         getdents system call only if kernel and user dirents have the
66476         same d_ino and d_off.
66478         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66479         LLONG_MAX != LONG_MAX.
66480         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66481         (_fitoa_word): Likewise.
66483         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66484         years.
66485         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66486         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66487         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66489         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66490         include <bits/wordsize.h>.  Check __x86_64__ instead of
66491         __WORDSIZE.
66492         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66493         if __x86_64__ is defined.  Use anonymous union on fpstate.
66495         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66496         anonymous union.
66498 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66500         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66501         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66502         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66503         Refer to _rtld_local_ro instead of _rtld_global_ro.
66504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66505         Likewise.
66506         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66507         Likewise.
66508         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66509         Likewise.
66510         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66511         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66512         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66514         [BZ #10882]
66515         * sysdeps/powerpc/powerpc32/dl-machine.c
66516         (__elf_machine_runtime_setup) [PROF]: Don't reference
66517         _dl_prof_resolve.
66519 2012-05-18  Andreas Jaeger  <aj@suse.de>
66521         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66522         function only available for GCCs before 3.4 since GCC 3.4
66523         introduced a builtin.
66524         (lrint): Likewise.
66525         (llrintf): Likewise.
66526         (llrint): Likewise.
66527         (fmaxf): Likewise.
66528         (fmax): Likewise.
66529         (fminf): Likewise.
66530         (fmin): Likewise.
66531         (rint): Likewise.
66532         (rintf): Likewise.
66533         (nearbyint): Likewise.
66534         (nearbyintf): Likewise.
66535         (ceil): Likewise.
66536         (ceilf): Likewise.
66537         (floor): Likewise.
66538         (floorf): Likewise.
66540 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66542         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66543         on both fields and cast pointer to __syscall_ulong_t.
66545         * bits/types.h (__fsword_t): New type.
66546         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66547         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66549         (__FSWORD_T_TYPE): Likewise.
66550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66551         (__FSWORD_T_TYPE): Likewise.
66552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66553         (__FSWORD_T_TYPE): Likewise.
66554         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66555         (__FSWORD_T_TYPE): Likewise.
66556         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66557         __SWORD_TYPE with __fsword_t.
66558         (statfs64): Likewise.
66560 2012-05-17  David S. Miller  <davem@davemloft.net>
66562         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66564 2012-05-17  Andreas Jaeger  <aj@suse.de>
66566         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66567         warning.
66569 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66571         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66573 2012-05-17  Andreas Jaeger  <aj@suse.de>
66575         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66576         when it is used.
66578 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66580         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66582 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66584         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66585         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66587 2012-05-17  Andreas Jaeger  <aj@suse.de>
66588             Carlos O'Donell  <carlos_odonell@mentor.com>
66590         [BZ #14059]
66591         * sysdeps/x86_64/multiarch/init-arch.h
66592         (bit_YMM_Usable): Rename to...
66593         (bit_AVX_Usable): ... this.
66594         (bit_FMA4_Usable): New macro.
66595         (bit_XMM_state): New macro.
66596         (bit_YMM_state): New macro.
66597         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66598         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66599         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66600         (CPUID_OSXSAVE): New macro.
66601         (CPUID_AVX): New macro.
66602         (CPUID_FMA4): New macro.
66603         (index_YMM_Usable): Rename to...
66604         (index_AVX_Usable): ... this.
66605         (HAS_AVX): Use HAS_ARCH_FEATURE.
66606         (HAS_FMA4): Likewise.
66607         (HAS_YMM_USABLE): Remove.
66608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66609         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66610         are present.
66611         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66612         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66613         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66614         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66615         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66617 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66619         * math/libm-test.c: Support platforms without multiple rounding modes.
66620         * math/bug-nextafter.c: Support platforms without FP exceptions.
66621         * math/bug-nexttoward.c: Likewise.
66622         * math/test-fenv.c: Likewise.
66623         * math/test-misc.c: Likewise.
66624         * stdlib/bug-getcontext.c: Likewise.
66626 2012-05-17  Andreas Jaeger  <aj@suse.de>
66628         * manual/examples/search.c (critter_cmp): Change signature to
66629         avoid warnings.
66630         * manual/string.texi (Collation Functions): Likewise.
66632 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66634         * bits/types.h: Fold copyright years.
66635         * bits/typesizes.h: Likewise.
66636         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66638         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66640         * time/time.h: Likewise.
66642 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66644         [BZ #208]
66645         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66646         in instead of returning them.  Return void.
66647         (__libc_mallinfo): Accumulate over all arenas.
66648         (__malloc_stats): Adjust for change in int_mallinfo interface.
66650 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66652         [BZ #10375]
66653         * configure.in (NM): Add AC_CHECK_TOOL for it.
66654         (libc_extra_cflags): New substituted variable.
66655         Check for -fstack-protector being used implicitly.
66656         * configure: Regenerated.
66657         * config.make.in (config-extra-cflags): New variable,
66658         gets @libc_extra_cflags@.
66659         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66661         [BZ #10375]
66662         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66663         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66664         * configure: Regenerated.
66665         * config.make.in (CPPUNDEFS): New substituted variable.
66666         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66667         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66668         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66670 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66672         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66673         (mq_attr): Use __syscall_slong_t.
66675 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66677         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66678         Check __x86_64__ instead of __WORDSIZE.
66679         (_STAT_VER_LINUX): Likewise.
66680         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66681         __syscall_ulong_t and __syscall_slong_t.
66682         (stat64): Likewise.
66684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66686         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66690         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66692 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66694         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66695         __syscall_ulong_t.
66697         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66698         include <bits/wordsize.h>.  Check __x86_64__ instead of
66699         __WORDSIZE.
66700         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66701         defined.
66702         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66705         include <bits/wordsize.h>.  Check __x86_64__ instead of
66706         __WORDSIZE.
66707         (user_regs_struct): Use "__extension__ unsigned long long"
66708         instead of "unsigned long" if __x86_64__ is defined.
66709         (user): Likewise.  Pad after pointer field if __ILP32__ is
66710         defined.
66712 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66714         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66715         versions 5 to 9.
66716         * configure: Regenerated.
66717         * manual/install.texi (texinfo): Increase version requirement to
66718         4.5 or later.
66719         * INSTALL: Regenerated.
66721         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66725         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66727         * sysdeps/x86_64/x32/ffs.c: New file.
66729         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66730         __syscall_ulong_t.
66731         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66732         defined.  Use __syscall_ulong_t.
66733         (shminfo): Use __syscall_ulong_t.
66734         (shm_info): Likewise.
66736         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66737         __syscall_ulong_t.
66739         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66740         <bits/wordsize.h>.
66741         (msgqnum_t): Use __syscall_ulong_t.
66742         (msglen_t): Likewise.
66743         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66744         __syscall_ulong_t.
66746         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66747         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66749         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66751         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66752         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66754         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66755         __syscall_slong_t.
66757         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66758         include <bits/wordsize.h>.  Check __x86_64__ instead of
66759         __WORDSIZE.
66761         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66762         "unsigned long long int" if __x86_64__ is defined.
66763         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66765         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66766         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66767         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66769         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66770         <stdint.h>.
66771         (GET_PC): Cast to uintptr_t first.
66772         (GET_FRAME): Likewise.
66773         (GET_STACK): Likewise.
66775         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66776         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66777         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66778         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66779         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66780         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66781         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66782         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66783         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66784         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66785         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66786         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66787         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66788         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66789         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66790         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66791         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66792         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66793         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66794         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66795         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66796         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66797         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66798         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66799         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66800         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66801         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66802         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66803         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66805 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66807         * Makerules (+depfiles): Also collect depfiles from .oS in
66808         $(extra-objs).
66809         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66810         .oS, $(libnldbl-routines)).
66812         * Makerules (native-compile-mkdep-flags): Define.
66813         * sunrpc/Makefile (extra-objs): Add $(addprefix
66814         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66815         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66816         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66817         calling $(make-target-directory).
66819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66821         * bits/types.h (__snseconds_t): Removed.
66822         * time/time.h (struct timespec): Replace __snseconds_t with
66823         __syscall_slong_t.
66824         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66825         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66826         Likewise.
66827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66828         (__SNSECONDS_T_TYPE): Likewise.
66829         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66830         (__SNSECONDS_T_TYPE): Likewise.
66831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66832         (__SNSECONDS_T_TYPE): Likewise.
66834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66836         * sysdeps/mach/hurd/bits/typesizes.h
66837         (__SYSCALL_SLONG_TYPE): New macro.
66838         (__SYSCALL_ULONG_TYPE): Likewise.
66840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66842         * bits/types.h (__syscall_slong_t): New type.
66843         (__syscall_ulong_t): Likewise.
66845         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66846         (__SYSCALL_ULONG_TYPE): Likewise.
66847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66848         (__SYSCALL_SLONG_TYPE): Likewise.
66849         (__SYSCALL_ULONG_TYPE): Likewise.
66850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66851         (__SYSCALL_SLONG_TYPE): Likewise.
66852         (__SYSCALL_ULONG_TYPE): Likewise.
66853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66854         (__SYSCALL_SLONG_TYPE): Likewise.
66855         (__SYSCALL_ULONG_TYPE): Likewise.
66857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66859         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66860         Add sigaltstack-offsets.sym.
66861         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66862         <sigaltstack-offsets.h>.
66863         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66864         longjmp_msg pointer.
66865         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66866         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66867         signal stack.
66868         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66870 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66872         * elf/stackguard-macros.h: Remove file.
66873         * sysdeps/generic/stackguard-macros.h: New file.
66874         * sysdeps/i386/stackguard-macros.h: Likewise.
66875         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66876         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66877         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66878         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66879         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66880         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66881         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66882         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66883         <elf/stackguard-macros.h>.
66885         [BZ #14109]
66886         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66887         __aligned__ in attribute.
66888         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66889         (gregset_t): Likewise.
66891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66893         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66894         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66895         * sysdeps/x86_64/x32/Implies-after: New file.
66897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66899         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66900         and access return value for _dl_profile_fixup.  Use R10_LP to
66901         load frame size.
66903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66905         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66909         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66910         * sysdeps/x86_64/x32/sysdep.h: New file.
66912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66914         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66915         * sysdeps/x86_64/setjmp.S: Likewise.
66917 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66919         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66920         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66921         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66922         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66923         remove unused global constant.
66925 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66927         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66928         include of <not-cancel.h>.
66930 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66932         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66934 2012-05-15  Jeff Law  <law@redhat.com>
66935             Andreas Jaeger  <aj@suse.de>
66937         [BZ #13594]
66938         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66939         out from...
66940         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66941         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66942         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66943         code changing __hst_map_handle.map.
66945 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66947         * configure.in (sysnames): Look for Implies-before and Implies-after
66948         files.
66949         * configure: Regenerated.
66951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66953         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66954         8-byte data alignment with LP_SIZE alignment.
66956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66958         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66959         into R10_LP.
66961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66963         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66967         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66968         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66970         Likewise.
66971         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66975         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66976         (stackinfo_sub_sp): Likewise.
66978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66980         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66981         RAX_LP.
66983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66985         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66986         into R*_LP.
66988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66991         sizes into R*_LP.
66993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66995         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66999         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67000         into R11_LP and load __x86_64_shared_cache_size_half into
67001         R8_LP.
67003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67005         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67006         R8_LP.
67008 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67011         logb for POWER7.
67012         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67013         logbf for POWER7.
67014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67015         logbl for POWER7.
67016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67017         powerpc32/power7/fpu/s_logb.c via #include.
67018         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67019         powerpc32/power7/fpu/s_logbf.c via #include.
67020         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67021         powerpc32/power7/fpu/s_logbl.c via #include.
67023 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67025         * README.libm: Remove file.
67027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67029         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67030         count for x32.  Use R*_LP and omit operand-size suffix.
67032 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67034         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67035         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67036         * sysdeps/x86_64/x32/shlib-versions: New file.
67038 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67040         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67041         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67042         Use _dl_fatal_printf instead.
67044 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67046         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67047         set if not set by the user.  Do not allow for being unset.
67048         * sysdeps/unix/sysv/linux/configure: Regenerated.
67050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67052         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67053         the `q' suffix from lea and replace .quad with ASM_ADDR.
67055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67058         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67059         instead of $17.
67060         (PTR_DEMANGLE): Likewise.
67062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67064         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67065         (LP_OP): Likewise.
67066         (ASM_ADDR): Likewise.
67067         (RAX_LP): Likewise.
67068         (RBP_LP): Likewise.
67069         (RBX_LP): Likewise.
67070         (RCX_LP): Likewise.
67071         (RDI_LP): Likewise.
67072         (RSI_LP): Likewise.
67073         (RSP_LP): Likewise.
67074         (R8_LP): Likewise.
67075         (R9_LP): Likewise.
67076         (R10_LP): Likewise.
67077         (R10_LP): Likewise.
67078         (R11_LP): Likewise.
67079         (R12_LP): Likewise.
67080         (R13_LP): Likewise.
67081         (R14_LP): Likewise.
67082         (R15_LP): Likewise.
67084 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67086         * sysdeps/x86_64/x32/dl-machine.h: New file.
67088 2012-05-14  Andreas Jaeger  <aj@suse.de>
67090         * manual/Makefile (subdir): Remove export of subdir.
67091         (all): Remove target.
67092         (.PHONY): Remove all from list.
67093         (mkinstalldirs): Remove.
67094         (.PHONY): Remove installdirs from list.
67095         ($(inst_infodir)/libc.info): Use make-target-directory.
67096         (installdirs): Remove.
67097         (subdir_%): Remove.
67098         (glibc-targets): Remove.
67099         (lib): Remove.
67100         (stubs): Remove.
67101         ($(objpfx)stubs ../po/manual.pot): Remove.
67102         ($(objpfx)stamp%): Remove.
67103         (make-target-directory): Remove.
67104         (subdir_install): Remove.
67105         (routines): Remove.
67106         (aux): Remove.
67107         (sources): Remove.
67108         (objects): Remove.
67109         (headers): Remove.
67111         [BZ #13750]
67112         * manual/.gitignore: Remove, it's not needed anymore.
67113         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67114         all files in it.
67115         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67116         directory.
67117         (texis): Renamed to $(objpfx)texis.
67118         (texis-path): New, contains path to generated files.
67119         (chapters.%): Use texis-path for complete path, add extra argument
67120         libc-texinfo.sh.
67121         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67122         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67123         (summary,texi, stamp-summary): Use complete path of
67124         files. Generate files in build dir.
67125         (dir-add.texi): Build in build dir.
67126         (libm-err.texi,stamp-libm-err): Likewise.
67127         (version.texi, stamp-version): Likewise.
67128         (.%c.texi): Likewise.
67129         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67130         (mostlyclean): Remove target.
67131         (realclean): Remove target.
67132         (generated): Add new variable with contents from mostlyclean and
67133         realclean, remove entries duplicated in common-mostlyclean, add
67134         stamp-libm-err and stamp-version.
67135         (generated-dirs): Add libc directory.
67136         ($(inst_infodir)/libc.info): Install files from build dir.
67138         * manual/install.texi (Configuring and compiling): Adjust since
67139         the info files are not part of the tar ball anymore.
67141 2012-05-14  Andreas Jaeger  <aj@suse.de>
67143         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67144         variable.
67146 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67148         [BZ #13717]
67149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67150         to 2.2.0 where earlier.
67151         * sysdeps/unix/sysv/linux/configure: Regenerated.
67152         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67153         Remove conditional code.
67154         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67155         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67156         Remove conditional code.
67157         [!__NR_lchown]: Likewise.
67158         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67159         [__NR_lchown]: Likewise.
67160         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67161         comment referencing __ASSUME_LCHOWN_SYSCALL.
67162         * sysdeps/unix/sysv/linux/i386/sigaction.c
67163         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67164         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67165         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67166         Remove conditional code.
67167         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67168         (__protocol_available): Remove #if 0 code.
67169         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67170         conditional code.
67171         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67172         * sysdeps/unix/sysv/linux/kernel-features.h
67173         (__ASSUME_GETCWD_SYSCALL): Don't define.
67174         (__ASSUME_REALTIME_SIGNALS): Likewise.
67175         (__ASSUME_PREAD_SYSCALL): Likewise.
67176         (__ASSUME_PWRITE_SYSCALL): Likewise.
67177         (__ASSUME_POLL_SYSCALL): Likewise.
67178         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67179         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67180         non-SPARC.
67181         (__ASSUME_SIOCGIFNAME): Don't define.
67182         (__ASSUME_MSG_NOSIGNAL): Likewise.
67183         (__ASSUME_SENDFILE): Define unconditionally.
67184         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67185         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67186         conditional code.
67187         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67188         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67189         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67190         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67191         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67192         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67193         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67195         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67198         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67199         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67201         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67204         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67207         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67210         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67213         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67218         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67219         Remove conditional code.
67220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67221         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67222         Remove conditional code.
67223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67224         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67225         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67226         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67227         Remove conditional code.
67228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67229         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67230         Remove conditional code.
67231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67232         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67233         Remove conditional code.
67234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67235         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67236         Remove conditional code.
67237         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67238         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67239         Remove conditional code.
67240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67241         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67242         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67244         * sysdeps/unix/sysv/linux/sigaction.c
67245         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67246         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67247         * sysdeps/unix/sysv/linux/sigpending.c
67248         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67249         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67250         * sysdeps/unix/sysv/linux/sigprocmask.c
67251         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67252         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67253         * sysdeps/unix/sysv/linux/sigsuspend.c
67254         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67255         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67256         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67257         (__libc_missing_rt_sigs): Remove.
67258         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67259         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67260         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67261         Remove conditional code.
67262         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67263         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67264         return 1.
67265         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67266         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67267         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67268         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67270 2012-05-14  Andreas Jaeger  <aj@suse.de>
67272         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67273         it's not used in glibc.
67274         (__coshm1): Likewise.
67275         (__acosh1p): Likewise.
67276         (__sgn): Likewise.
67278         * manual/string.texi (Copying and Concatenation): Add missing
67279         variable in concat example.
67280         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67282 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67284         [BZ #14103]
67285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67286         __builtin_clzl with __builtin_clzll.
67288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67290         [BZ #14104]
67291         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67292         libc_freeres_ptr.
67294 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67296         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67297         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67298         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67299         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67301 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67303         * NEWS: Update ia64 info.
67305 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67307         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67308         used as bcopy.
67310 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67312         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67313         * sysdeps/unix/syscalls.list (dup3): Likewise.
67314         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67315         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67317 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67319         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67320         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67322 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67324         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67325         thread pointer.
67326         (TLS_IE): Use mov/add instead of movq/addq to load thread
67327         pointer.
67328         (TLS_GD_PREFIX): New.
67329         (TLS_GD): Use it.
67331 2012-05-11  David S. Miller  <davem@davemloft.net>
67333         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67334         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67335         (_FPU_SETCW): Likewise.
67337 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67339         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67340         is 32-byte aligned.
67342 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67344         [BZ #11837]
67345         * iconvdata/gb18030.c: Update tables.
67346         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67347         characters specially.
67348         (BODY for TO_LOOP): Add encoding of missing ranges.
67350 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67352         [BZ #13673]
67353         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67354         * sysdeps/mach/hurd/dup3.c: Likewise.
67355         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67356         * sysdeps/powerpc/memmove.c:: Likewise.
67358 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67361         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67363 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67365         * elf/elf.h (R_X86_64_RELATIVE64): New.
67366         (R_X86_64_NUM): Updated.
67367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67368         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67369         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67370         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67371         tst-quad1pie tst-quad2pie
67372         (modules-names): Add tst-quadmod1 tst-quadmod2.
67373         ($(objpfx)tst-quad1): New dependency.
67374         ($(objpfx)tst-quad2): Likewise.
67375         ($(objpfx)tst-quad1pie): Likewise.
67376         ($(objpfx)tst-quad2pie): Likewise.
67377         * sysdeps/x86_64/tst-quad1.c: New file.
67378         * sysdeps/x86_64/tst-quad1pie.c: New file.
67379         * sysdeps/x86_64/tst-quad2.c: Likewise.
67380         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67381         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67382         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67383         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67384         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67388         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67389         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67390         * streams/stropts.h (t_scalar_t): Define type.
67392         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67393         (_PATH_PRESERVE): Set to "/var/lib".
67394         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67396         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67397         instead of int.
67399         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67400         if __dir_mkfile succeeded.
67402         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67403         checking for _hurd_dtablesize.  Unlock it right after having
67404         finished _hurd_dtable allocation.
67406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67408         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67409         * sysdeps/mach/hurd/configure: Regenerated.
67410         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67411         special-casing to...
67412         * sysdeps/gnu/configure.in: ... this new file.
67413         * sysdeps/unix/sysv/linux/configure: Regenerated.
67414         * sysdeps/gnu/configure: New generated file.
67416         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67417         for Linux: use nsec instead of usec, as well as:
67418         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67419         members of type struct timespec.
67420         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67421         New macros.
67422         (struct stat64): Likewise.
67423         (_STATBUF_ST_NSEC): New macro.
67424         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67426         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67427         __strtoul_internal rather than strtoul.
67429 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67431         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67432         and reject them.
67434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67436         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67437         which preserves existing values.
67438         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67440 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67442         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67443         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67444         greater than FD_SETSIZE.
67446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67448         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67449         allocated, call __vm_protect to finish enabling the existing space, and
67450         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67451         allocate the remainder.
67453 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67455         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67456         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67458 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67460         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67461         sysdeps/mach/hurd/readlink.c.
67463         * posix/tst-sysconf.c (posix_options): Only use
67464         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67465         _POSIX_SYNCHRONIZED_IO when they are defined
67466         * sysdeps/mach/hurd/bits/posix_opt.h:
67467         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67468         (_XOPEN_REALTIME): Undefine macro.
67469         (_XOPEN_REALTIME_THREADS): Undefine macro.
67470         (_XOPEN_SHM): Undefine macro.
67471         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67472         macro to -1.
67473         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67474         macro to -1.
67475         (_POSIX_ASYNC_IO): Undefine macro.
67476         (_POSIX_PRIORITIZED_IO): Undefine macro.
67477         (_POSIX_SPIN_LOCKS): Define macro to -1.
67479         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67480         SA_NODEFER, SA_RESETHAND.
67481         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67482         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67483         F_DUPFD_CLOEXEC.
67485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67487         * elf/Makefile (pldd-modules): Define unconditionally.
67489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67491         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67495         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67496         Return ENOENT when name is empty.
67497         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67501         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67503         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67507         Fix mlock in all cases except non-readable pages.
67508         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67509         instead of VM_PROT_ALL as parameter to __vm_wire function.
67511         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67512         (__mkdir): When path is `/', just fail with EEXIST.
67513         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67517         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67518         <sys/uio.h> (for writev).
67519         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67520         and <sys/param.h> (for MIN).
67522 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67524         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67525         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67526         if interrupted.
67528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67530         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67531         Depend on against $(link-rpcuserlibs).
67533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67535         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67536         (__libc_stack_end): Do not use attribute_relro.
67537         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67538         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67539         to libthread-provided value.
67540         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67541         attribute_relro.
67543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67545         [BZ #3748]
67546         * bits/libc-lock.h (__libc_once_get): New macro.
67547         * sysdeps/mach/bits/libc-lock.h: Likewise.
67548         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67550         instead of using implementation details.
67552         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67553         * libio/freopen.c: Likewise.
67554         * libio/freopen64.c: Likewise.
67555         * misc/syslog.c: Likewise.
67556         * nscd/connections.c: Likewise.
67557         * nscd/netgroupcache.c: Likewise.
67558         * sysdeps/posix/getcwd.c: Likewise.
67560 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67562         * math/w_ilogbf.c: Add #include <limits.h>.
67564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67566         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67567         path instead of returning without unlocking.
67569         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67570         immediate-write ioctls.
67571         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67573 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67575         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67576         __builtin_frame_address instead of making assumptions about the
67577         location of the return address relative to DATA.  Force early load of
67578         the return address.
67579         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67580         __builtin_frame_address.
67582         dup3 for GNU Hurd.
67583         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67584         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67585         implement dup3 and do some further code clean-ups.
67586         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67587         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67591         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67593         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67594         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67595         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67596         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67597         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67598         d->port.lock.
67600         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67601         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67602         when handler == SIG_ERR, not when handler != SIG_ERR.
67604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67606         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67607         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67608         definitions.
67610         accept4 for GNU Hurd.
67611         * include/sys/socket.h (__libc_accept4): New prototype.
67612         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67613         to implement __libc_accept4.
67614         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67615         __libc_accept4.
67616         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67618         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67619         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67620         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67621         signal-defines.sym.
67623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67625         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67629         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67630         assertion on O_CLOEXEC flag.
67631         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67632         * hurd/intern-fd.c: Likewise.
67633         * hurd/port2fd.c: Likewise.
67635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67637         [BZ #3906]
67638         * bits/in.h (IPV6_PKTINFO): Define new macro.
67639         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67641 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67643         [BZ #13954]
67644         [BZ #13955]
67645         [BZ #13956]
67646         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67647         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67648         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67649         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67651         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67652         * math/libm-test.inc (logb_test) : Additional logb tests.
67654 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67655             Andreas Jaeger  <aj@suse.de>
67657         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67658         * configure: Regenerated.
67659         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67660         * config.make.in (link-obsolete-rpc): New substituted variable.
67661         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67662         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67663         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67664         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67665         so that libc.a contains the symbols.
67666         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67667         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67668         * sunrpc/auth_none.c: Likewise.
67669         * sunrpc/auth_unix.c: Likewise.
67670         * sunrpc/authdes_prot.c: Likewise.
67671         * sunrpc/authuxprot.c: Likewise.
67672         * sunrpc/clnt_gen.c: Likewise.
67673         * sunrpc/clnt_perr.c: Likewise.
67674         * sunrpc/clnt_raw.c: Likewise.
67675         * sunrpc/clnt_simp.c: Likewise.
67676         * sunrpc/clnt_tcp.c: Likewise.
67677         * sunrpc/clnt_udp.c: Likewise.
67678         * sunrpc/clnt_unix.c: Likewise.
67679         * sunrpc/des_crypt.c: Likewise.
67680         * sunrpc/des_soft.c: Likewise.
67681         * sunrpc/get_myaddr.c: Likewise.
67682         * sunrpc/key_call.c: Likewise.
67683         * sunrpc/key_prot.c: Likewise.
67684         * sunrpc/netname.c: Likewise.
67685         * sunrpc/pm_getmaps.c: Likewise.
67686         * sunrpc/pm_getport.c: Likewise.
67687         * sunrpc/pmap_clnt.c: Likewise.
67688         * sunrpc/pmap_prot.c: Likewise.
67689         * sunrpc/pmap_prot2.c: Likewise.
67690         * sunrpc/pmap_rmt.c: Likewise.
67691         * sunrpc/publickey.c: Likewise.
67692         * sunrpc/rpc_cmsg.c: Likewise.
67693         * sunrpc/rpc_common.c: Likewise.
67694         * sunrpc/rpc_dtable.c: Likewise.
67695         * sunrpc/rpc_prot.c: Likewise.
67696         * sunrpc/rpc_thread.c: Likewise.
67697         * sunrpc/rtime.c: Likewise.
67698         * sunrpc/svc.c: Likewise.
67699         * sunrpc/svc_auth.c: Likewise.
67700         * sunrpc/svc_raw.c: Likewise.
67701         * sunrpc/svc_run.c: Likewise.
67702         * sunrpc/svc_tcp.c: Likewise.
67703         * sunrpc/svc_udp.c: Likewise.
67704         * sunrpc/svc_unix.c: Likewise.
67705         * sunrpc/svcauth_des.c: Likewise.
67706         * sunrpc/xcrypt.c: Likewise.
67707         * sunrpc/xdr.c: Likewise.
67708         * sunrpc/xdr_array.c: Likewise.
67709         * sunrpc/xdr_float.c: Likewise.
67710         * sunrpc/xdr_intXX_t.c: Likewise.
67711         * sunrpc/xdr_mem.c: Likewise.
67712         * sunrpc/xdr_rec.c: Likewise.
67713         * sunrpc/xdr_ref.c: Likewise.
67714         * sunrpc/xdr_sizeof.c: Likewise.
67715         * sunrpc/xdr_stdio.c: Likewise.
67717 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67719         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67720         change.  Update copyright years.
67722 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67724         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67726 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67727             Joseph Myers  <joseph@codesourcery.com>
67728             Paul Pluzhnikov  <ppluzhnikov@google.com>
67730         [BZ #14012]
67731         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67732         requiring rpcgen.
67733         [cross-compiling] (extra-libs): Likewise.
67734         [cross-compiling] (extra-libs-others): Likewise.
67735         [cross-compiling] (librpcsvc-routines): Likewise.
67736         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67737         [cross-compiling] (omit-deps): Likewise.
67738         (sunrpc-CPPFLAGS): New variable.
67739         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67740         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67741         (cross-rpcgen-objs): New variable.
67742         (extra-objs): Append $(cross-rpcgen-objs).
67743         ($(cross-rpcgen-objs)): New rule.
67744         ($(objpfx)cross-rpcgen): Likewise.
67745         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67746         comment.
67747         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67748         ($(objpfx)x%.stmp): Likewise.
67749         * sunrpc/proto.h [IS_IN_build] (_): Define.
67750         [IS_IN_build] (_libc_intl_domainname): Likewise.
67752 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67755         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67756         and R_X86_64_TPOFF64.
67758 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67760         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67761         sysdeps/unix/sysv/syscalls.list.
67762         (stime): Likewise.
67763         (utime): Likewise.
67764         * sysdeps/unix/sysv/syscalls.list: Remove file.
67766 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67768         [BZ #3440]
67769         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67770         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67771         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67772         (__LC_IDENTIFICATION): Make these macros useful in #if
67773         expressions, as required by C99.
67775 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67777         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67778         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67779         after this.
67781 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67783         * stdlib/longlong.h: Updated from GCC.
67785 2012-05-09  Andreas Jaeger  <aj@suse.de>
67787         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67788         default is first entry.
67789         (run_mode): Set type.
67790         (main): Remove informal message about syslog.
67791         (options): Fix typo.
67793         [BZ #14053]
67794         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67795         to asm.
67796         (lrint): Likewise.
67797         (llrintf): Likewise.
67798         (llrint): Likewise.
67799         (rint): Likewise.
67800         (rintf): Likewise.
67801         (nearbyint): Likewise.
67802         (nearbyintf): Likewise.
67804 2012-05-09  Andreas Jaeger  <aj@suse.de>
67805             Pedro Alves  <palves@redhat.com>
67807         * nscd/nscd.c (run_mode): Use enum.
67808         (main): Cleanup coding style issue.
67810 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67811             Andreas Jaeger  <aj@suse.de>
67813         * nscd/nscd.c (go_background): Replaced with...
67814         (run_mode): ... this.
67815         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67816         (options): Add -F --foreground.
67817         (main): Implement it.
67818         (parse_opt): Parse it.
67820 2012-05-09  Andreas Jaeger  <aj@suse.de>
67822         [BZ #14083]
67823         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67824         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67825         -Wconversion warning.
67826         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67827         Likewise.
67829 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67831         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67832         == 0.
67833         (LC_ALL): Use macro-int-constant.
67834         (LC_COLLATE): Likewise.
67835         (LC_CTYPE): Likewise.
67836         (LC_MESSAGES): Likewise.
67837         (LC_MONETARY): Likewise.
67838         (LC_NUMERIC): Likewise.
67839         (LC_TIME): Likewise.
67840         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67841         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67843         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67844         Specify type.
67845         [C99-based standards] (float_t): Expect type.
67846         [C99-based standards] (double_t): Expect type.
67847         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67848         type.
67849         [C99-based standards] (HUGE_VALL): Likewise.
67850         [C99-based standards] (INFINITY): Likewise.
67851         [C99-based standards] (NAN): Likewise.
67852         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67853         [C99-based standards] (FP_NAN): Likewise.
67854         [C99-based standards] (FP_NORMAL): Likewise.
67855         [C99-based standards] (FP_SUBNORMAL): Likewise.
67856         [C99-based standards] (FP_ZERO): Likewise.
67857         [C99-based standards] (FP_FAST_FMA): Use
67858         optional-macro-int-constant.  Specify type.  Require == 1.
67859         [C99-based standards] (FP_FAST_FMAF): Likewise.
67860         [C99-based standards] (FP_FAST_FMAL): Likewise.
67861         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67862         [C99-based standards] (FP_ILOGBNAN): Likewise.
67863         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67864         Specify type.
67865         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67866         [C99-based standards] (math_errhandling): Specify type.
67867         [ISO99 || ISO11] (signgam): Do not allow.
67868         [non-C99-based standards] (copysignf): Do not allow.
67869         [non-C99-based standards] (exp2f): Likewise.
67870         [non-C99-based standards] (log2f): Likewise.
67871         [non-C99-based standards] (modff): Allow.
67872         [non-C99-based standards] (erff): Do not allow.
67873         [non-C99-based standards] (erfcf): Likewise.
67874         [non-C99-based standards] (gammaf): Likewise.
67875         [non-C99-based standards] (hypotf): Likewise.
67876         [non-C99-based standards] (j0f): Likewise.
67877         [non-C99-based standards] (j1f): Likewise.
67878         [non-C99-based standards] (jnf): Likewise.
67879         [non-C99-based standards] (lgammaf): Likewise.
67880         [non-C99-based standards] (tgammaf): Likewise.
67881         [non-C99-based standards] (y0f): Likewise.
67882         [non-C99-based standards] (y1f): Likewise.
67883         [non-C99-based standards] (ynf): Likewise.
67884         [non-C99-based standards] (isnanf): Likewise.
67885         [non-C99-based standards] (acoshf): Likewise.
67886         [non-C99-based standards] (asinhf): Likewise.
67887         [non-C99-based standards] (atanhf): Likewise.
67888         [non-C99-based standards] (cbrtf): Likewise.
67889         [non-C99-based standards] (expm1f): Likewise.
67890         [non-C99-based standards] (ilogbf): Likewise.
67891         [non-C99-based standards] (log1pf): Likewise.
67892         [non-C99-based standards] (logbf): Likewise.
67893         [non-C99-based standards] (nextafterf): Likewise.
67894         [non-C99-based standards] (remainderf): Likewise.
67895         [non-C99-based standards] (rintf): Likewise.
67896         [non-C99-based standards] (scalbf): Likewise.
67897         [non-C99-based standards] (copysignl): Likewise.
67898         [non-C99-based standards] (exp2l): Likewise.
67899         [non-C99-based standards] (log2l): Likewise.
67900         [non-C99-based standards] (modfl): Allow.
67901         [non-C99-based standards] (erfl): Do not allow.
67902         [non-C99-based standards] (erfcl): Likewise.
67903         [non-C99-based standards] (gammal): Likewise.
67904         [non-C99-based standards] (hypotl): Likewise.
67905         [non-C99-based standards] (j0l): Likewise.
67906         [non-C99-based standards] (j1l): Likewise.
67907         [non-C99-based standards] (jnl): Likewise.
67908         [non-C99-based standards] (lgammal): Likewise.
67909         [non-C99-based standards] (tgammal): Likewise.
67910         [non-C99-based standards] (y0l): Likewise.
67911         [non-C99-based standards] (y1l): Likewise.
67912         [non-C99-based standards] (ynl): Likewise.
67913         [non-C99-based standards] (isnanl): Likewise.
67914         [non-C99-based standards] (acoshl): Likewise.
67915         [non-C99-based standards] (asinhl): Likewise.
67916         [non-C99-based standards] (atanhl): Likewise.
67917         [non-C99-based standards] (cbrtl): Likewise.
67918         [non-C99-based standards] (expm1l): Likewise.
67919         [non-C99-based standards] (ilogbl): Likewise.
67920         [non-C99-based standards] (log1pl): Likewise.
67921         [non-C99-based standards] (logbl): Likewise.
67922         [non-C99-based standards] (nextafterl): Likewise.
67923         [non-C99-based standards] (remainderl): Likewise.
67924         [non-C99-based standards] (rintl): Likewise.
67925         [non-C99-based standards] (scalbl): Likewise.
67926         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67927         [non-C99-based standards] (FP_*): Do not allow.
67928         [C99-based standards] (FP_*): Change to
67929         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67930         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67931         allow.
67932         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67933         (SIG_ERR): Likewise.
67934         [X/Open-based standards] (SIG_HOLD): Likewise.
67935         (SIG_IGN): Likewise.
67936         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67937         positive value.
67938         (SIGFPE): Likewise.
67939         (SIGILL): Likewise.
67940         (SIGINT): Likewise.
67941         (SIGSEGV): Likewise.
67942         (SIGTER): Likewise.
67943         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67944         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67945         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67946         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67947         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67948         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67949         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67950         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67951         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67952         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67953         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67954         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67955         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67956         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67957         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67958         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67959         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67960         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67961         [X/Open-based standards] (SIGTRAP): Likewise.
67962         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67963         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67964         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67965         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67966         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67967         allow.
67969 2012-05-08  Ian Wienand  <ianw@vmware.com>
67971         [BZ #14080]
67972         * time/tzset.c (__tzset_parse_tz): Update default rules for
67973         daylight time changes in the Energy Policy Act of 2005.
67975 2012-05-09  Andreas Jaeger  <aj@suse.de>
67977         [BZ #13983]
67978         * elf/ldconfig.c (parse_conf): Change string to make clear that
67979         ldconfig only issued a warning if ld.so.conf does not exist.
67981 2012-05-08  David S. Miller  <davem@davemloft.net>
67983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67984         movxtod instead of popping the value on the stack.
67986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67988 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67990         * config.h.in: Add HAVE_ARM_PCS_VFP.
67992 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67994         [BZ #13979]
67995         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67996         checking but the checks are disabled for any reason.
67998 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68000         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68001         and ELF64_R_TYPE with ELFW(R_TYPE).
68003 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68005         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68006         (ulimit): Likewise.
68008         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68009         (settimeofday): Likewise.
68011 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68013         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68014         a struct th_u2 inside the union, and move tu_block/tu_code into
68015         a new th_u3 union of tu_block/tu_code inside of that.  Move
68016         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68017         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68018         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68019         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68020         (th_stuff): Change to th_u1.tu_stuff.
68021         (th_data): Define.
68022         (th_msg): Change to th_u1.th_u2.tu_data.
68024 2012-05-07  David S. Miller  <davem@davemloft.net>
68026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68028         [BZ #14074]
68029         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68030         (SETUP_PIC_REG): Use it.
68031         (SETUP_PIC_REG_LEAF): Use it.
68033 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68035         [BZ #13885]
68036         [BZ #13923]
68037         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68038         USE_AS_EXPM1L.
68039         (EXPL_FINITE): Likewise.
68040         (FLDLOG): Likewise.
68041         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68042         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68043         e_expl.S.
68044         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68045         USE_AS_EXPM1L.
68046         (EXPL_FINITE): Likewise.
68047         (FLDLOG): Likewise.
68048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68049         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68050         e_expl.S.
68051         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68052         test of -max_value argument for long double.
68053         * sysdeps/i386/fpu/libm-test-ulps: Update.
68054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68056 2012-05-06  David S. Miller  <davem@davemloft.net>
68058         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68059         quad soft-float symbols whose references which are compiler
68060         generated.
68061         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68063 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68065         [BZ #13884]
68066         [BZ #13914]
68067         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68068         USE_AS_EXP10L.
68069         (EXPL_FINITE): Likewise.
68070         (FLDLOG): Likewise.
68071         (c0): Likewise.
68072         (c1): Likewise.
68073         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68074         Adjust comments for base varying.
68075         (__expl_finite): Change alias to EXPL_FINITE.
68076         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68077         e_expl.S.
68078         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68079         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68080         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68081         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68082         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68083         USE_AS_EXP10L.
68084         (EXPL_FINITE): Likewise.
68085         (FLDLOG): Likewise.
68086         (c0): Likewise.
68087         (c1): Likewise.
68088         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68089         Adjust comments for base varying.
68090         (__expl_finite): Change alias to EXPL_FINITE.
68091         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68092         tests for bugs.
68093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68095         [BZ #14064]
68096         * math/libm-test.inc (check_float_internal): Correct ulp
68097         calculation for subnormal expected results.
68099 2012-05-06  Andreas Jaeger  <aj@suse.de>
68101         * Makeconfig (+math-flags): New, set to -frounding-math.
68102         (+cflags): Add +math-flags so that all of glibc gets compiled with
68103         it.
68105         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68107 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68109         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68110         Disable one test.
68112         [BZ #13787]
68113         [BZ #13922]
68114         [BZ #14036]
68115         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68116         (__ieee754_expl): Allow for and saturate large arguments.
68117         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68118         (u_threshold): Likewise.
68119         (__exp): Call __ieee754_exp before checking for overflow and
68120         underflow.
68121         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68122         (u_threshold): Likewise.
68123         (__expf): Call __ieee754_expf before checking for overflow and
68124         underflow.
68125         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68126         (u_threshold): Likewise.
68127         (__expl): Call __ieee754_expl before checking for overflow and
68128         underflow.
68129         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68130         (__ieee754_expl): Allow for and saturate large arguments.
68131         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68132         missing overflow exception on overflow.
68133         (expm1_test): Do not allow missing overflow exception on overflow.
68135         * sysdeps/i386/fpu/e_expl.c: Move to ...
68136         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68137         rather than using inline asm.
68138         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68139         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68140         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68142         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68143         (nice): Likewise.
68144         (poll): Likewise.
68145         (signal): Likewise.
68146         (time): Likewise.
68147         (times): Likewise.
68149 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68151         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68152         sysdeps/unix/common/syscalls.list.
68153         (fchmod): Likewise.
68154         (fchown): Likewise.
68155         (ftruncate): Likewise.
68156         (getrusage): Likewise.
68157         (gettimeofday): Likewise.
68158         (setpgid): Likewise.
68159         (setregid): Likewise.
68160         (setreuid): Likewise.
68161         (sigaction): Likewise.
68162         (truncate): Likewise.
68163         (vhangup): Likewise.
68164         * sysdeps/unix/common/syscalls.list: Remove file.
68165         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68166         * sysdeps/unix/sysv/linux/Implies: Likewise.
68168 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68170         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68172         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68173         Moved to ...
68174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68175         Here.
68176         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68177         to ...
68178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68179         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68180         to ...
68181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68182         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68183         to ...
68184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68185         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68186         to ...
68187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68188         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68189         to ...
68190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68191         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68192         to ...
68193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68194         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68195         to ...
68196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68197         Here.
68198         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68199         to ...
68200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68201         Here.
68202         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68203         to ...
68204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68205         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68206         Moved to ...
68207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68208         Here.
68209         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68210         to ...
68211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68213 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68215         * sysdeps/unix/common/bits/dirent.h: Remove file.
68216         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68218         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68219         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68220         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68221         * sysdeps/unix/bsd/isatty.c: Likewise.
68222         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68223         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68224         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68226 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68228         [BZ #13563]
68229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68230         long double comparison inaccuracies.
68231         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68234 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68236         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68237         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68239 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68241         [BZ #14049]
68242         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68243         nonzero digits before rounding a hex value.
68244         * stdlib/tst-strtod.c (tests): Add another test.
68246 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68248         * sysdeps/s390/fpu/libm-test-ulps: Update.
68250 2012-05-03  Andreas Jaeger  <aj@suse.de>
68252         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68253         does not get optimized out.
68254         (malloc_opt_barrier): New.
68256 2012-05-03  Andreas Jaeger  <aj@suse.de>
68257             Roland McGrath  <roland@hack.frob.com>
68259         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68260         intermediate file deletion.
68261         (generated): Add .symlist files.
68263 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68265         [BZ #13775]
68266         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68267         Redirect under this condition.
68268         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68269         [__USE_GNU] (__dprintf_chk): Not under this condition.
68270         [__USE_GNU] (__vdprintf_chk): Likewise.
68271         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68272         under this condition.
68273         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68274         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68275         [__USE_XOPEN2K8] (vdprintf): Likewise.
68276         [__USE_GNU] (__dprintf_chk): Not under this condition.
68277         [__USE_GNU] (__vdprintf_chk): Likewise.
68278         [__USE_GNU] (dprintf): Likewise.
68279         [__USE_GNU] (vdprintf): Likewise.
68281 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68283         * elf/Makefile (common-generated): Set this instead of generated for
68284         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68285         $(all-built-dso)-derived lists.
68287 2012-05-03  Andreas Jaeger  <aj@suse.de>
68289         * sysdeps/i386/fpu/libm-test-ulps: Update.
68291         * FAQ: Removed.
68292         * FAQ.in: Likewise.
68293         * scripts/gen-FAQ.pl: Likewise.
68294         * manual/install.texi (Installation): Point to online location of
68295         FAQ.
68296         * Makefile (files-for-dist): Remove FAQ.
68297         (FAQ): Remove.
68299 2012-05-02  Allan McRae  <allan@archlinux.org>
68301         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68302         (LDFLAGS-reldepmod5.so): Likewise.
68303         (LDFLAGS-reldep6mod1.so): Likewise.
68304         (LDFLAGS-reldep6mod4.so): Likewise.
68305         (LDFLAGS-reldep8mod3.so): Likewise.
68306         (LDFLAGS-unload4mod1.so): Likewise.
68307         (LDFLAGS-unload4mod2.so): Likewise.
68308         (LDFLAGS-tst-initorder): Likewise.
68309         (LDFLAGS-tst-initordera2.so): Likewise.
68310         (LDFLAGS-tst-initordera3.so): Likewise.
68311         (LDFLAGS-tst-initordera4.so): Likewise.
68312         (LDFLAGS-tst-initorderb2.so): Likewise.
68313         (LDFLAGS-noload): Likewise.
68314         (LDFLAGS-next): Likewise.
68315         (LDFLAGS-order2mod1.so): Likewise.
68316         (LDFLAGS-order2mod2.so): Likewise.
68317         (LDFLAGS-tst-initorder2): Likewise.
68318         (LDFLAGS-tst-initorder2a.so): Likewise.
68319         (LDFLAGS-tst-initorder2b.so): Likewise.
68320         (LDFLAGS-tst-initorder2c.so): Likewise.
68321         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68323 2012-05-02  David S. Miller  <davem@davemloft.net>
68325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68327 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68329         [BZ #14055]
68330         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68332 2012-05-02  Andreas Jaeger  <aj@suse.de>
68334         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68335         since we manipulate rounding mode.
68336         (CPPFLAGS-test-idouble.c): Likewise.
68337         (CPPFLAGS-test-ifloat.c): Likewise.
68338         (CFLAGS-test-ldouble.c): Likewise.
68339         (CFLAGS-test-double.c): Likewise.
68340         (CFLAGS-test-float.c): Likewise.
68341         (CFLAGS-test-misc.c): Likewise.
68342         (CFLAGS-test-test-fenv.c): Likewise.
68344 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68346         [BZ #2550]
68347         [BZ #2570]
68348         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68349         comparisons to determine direction to adjust input.
68351 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68353         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68354         output to the target.
68356         * scripts/localplt.awk: New file.
68357         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68358         (check-localplt-CFLAGS): Variable removed.
68359         ($(all-built-dso:=.jmprel)): New static pattern rule.
68360         (generated): Add those targets.
68361         (localplt-built-dso): New variable.
68362         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68364         * elf/check-localplt.c: File removed.
68366         * scripts/check-execstack.awk: New file.
68367         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68368         (check-execstack-CFLAGS): Variable removed.
68369         ($(objpfx)check-execstack.h): Target removed.
68370         ($(objpfx)execstack-default): New target.
68371         (generated): Add that instead of check-execstack.h.
68372         ($(all-built-dso:=.phdr)): New static pattern rule.
68373         (generated): Add those targets.
68374         * elf/check-execstack.c: File removed.
68376         * scripts/check-textrel.awk: New file.
68377         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68378         (check-textrel-CFLAGS): Variable removed.
68379         (all-built-dso): Use := to define.o
68380         ($(all-built-dso:=.dyn)): New static pattern rule.
68381         (generated): Add those targets.
68382         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68383         * config.make.in (READELF): New substituted variable.
68384         * elf/check-textrel.c: File removed.
68386 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68388         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68389         allow.
68390         * conform/data/ctype.h-data [C99-based standards] (isblank):
68391         Expect function.
68392         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68393         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68394         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68395         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68396         Specify type.  Require positive value.
68397         (EILSEQ): Likewise.
68398         (ERANGE): Likewise.
68399         [ISO || POSIX] (EILSEQ): Do not expect.
68400         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68401         Specify type.  Require positive value.
68402         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68403         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68404         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68405         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68406         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68407         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68408         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68409         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68410         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68411         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68412         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68413         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68414         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68415         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68416         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68417         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68418         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68419         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68420         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68421         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68422         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68423         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68424         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68425         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68426         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68427         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68428         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68429         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68430         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68431         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68432         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68433         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68434         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68435         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68436         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68437         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68438         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68439         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68440         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68441         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68442         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68443         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68444         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68445         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68446         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68447         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68448         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68449         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68450         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68451         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68452         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68453         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68454         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68455         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68456         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68457         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68458         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68459         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68460         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68461         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68462         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68463         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68464         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68465         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68466         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68467         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68468         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68469         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68470         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68471         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68472         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68473         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68474         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68475         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68476         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68477         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68478         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68479         Require >= 2.
68480         (FLT_ROUNDS): Expect as macro, not constant.
68481         (FLT_MANT_DIG): Use macro-int-constant.
68482         (DBL_MANT_DIG): Likewise.
68483         (LDBL_MANT_DIG): Likewise.
68484         (FLT_DIG): Likewise.
68485         (DBL_DIG): Likewise.
68486         (LDBL_DIG): Likewise.
68487         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68488         (DBL_MIN_EXP): Likewise.
68489         (LDBL_MIN_EXP): Likewise.
68490         (FLT_MAX_EXP): Use macro-int-constant.
68491         (DBL_MAX_EXP): Likewise.
68492         (LDBL_MAX_EXP): Likewise.
68493         (FLT_MAX_10_EXP): Likewise.
68494         (DBL_MAX_10_EXP): Likewise.
68495         (LDBL_MAX_10_EXP): Likewise.
68496         (FLT_MAX): Use macro-constant.
68497         (DBL_MAX): Likewise.
68498         (LDBL_MAX): Likewise.
68499         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68500         (DBL_EPSILON): Likewise.
68501         (LDBL_EPSILON): Likewise.
68502         (FLT_MIN): Likewise.
68503         (DBL_MIN): Likewise.
68504         (LDBL_MIN): Likewise.
68505         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68506         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68507         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68508         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68509         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68510         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68511         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68512         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68513         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68514         [ISO11] (FLT_TRUE_MIN): Likewise.
68515         [ISO11] (LDBL_TRUE_MIN): Likewise.
68516         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68517         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68518         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68519         (SCHAR_MAX): Likewise.
68520         (UCHAR_MAX): Likewise.
68521         (CHAR_MIN): Likewise.
68522         (CHAR_MAX): Likewise.
68523         (MB_LEN_MAX): Use macro-int-constant.
68524         (SHRT_MIN): Use macro-int-constant.  Specify type.
68525         (SHRT_MAX): Likewise.
68526         (USHRT_MAX): Likewise.
68527         (INT_MAX): Likewise.
68528         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68529         bound negative.
68530         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68531         bound with "U".
68532         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68533         bound with "L".
68534         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68535         bound negative.  Suffix upper bound with "L".
68536         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68537         bound with "UL".
68538         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68539         Specify type.
68540         [C99-based standards] (LLONG_MAX): Likewise.
68541         [C99-based standards] (ULLONG_MAX): Likewise.
68542         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68543         == 0.
68544         [ISO11] (max_align_t): Require type.
68545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68547         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68548         from $CFLAGS, without defining away __attribute__ calls.
68549         (checknamespace): Use $CFLAGS_namespace.
68551         * conform/conformtest.pl (@keywords): Only include C99 keywords
68552         for standards based on C99 or C11.
68554         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68555         Disable tests.
68556         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68557         UNIX98]: Likewise.
68559         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68560         usability of symbols in #if.
68562         * conform/conformtest.pl: If macro or constant types start
68563         "promoted:", expect the symbol to be of the following type
68564         promoted by the integer promotions.
68566         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68567         in one place.  Also handle "macro-constant".
68569         * conform/conformtest.pl: Only accept expected macro values with
68570         "==".  Parse all "macro" lines in one place.
68571         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68573         * conform/conformtest.pl: Handle braced types on "constant" lines
68574         instead of handling "typed-constant".
68575         * conform/data/signal.h-data: Use "constant" instead of
68576         "typed-constant".
68578         * conform/conformtest.pl: Handle "optional-" at start of lines in
68579         one place rather than duplicating several cases.  Handle each
68580         format of "macro" line with initial "optional-".
68582         * conform/conformtest.pl: Only accept expected constant or
68583         optional-constant values with "==".  Parse all "constant" lines in
68584         one place.  Parse all "optional-constant" lines in one place.
68585         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68586         * conform/data/fmtmsg.h-data: Likewise.
68587         * conform/data/netinet/in.h-data: Likewise.
68588         * conform/data/tar.h-data: Likewise.
68589         * conform/data/limits.h-data: Use "==" form on "constant" and
68590         "optional-constant" lines.
68592         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68593         Use -std=c99 for XOPEN2K.
68594         (@knownproblems): Remove.
68595         (newtoken): Don't check %isknown.
68597         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68598         Do not expect macro.
68599         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68600         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68601         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68602         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68603         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68604         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68605         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68606         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68607         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68608         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68609         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68610         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68611         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68612         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68613         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68614         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68615         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68616         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68617         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68618         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68619         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68620         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68621         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68622         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68623         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68624         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68625         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68626         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68627         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68628         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68629         [XPG3] (acosh): Likewise.
68630         [XPG3] (asinh): Likewise.
68631         [XPG3] (atanh): Likewise.
68632         [XPG3] (cbrt): Likewise.
68633         [XPG3] (expm1): Likewise.
68634         [XPG3] (ilogb): Likewise.
68635         [XPG3] (log1p): Likewise.
68636         [XPG3] (logb): Likewise.
68637         [XPG3] (nextafter): Likewise.
68638         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68639         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68640         [XPG3] (remainder): Likewise.
68641         [XPG3] (rint): Likewise.
68642         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68643         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68644         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68645         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68646         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68647         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68648         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68649         [UNIX98 || XOPEN2K] (scalb): Expect.
68650         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68651         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68652         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68653         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68654         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68655         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68656         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68657         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68658         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68659         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68660         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68661         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68662         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68663         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68664         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68665         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68666         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68667         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68668         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68669         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68670         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68671         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68672         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68673         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68674         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68675         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68676         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68677         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68678         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68679         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68680         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68681         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68682         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68683         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68684         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68685         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68686         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68687         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68688         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68689         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68690         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68691         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68692         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68693         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68694         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68695         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68696         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68697         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68698         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68699         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68700         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68701         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68702         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68703         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68704         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68705         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68706         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68707         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68708         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68709         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68710         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68711         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68712         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68713         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68714         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68715         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68716         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68717         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68718         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68719         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68720         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68721         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68722         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68723         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68724         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68725         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68726         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68727         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68728         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68729         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68730         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68731         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68732         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68733         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68734         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68735         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68736         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68737         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68738         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68739         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68740         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68741         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68742         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68743         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68744         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68745         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68746         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68747         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68748         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68749         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68750         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68751         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68752         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68753         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68754         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68755         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68756         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68757         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68758         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68759         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68760         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68761         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68762         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68763         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68764         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68765         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68766         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68767         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68768         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68769         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68770         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68771         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68772         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68773         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68774         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68776         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68777         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68778         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68779         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68780         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68781         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68782         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68783         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68784         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68785         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68786         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68788         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68789         _XOPEN_SOURCE_EXTENDED for XPG4.
68791         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68793         * Makeconfig (localtime): Remove variable.
68794         (inst_localtime-file): Likewise.
68796 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68799         Update.
68800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68801         Update.
68802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68803         Update.
68804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68805         Update.
68806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68807         Update.
68808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68809         Update.
68810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68811         Update.
68812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68813         Update.
68814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68815         Update.
68817 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68819         [BZ #2550]
68820         [BZ #2570]
68821         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68822         comparisons to determine direction to adjust input.
68823         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68824         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68825         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68826         Likewise.
68827         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68828         Likewise.
68829         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68830         Likewise.
68831         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68832         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68833         Likewise.
68834         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68835         Likewise.
68836         * math/libm-test.inc (nexttoward_test): Add more tests.
68838 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68840         [BZ #14040]
68841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68842         in version GLIBC_2.1, not GLIBC_2.0.
68843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68844         Likewise.
68846 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68848         [BZ #13942]
68849         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68850         (1 - x) * (1 + x).
68851         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68852         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68853         * math/libm-test.inc (acos_test): Add more tests.
68854         (asin_test): Likewise.
68855         * sysdeps/i386/fpu/libm-test-ulps: Update.
68856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68858         [BZ #14034]
68859         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68860         of square root.
68861         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68862         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68863         * math/libm-test.inc (acos_test_tonearest): New function.
68864         (acos_test_towardzero): Likewise.
68865         (acos_test_downward): Likewise.
68866         (acos_test_upward): Likewise.
68867         (asin_test_tonearest): Likewise.
68868         (asin_test_towardzero): Likewise.
68869         (asin_test_downward): Likewise.
68870         (asin_test_upward): Likewise.
68871         (main): Call the new functions.
68872         * sysdeps/i386/fpu/libm-test-ulps: Update.
68873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68875         [BZ #13884]
68876         [BZ #13924]
68877         * math/e_exp10.c: Include <float.h>.
68878         (__ieee754_exp10): Handle underflow here rather than multiplying
68879         large negative argument by M_LN10.
68880         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68881         of __ieee754_expf.
68882         * math/e_exp10l.c: Include <float.h>.
68883         (__ieee754_exp10l): Handle underflow here rather than multiplying
68884         large negative argument by M_LN10l.
68885         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68886         spurious overflow exception on underflow.
68888 2012-04-29  Marek Polacek  <polacek@redhat.com>
68890         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68891         (__fortify_function): New macro.
68892         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68893         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68894         __extern_always_inline.
68895         * libio/bits/stdio2.h: Likewise.
68896         * libio/bits/stdio.h: Likewise.
68897         * string/string.h: Likewise.
68898         * string/bits/string3.h: Likewise.
68899         * include/stdio.h: Likewise.
68900         * stdlib/bits/stdlib.h: Likewise.
68901         * stdlib/stdlib.h: Likewise.
68902         * rt/bits/mqueue2.h: Likewise.
68903         * rt/mqueue.h: Likewise.
68904         * posix/bits/unistd.h: Likewise.
68905         * posix/unistd.h: Likewise.
68906         * io/bits/poll2.h: Likewise.
68907         * io/bits/fcntl2.h: Likewise.
68908         * io/fcntl.h: Likewise.
68909         * io/sys/poll.h: Likewise.
68910         * misc/bits/syslog.h: Likewise.
68911         * misc/bits/syslog-ldbl.h: Likewise.
68912         * misc/sys/syslog.h: Likewise.
68913         * socket/bits/socket2.h: Likewise.
68914         * socket/sys/socket.h: Likewise.
68915         * debug/tst-chk1.c: Likewise.
68916         * wcsmbs/bits/wchar2.h: Likewise.
68917         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68918         * wcsmbs/wchar.h: Likewise.
68920 2012-04-29  Andreas Jaeger  <aj@suse.de>
68922         * Makerules (tests): Remove enable-check-abi protection.
68923         (check-abi-warn): Remove.
68924         (check-abi-%): Remove check-abi-warn usage.
68926         * configure.in: Remove check-abi configure option.
68927         * configure: Regenerated.
68928         * config.make.in (enable-check-abi): Remove.
68930 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68932         [BZ #14033]
68933         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68934         double functions to double *_finite functions.
68936         [BZ #13941]
68937         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68938         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68939         LDBL_MIN_EXP.
68940         * stdio-common/Makefile (tests): Add tst-sprintf3.
68941         * stdio-common/tst-sprintf3.c: New file.
68943         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68944         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68946 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68948         * conform/conformtest.pl: Remove duplicate typed-constant
68949         handling.
68951 2012-04-28  David S. Miller  <davem@davemloft.net>
68953         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68954         (check-abi-%): Remove AWK script prerequisite and explicit
68955         abilist directory.
68956         (check-abi): Rewrite to just diff the symlist with the abilist.
68957         (config-tls, config-abi-config): Delete, no longer used.
68958         (update-abi-%): Remove AWK script and explicit abilist directory.
68959         (update-abi): Rewrite to simply compare and conditionally copy the
68960         symlist and the sysdep abilist file.  Remove update-abi-config
68961         checks.
68962         * abilist/ld.abilist: Remove.
68963         * abilist/libBrokenLocale.abilist: Remove.
68964         * abilist/libanl.abilist: Remove.
68965         * abilist/libcrypt.abilist: Remove.
68966         * abilist/libdl.abilist: Remove.
68967         * abilist/librt.abilist: Remove.
68968         * abilist/libthread_db.abilist: Remove.
68969         * abilist/libutil.abilist: Remove.
68970         * scripts/extract-abilist.awk: Remove.
68971         * scripts/merge-abilist.awk: Remove.
68972         * sysdeps/generic/libcidn.abilist: New file.
68973         * sysdeps/generic/libnss_compat.abilist: New file.
68974         * sysdeps/generic/libnss_db.abilist: New file.
68975         * sysdeps/generic/libnss_dns.abilist: New file.
68976         * sysdeps/generic/libnss_files.abilist: New file.
68977         * sysdeps/generic/libnss_hesiod.abilist: New file.
68978         * sysdeps/generic/libnss_nis.abilist: New file.
68979         * sysdeps/generic/libnss_nisplus.abilist: New file.
68980         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68981         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68982         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68983         file.
68984         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68985         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68986         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68987         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68988         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68989         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68990         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68991         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68992         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68993         file.
68994         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68995         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68996         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68997         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68998         file.
68999         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69000         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69001         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69002         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69003         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69004         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69005         file.
69006         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69007         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69008         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69009         file.
69010         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69012         New file.
69013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69014         New file.
69015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69016         New file.
69017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69018         New file.
69019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69020         New file.
69021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69022         New file.
69023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69024         New file.
69025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69026         New file.
69027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69028         New file.
69029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69030         New file.
69031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69032         New file.
69033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69034         New file.
69035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69036         New file.
69037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69038         file.
69039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69040         New file.
69041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69042         New file.
69043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69044         file.
69045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69046         New file.
69047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69048         New file.
69049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69050         file.
69051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69052         New file.
69053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69054         New file.
69055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69056         New file.
69057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69058         New file.
69059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69060         New file.
69061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69062         New file.
69063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69065         file.
69066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69067         New file.
69068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69069         file.
69070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69071         file.
69072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69073         file.
69074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69075         file.
69076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69077         file.
69078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69079         New file.
69080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69081         file.
69082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69083         file.
69084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69085         New file.
69086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69087         file.
69088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69090         file.
69091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69092         New file.
69093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69094         file.
69095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69096         file.
69097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69098         file.
69099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69100         file.
69101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69102         file.
69103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69104         New file.
69105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69106         file.
69107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69108         file.
69109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69110         New file.
69111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69112         file.
69113         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69114         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69115         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69116         file.
69117         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69118         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69119         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69120         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69121         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69122         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69123         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69124         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69125         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69126         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69129         file.
69130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69131         New file.
69132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69133         file.
69134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69135         file.
69136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69137         file.
69138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69139         file.
69140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69141         file.
69142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69143         New file.
69144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69145         New file.
69146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69147         file.
69148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69149         New file.
69150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69151         file.
69152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69154         file.
69155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69156         New file.
69157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69158         file.
69159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69160         file.
69161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69162         file.
69163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69164         file.
69165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69166         file.
69167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69168         New file.
69169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69170         New file.
69171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69172         file.
69173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69174         New file.
69175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69176         file.
69178 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69180         * conform/conformtest.pl: Fix typo in handling typed-constant from
69181         allow-header.
69183 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69185         * README: Cut down references to pre-2.6 Linux kernels and
69186         Linuxthreads.  Update lists of configurations in libc and ports
69187         and sort alphabetically.  Say "or newer" with Linux kernel version
69188         requirements.
69190         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69192 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69194         [BZ #887]
69195         * math/libm-test.inc (logb_test_downward): New test to expose
69196         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69197         rounding mode.
69199 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69201         [BZ #14027]
69202         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69203         to be done.
69204         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69205         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69207 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69209         * sysdeps/unix/i386/brk.S: Remove file.
69210         * sysdeps/unix/i386/dl-brk.S: Likewise.
69211         * sysdeps/unix/i386/pipe.S: Likewise.
69212         * sysdeps/unix/i386/sigreturn.S: Likewise.
69213         * sysdeps/unix/i386/syscall.S: Likewise.
69214         * sysdeps/unix/i386/vfork.S: Likewise.
69215         * sysdeps/unix/i386/wait.S: Likewise.
69217         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69218         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69220         * configure.in (arm*-none*): Do not allow without
69221         --enable-hacker-mode.
69222         (netbsd*): Remove case setting base_os.
69223         (386bsd*): Likewise.
69224         (freebsd*): Likewise.
69225         (bsdi*): Likewise.
69226         (osf*): Likewise.
69227         (sunos*): Likewise.
69228         (ultrix*): Likewise.
69229         (newsos*): Likewise.
69230         (dynix*): Likewise.
69231         (*bsd*): Likewise.
69232         (sysv*): Likewise.
69233         (isc*): Likewise.
69234         (esix*): Likewise.
69235         (sco*): Likewise.
69236         (minix*): Likewise.
69237         (irix4*): Likewise.
69238         (irix6*): Likewise.
69239         (solaris[2-9]*): Likewise.
69240         (none): Likewise.
69241         * configure: Regenerated.
69243 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69245         [BZ #11521]
69246         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69247         overflow or cancellation in calculating denominator.
69248         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69250         down expression to avoid unexpected rounding in newer GCCs.
69251         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69253 2012-04-26  David S. Miller  <davem@davemloft.net>
69255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69256         long-double compat symbols.
69257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69271 2012-04-25  David S. Miller  <davem@davemloft.net>
69273         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69274         HWCAP_* values only after the memory barriers have been defined.
69275         (atomic_full_barrier): Define.
69276         (atomic_read_barrier): Define.
69277         (atomic_write_barrier): Define.
69279 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69281         * shlib-versions: Add libgcc_s version information.
69282         * sysdeps/generic/libgcc_s.h: Remove.
69283         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69284         libgcc_s.h.
69285         * sysdeps/gnu/unwind-resume.c: Likewise.
69286         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69288 2012-04-25  David S. Miller  <davem@davemloft.net>
69290         * sysdeps/unix/sparc/brk.S: Delete.
69291         * sysdeps/unix/sparc/dl-brk.S: Delete.
69292         * sysdeps/unix/sparc/pipe.S: Delete.
69293         * sysdeps/unix/sparc/sysdep.S: Delete.
69294         * sysdeps/unix/sparc/sysdep.h: Delete.
69295         * sysdeps/unix/sparc/vfork.S: Delete.
69296         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69297         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69299         (ret_ERRVAL, r0, r1, MOVE): Define.
69300         (JUMPTARGET): Remove.
69301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69302         sysdeps/unix/sparc/sysdep.h
69303         (ENTRY, END): Remove.
69304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69306 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69308         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69309         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69310         -DIS_IN_build.
69312         * timezone/README: Update upstream location and email address for
69313         tzcode and tzdata.
69314         * timezone/zdump.c: Update from tzcode 2012b.
69315         * timezone/zic.c: Likewise.
69317         * configure.in (libc_cv_as_needed): Remove test.
69318         * configure: Regenerated.
69319         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69320         conditional definition.
69321         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69322         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69323         * config.make.in (have-as-needed): Remove variable.
69325 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69326             Paul Pluzhnikov  <ppluzhnikov@google.com>
69328         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69329         strings correctly.
69331 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69333         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69334         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69335         * sysdeps/sh/strlen.S: Likewise.
69337 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69339         * sysdeps/unix/fork.S: Remove file.
69340         * sysdeps/unix/i386/fork.S: Likewise.
69341         * sysdeps/unix/sparc/fork.S: Likewise.
69343         * sysdeps/unix/system.c: Remove file.
69344         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69346         * sysdeps/unix/getegid.S: Remove file.
69347         * sysdeps/unix/geteuid.S: Likewise.
69349 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69351         * scripts/check-localplt.awk: New file.
69352         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69353         of diff.
69354         * scripts/data/localplt-generic.data: Add a comment.
69356         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69357         NODE when __dir_mkfile failed.
69358         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69359         Reported by Ludovic Courtès <ludo@gnu.org>.
69361 2012-04-24  Andreas Jaeger  <aj@suse.de>
69363         * Makerules (common-clean): Also remove gen-as-const-headers
69364         files.
69366 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69368         * Makerules (native-compile): Do not change working directory for
69369         build.  Use $(OUTPUT_OPTION) in command.
69370         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69372 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69374         [BZ #13886]
69375         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69376         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69377         * math/libm-test.inc (floor_test): Add more tests.
69378         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69380 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69382         * sysdeps/unix/getdents.c: Remove file.
69383         * sysdeps/unix/sysv/getdents.c: Likewise.
69384         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69386         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69387         sysdeps/unix/mman/syscalls.list.
69388         (mmap): Likewise.
69389         (mprotect): Likewise.
69390         (msync): Likewise.
69391         (munmap): Likewise.
69392         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69393         * sysdeps/unix/mman/syscalls.list: Remove.
69394         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69396         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69397         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69398         * configure: Regenerated.
69399         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69400         $(libgcc_s_suffix).
69401         * config.make.in (libgcc_s_suffix): Remove variable.
69403 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69405         * sysdeps/unix/sysv/gethostname.c: Move to ...
69406         * sysdeps/posix/gethostname.c: ... here.
69408         * sysdeps/unix/execve.S: Remove file.
69410         * sysdeps/unix/_exit.S: Remove file.
69412 2012-04-23  Andreas Jaeger  <aj@suse.de>
69414         [BZ #13739]
69415         * manual/Makefile: Remove make dist support, there's no
69416         need for a stand-alone documentation tar ball.
69417         (TEXI2DVI): Define always, it's not in Makeconfig.
69418         (dist): Removed.
69419         (tar-it): Removed.
69420         (edition): Removed.
69421         (glibc-doc-$(edition).tar): Removed
69422         (%.Z): Removed.
69423         (%.gz): Removed.
69424         (%.uu): Removed.
69425         (ETAGS): Remove, it's in Makeconfig.
69426         (move-if-change): Remove, it's in Makeconfig.
69428 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69430         [BZ #13970]
69431         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69432         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69433         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69434         (strtod_l, strtof_l, strtold_l): Remove __wur.
69435         It is not necessarily an error to ignore strtol's return value.
69436         One can reliably look at the stored endptr to decide whether
69437         the number had valid syntax.
69439 2012-04-21  Andreas Jaeger  <aj@suse.de>
69441         [BZ #13739]
69442         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69444 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69446         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69447         * sysdeps/unix/sysv/Versions: Remove file.
69449 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69451         [BZ #13927]
69452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69454 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69456         [BZ #7064]
69457         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69458         version from __vm86.
69460 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69462         * sysdeps/unix/common/lxstat.c: Remove file.
69463         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69465         * sysdeps/unix/sysv/Makefile: Remove file.
69467         * sysdeps/unix/sysv/direct.h: Remove file.
69469         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69470         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69471         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69472         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69473         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69474         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69475         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69477         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69479         * sysdeps/unix/xmknod.c: Remove file.
69480         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69482         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69484         * sysdeps/unix/sysv/i386/time.S: Remove file.
69486         * sysdeps/unix/fxstat.c: Remove file.
69487         * sysdeps/unix/xstat.c: Likewise.
69488         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69490         * sysdeps/unix/sysv/sigaction.c: Remove file.
69492         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69493         (sysdep_headers): Remove variable.
69494         [termio.h not in sysdep_headers] (generated): Likewise.
69495         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69496         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69497         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69498         * sysdeps/unix/sysv/tcflow.c: Likewise.
69499         * sysdeps/unix/sysv/tcflush.c: Likewise.
69500         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69501         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69502         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69503         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69504         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69506         * sysdeps/unix/siglist.c: Remove file.
69508         * sysdeps/unix/getppid.S: Remove file.
69510         * sysdeps/unix/mkdir.c: Remove file.
69511         * sysdeps/unix/rmdir.c: Likewise.
69513 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69515         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69516         ERR_MAX value.
69517         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69518         errlist-compat value.
69520 2012-04-18  David S. Miller  <davem@davemloft.net>
69522         * sysdeps/generic/memcopy.h (reg_char): Delete.
69523         * debug/strcat_chk.c: Use char, not reg_char.
69524         * debug/strcpy_chk.c: Likewise.
69525         * debug/strncat_chk.c: Likewise.
69526         * debug/strncpy_chk.c: Likewise.
69527         * string/memchr.c: Likewise.
69528         * string/memrchr.c: Likewise.
69529         * string/rawmemchr.c: Likewise.
69530         * string/strcat.c: Likewise.
69531         * string/strchr.c: Likewise.
69532         * string/strchrnul.c: Likewise.
69533         * string/strcmp.c: Likewise.
69534         * string/strcpy.c: Likewise.
69535         * string/strncat.c: Likewise.
69536         * string/strncmp.c: Likewise.
69537         * string/strncpy.c: Likewise.
69539 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69541         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69542         __builtin_memcopy is called when src and dest ranges are known to not
69543         overlap.
69545 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69547         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69548         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69549         fwd_align_merge macro call.
69550         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69551         bwd_align_merge macro call.
69552         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69554 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69556         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69557         bwd_align_merge macros.
69558         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69559         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69560         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69562 2012-04-18  David S. Miller  <davem@davemloft.net>
69564         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69566 2012-04-18  Andreas Jaeger  <aj@suse.de>
69568         [BZ# 6794]
69569         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69570         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69571         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69573         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69574         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69575         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69577         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69578         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69579         Adjust for changed ldbl-128 files.
69581         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69582         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69583         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69585 2012-04-17  David S. Miller  <davem@davemloft.net>
69587         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69589 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69591         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69592         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69593         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69594         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69595         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69596         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69598 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69600         [BZ #6794]
69601         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69602         * math/libm-test.inc: Add ilogb errno and exception tests.
69603         * math/w_ilogb.c: New file: ilogb wrapper.
69604         * math/w_ilogbf.c: New file: ilogbf wrapper.
69605         * math/w_ilogbl.c: New file: ilogbl wrapper.
69606         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69607         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69608         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69609         exception being thrown with 0.0 as argument.
69610         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69611         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69612         exception being thrown with 0.0 as argument.
69613         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69614         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69615         exception being thrown with 0.0 as argument.
69616         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69617         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69618         exception being thrown with 0.0 as argument.
69619         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69620         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69621         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69622         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69623         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69624         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69625         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69626         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69627         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69629 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69631         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69632         with altivec.
69634 2012-04-16  Marek Polacek  <polacek@redhat.com>
69636         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69638 2012-04-16  Marek Polacek  <polacek@redhat.com>
69640         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69641         operands of fdivp instruction.
69643 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69645         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69646         * elf/tst-auditmod3b.c: Likewise.
69647         * elf/tst-auditmod4b.c: Likewise.
69648         * elf/tst-auditmod5b.c: Likewise.
69649         * elf/tst-auditmod6b.c: Likewise.
69650         * elf/tst-auditmod6c.c: Likewise.
69651         * elf/tst-auditmod7b.c: Likewise.
69652         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69653         * sysdeps/x86_64/preconfigure.in: Likewise.
69654         * sysdeps/x86_64/preconfigure: Regenerated.
69656 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69658         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69659         __ILP32__.
69661 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69664         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69666 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69668         [BZ #13973]
69669         * locale/iso-639.def: Fix gl language name. Spotted by
69670         Yaron Shahrabani.
69672 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69674         [BZ #2074]
69675         * libio/libio.h (__io_write_fn): Update comment.
69677 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69679         [BZ #2074]
69680         * stdio.texi (Hook Functions): The user provided writer function
69681         is not allowed to return -1.
69683 2012-04-11  David S. Miller  <davem@davemloft.net>
69685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69687 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69689         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69690         Add a leading slash to rtkaio.
69692 2012-04-11  Jim Meyering  <meyering@redhat.com>
69694         [BZ #11959]
69695         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69696         It is not necessarily an error to ignore fwrite's return
69697         value.  One can reliably use ferror to test for errors after
69698         the fact.
69700 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69702         * bits/types.h (__snseconds_t): New type.
69703         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69705         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69706         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69707         (__SNSECONDS_T_TYPE): Likewise.
69708         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69709         (__SNSECONDS_T_TYPE): Likewise.
69710         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69711         (__SNSECONDS_T_TYPE): Likewise.
69713 2012-04-10  Andreas Jaeger  <aj@suse.de>
69715         [BZ #2636]
69716         * manual/time.texi (Processor Time): Return type of times is
69717         elapsed real time since an arbitrary point in the past.
69718         (CPU Time): Move CLK_TCK from here...
69719         (Processor Time): ...to here.  Correct description.
69720         * manual/conf.texi (Constants for Sysconf): Correct description of
69721         _SC_CLK_TCK.
69723 2012-04-10  David S. Miller  <davem@davemloft.net>
69725         [BZ #13967]
69726         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69727         where the is a gap between DT_REL(A) and DT_JMPREL.
69729 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69731         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69732         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69733         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69735 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69737         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69738         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69739         (dl_main): Handle --inhibit-cache.
69740         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69741         _dl_inhibit_cache.
69742         * elf/dl-load.c (_dl_map_object): Use it.
69743         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69745 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69747         [BZ #13872]
69748         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69749         (__ieee754_powl): Saturate large exponents rather than testing for
69750         overflow of y*log2(x).
69751         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69752         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69753         exceptions.
69755         [BZ #11521]
69756         * math/s_ctan.c: Include <float.h>.
69757         (__ctan): Avoid internal overflow or cancellation in calculating
69758         denominator.
69759         * math/s_ctanf.c: Likewise.
69760         * math/s_ctanl.c: Likewise.
69761         * math/s_ctanh.c: Likewise.
69762         * math/s_ctanhf.c: Likewise.
69763         * math/s_ctanhl.c: Likewise.
69764         * math/libm-test.inc (ctan_test): Add more tests.
69765         (ctanh_test): Likewise.
69766         * sysdeps/i386/fpu/libm-test-ulps: Update.
69767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69769 2012-04-09  Andreas Jaeger  <aj@suse.de>
69771         [BZ #6894]
69772         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69773         is an optional BSD extension.
69775         [BZ #10254]
69776         * manual/stdio.texi (Opening Streams): Document additional fopen
69777         parameters.
69779 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69781         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69782         %eax without telling the compiler.
69784 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69786         [BZ # 13963]
69787         * manual/install.texi: Use sourceware.org.
69789 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69791         [BZ #13873]
69792         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69793         (__ieee754_pow): Generate overflow and underflow using huge*huge
69794         and tiny*tiny rather than just returning constant infinity or zero
69795         for large exponents.
69796         * math/libm-test.inc (pow_test): Require overflow exceptions for
69797         applicable cases of large exponents.
69799         [BZ #706]
69800         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69801         (__ieee754_pow): Use iterative multiplication algorithm only for
69802         integer exponents with absolute value below 1024.  Check for odd
69803         integer exponents when using algorithm for real exponents.
69804         * math/libm-test.inc (pow_test): Add more tests.
69805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69807 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69809         [BZ #13705]
69810         * math/libm-test.inc (exp_test): Do not allow overflow exception
69811         on underflow test.
69813 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69815         [BZ #13705]
69816         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69817         instead of __kernel_standard_f.
69819 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69821         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69822         * sysdeps/x86_64/memset_chk.S: Likewise.
69824 2012-04-08  Andreas Jaeger  <aj@suse.de>
69826         [BZ #10153]
69827         * manual/startup.texi (Environment Access): Describe return value
69828         for putenv and setenv.
69830         [BZ #6895]
69831         * manual/filesys.texi (Directory Entries): Add description for
69832         DT_LNK.
69834         [BZ #6890]
69835         * manual/filesys.texi (Directory Entries): Clarify that it's file
69836         system not operating system in the description of DT_UNKNOWN.
69838         [BZ #6578]
69839         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69841 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69843         [BZ #6649]
69844         * manual/llio.texi (Opening and Closing Files): Add cross
69845         reference to explain mode argument.
69847 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69849         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69850         * sysdeps/x86_64/memset_chk.S: Likewise.
69852 2012-04-07  David S. Miller  <davem@davemloft.net>
69854         * elf/elf.h (R_SPARC_WDISP10): Define.
69855         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69856         R_SPARC_SIZE32.
69857         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69858         R_SPARC_SIZE64 and R_SPARC_H34.
69860 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69862         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69863         conditions and remove no longer applicable assertion.
69865 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69867         * bits/byteswap.h: Include <features.h>.
69868         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69869         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69871 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69873         * bits/byteswap.h (__bswap_16): Removed.
69874         Include <bits/byteswap-16.h> to get __bswap_16.
69875         * sysdeps/i386/bits/byteswap.h: Likewise.
69876         * sysdeps/s390/bits/byteswap.h: Likewise.
69877         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69878         * bits/byteswap-16.h: New file.
69879         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69880         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69881         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69882         * string/Makefile (headers): Add bits/byteswap-16.h.
69884 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69886         [BZ #13895]
69887         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69888         extra indirection.
69889         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69890         * nss/tst-nss-static.c: New.
69892 2012-04-06  Robert Millan  <rmh@gnu.org>
69894         [BZ #6486]
69895         * manual/llio.texi (File Position Primitive): lseek
69896         refers to WHENCE when it really means OFFSET.
69898 2012-04-06  Andreas Jaeger  <aj@suse.de>
69900         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69901         strncmp declarations.
69903         * abilist/libc.abilist: Add __poll and __ppoll.
69905 2012-04-05  David S. Miller  <davem@davemloft.net>
69907         * scripts/check-local-headers.sh: Accept a host triplet in the
69908         path matched by the exclude regexp.
69910         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69911         definition.
69912         * sysdeps/powerpc/powerpc32/dl-machine.h
69913         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69914         * sysdeps/s390/s390-32/dl-machine.h
69915         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69916         * sysdeps/sparc/sparc32/dl-machine.h
69917         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69918         * sysdeps/sparc/sparc64/dl-machine.h
69919         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69921         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69922         lazy binding.
69923         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69924         undefined symbol errors.
69926         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69927         DT_NEEDED entries.
69929 2012-04-05  Michael Matz  <matz@suse.de>
69931         [BZ #13592]
69932         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69934 2012-04-05  Andreas Jaeger  <aj@suse.de>
69936         [BZ #13908]
69937         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69938         comment.
69940 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69942         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69943         which ROUND is no valid rounding mode.
69945 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69947         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69948         read again.
69949         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69951 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69953         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69954         an exception using FPU order intentionally.
69956 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69958         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69959         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69960         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69961         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69963 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69965         [BZ #12340]
69966         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69967         EINVAL when BUFLEN is too smal.
69969 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69971         [BZ #13553]
69972         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69973         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69975 2012-04-03  Andreas Jaeger  <aj@suse.de>
69977         [BZ #13938]
69978         * manual/setjmp.texi (System V contexts): Fix sentence.
69980         [BZ #13926]
69981         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69982         New macro for this case.
69983         [!__GNUC__] (__bswap_64): New inline function for this case.
69984         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69985         * bits/byteswap.h: Likewise.
69986         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69987         ull, guard with __GLIBC_HAVE_LONG_LONG.
69989         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69990         __GLIBC_HAVE_LONG_LONG.
69992         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69993         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69995 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69997         [BZ #13691]
69998         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69999         inptr and inend, rather than using last_ch.
70001 2012-04-02  David S. Miller  <davem@davemloft.net>
70003         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70004         * stdio-common/printf-parse.h (read_int): Change return type to
70005         'int', return -1 on INT_MAX overflow.
70006         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70007         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70008         overflows INT_MAX.  Check for overflow of in-format-string precision
70009         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70010         SIZE_MAX not INT_MAX for integer overflow test.
70011         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70012         skip the construct in the format string but do not record anything.
70013         * stdio-common/bug22.c: Adjust to test both width/prevision
70014         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70015         explicitly for proper errno values.
70017 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70019         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70020         CHAR_MAX.
70021         * string/test-strcmp.c [! WIDE]: Likewise.
70022         * time/tst-mktime2.c: Likewise for INT_MAX.
70023         * string/test-string.h: #include <sys/param.h> for MIN.
70025         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70026         * sysdeps/i386/init-first.c (init): Likewise.
70027         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70028         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70029         * sysdeps/sh/init-first.c (init): Likewise.
70031 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70033         * po/ru.po: Update from translation team.
70034         * po/vi.po: Likewise.
70036 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70038         * resolv/nss_dns/dns-host.c: Merge copyright years.
70040 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70042         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70043         Optimize memcpy with prefetch if
70044         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70045         src, dst pointers have unequal 16 byte alignments.
70047 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70049         [BZ #13928]
70050         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70051         from a CNAME entry and return the minimum ttl for the query.
70052         (gaih_getanswer_slice): Likewise.
70054 2012-03-30  Jeff Law  <law@redhat.com>
70056         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70057         due to long keys.
70058         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70059         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70061         * resolv/nss_dns/dns-host.c: Update copyright year.
70063 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70065         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70066         requests to save a system call.  Fix check that all bytes are sent.
70068         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70069         comments for sendmmsg.
70071 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70073         [BZ #13691]
70074         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70075         with only 1 character between 0x0041 and 0x01b0.
70076         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70077         * wcsmbs/tst-mbsnrtowcs.c: New file.
70079 2012-03-29  David S. Miller  <davem@davemloft.net>
70081         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70082         small copies by hand.
70084 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70086         [BZ #13761]
70087         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70088         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70089         group memberships.
70091 2012-03-28  David S. Miller  <davem@davemloft.net>
70093         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70094         that branches into memcpy.
70095         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70096         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70097         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70098         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70100         bits.
70101         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70102         implementation too.
70103         * sysdeps/sparc/mempcpy.S: New file.
70105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70106         the IFUNC routine in the libc case.
70107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70109         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70110         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70111         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70112         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70113         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70114         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70115         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70116         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70118         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70119         loop to 256 bytes instead of 64 bytes and fix test signedness.
70121         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70122         * sysdeps/sparc/sparc32/Makefile: rather than here...
70123         * sysdeps/sparc/sparc64/Makefile: and here.
70125 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70127         * malloc/mallocbug.c: Avoid warnings about unused variables.
70129 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70131         [BZ #13760]
70132         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70133         in the right place. Discard and retry query if response is
70134         larger than input buffer size.
70136 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70138         [BZ #369]
70139         [BZ #2678]
70140         [BZ #3866]
70141         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70142         x for large integer exponent.
70143         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70144         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70145         sign of result as needed afterwards.
70146         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70147         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70148         result for underflowing pow the same as for overflow.
70149         (__kernel_standard_l): Handle powl overflow and underflow here
70150         rather than calling __kernel_standard.
70151         * math/libm-test.inc (pow_test): Add more tests.
70153         [BZ #3868]
70154         [BZ #13879]
70155         [BZ #13910]
70156         [BZ #13911]
70157         [BZ #13912]
70158         [BZ #13913]
70159         [BZ #13915]
70160         [BZ #13916]
70161         [BZ #13917]
70162         [BZ #13918]
70163         [BZ #13919]
70164         [BZ #13920]
70165         [BZ #13921]
70166         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70167         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70168         (__kernel_standard_l): New function.
70169         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70170         __kernel_standard.
70171         * math/w_acosl.c (__acosl): Likewise.
70172         * math/w_asinl.c (__asinl): Likewise.
70173         * math/w_atan2l.c (__atan2l): Likewise.
70174         * math/w_atanhl.c (__atanhl): Likewise.
70175         * math/w_coshl.c (__coshl): Likewise.
70176         * math/w_exp10l.c (__exp10l): Likewise.
70177         * math/w_exp2l.c (__exp2l): Likewise.
70178         * math/w_fmodl.c (__fmodl): Likewise.
70179         * math/w_hypotl.c (__hypotl): Likewise.
70180         * math/w_j0l.c (__j0l, __y0l): Likewise.
70181         * math/w_j1l.c (__j1l, __y1l): Likewise.
70182         * math/w_jnl.c (__jnl, __ynl): Likewise.
70183         * math/w_lgammal.c (__lgammal): Likewise.
70184         * math/w_log10l.c (__log10l): Likewise.
70185         * math/w_log2l.c (__log2l): Likewise.
70186         * math/w_logl.c (__logl): Likewise.
70187         * math/w_powl.c (__powl): Likewise.
70188         * math/w_remainderl.c (__remainderl): Likewise.
70189         * math/w_scalbl.c (sysv_scalbl): Likewise.
70190         * math/w_sinhl.c (__sinhl): Likewise.
70191         * math/w_sqrtl.c (__sqrtl): Likewise.
70192         * math/w_tgammal.c (__tgammal): Likewise.
70193         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70194         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70195         * math/libm-test.inc (acos_test): Add more tests.
70196         (acosh_test): Likewise.
70197         (asin_test): Likewise.
70198         (atanh_test): Likewise.
70199         (exp_test): Likewise.
70200         (exp10_test): Likewise.
70201         (exp2_test): Likewise.
70202         (expm1_test): Likewise.
70203         (lgamma_test): Likewise.
70204         (log_test): Likewise.
70205         (log10_test): Likewise.
70206         (log1p_test): Likewise.
70207         (log2_test): Likewise.
70208         (pow_test): Do not allow some spurious overflow exceptions.
70209         (sqrt_test): Add more tests.
70210         (tgamma_test): Likewise.
70211         (y0_test): Likewise.
70212         (y1_test): Likewise.
70213         (yn_test): Likewise.
70215 2012-03-27  Anton Blanchard  <anton@samba.org>
70217         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70218         MAP_HUGETLB.
70219         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70220         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70221         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70223 2012-03-27  David S. Miller  <davem@davemloft.net>
70225         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70227         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70228         have-as-vis3 check.
70230 2012-03-27  Andreas Jaeger  <aj@suse.de>
70232         * sysdeps/x86_64/elf/configure.in: Moved to ...
70233         * sysdeps/x86_64/configure.in: ... here.
70234         * sysdeps/x86_64/elf/start.S: Moved to ...
70235         * sysdeps/x86_64/start.S: ... here.
70236         * sysdeps/x86_64/elf/configure: Delete.
70238         * sysdeps/x86_64/configure.in: Merge contents from
70239         sysdeps/i386/configure.in (without i686 check).
70241         * sysdeps/i386/elf/Versions: Merge into ...
70242         * sysdeps/i386/Versions: ... this.
70243         * sysdeps/i386/elf/Versions: Delete file.
70244         * sysdeps/i386/elf/start.S: Moved to ...
70245         * sysdeps/i386/start.S: ...here.
70246         * sysdeps/i386/elf/configure.in: Merge into...
70247         * sysdeps/i386/configure.in: ...here.
70248         * sysdeps/i386/elf/configure.in: Delete file.
70249         * sysdeps/i386/elf/configure: Delete file.
70251         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70252         * debug/backtracesyms.c: ... here.
70253         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70254         * debug/backtracesymsfd.c: ... here.
70255         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70256         * sysdeps/generic/ifunc-sel.h: ... here.
70258         * sysdeps/unix/i386/start.c: Delete file.
70259         * sysdeps/unix/sparc/start.c: Delete file.
70260         * sysdeps/unix/start.c: Delete file.
70262         * sysdeps/sh/elf/configure.in: Moved to ...
70263         * sysdeps/sh/configure.in: ... here.
70264         * sysdeps/sh/elf/start.S: Moved to ...
70265         * sysdeps/sh/start.S: ... here.
70266         * sysdeps/sh/elf/configure: Delete file.
70268         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70269         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70270         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70271         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70272         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70273         * sysdeps/powerpc/powerpc64/start.S: here.
70274         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70275         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70276         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70277         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70278         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70280         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70281         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70282         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70283         * sysdeps/powerpc/powerpc32/start.S: ... here.
70284         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70285         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70286         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70288         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70289         * sysdeps/powerpc/ifunc-sel.h: ... here.
70290         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70291         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70293         * sysdeps/sparc/elf/configure.in: Moved to ...
70294         * sysdeps/sparc/configure.in: ... here.
70295         * sysdeps/sparc/elf/configure: Delete file.
70296         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70297         * sysdeps/sparc/sparc32/start.S: ... here.
70298         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70299         * sysdeps/sparc/sparc64/start.S: ... here.
70300         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70301         * sysdeps/sparc/sparc32/Makefile: ... this.
70302         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70303         * sysdeps/sparc/sparc64/Makefile: ... this.
70305         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70306         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70307         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70308         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70309         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70310         * sysdeps/s390/s390-32/setjmp.S: ... here.
70311         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70312         * sysdeps/s390/s390-32/configure.in: ... here.
70313         * sysdeps/s390/s390-32/elf/configure: Delete file.
70314         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70315         * sysdeps/s390/s390-32/start.S: ... here.
70317         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70318         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70319         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70320         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70321         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70322         * sysdeps/s390/s390-64/setjmp.S: ... here.
70323         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70324         * sysdeps/s390/s390-64/configure.in: ... here
70325         * sysdeps/s390/s390-64/elf/configure: Delete file.
70326         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70327         * sysdeps/s390/s390-64/start.S: ... here.
70328         * sysdeps/s390/s390-64/elf/configure: Delete.
70330         * configure.in: Remove support for elf directories in sysdeps.
70332         * configure: Regenerated.
70333         * sysdeps/i386/configure: Regenerated.
70334         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70335         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70336         * sysdeps/s390/s390-32/configure: Regenerated.
70337         * sysdeps/s390/s390-64/configure: Regenerated.
70338         * sysdeps/sh/configure: Regenerated.
70339         * sysdeps/sparc/configure: Regenerated.
70340         * sysdeps/x86_64/configure: Regenerated.
70342 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70347         denormal result into account.
70349 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70351         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70352         Reported by Allan McRae <allan@archlinux.org>.
70354 2012-03-23  Jeff Law  <law@redhat.com>
70356         * nss/getnssent.c (__nss_getent): Fix typo.
70358 2012-03-23  David S. Miller  <davem@davemloft.net>
70360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70362 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70364         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70365         to pad to uint64_t for each field.
70366         (dl_tls_index): Replace unsigned long with uint64_t.
70368 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70369         Paul Pluzhnikov  <ppluzhnikov@google.com>
70371         [BZ #6528]
70372         * grp/Makefile (otherlibs): Don't set it.
70373         * inet/Makefile (otherlibs): Likewise.
70374         * login/Makefile (otherlibs): Likewise.
70375         * nscd/Makefile (otherlibs): Likewise.
70376         * posix/Makefile (otherlibs): Likewise.
70377         * pwd/Makefile (otherlibs): Likewise.
70378         * rt/Makefile (otherlibs): Likewise.
70379         * sunrpc/Makefile (otherlibs): Likewise.
70380         * nss/Makefile (otherlibs): Likewise.
70381         Add libnss_files to routines and static-only-routines.
70382         ($(objpfx)getent): Remove rule.
70383         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70384         static-only-routines.
70386 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70388         [BZ #13892]
70389         * math/s_cexp.c: Include <float.h>.
70390         (__cexp): Handle exp result overflowing not necessarily
70391         overflowing both real and imaginary parts of result.
70392         * math/s_cexpf.c: Likewise.
70393         * math/s_cexpl.c: Likewise.
70394         * math/libm-test.inc (cexp_test): Add more tests.
70395         * sysdeps/i386/fpu/libm-test-ulps: Update.
70396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70398 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70400         * include/link.h (ELFW): New macro.
70401         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70402         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70404 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70406         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70407         with uint64_t.
70409 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70411         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70412         declaration.
70413         (struct La_x32_retval): Likewise.
70415 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70417         * sysdeps/x86_64/preconfigure.in: New file.
70418         * sysdeps/x86_64/preconfigure: New generated file.
70420 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70422         [BZ #13824]
70423         * math/e_exp2l.c: Include <float.h>.
70424         (__ieee754_exp2l): Handle overflow and underflow cases
70425         separately.  Only pass fractional part of argument to
70426         __ieee754_expl.
70427         * math/libm-test.inc (exp2_test): Add more tests.
70429         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70430         negating x to take absolute value.
70431         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70432         Likewise.
70433         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70434         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70435         Likewise.
70436         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70437         computing low part if x was negated.
70438         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70440 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70442         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70443         la_x32_gnu_pltexit.
70444         (pltexit): Cast int_retval to ptrdiff_t.
70445         * elf/tst-auditmod3b.c: Likewise.
70446         * elf/tst-auditmod4b.c: Likewise.
70447         * elf/tst-auditmod5b.c: Likewise.
70448         * elf/tst-auditmod6b.c: Likewise.
70449         * elf/tst-auditmod6c.c: Likewise.
70450         * elf/tst-auditmod7b.c: Likewise.
70452         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70453         and x32_gnu_pltexit.
70455         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70456         __ELF_NATIVE_CLASS.
70457         (La_x32_regs): New macro.
70458         (La_x32_retval): Likewise.
70459         (la_x32_gnu_pltenter): New function prototype.
70460         (la_x32_gnu_pltexit): Likewise.
70462 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70465         exponent.
70467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70469         * configure.in (libc_cv_cc_nofma): Check for option to disable
70470         generation of FMA instructions.
70471         * configure: Regenerate.
70472         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70473         * sysdeps/ieee754/dbl-64/Makefile: New file.
70474         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70475         Remove brandred-fma4.
70476         (CFLAGS-brandred-fma4.c): Remove.
70477         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70478         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70479         define.
70480         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70481         define.
70483 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70485         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70486         LLONG_MAX != LONG_MAX.
70487         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70488         (_fitoa_word): Likewise.
70489         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70490         LLONG_MAX != LONG_MAX.
70491         * stdio-common/_itowa.h: Include <_itoa.h>.
70492         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70493         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70494         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70495         only if not defined.
70496         (_ITOA_WORD_TYPE): Likewise.
70497         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70498         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70500 2012-03-21  David S. Miller  <davem@davemloft.net>
70502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70504 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70506         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70507         of x86_64 when setting libc_cv_slibdir, libdir and
70508         libc_cv_localedir.
70509         * sysdeps/unix/sysv/linux/configure: Regenerated.
70511 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70513         * manual/lang.texi (Old Varargs): Remove section.
70514         (How Variadic): Update menu.
70515         (va_start): Do not mention varargs.h.
70517 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70518             Joseph Myers  <joseph@codesourcery.com>
70520         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70521         link test.
70522         * configure: Regenerated.
70524 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70526         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70527         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70528         conformtest.pl
70530 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70532         * NOTES: Remove.
70533         * Makefile (files-for-dist): Remove NOTES.
70534         (NOTES): Remove rule.
70535         * README: Don't refer to NOTES.
70536         * manual/creature.texi: Don't include macros.texi.
70537         * manual/intro.texi (creature.texi): Remove comment referring to
70538         NOTES.
70540         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70541         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70542         * configure: Regenerated.
70543         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70544         LIBC_TRY_CC_OPTION.
70545         (libc_cv_as_i686): Likewise.
70546         (libc_cv_cc_avx): Likewise.
70547         (libc_cv_cc_sse2avx): Likewise.
70548         (libc_cv_cc_fma4): Likewise.
70549         (libc_cv_cc_novzeroupper): Likewise.
70550         * sysdeps/i386/configure: Regenerated.
70552         [BZ #13883]
70553         * sysdeps/i386/fpu/s_cexp.S: Remove.
70554         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70555         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70556         * math/libm-test.inc (cexp_test): Add more tests.
70557         * sysdeps/i386/fpu/libm-test-ulps: Update.
70558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70560 2012-03-21  Allan McRae  <allan@archlinux.org>
70562         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70564 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70566         [BZ #13871]
70567         * math/w_exp2.c: Do not include <float.h>.
70568         (o_threshold, u_threshold): Remove.
70569         (__exp2): Calculate result before checking finiteness and calling
70570         __kernel_standard.
70571         * math/w_exp2f.c: Likewise.
70572         * math/w_exp2l.c: Likewise.
70573         * math/libm-test.inc (exp2_test): Require overflow exception for
70574         1e6 input.
70576         [BZ #3866]
70577         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70578         range of signed 64-bit integers before using fistpll.  Remove
70579         checks for whether integers fit in mantissa bits.
70580         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70581         the range of signed 32-bit integers before using fistpl.  Remove
70582         checks for whether integers fit in mantissa bits.
70583         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70584         (__ieee754_powl): Test for y outside the range of signed 64-bit
70585         integers before using fistpll.  Reduce 64-bit values to 63-bit
70586         ones as needed.
70587         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70588         divide-by-zero is raised for zero to large negative powers.
70589         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70590         (__ieee754_powl): Test for y outside the range of signed 64-bit
70591         integers before using fistpll.  Reduce 64-bit values to 63-bit
70592         ones as needed.
70593         * math/libm-test.inc (pow_test): Add more tests.
70595 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70597         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70598         <stdio-common/_itoa.h>.
70599         * debug/segfault.c: Likewise.
70600         * elf/dl-cache.c: Likewise.
70601         * elf/dl-minimal.c: Likewise.
70602         * elf/dl-misc.c: Likewise.
70603         * elf/dl-sysdep.c: Likewise.
70604         * elf/dl-version.c: Likewise.
70605         * elf/rtld.c: Likewise.
70606         * hurd/hurdsock.c: Likewise.
70607         * hurd/lookup-retry.c: Likewise.
70608         * malloc/malloc.c: Likewise.
70609         * malloc/mtrace.c: Likewise.
70610         * nscd/nscd_getgr_r.c: Likewise.
70611         * nscd/nscd_getpw_r.c: Likewise.
70612         * nscd/nscd_getserv_r.c: Likewise.
70613         * posix/getopt_init.c: Likewise.
70614         * posix/wordexp.c: Likewise.
70615         * stdio-common/_itoa.c: Likewise.
70616         * stdio-common/printf_fphex.c: Likewise.
70617         * stdio-common/vfprintf.c: Likewise.
70618         * string/_strerror.c: Likewise.
70619         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70620         * sysdeps/i386/i686/hp-timing.h: Likewise.
70621         * sysdeps/mach/_strerror.c: Likewise.
70622         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70623         * sysdeps/mach/hurd/sethostid.c: Likewise.
70624         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70625         * sysdeps/mach/xpg-strerror.c: Likewise.
70626         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70628         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70629         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70630         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70631         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70632         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70633         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70634         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70635         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70636         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70637         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70638         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70639         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70640         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70641         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70642         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70643         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70644         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70645         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70646         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70648         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70650         * stdio-common/_itoa.h: Moved to ...
70651         * sysdeps/generic/_itoa.h: Here.
70653         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70655         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70656         instead of "_itoa.h" and "_itowa.h".
70657         * stdio-common/vfprintf.: Likewise.
70659 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70661         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70662         <bits/wordsize.h>.
70663         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70664         (__signbit): Likwise.
70665         (llrintf): Likwise.
70666         (llrint): Likwise.
70668 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70670         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70671         __WORDSIZE != 64.
70673 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70675         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70676         OVERFLOW_EXCEPTION_OK.
70677         * math/libm-test.inc ("Philosophy"): Update comment about
70678         exception testing.
70679         (OVERFLOW_EXCEPTION): Define.
70680         (OVERFLOW_EXCEPTION_OK): Likewise.
70681         (INVALID_EXCEPTION_OK): Renumber.
70682         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70683         (IGNORE_ZERO_INF_SIGN): Likewise.
70684         (test_exceptions): Handle FE_OVERFLOW.
70685         (exp10_test): Expect overflow exceptions.
70686         (exp2_test): Likewise.
70687         (expm1_test): Likewise.
70688         (nextafter_test): Likewise.
70689         (pow_test): Likewise.
70690         (scalbn_test): Likewise.
70691         (scalbln_test): Likewise.
70693 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70695         * sysdeps/x86_64/bits/atomic.h
70696         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70697         64bit integer.
70698         (atomic_exchange_acq): Likewise.
70699         (__arch_exchange_and_add_body): Likewise.
70700         (__arch_add_body): Likewise.
70701         (atomic_add_negative): Likewise.
70702         (atomic_add_zero): Likewise.
70704 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70706         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70707         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70711         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70712         Check __x86_64__ instead of __WORDSIZE.
70714 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70716         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70718 2012-03-19  David S. Miller  <davem@davemloft.net>
70720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70722         * sysdeps/sparc/fpu/fenv_private.h: New file.
70723         * sysdeps/sparc/fpu/math_private.h: Use it.
70724         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70725         Remove.
70726         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70727         (libc_feholdexcept_setroundl): Remove.
70728         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70729         Remove.
70730         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70731         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70733 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70735         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70736         int64_t instead of long int.
70737         (INSERT_WORDS64): Likwise.
70739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70741         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70742         _Unwind_GetCFA return to _Unwind_Ptr first.
70744 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70746         [BZ #13629]
70747         * math/s_clog.c: Include <float.h>.
70748         (__clog): Scale large or subnormal inputs.
70749         * math/s_clogf.c: Likewise.
70750         * math/s_clogl.c: Likewise.
70751         * math/s_clog10.c: Include <float.h>.
70752         (M_LOG10_2): Define.
70753         (__clog10): Scale large or subnormal inputs.
70754         * math/s_clog10f.c: Likewise.
70755         * math/s_clog10l.c: Likewise.
70756         * math/libm-test.inc (clog_test): Add more tests.
70757         (clog10_test): Likewise.
70758         * sysdeps/i386/fpu/libm-test-ulps: Update.
70759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70761         [BZ #11451]
70762         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70763         x and y.
70764         * math/libm-test.inc (atan2_test): Add another test.
70766         * Makerules (common-objdir-compile): Remove.
70767         * sysdeps/unix/Makefile (config-generated): Do not add
70768         $(unix-generated) to variable.
70769         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70770         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70771         Remove rule.
70772         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70773         Likewise.
70774         [generic bits/local_lim.h] (before-compile): Do not append to
70775         variable.
70776         [generic bits/local_lim.h] (common-generated): Likewise.
70777         [generic sys/param.h] (before-compile): Do not append to variable.
70778         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70779         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70780         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70781         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70782         include.
70783         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70784         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70785         [generic sys/param.h] ($(addprefix
70786         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70787         [generic sys/param.h] (common-generated): Do not append to
70788         variable.
70789         [generic sys/param.h] (sysdep_headers): Likewise.
70790         [generic bits/errno.h] (before-compile): Do not append to
70791         variable.
70792         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70793         rule.
70794         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70795         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70796         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70797         [generic bits/errno.h] (common-generated): Do not append to
70798         variable.
70799         [generic bits/ioctls.h] (before-compile): Do not append to
70800         variable.
70801         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70802         rule.
70803         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70804         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70805         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70806         rule.
70807         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70808         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70809         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70810         [generic bits/ioctls.h] (common-generated): Do not append to
70811         variable.
70812         [generic sys/syscall.h] (syscall.h): Remove variable.
70813         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70814         rule.
70815         [generic sys/syscall.h] (before-compile): Do not append to
70816         variable.
70817         [generic sys/syscall.h] (common-generated): Likewise.
70818         * sysdeps/unix/errnos-tmpl.c: Remove file.
70819         * sysdeps/unix/errnos.awk: Likewise.
70820         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70821         * sysdeps/unix/ioctls.awk: Likewise.
70822         * sysdeps/unix/mk-local_lim.c: Likewise.
70823         * sysdeps/unix/snarf-ioctls: Likewise.
70825 2012-03-19  Richard Henderson  <rth@twiddle.net>
70827         * sysdeps/i386/fpu/fenv_private.h: New file.
70828         * sysdeps/i386/fpu/math_private.h: Use it.
70829         (math_opt_barrier, math_force_eval): Remove.
70830         (libc_feholdexcept_setround_53bit): Remove.
70831         (libc_feupdateenv_53bit): Remove.
70832         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70833         (math_opt_barrier, math_force_eval): Remove.
70834         (libc_feholdexcept): Remove.
70835         (libc_feholdexcept_setround): Remove.
70836         (libc_fetestexcept, libc_fesetenv): Remove.
70837         (libc_feupdateenv_test): Remove.
70838         (libc_feupdateenv, libc_feholdsetround): Remove.
70839         (libc_feresetround): Remove.
70841         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70842         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70844         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70845         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70846         (libc_feupdateenv_testl): New.
70847         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70848         (libc_feupdateenv_testf): New.
70849         (libc_feupdateenv): Use libc_feupdateenv_test.
70850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70851         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70853         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70854         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70855         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70856         (libc_feresetround_noex): New.
70857         (libc_feresetround_noexf): New.
70858         (libc_feresetround_noexl): New.
70859         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70860         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70861         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70862         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70863         SET_RESTORE_ROUND.
70864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70865         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70866         (__cos): Likewise.
70867         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70868         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70869         SET_RESTORE_ROUND_NOEX.
70870         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70871         SET_RESTORE_ROUND_NOEXF.
70872         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70873         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70874         (libc_feholdsetroundf): New.
70875         (libc_feresetround, libc_feresetroundf): New.
70877         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70878         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70879         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70881         * sysdeps/generic/math_private.h: Include <fenv.h>.
70882         (default_libc_feholdexcept): New.
70883         (default_libc_feholdexcept_setround): New.
70884         (default_libc_fesetenv, default_libc_feupdateenv): New.
70885         (libc_feholdexcept): Only define if undefined.
70886         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70887         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70888         (libc_feholdexcept_setroundl): Likewise.
70889         (libc_feholdexcept_setround_53bit): Likewise.
70890         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70891         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70892         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70893         (libc_feupdateenv_53bit): Likewise.
70894         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70895         (libc_feholdexcept): Convert from macro to inline function.
70896         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70897         (libc_fesetenv, libc_feupdateenv): Likewise.
70899         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70900         not previously defined.
70901         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70902         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70903         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70904         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70905         * sysdeps/ieee754/flt-32/math_private.h: New file.
70906         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70907         math_private.h below SET_FLOAT_WORD.
70908         (__isnan, __isinf_ns, __finite): Remove.
70909         (__isnanf, __isinf_nsf, __finitef): Remove.
70911 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70915 2012-03-17  David S. Miller  <davem@davemloft.net>
70917         [BZ #6471]
70918         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70919         for 2.16.
70921 2012-03-16  David S. Miller  <davem@davemloft.net>
70923         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70924         warnings.
70926         [BZ #6471]
70927         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70928         properly.
70929         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70930         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70931         sysdep_routines when subdir is sysvipc.
70932         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70933         __getshmlba helper.
70935         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70937 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70939         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70940         [__LP64__].
70942 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70944         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70945         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70946         (__lround): Renamed to ...
70947         (__llround): This.  Replace long int with long long int.
70948         Define lround functions as aliases of llround functions.
70949         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70953         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70954         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70955         adresses to uintptr_t.  Replace "long int" and "unsigned long
70956         int" with "greg_t" on va_arg.
70958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70960         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70961         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70963         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70964         Move e_machine check before EI_CLASS check.  Handle x32
70965         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70966         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70967         SKIP_EM_IA_64 and include
70968         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70970         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70971         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70972         (add_system_dir): New macro.
70974         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70975         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70977 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70979         [BZ #2551]
70980         [BZ #2552]
70981         [BZ #2553]
70982         [BZ #2554]
70983         [BZ #2562]
70984         [BZ #2563]
70985         [BZ #2565]
70986         [BZ #2566]
70987         [BZ #2576]
70988         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70989         (y0): Likewise.
70990         * math/w_j0f.c (j0f): Likewise.
70991         (y0f): Likewise.
70992         * math/w_j0l.c (__j0l): Likewise.
70993         (__y0l): Likewise.
70994         * math/w_j1.c (j1): Likewise.
70995         (y1): Likewise.
70996         * math/w_j1f.c (j1f): Likewise.
70997         (y1f): Likewise.
70998         * math/w_j1l.c (__j1l): Likewise.
70999         (__y1l): Likewise.
71000         * math/w_jn.c (jn): Likewise.
71001         (yn): Likewise.
71002         * math/w_jnf.c (jnf): Likewise.
71003         (ynf): Likewise.
71004         * math/w_jnl.c (__jnl): Likewise.
71005         (__ynl): Likewise.
71006         * math/libm-test.inc (j0_test): Add more tests.
71007         (j1_test): Likewise.
71008         (jn_test): Likewise.  Add trailing semicolon to existing test.
71009         (y0_test): Likewise.
71010         (y1_test): Likewise.
71011         * sysdeps/i386/fpu/libm-test-ulps: Update.
71012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71014         [BZ #13851]
71015         [BZ #13854]
71016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71017         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71018         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71019         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71020         (__tanl): Set errno for infinite argument.
71021         * sysdeps/i386/fpu/mptan.c: Remove.
71022         * sysdeps/i386/fpu/s_tan.S: Likewise.
71023         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71024         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71025         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71026         * math/libm-test.inc (tan_test): Add more tests and enable more
71027         tests for double and long double.
71028         * sysdeps/i386/fpu/libm-test-ulps: Update.
71029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71031 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71033         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71034         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71036 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71038         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71039         * configure.in: Use it for both main tree and add-ons.
71040         * configure: Regenerated.
71042 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71044         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71046 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71048         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71049         in comment.
71051         [BZ #13851]
71052         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71053         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71054         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71055         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71056         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71057         infinite argument.
71058         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71059         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71060         != 0 for prec == 2.
71061         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71062         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71063         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71064         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71065         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71066         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71067         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71068         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71069         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71070         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71071         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71072         * math/libm-test.inc (cos_test): Add more tests and enable more
71073         tests for long double.
71074         (sin_test): Likewise.
71075         (sincos_test): Likewise.
71076         * sysdeps/i386/fpu/libm-test-ulps: Update.
71077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71079 2012-03-16  David S. Miller  <davem@davemloft.net>
71081         * sysdeps/sparc/fpu/math_private.h: New file.
71083 2012-03-15  David S. Miller  <davem@davemloft.net>
71085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71086         file.
71087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71089         file.
71090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71095         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71096         sysdep routines.
71097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71099         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71100         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71102         * sysdeps/sparc/sparc-ifunc.h: New file.
71103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71104         sparc-ifunc.h
71105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71107         Likewise.
71108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71109         Likewise.
71110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71114         Likewise.
71115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71120         Likewise.
71121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71122         Likewise.
71123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71129         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71130         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71139         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71140         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71141         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71142         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71145         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71146         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71148 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71150         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71151         scaling.
71152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71154 2012-03-15  Andreas Jaeger  <aj@suse.de>
71156         [BZ #13852]
71157         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71158         ieee754/flt-32 implementation for sin, cos and sincos.
71159         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71160         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71161         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71162         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71163         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71164         ieee754/flt-32 implementation for tan.
71166         * math/libm-test.inc (cos_test): Enable some large input tests for
71167         float as well
71168         (sin_test): Likewise.
71169         (sincos_test): Likewise.
71170         (tan_test): Add tests for large input.
71172         * sysdeps/i386/fpu/libm-test-ulps: Update.
71174 2012-03-15  Andreas Jaeger  <aj@suse.de>
71176         [BZ #13658]
71177         * math/libm-test.inc (cos_test): Add more test cases.
71178         (sin_test): Likewise.
71179         (sincos_test): Likewise.
71181 2012-03-15  Andreas Jaeger  <aj@suse.de>
71183         [BZ #13837]
71184         * math/libm-test.inc (cos_test): Add a test case for large input
71185         value.
71186         (sin_test): Likewise.
71187         (sincos_test): Likewise.
71189 2012-03-15  Andreas Jaeger  <aj@suse.de>
71190             Joseph Myers  <joseph@codesourcery.com>
71192         [BZ #13658]
71193         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71194         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71195         * sysdeps/i386/fpu/branred.c: Likewise.
71196         * sysdeps/i386/fpu/dosincos.c: Likewise.
71197         * sysdeps/i386/fpu/mpa.c: Likewise.
71198         * sysdeps/i386/fpu/s_cos.S: Likewise.
71199         * sysdeps/i386/fpu/s_sin.S: Likewise.
71200         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71201         * sysdeps/i386/fpu/sincos32.c: Likewise.
71203         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71204         Define.
71205         (libc_feupdateenv_53bit): Define.
71206         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71207         Define.
71208         (libc_feupdateenv_53bit): Define.
71210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71211         53 bit (without extend i386 double precision).
71213         * math/libm-test.inc (sincos_test): Add tests for large input.
71214         (sin): Likewise.
71215         (cos): Likewise.
71217         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71219 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71223 2012-03-15  David S. Miller  <davem@davemloft.net>
71225         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71226         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71227         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71228         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71238         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71241         file.
71242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71244         file.
71245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71247         file.
71248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71250         file.
71251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71253         fmin/fmax sysdep routines.
71254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71256 2012-03-14  David S. Miller  <davem@davemloft.net>
71258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71261         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71263         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71264         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71265         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71279         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71280         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71281         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71282         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71283         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71284         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71285         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71286         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71287         routines.
71288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71289         file.
71290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71292         file.
71293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71295         file.
71296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71298         file.
71299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71301         file.
71302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71304         file.
71305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71306         file.
71307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71308         file.
71309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71310         file.
71311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71312         New file.
71313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71314         file.
71315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71316         file.
71317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71319         file.
71320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71322         file.
71323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71325         file.
71326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71328         VIS3 routines.
71330         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71331         New file.
71333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71335         * sysdeps/sparc/configure.in: New file.
71336         * sysdeps/sparc/configure: Generate.
71337         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71338         * configure: Regenerate.
71339         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71340         * config.make.in (have-as-vis3): New.
71341         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71342         available use -Av9d instead of -Av9a.
71343         * sysdeps/sparc/sparc64/Makefile: Likewise.
71344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71346         New file.
71347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71348         file.
71349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71350         New file.
71351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71352         file.
71353         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71355         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71356         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71357         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71359         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71360         fzeros/fnegs to load 0x80000000 into a float register instead of
71361         using the stack.
71362         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71364 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71367         bits/syscall.h.
71368         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71369         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71370         ($(inst_includedir)/bits/syscall.h): Remove rule.
71371         ($(objpfx)bits/syscall.d): Include instead of
71372         $(objpfx)syscall-list.d.
71373         (generated): Change syscall-list.h and syscall-list.d to
71374         bits/syscall.h and bits/syscall.d.
71376 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71378         [BZ #13846]
71379         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71381 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71383         [BZ #13841]
71384         * math/s_csqrt.c: Include <float.h>.
71385         (__csqrt): Scale large or subnormal inputs.
71386         * math/s_csqrtf.c: Likewise.
71387         * math/s_csqrtl.c: Likewise.
71388         * math/libm-test.inc (csqrt_test): Add more tests.
71389         * sysdeps/i386/fpu/libm-test-ulps: Update.
71390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71392         [BZ #13840]
71393         * math/libm-test.inc (hypot_test): Add more tests.
71395 2012-03-13  David S. Miller  <davem@davemloft.net>
71397         [BZ #13840]
71398         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71399         double-precision for the calculation instead of scaling.
71401 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71403         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71404         manipulate bits before adding and subtracting TWO52[sx].
71405         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71406         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71407         Likewise.
71408         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71410 2012-03-13  David S. Miller  <davem@davemloft.net>
71412         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71413         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71415         rtld-global-offsets.h
71416         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71418         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71419         large parameters.
71421         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71423         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71424         'err' in the ifdef scope in which it is actually used.
71426         * nss/nss_db/db-init.c: Include string.h
71428 2012-03-12  David S. Miller  <davem@davemloft.net>
71430         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71431         masking out of the most significant byte of random value used.
71432         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71433         Fix coding style in previous change.
71435         * sysdeps/unix/sysv/linux/kernel-features.h
71436         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71437         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71438         expression.
71439         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71440         later.
71442 2012-03-11  David S. Miller  <davem@davemloft.net>
71444         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71445         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71447         for 'resultvar' otherwise things get truncated on 64-bit.
71449         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71450         Fix masking out of the most significant byte of random value used.
71452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71454 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71458 2012-03-09  David S. Miller  <davem@davemloft.net>
71460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71461         variables with appropriate CPP guards.
71462         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71463         from the frame pointer, not the stack pointer.  Correct layout
71464         comments.  Fix test on resulting framesize and the management of
71465         the outregs buffer for pltexit.  Preserve floating point return
71466         values across _dl_call_pltexit call.
71467         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71468         framesize and the management of the outregs buffer for pltexit.
71469         Preserve floating point return values across _dl_call_pltexit
71470         call.
71471         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71472         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71473         (la_sparc64_gnu_pltexit): New functions.
71474         (print_exit): Fix format string for return register value.
71476 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71478         * sunrpc/Makefile (others): Add rpcgen.
71479         ($(objpfx)rpcgen): Remove special build rule and dependency on
71480         libc.
71481         * sunrpc/rpcgen.c: New file.
71483 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71485         [BZ #13673]
71486         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71487         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71488         * sysdeps/i386/crti.S: Likewise.
71489         * sysdeps/i386/crtn.S: Likewise.
71490         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71491         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71492         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71493         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71494         * sysdeps/sh/crti.S: Likewise.
71495         * sysdeps/sh/crtn.S: Likewise.
71496         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71498         [BZ #13673]
71499         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71500         with URL.
71501         * locale/programs/locfile-kw.gperf: Likewise.
71502         * locale/programs/charmap-kw.h: Regenerated.
71503         * locale/programs/locfile-kw.h: Likewise.
71505         [BZ #13673]
71506         * intl/plural.y: Replace FSF snail mail address with URL.
71507         * intl/plural.c: Regenerated.
71509 2012-03-09  Richard Henderson  <rth@twiddle.net>
71511         * include/math_private.h: Remove file.
71512         * math/math_private.h: Move file ...
71513         * sysdeps/generic/math_private.h: ... here.
71515         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71516         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71517         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71519         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71520         and <math_private.h>.
71521         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71522         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71523         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71524         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71525         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71526         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71527         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71528         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71529         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71530         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71531         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71532         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71533         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71535         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71536         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71537         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71538         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71539         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71540         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71542         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71543         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71545         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71546         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71547         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71548         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71550         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71551         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71552         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71553         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71554         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71555         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71556         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71557         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71558         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71559         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71560         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71561         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71562         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71563         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71564         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71565         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71566         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71567         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71568         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71572         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71573         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71574         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71575         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71576         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71577         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71578         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71579         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71580         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71581         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71582         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71584         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71585         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71586         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71593         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71594         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71595         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71597         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71598         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71599         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71600         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71601         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71603         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71604         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71605         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71606         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71608         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71609         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71610         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71611         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71612         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71613         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71614         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71615         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71616         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71617         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71618         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71619         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71620         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71621         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71622         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71623         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71624         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71625         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71626         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71627         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71628         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71629         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71630         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71631         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71632         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71633         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71634         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71635         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71636         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71637         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71638         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71639         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71640         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71641         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71642         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71643         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71644         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71645         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71646         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71647         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71648         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71649         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71650         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71651         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71652         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71653         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71654         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71655         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71656         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71657         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71658         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71659         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71660         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71661         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71662         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71663         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71664         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71665         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71666         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71667         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71668         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71669         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71670         * sysdeps/ieee754/k_standard.c: Likewise.
71671         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71672         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71673         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71674         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71675         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71676         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71677         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71678         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71679         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71680         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71681         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71682         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71683         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71684         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71685         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71686         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71687         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71688         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71689         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71690         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71691         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71692         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71693         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71694         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71695         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71696         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71697         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71698         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71699         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71700         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71701         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71702         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71703         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71704         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71705         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71706         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71707         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71708         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71709         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71710         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71711         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71712         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71713         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71714         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71715         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71716         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71717         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71718         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71719         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71720         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71721         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71722         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71723         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71724         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71725         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71726         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71727         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71728         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71729         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71730         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71731         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71732         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71733         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71734         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71736         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71737         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71740         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71741         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71744         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71745         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71746         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71747         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71748         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71749         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71750         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71751         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71753         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71755         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71756         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71757         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71759         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71761         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71762         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71763         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71764         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71765         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71766         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71767         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71768         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71769         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71770         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71772         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71773         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71774         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71775         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71776         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71777         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71778         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71779         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71780         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71781         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71782         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71783         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71784         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71785         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71786         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71787         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71788         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71789         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71790         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71791         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71792         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71794         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71795         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71796         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71797         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71798         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71799         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71800         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71801         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71802         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71803         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71804         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71805         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71806         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71807         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71808         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71809         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71810         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71811         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71812         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71813         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71814         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71815         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71817         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71818         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71819         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71820         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71821         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71822         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71823         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71824         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71825         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71826         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71827         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71828         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71829         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71830         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71831         * sysdeps/ieee754/s_lib_version.c: Likewise.
71832         * sysdeps/ieee754/s_matherr.c: Likewise.
71833         * sysdeps/ieee754/s_signgam.c: Likewise.
71834         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71835         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71836         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71837         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71838         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71839         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71840         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71841         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71842         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71843         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71844         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71845         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71846         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71847         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71848         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71849         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71850         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71851         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71852         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71853         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71854         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71856 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71858         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71859         * sunrpc/rpc_main.c: Likewise.
71860         * sunrpc/rpc_svcout.c: Likewise.
71862 2012-03-09  David S. Miller  <davem@davemloft.net>
71864         * include/math_private.h: New file.
71866 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71868         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71869         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71870         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71871         from <bits/socket_type.h>.
71872         (enum __socket_type): Don't define here.
71873         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71875         bits/socket_type.h.
71877         [BZ #13566]
71878         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71879         checking __USE_GNU.
71881         * Makerules ($(inst_includedir)/%.h): New rule.
71882         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71883         (install-others): Remove variable setting.
71884         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71886 2012-03-08  Richard Henderson  <rth@twiddle.net>
71888         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71889         from macro to inline function; merge with the
71890         !__LIBC_INTERNAL_MATH_INLINES version.
71891         (__ieee754_sqrtf): Likewise.
71893         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71894         to inline function.
71895         (__rintf, __floor, __floorf): Likewise.
71897         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71898         macro to inline function.
71899         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71901         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71902         not <math/math_private.h>.
71904 2012-03-08  David S. Miller  <davem@davemloft.net>
71906         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71907         copyright year.
71908         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71910 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71912         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71913         normalization.
71914         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71915         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71917 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71919         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71920         be defined individually, they must be defined as a block.  Define
71921         S for printing a string instead of hidint the different by using a
71922         macro for adding the 'l'.
71923         * stdio-common/tst-fphex-wide.c: Adjust.
71925 2012-03-07  Marek Polacek  <polacek@redhat.com>
71927         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71929 2012-03-08  Marek Polacek  <polacek@redhat.com>
71931         [BZ #13806]
71932         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71933         * stdio-common/tst-fphex.c: Define a few macros to make the
71934         test reusable.  Use them.
71935         * stdio-common/tst-fphex-wide.c: New file.
71937 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71939         [BZ #6911]
71940         * manual/macros.texi (gnusystems): New macro.
71941         (nongnusystems): Likewise.
71942         (gnulinuxhurdsystems): Likewise.
71943         (gnuhurdsystems): Likewise..
71944         (gnulinuxsystems): Likewise.
71945         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71946         variants of the GNU system, not "GNU system".
71947         * manual/conf.texi: Likewise.
71948         * manual/errno.texi: Likewise.  Update example of errno macro
71949         expansion.
71950         * manual/filesys.texi: Likewise.
71951         (getumask): Document as specific to GNU/Hurd.
71952         * manual/install.texi: Likewise.  Reword some references to
71953         GNU/Linux.
71954         * manual/intro.texi: Likewise.
71955         * manual/io.texi: Likewise.
71956         (File Name Portability): Detail which constraints are inapplicable
71957         to all GNU systems and which are only inapplicable to GNU/Hurd.
71958         * manual/job.texi: Likewise.
71959         * manual/llio.texi: Likewise.
71960         (O_NOCTTY): Document as present on GNU/Linux.
71961         * manual/maint.texi: Likewise.
71962         * manual/memory.texi: Likewise.
71963         * manual/pattern.texi: Likewise.
71964         * manual/pipe.texi: Likewise.
71965         * manual/process.texi: Likewise.
71966         * manual/resource.texi: Likewise.
71967         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71968         child on GNU/Hurd.
71969         * manual/setjmp.texi: Likewise.
71970         * manual/signal.texi: Likewise.
71971         * manual/startup.texi: Likewise.
71972         * manual/stdio.texi: Likewise.
71973         * manual/terminal.texi: Likewise.
71974         (ONLCR): Document as POSIX.
71975         (OXTABS): Document availability on GNU/Linux as XTABS.
71976         (ONOEOT): Document availability separately from other bits.
71977         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71978         * manual/time.texi: Likewise.
71979         * manual/users.texi: Likewise.
71980         * INSTALL: Regenerated.
71981         * sysdeps/gnu/errlist.c: Regenerated.
71983         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71984         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71985         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71986         puts.
71987         * configure: Regenerated.
71989 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71991         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71992         default includes instead of AC_HEADER_CHECK.
71993         * sysdeps/i386/configure: Regenerated.
71995         [BZ #10716]
71996         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71997         * math/s_cacoshf.c (__cacoshf): Likewise.
71998         * math/s_cacoshl.c (__cacoshl): Likewise.
71999         * math/s_casinh.c (__casinh): Set signs of result from argument.
72000         * math/s_casinhf.c (__casinhf): Likewise.
72001         * math/s_casinhl.c (__casinhl): Likewise.
72002         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72003         (casinh_test): Add more tests.
72004         * sysdeps/i386/fpu/libm-test-ulps: Update.
72005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72007 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72009         * po/zh_TW.po: Update from translation team.
72011         * login/Makefile (distribute): Remove variable.
72012         * catgets/Makefile: Likewise.
72013         * mach/Makefile: Likewise.
72014         * malloc/Makefile: Likewise.
72015         * misc/Makefile: Likewise.
72016         * iconv/Makefile: Likewise.
72017         * nscd/Makefile: Likewise.
72018         * hurd/Makefile: Likewise.
72019         * manual/Makefile: Likewise.
72020         * locale/Makefile: Likewise.
72021         * intl/Makefile: Likewise.
72022         * conform/Makefile: Likewise.
72023         * nss/Makefile: Likewise.
72024         * time/Makefile: Likewise.
72025         * soft-fp/Makefile: Likewise.
72026         * dirent/Makefile: Likewise.
72027         * gmon/Makefile: Likewise.
72028         * po/Makefile: Likewise.
72029         * rt/Makefile: Likewise.
72030         * socket/Makefile: Likewise.
72031         * math/Makefile: Likewise.
72032         * signal/Makefile: Likewise.
72033         * debug/Makefile: Likewise.
72034         * elf/Makefile: Likewise.
72035         * timezone/Makefile: Likewise.
72036         * stdlib/Makefile: Likewise.
72037         * iconvdata/Makefile: Likewise.
72038         * sunrpc/Makefile: Likewise.
72039         * io/Makefile: Likewise.
72040         * argp/Makefile: Likewise.
72041         * inet/Makefile: Likewise.
72042         * hesiod/Makefile: Likewise.
72043         * grp/Makefile: Likewise.
72044         * csu/Makefile: Likewise.
72045         * wctype/Makefile: Likewise.
72046         * crypt/Makefile: Likewise.
72047         * libio/Makefile: Likewise.
72048         * string/Makefile: Likewise.
72049         * nis/Makefile: Likewise.
72050         * resolv/Makefile: Likewise.
72051         * stdio-common/Makefile: Likewise.
72052         * wcsmbs/Makefile: Likewise.
72053         * dlfcn/Makefile: Likewise.
72054         * posix/Makefile: Likewise.
72056         [BZ #6959]
72057         * timezone/Makefile: Don't install timezone files, just the programs
72058         and scripts.
72060 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72062         * nss/databases.def: Add missing gshadow entry.
72064         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72066 2012-03-06  Marek Polacek  <polacek@redhat.com>
72068         [BZ #13726]
72069         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72070         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72071         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72072         * stdio-common/tst-long-dbl-fphex.c: New file.
72074 2012-03-06  David S. Miller  <davem@davemloft.net>
72076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72077         (set_obp_int): New function.
72078         (get_obp_int): New function.
72079         (__get_clockfreq_via_dev_openprom): Likewise.
72080         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72081         Avoid unused variable warnings on 'val' and use builtin_expect.
72082         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72083         __builtin_expect.
72084         (INLINE_CLONE_SYSCALL): Likewise.
72086 2012-03-05  David S. Miller  <davem@davemloft.net>
72088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72090 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72094         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72095         only for |x| >= 40.
72096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72098 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72101         Replace gettimeofday with __vdso_gettimeofday.
72103         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72104         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72105         __vdso_clock_gettime and __vdso_getcpu.
72107         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72108         time with __vdso_time.
72110 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72112         * manual/lang.texi (size_t): Note types to which size_t may be
72113         equivalent with the GNU C Library, but do not describe when
72114         differences between them are significant.
72116 2012-03-05  Andreas Jaeger  <aj@suse.de>
72118         * sysdeps/i386/fpu/libm-test-ulps: Update.
72120 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72122         [BZ #3976]
72123         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72124         (__ieee754_pow): Save and restore rounding mode and use
72125         round-to-nearest for main computations.
72126         * math/libm-test.inc (pow_test_tonearest): New function.
72127         (pow_test_towardzero): Likewise.
72128         (pow_test_downward): Likewise.
72129         (pow_test_upward): Likewise.
72130         (main): Call the new functions.
72131         * sysdeps/i386/fpu/libm-test-ulps: Update.
72132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72134         [BZ #3976]
72135         * math/libm-test.inc (cosh_test_tonearest): New function.
72136         (cosh_test_towardzero): Likewise.
72137         (cosh_test_downward): Likewise.
72138         (cosh_test_upward): Likewise.
72139         (sinh_test_tonearest): Likewise.
72140         (sinh_test_towardzero): Likewise.
72141         (sinh_test_downward): Likewise.
72142         (sinh_test_upward): Likewise.
72143         (main): Call the new functions.
72144         * sysdeps/i386/fpu/libm-test-ulps: Update.
72145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72147 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72149         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72150         default stack guard is set in last bytes.
72151         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72153 2012-03-05  Kees Cook  <keescook@chromium.org>
72155         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72157         [BZ #13656]
72158         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72159         possibly allocate from heap instead of stack.
72160         * stdio-common/bug-vfprintf-nargs.c: New file.
72161         * stdio-common/Makefile (tests): Add nargs overflow test.
72163 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72167 2012-03-03  Marek Polacek  <polacek@redhat.com>
72169         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72170         * math/math_private.h: Likewise.
72171         * stdlib/tst-strtod.c: Likewise.
72172         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72173         * sysdeps/x86_64/bits/atomic.h: Likewise.
72175 2012-03-02  David S. Miller  <davem@davemloft.net>
72177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72181         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72182         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72183         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72184         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72186 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72188         [BZ #13792]
72189         * manual/examples/README: New file, says the example source files
72190         can be used under GPL>=2.
72191         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72192         line containing just "*/".
72193         * manual/examples/add.c: Add copyright header (GPL>=2).
72194         * manual/examples/argp-ex1.c: Likewise.
72195         * manual/examples/argp-ex2.c: Likewise.
72196         * manual/examples/argp-ex3.c: Likewise.
72197         * manual/examples/argp-ex4.c: Likewise.
72198         * manual/examples/atexit.c: Likewise.
72199         * manual/examples/db.c: Likewise.
72200         * manual/examples/dir.c: Likewise.
72201         * manual/examples/dir2.c: Likewise.
72202         * manual/examples/execinfo.c: Likewise.
72203         * manual/examples/filecli.c: Likewise.
72204         * manual/examples/filesrv.c: Likewise.
72205         * manual/examples/fmtmsgexpl.c: Likewise.
72206         * manual/examples/genpass.c: Likewise.
72207         * manual/examples/inetcli.c: Likewise.
72208         * manual/examples/inetsrv.c: Likewise.
72209         * manual/examples/isockad.c: Likewise.
72210         * manual/examples/longopt.c: Likewise.
72211         * manual/examples/memopen.c: Likewise.
72212         * manual/examples/memstrm.c: Likewise.
72213         * manual/examples/mkfsock.c: Likewise.
72214         * manual/examples/mkisock.c: Likewise.
72215         * manual/examples/mygetpass.c: Likewise.
72216         * manual/examples/pipe.c: Likewise.
72217         * manual/examples/popen.c: Likewise.
72218         * manual/examples/rprintf.c: Likewise.
72219         * manual/examples/search.c: Likewise.
72220         * manual/examples/select.c: Likewise.
72221         * manual/examples/setjmp.c: Likewise.
72222         * manual/examples/sigh1.c: Likewise.
72223         * manual/examples/sigusr.c: Likewise.
72224         * manual/examples/stpcpy.c: Likewise.
72225         * manual/examples/strdupa.c: Likewise.
72226         * manual/examples/strftim.c: Likewise.
72227         * manual/examples/strncat.c: Likewise.
72228         * manual/examples/subopt.c: Likewise.
72229         * manual/examples/swapcontext.c: Likewise.
72230         * manual/examples/termios.c: Likewise.
72231         * manual/examples/testopt.c: Likewise.
72232         * manual/examples/testpass.c: Likewise.
72233         * manual/examples/timeval_subtract.c: Likewise.
72235         [BZ #13792]
72236         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72237         function to ...
72238         * manual/timeval_subtract.c.texi: ... here, new file.
72240 2012-03-02  David S. Miller  <davem@davemloft.net>
72242         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72244 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72246         [BZ #3976]
72247         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72248         (__sin): Save and restore rounding mode and use round-to-nearest
72249         for all computations.
72250         (__cos): Save and restore rounding mode and use round-to-nearest
72251         for all computations.
72252         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72253         <fenv.h>.
72254         (tan): Save and restore rounding mode and use round-to-nearest for
72255         all computations.
72256         * math/libm-test.inc (cos_test_tonearest): New function.
72257         (cos_test_towardzero): Likewise.
72258         (cos_test_downward): Likewise.
72259         (cos_test_upward): Likewise.
72260         (sin_test_tonearest): Likewise.
72261         (sin_test_towardzero): Likewise.
72262         (sin_test_downward): Likewise.
72263         (sin_test_upward): Likewise.
72264         (tan_test_tonearest): Likewise.
72265         (tan_test_towardzero): Likewise.
72266         (tan_test_downward): Likewise.
72267         (tan_test_upward): Likewise.
72268         (main): Call the new functions.
72269         * sysdeps/i386/fpu/libm-test-ulps: Update.
72270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72272         [BZ #10135]
72273         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72274         small n, then large n, before computing and testing k+n.
72275         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72276         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72277         Likewise.
72278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72279         Likewise.
72280         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72281         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72282         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72283         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72286         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72287         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72288         * math/libm-test.inc (scalbn_test): Add more tests.
72289         (scalbln_test): Likewise.
72291         * manual/filesys.texi (mode_t): Describe constraints on size and
72292         signedness, not exact equivalence to a particular type.
72293         (ino_t): Likewise.
72294         (ino64_t): Likewise.
72295         (dev_t): Likewise.
72296         (nlink_t): Likewise.
72297         (blkcnt_t): Likewise.
72298         (blkcnt64_t): Likewise.
72299         * manual/llio.texi (off_t): Likewise.
72301         [BZ #3976]
72302         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72303         (__ieee754_exp): Save and restore rounding mode and use
72304         round-to-nearest for all computations.
72305         * math/libm-test.inc (exp_test_tonearest): New function.
72306         (exp_test_towardzero): Likewise.
72307         (exp_test_downward): Likewise.
72308         (exp_test_upward): Likewise.
72309         (main): Call the new functions.
72310         * sysdeps/i386/fpu/libm-test-ulps: Update.
72311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72313 2012-03-01  Chris Demetriou  <cgd@google.com>
72315         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72316         have predictable order.
72318 2012-03-01  David S. Miller  <davem@davemloft.net>
72320         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72322         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72323         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72324         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72325         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72327         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72328         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72329         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72331         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72332         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72333         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72334         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72335         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72339         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72340         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72341         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72343         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72344         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72345         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72346         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72347         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72348         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72349         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72350         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72351         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72352         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72353         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72354         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72356         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72357         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72359         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72360         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72361         * sysdeps/sparc/elf/configure: Regenerated.
72363 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72365         * configure.in (AS, LD): Require binutils 2.20 or later.
72366         * configure: Regenerated.
72367         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72368         as required minimum version.
72369         * INSTALL: Regenerated.
72371         [BZ #2541]
72372         [BZ #4108]
72373         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72374         before squaring exponent.
72375         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72376         bottom long double and 27 bits of top long double before squaring
72377         exponent.
72378         * math/libm-test.inc (erfc_test): Add more tests.
72379         * sysdeps/i386/fpu/libm-test-ulps: Update.
72380         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72383 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72385         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72386         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72387         containing bit-fields.
72388         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72389         * soft-fp/single.h (_FP_UNION_S): Likewise.
72390         * soft-fp/double.h (_FP_UNION_D): Likewise.
72392 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72394         [BZ #13786]
72395         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72396         not include ../strcmp.S.
72397         [USE_AS_STRNCASECMP_L]: Likewise.
72398         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72399         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72400         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72401         (__strncasecmp_l_ia32): Define as alias to
72402         __strncasecmp_l_nonascii.
72404         [BZ #5794]
72405         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72406         * sysdeps/i386/fpu/libm-test-ulps: Update.
72407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72409         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72412 2012-02-29  Jeff Law  <law@redhat.com>
72414         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72415         out of bounds read.
72417 2012-02-29  Marek Polacek  <polacek@redhat.com>
72419         [BZ #13706]
72420         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72421         * elf/Makefile: Add rules to run tst-unused-dep.out.
72423 2012-02-28  David S. Miller  <davem@davemloft.net>
72425         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72426         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72427         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72428         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72429         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72430         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72432 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72434         * math/libm-test.inc (llround_test): Move one test from
72435         lround_test.  Use TEST_f_L in moved test.
72436         (lround_test): Move misplaced test to llround_test.  Add testcase
72437         from bug 2561.
72439 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72441         * sysdeps/x86_64/fpu/e_expf.S: New file.
72442         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72444 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72446         [BZ #13637]
72447         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72448         of remain_len that may cause incomplete multi-byte character and
72449         false match.
72450         * posix/bug-regex33.c: New file.
72451         * posix/Makefile (tests): Add bug-regex33.
72453 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72455         * manual/macros.texi: New file.
72456         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72457         * manual/libc.texinfo: Include macros.texi.
72458         * manual/creatute.texi: Likewise.
72459         * manual/install.texi: Likewise.
72460         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72461         @glibcadj{} in references to the GNU C Library.
72462         * manual/charset.texi: Likewise.
72463         * manual/conf.texi: Likewise.
72464         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72465         when not using those macros.
72466         * manual/creature.texi: Likewise.
72467         * manual/crypt.texi: Likewise.
72468         * manual/errno.texi: Likewise.
72469         * manual/filesys.texi: Likewise.
72470         * manual/header.texi: Likewise.
72471         * manual/install.texi: Likewise.
72472         * manual/intro.texi: Likewise.
72473         * manual/io.texi: Likewise.
72474         * manual/job.texi: Likewise.
72475         * manual/lang.texi: Likewise.
72476         * manual/libc.texiinfo: Likewise.
72477         * manual/llio.texi: Likewise.
72478         * manual/locale.texi: Likewise.
72479         * manual/maint.texi: Likewise.
72480         * manual/math.texi: Likewise.
72481         * manual/memory.texi: Likewise.
72482         * manual/message.texi: Likewise.
72483         * manual/nss.texi: Likewise.
72484         * manual/pattern.texi: Likewise.
72485         * manual/process.texi: Likewise.
72486         * manual/resource.texi: Likewise.
72487         * manual/search.texi: Likewise.
72488         * manual/setjmp.texi: Likewise.
72489         * manual/signal.texi: Likewise.
72490         * manual/socket.texi: Likewise.
72491         * manual/startup.texi: Likewise.
72492         * manual/stdio.texi: Likewise.
72493         * manual/string.texi: Likewise.
72494         * manual/sysinfo.texi: Likewise.
72495         * manual/syslog.texi: Likewise.
72496         * manual/terminal.texi: Likewise.
72497         * manual/time.texi: Likewise.
72498         * manual/users.texi: Likewise.
72499         * INSTALL: Regenerated.
72500         * NOTES: Regenerated.
72501         * sysdeps/gnu/errlist.c: Regenerated.
72503 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72505         * include/dirent.h: Include <dirstream.h> before
72506         <dirent/dirent.h>.
72508 2012-02-28  David S. Miller  <davem@davemloft.net>
72510         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72511         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72512         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72513         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72515 2012-02-27  David S. Miller  <davem@davemloft.net>
72517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72519         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72520         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72523         frame pointer instead of stack pointer relative arg slot.
72524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72525         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72526         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72528 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72530         [BZ #3992]
72531         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72533 2012-02-27  David S. Miller  <davem@davemloft.net>
72535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72539         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72540         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72541         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72542         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72544 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72546         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72547         later.  Allow versions 5-9.
72548         * configure: Regenerated.
72549         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72550         required minimum version and 4.6 as recommended version.  Do not
72551         mention bugs in GCC 2.7 and 2.8.
72552         * INSTALL: Regenerated.
72554 2012-02-27  David S. Miller  <davem@davemloft.net>
72556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72562         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72563         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72565         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72566         manipulate bits before adding and subtracting TWO112[sx].
72567         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72569 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72571         [BZ #13775]
72572         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72573         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72574         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72575         being in POSIX, because they are in 1003.1-2008.
72577         * rt/tst-aio.c: Include <fcntl.h>.
72578         * rt/tst-aio7.c: Likewise.
72579         * rt/tst-aio64.c: Likewise.
72581         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72583 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72585         * manual/install.texi (--with-headers): Describe headers as
72586         interface headers, not private headers.
72587         (Specific advice for GNU/Linux systems): Describe use of headers
72588         from "make headers_install", not private headers from older
72589         kernels.
72590         * INSTALL: Regenerated.
72591         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72592         Change to 2.6.19.
72593         * sysdeps/unix/sysv/linux/configure: Regenerated.
72595         * manual/llio.texi (fclean): Remove documentation.
72597         * manual/Makefile (libc-texi-generated): New variable.  Include
72598         version.texi.
72599         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72600         $(libc-texi-generated), not duplicated list of files.
72601         (version.texi, stamp-version): New rules.
72602         (realclean): Remove $(libc-texi-generated), not individual files
72603         from that list.  Do not remove dir-add.texinfo.
72604         * manual/libc.texinfo: Comment out uses of edition numbers and
72605         references to printed manual.  Remove last-updated dates.
72606         (EDITION): Comment out.
72607         (ISBN): Likewise.
72608         (VERSION, UPDATED): Remove.
72609         (version.texi): Include.
72611 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72613         * sysdeps/posix/spawni.c: Include <signal.h>.
72614         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72615         * sysdeps/pthread/aio_fsync.c: Likewise.
72617 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72619         * conform/Makefile (tests): Run only when not cross-compiling and
72620         when fast-check is not defined.
72622         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72623         * conform/data/limits.h-data: Fixes for POSIX2008.
72624         * conform/run-conformtest.sh: Run all tests.
72625         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72626         headers.
72627         * include/bits/dlfcn.h: Likewise.
72628         * include/langinfo.h: Likewise.
72629         * include/monetary.h: Likewise.
72630         * include/sys/poll.h: Likewise.
72632         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72633         for __USE_GNU.
72634         * posix/spawn.h: Define __need_sigset_t.
72635         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72636         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72637         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72638         to get sigevent_t only.
72639         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72640         only for __USE_GNU.
72641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72642         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72643         process_vm_writev only for __USE_GNU.
72644         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72646         * conform/Makefile: For now ignore errors from run-conformtest.
72647         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72648         POSIX to avoid namespace pollution.  Don't prepend headers.
72649         * conform/data/aio.h-data: Fixes for POSIX testing.
72650         * conform/data/fcntl.h-data: Likewise.
72651         * conform/data/glob.h-data: Likewise.
72652         * conform/data/grp.h-data: Likewise.
72653         * conform/data/pthread.h-data: Likewise.
72654         * conform/data/pwd.h-data: Likewise.
72655         * conform/data/signal.h-data: Likewise.
72656         * conform/data/spawn.h-data: Likewise.
72657         * conform/data/stdio.h-data: Likewise.
72658         * conform/data/stdlib.h-data: Likewise.
72659         * conform/data/stropts.h-data: Likewise.
72660         * conform/data/sys/mman.h-data: Likewise.
72661         * conform/data/sys/stat.h-data: Likewise.
72662         * conform/data/sys/types.h-data: Likewise.
72663         * conform/data/sys/wait.h-data: Likewise.
72664         * conform/data/time.h-data: Likewise.
72665         * conform/data/unistd.h-data: Likewise.
72666         * conform/data/utime.h-data: Likewise.
72668         * io/sys/stat.h: fchmod was always in POSIX.
72669         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72670         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72671         * rt/aio.h: Define __need_timespec before including <time.h>.
72672         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72673         struct.  Add forward declaration of pthread_attr_t and use it in
72674         sigevent.
72675         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72676         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72677         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72678         always remove CLK_TCK definition.
72680 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72682         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72684 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72686         * conform/run-conformtest.sh: New file.
72687         * conform/Makefile: Run run-conformtest for tests.
72688         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72689         support.
72691         * conform/data/uchar.h-data: New file.
72692         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72693         * conform/data/arpa/inet.h-data: Likewise.
72694         * conform/data/assert.h-data: Likewise.
72695         * conform/data/complex.h-data: Likewise.
72696         * conform/data/cpio.h-data: Likewise.
72697         * conform/data/ctype.h-data: Likewise.
72698         * conform/data/dirent.h-data: Likewise.
72699         * conform/data/dlfcn.h-data: Likewise.
72700         * conform/data/errno.h-data: Likewise.
72701         * conform/data/fcntl.h-data: Likewise.
72702         * conform/data/float.h-data: Likewise.
72703         * conform/data/fmtmsg.h-data: Likewise.
72704         * conform/data/fnmatch.h-data: Likewise.
72705         * conform/data/ftw.h-data: Likewise.
72706         * conform/data/glob.h-data: Likewise.
72707         * conform/data/grp.h-data: Likewise.
72708         * conform/data/iconv.h-data: Likewise.
72709         * conform/data/inttypes.h-data: Likewise.
72710         * conform/data/langinfo.h-data: Likewise.
72711         * conform/data/libgen.h-data: Likewise.
72712         * conform/data/limits.h-data: Likewise.
72713         * conform/data/locale.h-data: Likewise.
72714         * conform/data/math.h-data: Likewise.
72715         * conform/data/monetary.h-data: Likewise.
72716         * conform/data/mqueue.h-data: Likewise.
72717         * conform/data/ndbm.h-data: Likewise.
72718         * conform/data/net/if.h-data: Likewise.
72719         * conform/data/netdb.h-data: Likewise.
72720         * conform/data/netinet/in.h-data: Likewise.
72721         * conform/data/nl_types.h-data: Likewise.
72722         * conform/data/poll.h-data: Likewise.
72723         * conform/data/pthread.h-data: Likewise.
72724         * conform/data/pwd.h-data: Likewise.
72725         * conform/data/regex.h-data: Likewise.
72726         * conform/data/sched.h-data: Likewise.
72727         * conform/data/search.h-data: Likewise.
72728         * conform/data/semaphore.h-data: Likewise.
72729         * conform/data/setjmp.h-data: Likewise.
72730         * conform/data/signal.h-data: Likewise.
72731         * conform/data/spawn.h-data: Likewise.
72732         * conform/data/stdarg.h-data: Likewise.
72733         * conform/data/stdio.h-data: Likewise.
72734         * conform/data/stdlib.h-data: Likewise.
72735         * conform/data/string.h-data: Likewise.
72736         * conform/data/strings.h-data: Likewise.
72737         * conform/data/stropts.h-data: Likewise.
72738         * conform/data/sys/ipc.h-data: Likewise.
72739         * conform/data/sys/mman.h-data: Likewise.
72740         * conform/data/sys/msg.h-data: Likewise.
72741         * conform/data/sys/resource.h-data: Likewise.
72742         * conform/data/sys/select.h-data: Likewise.
72743         * conform/data/sys/sem.h-data: Likewise.
72744         * conform/data/sys/shm.h-data: Likewise.
72745         * conform/data/sys/socket.h-data: Likewise.
72746         * conform/data/sys/stat.h-data: Likewise.
72747         * conform/data/sys/statvfs.h-data: Likewise.
72748         * conform/data/sys/time.h-data: Likewise.
72749         * conform/data/sys/timeb.h-data: Likewise.
72750         * conform/data/sys/times.h-data: Likewise.
72751         * conform/data/sys/types.h-data: Likewise.
72752         * conform/data/sys/uio.h-data: Likewise.
72753         * conform/data/sys/un.h-data: Likewise.
72754         * conform/data/sys/utsname.h-data: Likewise.
72755         * conform/data/sys/wait.h-data: Likewise.
72756         * conform/data/syslog.h-data: Likewise.
72757         * conform/data/tar.h-data: Likewise.
72758         * conform/data/termios.h-data: Likewise.
72759         * conform/data/utime.h-data: Likewise.
72760         * conform/data/utmpx.h-data: Likewise.
72761         * conform/data/varargs.h-data: Likewise.
72762         * conform/data/wchar.h-data: Likewise.
72763         * conform/data/wctype.h-data: Likewise.
72764         * conform/data/wordexp.h-data: Likewise.
72766         * include/stropts.h: New file.
72767         * include/uchar.h: New file.
72768         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72769         * include/assert.h: Likewise.
72770         * include/ctype.h: Likewise.
72771         * include/dirent.h: Likewise.
72772         * include/dlfcn.h: Likewise.
72773         * include/fcntl.h: Likewise.
72774         * include/fnmatch.h: Likewise.
72775         * include/glob.h: Likewise.
72776         * include/grp.h: Likewise.
72777         * include/libio.h: Likewise.
72778         * include/locale.h: Likewise.
72779         * include/math.h: Likewise.
72780         * include/net/if.h: Likewise.
72781         * include/netdb.h: Likewise.
72782         * include/netinet/in.h: Likewise.
72783         * include/pthread.h: Likewise.
72784         * include/pwd.h: Likewise.
72785         * include/regex.h: Likewise.
72786         * include/sched.h: Likewise.
72787         * include/search.h: Likewise.
72788         * include/setjmp.h: Likewise.
72789         * include/signal.h: Likewise.
72790         * include/stdio.h: Likewise.
72791         * include/stdlib.h: Likewise.
72792         * include/string.h: Likewise.
72793         * include/sys/cdefs.h: Likewise.
72794         * include/sys/mman.h: Likewise.
72795         * include/sys/msg.h: Likewise.
72796         * include/sys/resource.h: Likewise.
72797         * include/sys/select.h: Likewise.
72798         * include/sys/socket.h: Likewise.
72799         * include/sys/stat.h: Likewise.
72800         * include/sys/statvfs.h: Likewise.
72801         * include/sys/time.h: Likewise.
72802         * include/sys/times.h: Likewise.
72803         * include/sys/uio.h: Likewise.
72804         * include/sys/utsname.h: Likewise.
72805         * include/sys/wait.h: Likewise.
72806         * include/termios.h: Likewise.
72807         * include/time.h: Likewise.
72808         * include/ulimit.h: Likewise.
72809         * include/unistd.h: Likewise.
72810         * include/utime.h: Likewise.
72811         * include/wchar.h: Likewise.
72812         * include/wctype.h: Likewise.
72813         * include/wordexp.h: Likewise.
72815         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72817         * time/time.h: TIME_UTC must be a macro.
72818         Make timespec_get available for ISO C11 only as well.
72820 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72822         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72823         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72825 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72827         * configure.in: Use -o not -a in test for unsupported multi-arch.
72829 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72831         * manual/texinfo.tex: Update to version 2012-01-19.16.
72833 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72835         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72837 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72839         [BZ #13738]
72840         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72841         * manual/fdl-1.3.texi: New file.
72842         * manual/fdl-1.1.texi: File removed.
72844         [BZ #13738]
72845         * manual/libc.texinfo (FDL_VERSION): New @set.
72846         Use it for mention of FDL in cover text.
72847         (Documentation License): Use it in @include file name.
72849 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72850             Roland McGrath  <roland@hack.frob.com>
72852         [BZ #5461]
72853         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72854         (not LONG_LONG_MAX and LONG_LONG_MIN.
72855         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72856         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72857         name.
72858         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72860 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72862         [BZ #2547]
72863         [BZ #11365]
72864         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72865         manipulate bits before adding and subtracting TWO23[sx].
72866         * math/libm-test.inc (nearbyint_test): Add more tests.
72868 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72870         [BZ #2548]
72871         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72872         bits before adding and subtracting TWO23[sx].
72873         * math/libm-test.inc (rint_test): Add more tests.
72874         (rint_test_tonearest): Likewise.
72875         (rint_test_towardzero): Likewise.
72876         (rint_test_downward): Likewise.
72877         (rint_test_upward: Likewise.
72879 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72881         [BZ #10110]
72882         * include/stdc-predef.h: New file.  Extracted from features.h.
72883         * include/features.h: Include stdc-predef.h.
72884         * Makefile (headers): Add stdc-predef.h.
72885         * CONFORMANCE (Compiler limitations): Update.
72887 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72889         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72891 2012-02-21  David S. Miller  <davem@davemloft.net>
72893         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72894         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72896 2012-02-20  David S. Miller  <davem@davemloft.net>
72898         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72899         using a normal save/restore sequence, rather than allocating a
72900         dummy stack frame just to store a frame pointer and restore.
72901         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72903 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72905         * manual/install.texi: Fix stray word in line-wrapped comment.
72907 2012-02-20  David S. Miller  <davem@davemloft.net>
72909         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72910         both binutils and gcc support GOTDATA.
72912         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72913         "rd %pc" in the PIC register setup sequences.
72915         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72916         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72917         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72918         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72919         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72921         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72922         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72924         (SYSCALL_ERROR_HANDLER): Likewise.
72925         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72926         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72927         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72928         (SYSCALL_ERROR_HANDLER): Likewise.
72930         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72931         (HAVE_GCC_GOTDATA): New.
72932         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72933         relocation support in both binutils and gcc.
72934         * sysdeps/sparc/elf/configure: Regenerate.
72936         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72937         * sysdeps/sparc/sparc32/elf/configure: Delete.
72938         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72939         * sysdeps/sparc/sparc64/elf/configure: Delete.
72940         * sysdeps/sparc/elf/configure.in: New file.
72941         * sysdeps/sparc/elf/configure: Generate.
72943         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72944         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72945         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72946         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72947         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72949 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72951         * manual/install.texi: Do not mention specific glibc version
72952         numbers.
72953         * manual/libc.texinfo (VERSION, UPDATED): Update.
72954         (@copying): Use @copyright{} and range of years.
72956 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72958         [BZ #13695]
72959         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72960         [crti.S not in sysdirs] (generated): Do not append.
72961         [crti.S not in sysdirs] (omit-deps): Likewise.
72962         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72963         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72964         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72965         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72966         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72967         Likewise.
72968         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72969         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72970         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72971         * csu/defs.awk: Remove file.
72972         * sysdeps/generic/initfini.c: Likewise.
72973         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72974         variable.
72975         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72976         Likewise.
72978 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72980         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72981         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72982         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72983         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72984         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72985         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72986         <bits/epoll.h>.
72987         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72988         (__EPOLL_PACKED): Define to empty if not defined by
72989         <bits/epoll.h>.
72990         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72992         bits/epoll.h.
72994 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72996         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72997         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72998         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72999         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73000         <bits/timerfd.h>.
73001         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73003         bits/timerfd.h.
73005 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73007         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73008         in C locale.
73009         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73010         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73011         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73014 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73016         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73017         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73019 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73021         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73022         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73023         defined.
73024         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73025         Likewise.
73026         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73027         entry for 2.16.
73029 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73031         * math/w_acos.c: Use non-signaling floating-point comparisons.
73032         * math/w_acosf.c: Likewise.
73033         * math/w_acosh.c: Likewise.
73034         * math/w_acoshf.c: Likewise.
73035         * math/w_acoshl.c: Likewise.
73036         * math/w_acosl.c: Likewise.
73037         * math/w_asin.c: Likewise.
73038         * math/w_asinf.c: Likewise.
73039         * math/w_asinl.c: Likewise.
73040         * math/w_atanh.c: Likewise.
73041         * math/w_atanhf.c: Likewise.
73042         * math/w_atanhl.c: Likewise.
73043         * math/w_exp2.c: Likewise.
73044         * math/w_exp2f.c: Likewise.
73045         * math/w_exp2l.c: Likewise.
73046         * math/w_j0.c: Likewise.
73047         * math/w_j0f.c: Likewise.
73048         * math/w_j0l.c: Likewise.
73049         * math/w_j1.c: Likewise.
73050         * math/w_j1f.c: Likewise.
73051         * math/w_j1l.c: Likewise.
73052         * math/w_jn.c: Likewise.
73053         * math/w_jnf.c: Likewise.
73054         * math/w_log.c: Likewise.
73055         * math/w_log10.c: Likewise.
73056         * math/w_log10f.c: Likewise.
73057         * math/w_log10l.c: Likewise.
73058         * math/w_log2.c: Likewise.
73059         * math/w_log2f.c: Likewise.
73060         * math/w_log2l.c: Likewise.
73061         * math/w_logf.c: Likewise.
73062         * math/w_logl.c: Likewise.
73063         * math/w_sqrt.c: Likewise.
73064         * math/w_sqrtf.c: Likewise.
73065         * math/w_sqrtl.c: Likewise.
73066         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73067         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73068         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73069         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73070         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73072 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73074         [BZ #9739]
73075         * manual/string.texi (strnlen): Use correct parameter name in
73076         equivalent expression.
73078 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73080         [BZ #11174]
73081         * manual/users.texi (seteuid): Consistently use neweuid for
73082         argument name.
73084 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73086         [BZ #13704]
73087         * manual/nss.texi (Services in the NSS configuration): Correct
73088         list of services in example configuration file.
73090 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73092         [BZ #11322]
73093         * manual/arith.texi: Remove statements about negative zero
73094         behaving identically to zero.
73096 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73098         [BZ #5993]
73099         * manual/install.texi: Do not document upgrading from libc5.
73101 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73103         [BZ #4596]
73104         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73106 2012-02-18  David S. Miller  <davem@davemloft.net>
73108         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73109         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73110         %o7 across the call.
73111         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73112         instead.
73113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73114         SETUP_PIC_REG_LEAF.
73115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73116         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73117         * sysdeps/sparc/crtn.S: Likewise.
73119 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73121         * aout/Makefile: Remove.
73123 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73125         [BZ #13058]
73126         * manual/examples/argp-ex1.c (main): Format definition in GNU
73127         style.
73128         * manual/examples/argp-ex2.c (main): Likewise.
73129         * manual/examples/argp-ex3.c (main): Likewise.
73130         * manual/examples/argp-ex4.c (main): Likewise.
73131         * manual/examples/longopt.c (main): Use new-style prototype
73132         definition.
73133         * manual/examples/strncat.c (main): Specify return type and use
73134         (void) for arguments.
73135         * manual/examples/subopt.c (main): Use char **argv argument.
73137 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73139         [BZ #5077]
73140         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73141         rounding modes.
73143 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73145         [BZ #6907]
73146         * manual/string.texi (strchr): Change when strchrnul is
73147         recommended.
73149 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73151         [BZ #174]
73152         * manual/locale.texi (setlocale): Document LOCPATH.
73154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73156         [BZ #10210]
73157         * manual/process.texi (execle): Move @dots{} before last argument.
73159 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73161         [BZ #12047]
73162         * manual/charset.texi (Generic Charset Conversion): Fix typo
73163         (LC_TYPE -> LC_CTYPE).
73165 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73167         [BZ #5805]
73168         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73169         (scalbnf): Likewise.
73170         (scalbnl): Likewise.
73171         (scalbln): Likewise.
73172         (scalblnf): Likewise.
73173         (scalblnl): Likewise.
73174         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73175         (vwarnx): Likewise.
73176         (verr): Likewise.
73177         (verrx): Likewise.
73178         * manual/filesys.texi (telldir): Use braces around return type.
73179         * manual/llio.texi (mmap): Add space after comma.
73180         (mmap64): Likewise.
73181         * manual/math.texi (jn): Use @var{} on parameter names.
73182         (jnf): Likewise.
73183         (jnl): Likewise.
73184         (yn): Likewise.
73185         (ynf): Likewise.
73186         (ynl): Likewise.
73187         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73188         line.
73189         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73190         "...".
73191         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73192         (sched_get_priority_max): Likewise.
73193         * manual/signal.texi (sigvec): Add space after comma.
73194         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73195         names.
73196         (if_indextoname): Likewise.
73197         (if_freenameindex): Likewise.
73198         (sendto): Use ',' instead of '.' in prototype.
73199         * manual/startup.texi (syscall): Use @dots{} instead of literal
73200         "...".
73201         * manual/stdio.texi (__fpending): Separate initial words of
73202         paragraph from @deftypefun line.
73203         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73204         "...".
73205         (vsyslog): Use @var{} on parameter names.
73206         * manual/terminal.texi (stty): Use @var{} on parameter names.
73207         * manual/users.texi (getutmp): Use @var{} on parameter names.
73208         (getutmpx): Likewise.
73210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73212         [BZ #6884]
73213         * manual/stdio.texi (fopen): Fix typos in description of
73214         ",ccs=STRING".
73216 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73218         [BZ #4026]
73219         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73220         get clock_id definition.
73222 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73224         [BZ #4822]
73225         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73226         (madvise): Cast every argument to void on its own.
73228 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73230         [BZ #9902]
73231         * manual/startup.texi (Exit Status): Fix typo.
73233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73235         [BZ #10140]
73236         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73237         * manual/examples/argp-ex2.c: Likewise.
73238         * manual/examples/argp-ex3.c: Likewise.
73240 2012-02-16  Richard Henderson  <rth@redhat.com>
73242         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73243         * sysdeps/s390/s390-32/initfini.c: Remove.
73244         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73245         * sysdeps/s390/s390-64/initfini.c: Remove.
73247 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73249         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73250         compiler output for sysdeps/generic/initfini.c.
73251         * sysdeps/sh/elf/initfini.c: Remove file.
73253 2012-02-16  David S. Miller  <davem@davemloft.net>
73255         [BZ #11494]
73256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73258         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73259         * sysdeps/sparc/crti.S: New file.
73260         * sysdeps/sparc/crtn.S: New file.
73261         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73262         * sysdeps/sparc/sparc64/Makefile: Likewise.
73264 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73266         [BZ #3335]
73267         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73269 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73271         [BZ #4822]
73272         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73274         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73275         (write, read, close): Likewise.
73276         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73278 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73280         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73281         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73282         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73283         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73284         <bits/signalfd.h>.
73285         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73287         bits/signalfd.h.
73289 2012-02-14  Marek Polacek  <polacek@redhat.com>
73291         * sysdeps/x86_64/crti.S: New file.
73292         * sysdeps/x86_64/crtn.S: New file.
73293         * sysdeps/x86_64/elf/initfini.c: Remove file.
73295 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73297         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73298         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73299         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73300         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73301         <bits/inotify.h>.
73302         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73304         bits/inotify.h.
73306 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73308         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73309         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73310         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73311         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73312         <bits/eventfd.h>.
73313         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73315         bits/eventfd.h.
73317 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73319         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73320         __feraiseexcept instead of feraiseexcept.
73322         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73323         nanosleep invocations.
73324         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73325         strings, and add error checking for a nanosleep invocations.
73327 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73329         Replace FSF snail mail address with URLs, as per GNU coding standards.
73330         Most of the snail mail addresses were wrong anyway, and omitting
73331         them makes the source code easier to maintain.  Almost all of the
73332         changes are to license notices and to locale LC_IDENTIFICATION
73333         addresses, except for this one:
73334         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73335         not its snail mail address.
73337 2012-02-09  Richard Henderson  <rth@twiddle.net>
73339         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73340         of kernel-features.h.
73342         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73344 2012-02-08  Marek Polacek  <polacek@redhat.com>
73346         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73347         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73348         * sysdeps/gnu/_G_config.h: Likewise.
73349         * sysdeps/generic/_G_config.h: Likewise.
73351 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73353         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73354         tests.
73355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73357         * sysdeps/powerpc/powerpc32/crti.S: New file.
73358         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73359         * sysdeps/powerpc/powerpc64/crti.S: New file.
73360         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73362         * Makeconfig (have-initfini): Don't set.
73363         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73364         * configure.in (nopic_initfini): Don't substitute.
73365         * config.h.in (HAVE_INITFINI): Don't #undef.
73366         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73367         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73369 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73371         Support crti.S and crtn.S provided directly by architectures.
73372         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73373         [crti.S in sysdirs] (omit-deps): Likewise.
73374         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73375         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73376         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73377         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73378         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73379         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73380         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73381         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73382         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73383         compiler output for sysdeps/generic/initfini.c.
73384         * sysdeps/i386/elf/Makefile: Remove file.
73385         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73387 2012-02-07  Marek Polacek  <polacek@redhat.com>
73389         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73390         * sysdeps/gnu/_G_config.h: Likewise.
73391         * sysdeps/mach/hurd/_G_config.h: Likewise.
73393 2012-02-07  Marek Polacek  <polacek@redhat.com>
73395         * math/Makefile (tests): Add tst-CMPLX2.
73396         * math/tst-CMPLX2.c: New file.
73398 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73400         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73402         * math/libm-test.inc (jn_test): Add missing L suffix.
73404 2012-02-06  Marek Polacek  <polacek@redhat.com>
73406         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73407         * sysdeps/i386/fpu/e_powf.S: Likewise.
73408         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73409         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73410         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73411         * sysdeps/i386/fpu/e_pow.S: Likewise.
73412         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73413         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73414         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73415         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73416         * sysdeps/i386/fpu/e_log2.S: Likewise.
73417         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73418         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73419         * sysdeps/i386/fpu/e_powl.S: Likewise.
73420         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73421         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73422         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73423         * sysdeps/i386/fpu/e_logl.S: Likewise.
73424         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73425         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73426         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73427         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73428         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73429         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73430         * sysdeps/i386/fpu/e_log.S: Likewise.
73431         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73432         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73433         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73434         * sysdeps/i386/fpu/e_logf.S: Likewise.
73435         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73436         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73437         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73438         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73439         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73440         * sysdeps/i386/fpu/e_log10.S: Likewise.
73441         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73442         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73443         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73444         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73445         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73446         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73447         * sysdeps/i386/asm-syntax.h: Likewise.
73448         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73450         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73451         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73452         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73453         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73454         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73455         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73456         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73457         * sysdeps/powerpc/sysdep.h: Likewise.
73458         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73459         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73461 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73463         [BZ #411]
73464         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73466 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73468         * sysdeps/i386/sysdep.h: Include <features.h>.
73469         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73470         version.
73472 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73474         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73475         Define.
73476         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73477         LOAD_PIC_REG_STR.
73479 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73481         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73482         (SETUP_PIC_REG): Use GET_PC_THUNK.
73483         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73484         macro.
73486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73488         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73489         for non-PIC compilation.
73490         (SETUP_PIC_REG): Add .p2align directive.
73491         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73492         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73493         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73494         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73495         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73496         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73497         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73498         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73499         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73500         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73501         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73502         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73503         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73504         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73505         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73506         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73507         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73508         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73509         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73510         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73511         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73513         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73514         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73515         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73517         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73518         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73519         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73520         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73521         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73522         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73523         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73524         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73525         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73526         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73527         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73528         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73529         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73530         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73531         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73533 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73535         * math/tst-CMPLX.c: Include <stdio.h>.
73537 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73539         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73540         float.
73541         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73542         * sysdeps/sparc/bits/mathdef.h: Likewise.
73544 2012-01-31  Marek Polacek  <polacek@redhat.com>
73546         * libio/libio.h: Don't define _PARAMS.
73547         * locale/programs/config.h: Don't define PARAMS.
73548         * stdlib/strtol_l.c: Likewise.
73549         (__strtol_l): Remove PARAMS from the prototype.
73551 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73553         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73554         names.  Just use the correct names.  Remove unnecessary wrapper
73555         functions.
73556         * malloc/arena.c: Likewise.
73557         * malloc/hooks.c: Likewise.
73559         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73560         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73561         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73563 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73565         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73566         into tail calls.
73567         (update_get_addr): New function.
73568         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73569         GET_ADDR_MODULE parameter.
73571 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73573         * crypt/cert.c: Remove __STDC__ conditionals.
73574         * crypt/crypt-entry.c: Likewise.
73575         * crypt/crypt_util.c: Likewise.
73576         * libio/filedoalloc.c: Likewise.
73577         * libio/fileops.c: Likewise.
73578         * libio/genops.c: Likewise.
73579         * libio/iofclose.c: Likewise.
73580         * libio/iofdopen.c: Likewise.
73581         * libio/iofopen.c: Likewise.
73582         * libio/iofopen64.c: Likewise.
73583         * libio/iogetdelim.c: Likewise.
73584         * libio/iopopen.c: Likewise.
73585         * libio/obprintf.c: Likewise.
73586         * libio/oldfileops.c: Likewise.
73587         * libio/oldiofclose.c: Likewise.
73588         * libio/oldiofdopen.c: Likewise.
73589         * libio/oldiofopen.c: Likewise.
73590         * libio/oldiopopen.c: Likewise.
73591         * libio/wfiledoalloc.c: Likewise.
73592         * libio/wgenops.c: Likewise.
73593         * locale/programs/xmalloc.c: Likewise.
73594         * misc/syslog.c: Likewise.
73595         * stdio-common/xbug.c: Likewise.
73596         * string/memchr.c: Likewise.
73597         * string/memcmp.c: Likewise.
73598         * string/memrchr.c: Likewise.
73599         * string/rawmemchr.c: Likewise.
73600         * sysdeps/posix/getcwd.c: Likewise.
73601         * time/strftime_l.c: Likewise.
73603 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73605         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73606         * config.make.in (config-cflags-sse2avx): Define.
73607         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73608         Fix typo.
73610 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73612         * scripts/config.guess: Update from upstream config git repository.
73613         * scripts/config.sub: Likewise.
73615 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73617         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73618         (EM_NUM): Update.
73619         (R_TILEPRO_*, R_TILEGX_*): New macros.
73621         * scripts/firstversions.awk: Fix bug in version range handling.
73623         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73625         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73627         * include/sys/epoll.h: New file.
73628         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73629         libc_hidden_def.
73631 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73633         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73634         Avoid unnecessary __WORDSIZE == 64 test.
73635         (fmaxf): Use VEX format if possible.
73636         (fmax): Likewise.
73637         (fminf): Likewise.
73638         (fmin): Likewise.
73640         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73641         * math/math_private.h: Remove libc_fegetround* and
73642         libc_fesetround*.
73643         * sysdeps/i386/configure.in: Check for -msse2avx.
73644         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73645         also if SSE2AVX is defined.
73646         Remove libc_fegetround* and libc_fesetround*.
73647         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73648         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73649         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73650         of HAS_YMM_USABLE.
73651         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73652         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73653         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73654         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73655         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73657         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73659 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73661         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73662         size is not set.
73663         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73665 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73667         [BZ #13618]
73668         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73669         relocation.
73670         * Makeconfig (libm): Define.
73671         * elf/Makefile: Add rules to build and run tst-relsort1.
73672         * elf/tst-relsort1.c: New file.
73673         * elf/tst-relsort1mod1.c: New file.
73674         * elf/tst-relsort1mod2.c: New file.
73676 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73678         * math/s_ldexp.c: Remove __STDC__ conditionals.
73679         * math/s_ldexpf.c: Likewise.
73680         * math/s_ldexpl.c: Likewise.
73681         * math/s_nextafter.c: Likewise.
73682         * math/s_nexttowardf.c: Likewise.
73683         * math/s_significand.c: Likewise.
73684         * math/s_significandf.c: Likewise.
73685         * math/s_significandl.c: Likewise.
73686         * math/w_jnl.c: Likewise.
73687         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73688         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73689         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73690         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73691         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73692         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73693         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73694         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73695         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73696         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73697         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73698         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73699         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73700         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73701         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73702         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73703         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73704         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73706         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73707         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73708         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73709         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73710         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73711         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73712         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73713         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73714         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73715         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73716         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73717         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73718         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73719         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73720         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73721         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73722         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73723         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73724         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73725         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73726         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73727         * sysdeps/ieee754/k_standard.c: Likewise.
73728         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73729         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73730         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73731         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73732         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73733         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73735         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73736         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73737         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73738         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73739         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73740         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73741         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73742         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73743         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73744         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73746         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73747         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73748         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73750         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73751         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73752         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73753         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73754         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73755         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73757         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73758         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73759         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73760         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73761         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73763         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73764         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73765         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73766         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73767         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73768         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73771         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73772         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73773         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73775         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73776         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73777         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73778         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73779         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73780         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73781         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73782         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73783         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73784         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73785         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73786         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73787         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73788         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73789         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73790         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73791         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73792         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73793         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73794         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73795         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73796         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73797         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73798         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73799         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73800         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73801         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73802         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73803         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73804         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73805         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73806         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73807         * sysdeps/ieee754/s_matherr.c: Likewise.
73808         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73809         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73813 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73815         * crypt/md5.h: Remove __STDC__ conditionals.
73816         * libio/libioP.h: Likewise.
73817         * locale/programs/config.h: Likewise.
73818         * sysdeps/generic/sysdep.h: Likewise.
73819         * sysdeps/i386/asm-syntax.h: Likewise.
73820         * sysdeps/s390/asm-syntax.h: Likewise.
73821         * sysdeps/unix/sysdep.h: Likewise.
73822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73825 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73827         * libio/libio.h: Remove __STDC__ conditionals.
73828         * malloc/obstack.h: Likewise.
73829         * math/complex.h: Likewise.
73830         * math/math.h: Likewise.
73831         * sysdeps/generic/_G_config.h: Likewise.
73832         * sysdeps/gnu/_G_config.h: Likewise.
73833         * sysdeps/mach/hurd/_G_config.h: Likewise.
73834         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73835         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73836         * sysdeps/sparc/bits/mathdef.h: Likewise.
73838 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73840         [BZ #13583]
73841         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73842         Clean up HAS_* macros.
73843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73844         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73845         possible.
73846         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73847         HAS_AVX.
73848         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73849         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73850         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73851         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73852         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73854 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73856         * elf/tst-unique3.cc (gets): Remove declaration.
73857         * elf/tst-unique3lib.cc (gets): Likewise.
73858         * elf/tst-unique3lib2.cc (gets): Likewise.
73859         * elf/tst-unique4.cc (gets): Likewise.
73861 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73863         * include/stdio.h: Add C++ protection.  Add gets declarations and
73864         definitions.
73865         * debug/tst-chk1.c: Don't declare gets here.
73866         * stdio-common/tst-gets.c: Likewise.
73868 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73870         * posix/glob: Remove directory.
73872 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73874         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73876 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73878         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73879         of the non-standard EPFNOSUPPORT.
73881 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73883         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73884         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73885         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73887 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73889         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73891 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73893         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73894         transient errors.
73895         * nscd/grpcache.c (cache_addgr): Likewise.
73896         * nscd/hstcache.c (cache_addhst): Likewise.
73897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73898         * nscd/pwdcache.c (cache_addpw): Likewise.
73899         * nscd/servicescache.c (cache_addserv): Likewise.
73901 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73903         * malloc/malloc.c: Various cleanups.
73904         * malloc/hooks.c: Likewise.
73906         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73907         * stdlib/bug-fmtmsg1.c: New file.
73909         * stdlib/fmtmsg.c (init): Add missing unlock.
73910         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73912 2012-01-12  Marek Polacek  <polacek@redhat.com>
73914         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73915         and _GNU_SOURCE.
73917 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73919         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73920         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73921         macro to ensure uniqueness of label name.
73922         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73923         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73925 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73927         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73929         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73930         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73934 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73936         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73938         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73939         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73940         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73942         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73944         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73945         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73946         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73949         * math/bits/math-finite.h: Add ldexp support.
73951 2012-01-10  Marek Polacek  <polacek@redhat.com>
73953         * locale/programs/localedef.h (show_archive_content): Add noreturn
73954         attribute.
73956 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73958         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73960 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73962         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73964         * io/Makefile (headers): Add bits/poll2.h.
73966 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73969         typo #include statement.
73971 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73973         * include/sys/cdefs.h: Define __attribute_alloc_size.
73974         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73975         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73976         * elf/pldd.c: Likewise.
73977         * iconv/iconv_charmap.c: Likewise.
73978         * iconv/iconvconfig.c: Likewise.
73979         * iconv/strtab.c: Likewise.
73980         * locale/programs/locale.c: Likewise.
73981         * locale/programs/localedef.h: Likewise.
73982         * locale/programs/simple-hash.c: Likewise.
73983         * nscd/nscd.h: Likewise.
73984         * nss/makedb.c: Likewise.
73985         * sysdeps/generic/ldconfig.h: Likewise.
73986         * locale/programs/localedef.c: Remove xmalloc prototype.
73987         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73989 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73991         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73992         appropriate.
73994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73996         * math/Makefile (tests): Add tst-CMPLX.
73997         * math/tst-CMPLX.c: New file.
73999         * math/complex.h (CMPLXL): Fix typo.
74001         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74002         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74003         GLIBC_2.16.
74004         * debug/tst-chk1.c: Add poll and ppoll tests.
74005         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74006         * include/sys/poll.h: Add hidden proto for ppoll.
74007         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74008         * sysdeps/mach/hurd/ppoll.c: Likewise.
74009         * io/ppoll.c: Likewise.
74010         * debug/poll_chk.c: New file.
74011         * debug/ppoll_chk.c: New file.
74012         * include/bits/poll2.h: New file.
74013         * io/bits/poll2.h: New file.
74015         [BZ #1350]
74016         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74018         * configure.in: static is always set to yes.  Remove.
74019         * config.make.in: Don't set build-static.
74020         * Makeconfig: Remove use of build-static.
74021         * dlfcn/Makefile: Likewise.
74022         * elf/Makefile: Likewise.
74023         * math/Makefile: Likewise.
74024         * misc/Makefile: Likewise.
74025         * nptl/Makefile: Likewise.
74026         * sysdeps/mach/hurd/Makefile: Likewise.
74028         * configure.in: PWD_P is not used anymore.
74029         * config.make.in: Remove PWD_P entry.
74031         * configure.in: Remove last remnants of RANLIB.
74032         No need to check for signed size_t anymore.
74033         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74034         and IA-64.
74035         Remove __builtin_expect test because we require at least gcc 3.4.
74036         * aclocal.m4: Likewise.
74038         * wcsmbs/mbrtoc16.c: Implement using towc function.
74039         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74040         * wcsmbs/wcsmbsload.c: Likewise.
74041         * iconv/gconv_simple.c: Likewise.
74042         * iconv/gconv_int.h: Likewise.
74043         * iconv/gconv_builtin.h: Likewise.
74044         * iconv/iconv_prog.c: Remove CHAR16 handling.
74046         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74048         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74050         * configure.in: Remove --with-elf and --enable-bounded options.
74051         Dont set base_machine for ia64.  More non-ELF conditions removed.
74052         Remove testing and setting of leading underscore information.
74053         * config.make.in (build-bounded): Set to no.
74054         * config.h.in: Remove NO_UNDERSCORES entry.
74055         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74056         them.
74057         * csu/start.c: Remove !NO_UNDERSCORE code.
74058         * locale/localeinfo.h: Likewise.
74059         * sysdeps/generic/machine-gmon.h: Likewise.
74060         * sysdeps/generic/sysdep.h: Likewise.
74061         * sysdeps/i386/sysdep.h: Likewise.
74062         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74063         * sysdeps/mach/sysdep.h: Likewise.
74064         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74065         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74066         * sysdeps/sh/sysdep.h: Likewise.
74067         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74068         * sysdeps/unix/i386/sysdep.S: Likewise.
74069         * sysdeps/unix/sparc/start.c: Likewise.
74070         * sysdeps/unix/sparc/sysdep.S: Likewise.
74071         * sysdeps/unix/sparc/sysdep.h: Likewise.
74072         * sysdeps/unix/start.c: Likewise.
74073         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74074         * sysdeps/x86_64/sysdep.h: Likewise.
74076 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74078         [BZ #13553]
74079         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74080         for non-gcc.
74081         * argp/argp-fmtstream.h: Use const instead __const.
74082         * argp/argp.h: Likewise.
74083         * assert/assert.h: Likewise.
74084         * bits/fenv.h: Likewise.
74085         * bits/sched.h: Likewise.
74086         * bits/sigset.h: Likewise.
74087         * bits/sigthread.h: Likewise.
74088         * catgets/nl_types.h: Likewise.
74089         * conform/data/pthread.h-data: Likewise.
74090         * crypt/crypt-private.h: Likewise.
74091         * crypt/crypt.h: Likewise.
74092         * crypt/crypt_util.c: Likewise.
74093         * ctype/ctype.h: Likewise.
74094         * debug/execinfo.h: Likewise.
74095         * debug/mbsnrtowcs_chk.c: Likewise.
74096         * debug/mbsrtowcs_chk.c: Likewise.
74097         * debug/wcsnrtombs_chk.c: Likewise.
74098         * debug/wcsrtombs_chk.c: Likewise.
74099         * debug/wcstombs_chk.c: Likewise.
74100         * dirent/dirent.h: Likewise.
74101         * dlfcn/dlfcn.h: Likewise.
74102         * elf/neededtest4.c: Likewise.
74103         * grp/grp.h: Likewise.
74104         * gshadow/gshadow.h: Likewise.
74105         * iconv/gconv.h: Likewise.
74106         * iconv/gconv_int.h: Likewise.
74107         * iconv/gconv_simple.c: Likewise.
74108         * iconv/iconv.h: Likewise.
74109         * iconv/loop.c: Likewise.
74110         * iconv/skeleton.c: Likewise.
74111         * include/aio.h: Likewise.
74112         * include/aliases.h: Likewise.
74113         * include/argz.h: Likewise.
74114         * include/arpa/inet.h: Likewise.
74115         * include/assert.h: Likewise.
74116         * include/dirent.h: Likewise.
74117         * include/dlfcn.h: Likewise.
74118         * include/execinfo.h: Likewise.
74119         * include/fcntl.h: Likewise.
74120         * include/fenv.h: Likewise.
74121         * include/glob.h: Likewise.
74122         * include/grp.h: Likewise.
74123         * include/libintl.h: Likewise.
74124         * include/mntent.h: Likewise.
74125         * include/netdb.h: Likewise.
74126         * include/pwd.h: Likewise.
74127         * include/rpc/netdb.h: Likewise.
74128         * include/sched.h: Likewise.
74129         * include/search.h: Likewise.
74130         * include/shadow.h: Likewise.
74131         * include/signal.h: Likewise.
74132         * include/stdio.h: Likewise.
74133         * include/stdlib.h: Likewise.
74134         * include/string.h: Likewise.
74135         * include/sys/socket.h: Likewise.
74136         * include/sys/stat.h: Likewise.
74137         * include/sys/statfs.h: Likewise.
74138         * include/sys/statvfs.h: Likewise.
74139         * include/sys/syslog.h: Likewise.
74140         * include/sys/time.h: Likewise.
74141         * include/sys/uio.h: Likewise.
74142         * include/time.h: Likewise.
74143         * include/unistd.h: Likewise.
74144         * include/utmp.h: Likewise.
74145         * include/wchar.h: Likewise.
74146         * include/wctype.h: Likewise.
74147         * inet/aliases.h: Likewise.
74148         * inet/arpa/inet.h: Likewise.
74149         * inet/netinet/ether.h: Likewise.
74150         * inet/netinet/in.h: Likewise.
74151         * intl/libintl.h: Likewise.
74152         * io/bits/fcntl2.h: Likewise.
74153         * io/fcntl.h: Likewise.
74154         * io/ftw.h: Likewise.
74155         * io/sys/poll.h: Likewise.
74156         * io/sys/stat.h: Likewise.
74157         * io/sys/statfs.h: Likewise.
74158         * io/sys/statvfs.h: Likewise.
74159         * io/utime.h: Likewise.
74160         * libio/bits/stdio.h: Likewise.
74161         * libio/bits/stdio2.h: Likewise.
74162         * libio/libio.h: Likewise.
74163         * libio/libioP.h: Likewise.
74164         * libio/stdio.h: Likewise.
74165         * locale/lc-ctype.c: Likewise.
74166         * locale/locale.h: Likewise.
74167         * login/utmp.h: Likewise.
74168         * malloc/arena.c: Likewise.
74169         * malloc/malloc.c: Likewise.
74170         * malloc/malloc.h: Likewise.
74171         * malloc/mcheck.c: Likewise.
74172         * malloc/mtrace.c: Likewise.
74173         * math/bits/mathcalls.h: Likewise.
74174         * math/fenv.h: Likewise.
74175         * math/math_private.h: Likewise.
74176         * misc/bits/error.h: Likewise.
74177         * misc/bits/syslog.h: Likewise.
74178         * misc/err.h: Likewise.
74179         * misc/error.h: Likewise.
74180         * misc/fstab.h: Likewise.
74181         * misc/mntent.h: Likewise.
74182         * misc/regexp.h: Likewise.
74183         * misc/search.h: Likewise.
74184         * misc/sgtty.h: Likewise.
74185         * misc/sys/mman.h: Likewise.
74186         * misc/sys/syslog.h: Likewise.
74187         * misc/sys/uio.h: Likewise.
74188         * misc/sys/xattr.h: Likewise.
74189         * misc/ttyent.h: Likewise.
74190         * nis/rpcsvc/ypclnt.h: Likewise.
74191         * nss/nss.h: Likewise.
74192         * posix/bits/unistd.h: Likewise.
74193         * posix/fnmatch.h: Likewise.
74194         * posix/glob.h: Likewise.
74195         * posix/sched.h: Likewise.
74196         * posix/spawn.h: Likewise.
74197         * posix/sys/wait.h: Likewise.
74198         * posix/unistd.h: Likewise.
74199         * posix/wordexp.h: Likewise.
74200         * pwd/pwd.h: Likewise.
74201         * resolv/netdb.h: Likewise.
74202         * resource/sys/resource.h: Likewise.
74203         * rt/aio.h: Likewise.
74204         * rt/bits/mqueue2.h: Likewise.
74205         * rt/mqueue.h: Likewise.
74206         * shadow/shadow.h: Likewise.
74207         * signal/signal.h: Likewise.
74208         * socket/send.c: Likewise.
74209         * socket/sendto.c: Likewise.
74210         * socket/sys/socket.h: Likewise.
74211         * stdio-common/printf.h: Likewise.
74212         * stdlib/bits/stdlib.h: Likewise.
74213         * stdlib/fmtmsg.h: Likewise.
74214         * stdlib/monetary.h: Likewise.
74215         * stdlib/stdlib.h: Likewise.
74216         * stdlib/ucontext.h: Likewise.
74217         * streams/stropts.h: Likewise.
74218         * string/argz.h: Likewise.
74219         * string/bits/string2.h: Likewise.
74220         * string/string.h: Likewise.
74221         * string/strings.h: Likewise.
74222         * sunrpc/rpc/auth.h: Likewise.
74223         * sunrpc/rpc/auth_des.h: Likewise.
74224         * sunrpc/rpc/clnt.h: Likewise.
74225         * sunrpc/rpc/netdb.h: Likewise.
74226         * sunrpc/rpc/pmap_clnt.h: Likewise.
74227         * sunrpc/rpc/xdr.h: Likewise.
74228         * sysdeps/generic/inttypes.h: Likewise.
74229         * sysdeps/generic/net/if.h: Likewise.
74230         * sysdeps/generic/sys/swap.h: Likewise.
74231         * sysdeps/gnu/net/if.h: Likewise.
74232         * sysdeps/gnu/utmpx.h: Likewise.
74233         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74234         * sysdeps/i386/i486/bits/string.h: Likewise.
74235         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74236         * sysdeps/s390/bits/string.h: Likewise.
74237         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74238         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74239         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74240         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74241         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74242         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74243         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74244         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74245         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74246         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74247         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74248         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74249         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74250         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74251         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74252         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74253         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74255         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74256         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74257         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74258         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74259         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74260         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74261         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74262         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74263         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74264         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74265         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74266         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74267         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74268         * sysvipc/sys/ipc.h: Likewise.
74269         * sysvipc/sys/msg.h: Likewise.
74270         * sysvipc/sys/sem.h: Likewise.
74271         * sysvipc/sys/shm.h: Likewise.
74272         * termios/termios.h: Likewise.
74273         * time/sys/time.h: Likewise.
74274         * time/time.h: Likewise.
74275         * wcsmbs/bits/wchar2.h: Likewise.
74276         * wcsmbs/uchar.h: Likewise.
74277         * wcsmbs/wchar.h: Likewise.
74278         * wctype/wctype.h: Likewise.
74280         [BZ #13551]
74281         * Makeconfig: Remove all but ELF support including AIX support.
74282         * Makerules: Likewise.
74283         * config.h.in: Likewise.
74284         * config.make.in: Likewise.
74285         * configure: Likewise.
74286         * configure.in: Likewise.
74287         * csu/Makefile: Likewise.
74288         * csu/version.c: Likewise.
74289         * debug/Makefile: Likewise.
74290         * dlfcn/Makefile: Likewise.
74291         * elf/Makefile: Likewise.
74292         * extra-lib.mk: Likewise.
74293         * iconv/Makefile: Likewise.
74294         * include/libc-symbols.h: Likewise.
74295         * include/shlib-compat.h: Likewise.
74296         * resolv/Makefile: Likewise.
74297         * resolv/res_libc.c: Likewise.
74298         * rt/Makefile: Likewise.
74299         * sysdeps/i386/asm-syntax.h: Likewise.
74300         * sysdeps/i386/sysdep.h: Likewise.
74301         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74302         * sysdeps/mach/sysdep.h: Likewise.
74303         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74304         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74305         * sysdeps/s390/asm-syntax.h: Likewise.
74306         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74307         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74308         * sysdeps/sh/sysdep.h: Likewise.
74309         * sysdeps/unix/sparc/sysdep.h: Likewise.
74310         * sysdeps/wordsize-32/divdi3.c: Likewise.
74311         * sysdeps/x86_64/sysdep.h: Likewise.
74313         * argp/Versions: Remove _argp_unlock_xxx.
74315         [BZ #13559]
74316         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74317         * abilist/libBrokenLocale.abilist: Likewise.
74318         * abilist/libanl.abilist: Likewise.
74319         * abilist/libc.abilist: Likewise.
74320         * abilist/libcrypt.abilist: Likewise.
74321         * abilist/libdl.abilist: Likewise.
74322         * abilist/libm.abilist: Likewise.
74323         * abilist/libnsl.abilist: Likewise.
74324         * abilist/libpthread.abilist: Likewise.
74325         * abilist/libresolv.abilist: Likewise.
74326         * abilist/librt.abilist: Likewise.
74327         * abilist/libthread_db.abilist: Likewise.
74328         * abilist/libutil.abilist: Likewise.
74329         * abilist/libnss_db.abilist: New file.
74331         * scripts/abilist.awk: Add support for indirect functions.
74333         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74335         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74337         * shlib-versions: Remove entries for ports architectures.
74339         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74340         files in ports.
74341         * elf/stackguard-macros.h: Remove support for IA-64.
74342         * elf/tst-auditmod1.c: Likewise.
74343         * sysdeps/generic/ldsodefs.h: Likewise.
74345         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74346         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74347         configure files.
74349         [BZ #13552]
74350         * configure.in: Remove --enable-omitfp support.
74351         * FAQ.in: Adjust.
74352         * config.make.in: Likewise.
74353         * Makeconfig: Likewise.
74354         * manual/install.texi: Likewise.
74356         In case anyone cares, the IA-64 architecture could move to ports.
74357         * sysdeps/ia64/*: Removed.
74358         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74359         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74361         [BZ #13555]
74362         * configure.in: Remove entries for unsupported architectures.
74364         [BZ #13533]
74365         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74366         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74367         routines.
74368         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74369         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74370         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74371         fall back to using wcrtomb.
74372         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74373         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74374         renaming.
74375         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74376         * wcsmbs/tst-c16c32-1.c: New file.
74378         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74379         local variable.
74381         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74383         * elf/tst-unique3.cc: Add explicit declaration of gets.
74384         * elf/tst-unique3lib.cc: Likewise.
74385         * elf/tst-unique3lib2.cc: Likewise.
74386         * elf/tst-unique4.cc: Likewise.
74388         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74390 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74392         [BZ #13566]
74393         * assert/assert.h (static_assert): Don't define for C++.
74394         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74395         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74397 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74399         * iconv/loop.c (single loop): Fix assertion in storing of
74400         remaining bytes.
74402         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74404 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74406         * posix/getconf.c: Update copyright year.
74407         * nss/getent.c: Likewise.
74408         * nss/makedb.c: Likewise.
74409         * iconv/iconvconfig.c: Likewise.
74410         * iconv/iconv_prog.c: Likewise.
74411         * elf/ldconfig.c: Likewise.
74412         * elf/pldd.c: Likewise.
74413         * elf/sotruss.ksh: Likewise.
74414         * catgets/gencat.c: Likewise.
74415         * csu/version.c: Likewise.
74416         * elf/ldd.bash.in: Likewise.
74417         * elf/sprof.c (print_version): Likewise.
74418         * locale/programs/locale.c: Likewise.
74419         * locale/programs/localedef.c: Likewise.
74420         * login/programs/pt_chown.c: Likewise.
74421         * nscd/nscd.c (print_version): Likewise.
74422         * debug/xtrace.sh: Likewise.
74423         * malloc/memusage.sh: Likewise.
74424         * malloc/mtrace.pl: Likewise.
74425         * debug/catchsegv.sh: Likewise.
74427 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74429         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74430         pure attribute.
74432 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74434         [BZ #13533]
74435         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74436         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74437         transformations.
74438         * iconv/gconv_int.h: Likewise.
74439         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74440         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74441         from libc for GLIBC_2.16.
74442         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74443         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74444         * wcsmbs/uchar.h: Really define mbstate_t.
74445         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74446         * wcsmbs/c16rtomb.c: New file.
74447         * wcsmbs/mbrtoc16.c: New file.
74448         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74449         for C/POSIX locale.
74450         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74451         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74453         * wcsmbs/wchar.h: Add missing __restrict.
74455 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74457         [BZ #13532]
74458         * time/Makefile (routines): Add timespec_get.
74459         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74460         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74461         timespec for ISO C11.
74462         * time/timespec_get.c: New file.
74463         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74464         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74466         [BZ #13531]
74467         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74468         * stdlib/stdlib.h: Declare aligned_alloc.
74469         * Versions.def: Add GLIBC_2.16 for libc.
74470         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74472         [BZ 13527]
74473         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74474         ISO C11.
74476         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74477         code.
74479         [BZ #13528]
74480         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74482         [BZ #13529]
74483         * assert/assert.h (static_assert): Define.
74485         * version.h: Update for 2.16 development version.
74487         [BZ #13526]
74488         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74489         _ISOC11_SOURCE.
74491         * version.h (RELEASE): Bump for 2.15 release.
74492         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74494         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74495         Patch by Marek Polacek <mpolacek@redhat.com>.
74497         * bits/byteswap.h: Protect long long constants with __extension__.
74498         * sysdeps/i386/bits/byteswap.h: Likewise.
74499         * sysdeps/ia64/bits/byteswap.h: Likewise.
74500         * sysdeps/s390/bits/byteswap.h: Likewise.
74501         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74503 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74505         [BZ #13540]
74506         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74507         destination buffer.
74508         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74510 2011-12-23  Marek Polacek  <polacek@redhat.com>
74512         * elf/dl-addr.c (determine_info): Add inline keyword.
74513         * elf/tst-auditmod4b.c (check_avx): Likewise.
74514         * elf/tst-auditmod6b.c (check_avx): Likewise.
74515         * elf/tst-auditmod6c.c (check_avx): Likewise.
74516         * elf/tst-auditmod7b.c (check_avx): Likewise.
74518 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74520         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74521         !__SSE_MATH__.
74523 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74525         [BZ #13540]
74526         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74527         processing for last bytes.
74529 2011-08-06  Bruno Haible  <bruno@clisp.org>
74531         [BZ #13061]
74532         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74533         U+0385, not to U+1FEE.
74535         [BZ #13062]
74536         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74537         entry for U+00A5 U+0301.
74539 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74541         [BZ #13166]
74542         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74543         buffer for the output is too small.
74545         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74546         optimization.
74548         [BZ #13185]
74549         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74550         SSE flags if possible.
74552 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74554         [BZ #13540]
74555         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74556         processing for last bytes.
74558 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74560         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74561         (syscall-list-default-options, syscall-list-default-condition)
74562         (syscall-list-includes): Define.
74563         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74564         list of ABIs and options and #if conditions for each ABI.  Do not
74565         handle common syscalls between ABIs specially.
74566         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74567         Remove.
74568         (syscall-list-variants, syscall-list-32bit-options)
74569         (syscall-list-32bit-condition, syscall-list-64bit-options)
74570         (syscall-list-64bit-condition): Define.
74571         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74572         (syscall-list-variants, syscall-list-32bit-options)
74573         (syscall-list-32bit-condition, syscall-list-64bit-options)
74574         (syscall-list-64bit-condition): Define.
74575         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74576         Remove.
74577         (syscall-list-variants, syscall-list-32bit-options)
74578         (syscall-list-32bit-condition, syscall-list-64bit-options)
74579         (syscall-list-64bit-condition): Define.
74580         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74581         Remove.
74582         (syscall-list-variants, syscall-list-32bit-options)
74583         (syscall-list-32bit-condition, syscall-list-64bit-options)
74584         (syscall-list-64bit-condition): Define.
74586 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74588         * locale/iso-639.def: Add brx entry.
74590         [BZ #13328]
74591         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74592         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74594         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74595         __feraiseexcept_renamed.
74597 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74599         [BZ #13538]
74600         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74601         EPOLLET with unsigned values.
74602         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74603         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74605         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74606         to large cancellation.
74607         * math/s_cacoshf.c: Likewise.
74608         * math/s_cacoshl.c: Likewise.
74610 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74612         [BZ #13305]
74613         [BZ #12786]
74614         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74615         * math/s_cacoshf.c: Likewise.
74616         * math/s_cacoshl.c: Likewise.
74618 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74620         [BZ #13439]
74621         * iconv/gconv.h: Define __GCONV_SWAP.
74622         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74623         * iconvdata/utf-16.c: Likewise.
74624         * iconvdata/utf-32.c: Likewise.
74626 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74628         [BZ #13524]
74629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74630         numerator after shifting it by one limb.
74632 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74634         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74635         under [__USE_EXTERN_INLINES].
74637 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74639         [BZ #13446]
74640         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74642 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74644         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74645         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74646         optimized code.
74647         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74648         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74649         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74650         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74651         for strncasecmp/strncasecmp_l compilation.
74652         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74653         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74655 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74657         [BZ #13484]
74658         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74659         of __asm__.
74661 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74663         [BZ #13506]
74664         * time/tzfile.c (__tzfile_read): Check values from file header.
74666 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74668         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74669         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74670         * powerpc/powerpc32/dl-start.S: Likewise.
74671         * powerpc/powerpc32/elf/start.S: Likewise.
74672         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74673         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74674         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74675         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74676         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74677         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74678         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74679         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74680         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74681         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74682         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74683         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74684         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74685         * powerpc/powerpc32/memset.S: Likewise.
74686         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74687         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74688         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74689         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74690         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74691         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74692         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74693         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74694         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74695         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74696         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74700 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74702         * math/libm-test.inc: Added more nearbyint tests.
74703         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74704         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74706         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74708 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74710         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74711         FD_CLOEXEC.
74713 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74715         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74716         Add wcscpy-ssse3 wcscpy-c.
74717         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74718         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74719         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74720         * sysdeps/x86_64/wcschr.S: New file.
74721         * sysdeps/x86_64/wcsrchr.S: New file.
74722         * string/test-strcmp.c: Remove checking of wcscmp function for
74723         wrong alignments.
74724         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74725         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74726         wcsrchr-sse2 wcsrchr-c.
74727         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74728         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74729         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74730         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74731         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74732         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74733         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74734         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74735         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74736         * wcsmbc/wcschr.c (WCSCHR): New macro.
74738 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74740         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74741         * wcsmbs/test-wcsrchr.c: New file.
74742         * string/test-strrchr.c: Add wcsrchr support.
74743         (WIDE): New macro.
74744         * wcsmbs/test-wcscpy.c: New file.
74745         * string/test-strcpy.c: Add wcscpy support.
74746         (WIDE): New macro.
74748 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74750         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74751         the inner loop.
74753 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74755         [BZ #13472]
74756         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74758 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74760         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74761         Minor optimizations.
74763         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74764         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74765         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74767 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74769         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74770         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74771         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74772         for gcc to avoid warnings.
74773         * inet/Makefile (tests): Add tst-checks.
74774         * inet/tst-checks.c: New file.
74776         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74777         warning.
74779         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74780         __wmemcmp_sse2.
74782         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74783         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74785         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74787 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74789         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74790         problem.
74792         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74794 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74796         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74797         conditional on GCC version.
74798         (__arch_compare_and_exchange_val_8_acq)
74799         (__arch_compare_and_exchange_val_16_acq)
74800         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74801         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74802         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74804 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74806         * sysdeps/sh/backtrace.c: New file.
74808 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74810         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74811         parenthesis.
74813 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74815         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74816         falling back to utime.
74818 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74820         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74821         expectations for float.
74823 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74825         * locale/weight.h (findidx): Add parameter len.
74826         * locale/weightwc.h (findidx): Likewise.
74827         * posix/fnmatch_loop.c (FCT): Adjust caller.
74828         * posix/regcomp.c (build_equiv_class): Likewise.
74829         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74830         * posix/regexec.c (check_node_accept_bytes): Likewise.
74831         * string/strcoll_l.c (STRCOLL): Likewise.
74832         * string/strxfrm_l.c (STRXFRM): Likewise.
74834 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74836         * Makefile.in: Remove CVSOPT handling.
74837         * configure.in: Remove use of AC_REVISION.
74838         * iconvdata/Makefile (distribute): No need to filter out CVS.
74839         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74840         handling.
74842 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74845         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74846         [USE_AS_STRNCASECMP_L]: Likewise.
74847         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74848         NO_TLS_DIRECT_SEG_REFS.
74849         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74850         Fix argument offsets for non-PIC.
74851         [USE_AS_STRNCASECMP_L]: Likewise.
74852         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74853         NO_TLS_DIRECT_SEG_REFS.
74855 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74857         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74858         O_CLOEXEC.
74859         * locale/loadlocale.c (_nl_load_locale): Likewise.
74861 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74863         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74864         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74865         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74866         (SYSCALL_GETTIME): Set errno on error.
74868         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74869         count references to noai6ai_cached.
74871 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74873         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74875         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74876         FD_CLOEXEC for /proc/self/maps.
74878         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74879         FD_CLOEXEC for /proc/meminfo.
74881         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74882         gai.conf.
74884         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74885         FD_CLOEXEC for given file.
74887         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74889         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74890         FD_CLOEXEC for /etc/hosts.
74891         (_gethtent): Likewise.
74893         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74895         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74896         cancellation and set FD_CLOEXEC for /etc/netgroup.
74898         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74899         reading /etc/publickey.
74901         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74902         allow cancellation when reading /etc/group.
74904         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74905         cancellation.
74906         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74908         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74909         when using data file.
74911         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74913         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74914         (write_nis_obj): Use "c" and "e" in fopen.
74916         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74918         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74920         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74922         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74924         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74925         locale.alias.
74927         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74929         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74931         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74933         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74934         file parsing and set FD_CLOEXEC.
74936 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74938         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74940 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74942         * malloc/arena.c (arena_get2): Don't call reused_arena when
74943         _int_new_arena failed.
74945 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74947         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74948         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74949         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74950         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74951         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74952         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74953         to compile strcasecmp and strncasecmp.
74954         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74955         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74957         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74959 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74961         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74962         locale-defines.sym to gen-as-const-headers.
74963         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74964         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74966         to compile strcasecmp and strncasecmp.
74967         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74968         strcasecmp_l and strncasecmp_l.
74969         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74970         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74971         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74972         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74973         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74974         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74975         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74976         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74977         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74978         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74979         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74981 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74983         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74984         result of SYSDEP_GETTIME_CPU to retval.
74985         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74986         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74988         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74989         variable.
74991         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74992         mantissa words.
74993         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74995         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74996         from unused variable.
74998         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74999         DWARF definitions.
75000         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75001         for assembling.
75003         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75004         over namespaces.
75006         * sunrpc/rpc_prot.c (rejected): Fix case value.
75008         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75009         unsigned long long int to avoid warnings in shift.
75011         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75012         of use of trans.
75013         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75014         variable tmp.
75016         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75017         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75018         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75020         * nis/nis_table.c (nis_list): Use variable of correct type for
75021         result of __follow_path call.
75023 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75025         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75026         of math functions ceil, trunc, floor, round, and sqrt, when
75027         avaliable on the platform.
75028         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75029         name clash.
75030         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75031         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75032         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75034 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75036         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75037         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75039 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75041         * include/unistd.h: Fix __readlink return type.
75042         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75044 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75046         * stdlib/ucontext.h: Undo last change for makecontext.
75048 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75050         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75052         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75053         * setjmp/setjmp.h: Mark functions as non-leaf.
75054         * setjmp/bits/setjmp2.h: Likewise.
75055         * stdlib/ucontext.h: Likewise.
75057 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75059         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75060         (reused_arena): Don't check arena limit.
75061         (arena_get2): Atomically check arena limit.
75063 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75065         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75066         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75069         instructions.
75071 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75073         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75074         handler when locking.
75076         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75077         Fix size of allocated buffer.
75079 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75081         [BZ #10103]
75082         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75083         declarations for long double functions.
75084         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75086         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75088 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75090         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75091         installed.
75093         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75094         is disabled.
75096 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75098         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75100 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75102         * include/alloca.h (stackinfo_alloca_round): Define.
75103         (extend_alloca): Use it.
75104         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75105         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75106         here.
75108         * scripts/check-local-headers.sh: Ignore libaudit.h.
75110         * nscd/Makefile (extra-objs): Make recursively expanded.
75112 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75114         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75115         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75117         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75118         * posix/tst-rfc3484-2.c: Likewise.
75119         * posix/tst-rfc3484-3.c: Likewise.
75121         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75122         process_vm_writev.
75123         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75124         process_vm_writev.
75125         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75126         process_vm_writev from libc using GLIBC_2.15 version.
75128         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75130 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75132         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75133         stack usage.
75135 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75137         [BZ #13367]
75138         * nss/getent.c (initgroups_keys): Show error message in case no group
75139         names are given.
75141         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75142         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75143         __bump_nl_timestamp.
75144         * nscd/connections (nscd_init): When host database is served open
75145         netlink socket and request notification about configuration changes.
75146         (main_loop_poll): Track netlink file descriptor and bump timestamp
75147         in case data becomes available.
75148         (main_loop_epoll): Likewise.
75149         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75150         (database_pers_head): Add extra_data fileds.
75151         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75152         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75153         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75154         Adjust caller.
75155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75156         in6ai data, call __free_in6ai.
75157         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75158         Add -DHAVE_NETLINK.
75159         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75160         interface information.  Reuse previous data if netlink timestamp
75161         is not changed.
75162         (__bump_nl_timestamp): New function.
75163         (__free_in6ai): New function.
75165 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75167         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75168         close_not_cancel_no_status here.
75169         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75171 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75173         [BZ #13276]
75174         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75175         return value.
75177         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75178         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75179         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75181 2011-07-03  Andreas Jaeger  <aj@suse.de>
75183         [BZ #10709]
75184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75185         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75186         * math/libm-test.inc (sin_test): Add test case.
75188 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75190         [BZ #13337]
75191         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75192         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75194         * elf/chroot_canon.c (chroot_canon): Cleanups.
75196         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75198         [BZ #13335]
75199         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75200         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75202         * string/test-strchr.c: Make usable for strchrnul testing.
75203         * string/test-strchrnul.c: New file.
75204         * string/Makefile (strop-tests): Add strchrnul.
75206         * po/it.po: Update from translation team.
75207         * po/es.po: Likewise.
75209 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75211         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75212         the three constants needed as parameters.  Drop the others.
75213         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75214         __m128i_strloadu_tolower.
75215         Create and initialize variable zero and use it in all the places
75216         where _mm_setzero_si128 was used.
75218         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75219         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75220         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75221         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75222         anymore.
75223         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75224         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75225         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75226         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75227         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75228         __mpranred, __mptan.
75229         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75230         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75231         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75232         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75233         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75234         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75235         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75236         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75237         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75239 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75241         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75242         redefine if SHARED.
75243         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75246         wide char related routines to wcsmbs subdir.
75248 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75250         [BZ #13344]
75251         * misc/sys/cdefs.h (__THROWNL): Define.
75252         * posix/unistd.h: Use __THREADNL instead of __THREAD
75253         for memory synchronization functions.
75255 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75257         [BZ #13349]
75258         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75259         doesn't exist.
75260         * manual/stdio.texi (Obstack Streams): Node removed.
75262 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75264         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75265         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75266         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75268         * math/math_private.h (math_force_eval): Allow non-addressable
75269         arguments.
75270         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75272 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75274         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75275         file is not needed.
75277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75278         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75279         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75280         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75281         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75282         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75283         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75284         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75285         Add AVX variants.
75286         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75287         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75288         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75289         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75290         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75291         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75292         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75293         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75294         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75295         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75296         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75297         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75298         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75299         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75300         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75301         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75302         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75303         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75304         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75306         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75307         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75309         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75310         place.  Use VEX encoding when compiling for AVX.
75312 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75314         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75315         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75317         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75319 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75321         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75322         useless if() expression.
75323         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75324         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75325         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75326         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75327         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75328         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75329         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75331         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75332         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75333         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75334         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75335         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75336         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75337         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75338         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75339         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75340         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75341         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75343         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75345 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75347         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75348         condition.
75349         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75351 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75353         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75354         .text section.  Avoid duplicate constants.
75355         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75357         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75358         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75359         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75360         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75361         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75362         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75363         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75364         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75365         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75366         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75367         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75368         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75369         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75370         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75371         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75372         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75373         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75374         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75375         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75376         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75377         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75378         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75379         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75380         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75381         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75382         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75383         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75384         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75385         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75386         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75387         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75388         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75389         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75390         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75391         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75392         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75393         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75394         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75395         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75396         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75397         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75398         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75399         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75401 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75403         * sysdeps/x86_64/dla.h: Move to ...
75404         * sysdeps/x86_64/fpu/dla.h: ...here.
75405         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75406         situations.  Use __builtin_fma only for gcc 4.6 and up.
75408         * config.make.in: Add have-mfma4 entry.
75409         * configure.in: Substitute libc_cv_cc_fma4.
75410         * math/Makefile (dbl-only-routines): Add sincostab.
75411         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75412         Use __sincostab not sincos.
75413         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75414         name is a macro.
75415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75419         using __copysign.
75420         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75421         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75422         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75423         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75424         and __inv.
75425         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75426         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75427         __copysign.
75428         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75429         define aliases when function name is a macro.
75430         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75431         sysdeps/ieee754/dbl-64/sincos.tbl.
75432         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75433         fma4-enabled routines.
75434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75435         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75436         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75437         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75438         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75439         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75440         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75441         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75442         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75443         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75444         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75445         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75446         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75447         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75448         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75449         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75450         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75451         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75452         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75453         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75454         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75455         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75456         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75457         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75458         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75459         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75460         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75461         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75462         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75463         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75465         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75466         rename.
75467         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75468         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75473         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75474         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75476 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75478         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75480 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75482         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75484         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75485         prediction.
75486         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75488         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75489         Remove unused variable magic_bits.
75490         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75492         * string/strnlen.c: Define and use STRNLEN macro.
75493         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75494         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75495         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75496         * wcsmbs/wcslen.c: Define and use WCSLEN.
75497         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75498         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75499         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75500         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75501         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75502         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75503         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75505 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75508         strnlen-sse2-no-bsf.
75509         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75510         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75511         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75512         Add strnlen support.
75513         (USE_AS_STRNLEN): New macro.
75514         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75515         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75516         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75517         * sysdeps/x86_64/wcslen.S: New file.
75519 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75521         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75522         XMM-moves are used for copying on small sizes.
75524 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75526         * wcsmbs/Makefile (strop-tests): Add wcschr.
75527         * wcsmbs/test-wcschr.c: New file.
75528         * string/test-strchr.c: Update.
75529         Add wcschr support.
75530         (WIDE): New macro.
75532 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75534         * wcsmbs/Makefile (strop-tests): Add wcslen.
75535         * wcsmbs/test-wcslen.c: New file.
75536         * string/test-strlen.c: Update.
75537         Add wcslen support.
75538         (WIDE): New macro.
75540 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75542         * po/it.po: Update from translation team.
75544 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75546         * sysdeps/x86_64/wcscmp.S: Update.
75547         Fix wrong comparison semantics.
75548         wcscmp shall use signed comparison not unsigned.
75549         Don't use substraction to avoid overflow bug.
75550         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75551         * wcsmbc/wcscmp.c: Likewise.
75552         * string/test-strcmp.c: Likewise.
75553         Add new tests to check cases with negative values.
75555 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75557         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75558         * sysdeps/x86_64/dla.h: ...here.  New file.
75559         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75560         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75561         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75569 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75572         __ynl_finite aliases.
75574 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75578         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75579         define DLA_FMA.
75580         [DLA_FMA] (EMULV): Use DLA_FMA.
75581         [DLA_FMA] (MUL12): Use EMULV.
75582         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75583         that are not needed.
75584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75589         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75592 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75594         * math/s_nan.c: Undef __nan.
75595         * math/s_nanf.c: Undef __nanf.
75596         * math/s_nanl.c: Undef __nanl.
75597         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75598         "math_private.h".
75600 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75602         * math/s_catan.c: Add branch predictions.
75603         * math/s_catanf.c: Likewise.
75604         * math/s_catanh.c: Likewise.
75605         * math/s_catanhf.c: Likewise.
75606         * math/s_catanhl.c: Likewise.
75607         * math/s_catanl.c: Likewise.
75608         * math/s_cexp.c: Likewise.
75609         * math/s_cexpf.c: Likewise.
75610         * math/s_cexpl.c: Likewise.
75611         * math/s_clog.c: Likewise.
75612         * math/s_clog10.c: Likewise.
75613         * math/s_clog10f.c: Likewise.
75614         * math/s_clog10l.c: Likewise.
75615         * math/s_clogf.c: Likewise.
75616         * math/s_clogl.c: Likewise.
75617         * math/s_csqrt.c: Likewise.
75618         * math/s_csqrtf.c: Likewise.
75619         * math/s_csqrtl.c: Likewise.
75620         * math/s_ctanf.c: Likewise.
75621         * math/s_ctanh.c: Likewise.
75622         * math/s_ctanhf.c: Likewise.
75623         * math/s_ctanhl.c: Likewise.
75624         * math/s_ctanl.c: Likewise.
75626         * math/math_private.h: Define __nan, __nanf, __nanl.
75627         * math/s_cacosh.c: Include <math_private.h>.
75628         * math/s_cacoshl.c: Likewise.
75629         * math/s_casinh.c: Likewise.
75630         * math/s_casinhf.c: Likewise.
75631         * math/s_casinhl.c: Likewise.
75632         * math/s_ccos.c: Rely entire on ccosh.
75633         * math/s_ccosf.c: Rely entire on ccoshf.
75634         * math/s_ccosl.c: Rely entirely on ccoshl.
75635         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75636         Remove tests for FE_INVALID.
75637         * math/s_ccoshf.c: Likewise.
75638         * math/s_ccoshl.c: Likewise.
75639         * math/s_csin.c: Likewise.
75640         * math/s_csinf.c: Likewise.
75641         * math/s_csinh.c Likewise.
75642         * math/s_csinhf.c: Likewise.
75643         * math/s_csinhl.c: Likewise.
75644         * math/s_csinl.c: Likewise.
75645         * math/s_ctan.c: Likewise.
75646         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75647         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75648         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75650 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75653         compilation problems.
75655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75656         __builtin_expect.
75658 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75660         * sysdeps/i386/configure.in: Test for -mfma4 option.
75661         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75662         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75663         COMMON_CPUID_INDEX_80000001.
75664         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75665         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75666         use it if FMA3 is not supported.
75667         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75669         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75670         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75672 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75674         [BZ #12892]
75675         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75676         it would create a cycle with a link time dependency.
75678 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75680         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75681         instruction.
75682         * string/Makefile (strop-tests): Add rawmemchr.
75683         * string/test-rawmemchr.c: New file.
75685         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75686         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75687         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75688         when compiling str{,n}casecmp and when AVX is available.  Hook up
75689         new optimized code in initializers.
75691 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75693         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75694         __feraiseexcept instead of feraiseexcept.
75696 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75698         * math/math_private.h: Define defaults for libc_fetestexcept and
75699         libc_feupdateenv.
75700         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75701         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75702         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75703         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75704         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75705         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75706         libc_fetestexcept and libc_feupdateenv.
75708         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75709         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75710         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75711         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75712         libc_feholdexcept_setround.
75714         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75715         Add s_nearbyint-c and s_nearbyintf-c.
75716         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75717         nearbyintf inlines.
75718         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75719         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75720         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75721         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75723         * math/math_private.h: Define defaults for libc_fegetround,
75724         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75725         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75726         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75727         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75728         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75729         standard functions.
75730         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75731         Remove comments and hacks for old compiler versions.
75732         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75733         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75734         libc_feholdexceptl.
75736 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75738         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75739         (__feraiseexcept_renamed): Add __NTH.
75740         (feraiseexcept): Add __NTH.  Rename local variables to fix
75741         namespace violations.
75743 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75745         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75747         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75749         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75750         recently added interfaces.
75751         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75753         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75754         about macro parameter expansion.
75756         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75757         __NO_MATH_INLINES is defined.  Cleanups.
75759         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75760         and __floorf is target has SSE4.1.
75761         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75762         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75763         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75764         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75766         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75767         name.
75768         (floorf): Likewise.
75770         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75772 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75774         * misc/sys/cdefs.h: Fix last change.
75776         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75777         database lookup.
75779 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75781         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75783         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75784         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75785         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75786         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75788         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75789         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75790         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75791         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75792         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75793         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75794         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75795         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75796         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75797         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75798         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75799         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75800         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75801         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75802         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75803         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75804         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75806         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75807         ceil, ceilf, floor, floorf.
75809         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75810         Perform IRELATIVE relocations last.
75812         * elf/do-rel.h: Add another parameter nrelative, replacing the
75813         local variable with the same name.  Change name of the function
75814         to end in Rel or Rela (uppercase).
75815         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75816         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75817         elf_dynamic_do_##reloc function.
75819 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75821         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75822         is sufficient, at least on modern CPUs.
75824         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75826         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75827         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75829         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75830         __expl_finite.
75831         * math/bits/math-finite.h: Add entries for exp.
75832         * math/e_expl.c: Add __*_finite alias.
75833         * sysdeps/i386/fpu/e_exp.S: Likewise.
75834         * sysdeps/i386/fpu/e_expf.S: Likewise.
75835         * sysdeps/i386/fpu/e_expl.c: Likewise.
75836         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75837         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75838         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75839         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75840         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75841         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75842         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75844         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75845         is sufficient, at least on modern CPUs.
75847         * ctype/ctype-info.c (__ctype_init): Define.
75848         * include/ctype.h (__ctype_init): Declare.
75849         (__ctype_b_loc): The variable is always initialized.
75850         (__ctype_toupper_loc): Likewise.
75851         (__ctype_tolower_loc): Likewise.
75852         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75853         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75855 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75857         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75859         * configure.in: Also look in $cxxmachine/include for C++ system
75860         headers.
75862 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75864         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75865         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75866         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75867         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75868         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75869         (USE_AS_WMEMCMP): New macro.
75870         Fixing indents.
75871         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75872         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75873         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75874         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75876         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75877         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75878         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75879         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75880         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75881         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75882         (USE_AS_WMEMCMP): New macro.
75883         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75884         * sysdeps/string/test-memcmp.c: Update.
75885         Fix simple_wmemcmp.
75886         Add new tests.
75887         * wcsmbs/wmemcmp.c: Update.
75888         (WMEMCMP): New macro.
75889         Fix overflow bug.
75891 2011-10-12  Andreas Jaeger  <aj@suse.de>
75893         [BZ #13268]
75894         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75896 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75898         * libio/iofwide.c (do_length): Avoid warning.
75900         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75902 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75904         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75906         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75907         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75908         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75909         * sysdeps/i386/i686/fpu/e_log.S: New file.
75910         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75911         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75913         * ctype/ctype.h: Add support for inlined isXXX functions when
75914         compiling C++ code.
75916 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75918         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75920         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75922 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75924         [BZ #13291]
75925         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75927 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75929         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75930         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75931         feraiseexcept.
75933         * sysdeps/x86_64/memrchr.S: Check for zero size.
75935         * string/stratcliff.c: Add memrchr tests.
75937 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75940         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75941         rawmemchr-sse2 rawmemchr-sse2-bsf.
75942         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75943         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75944         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75945         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75946         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75947         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75948         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75949         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75950         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75951         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75952         * string/memrchr.c (MEMRCHR): New macro.
75954 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75956         Add integration with gcc's -ffinite-math-only and optimize wrapper
75957         functions in libm.
75958         * Versions.def: Define GLIBC_2.15 version for libm.
75959         * math/Makefile (headers): Add bits/math-finite.h.
75960         * math/bits/math-finite.h: New file.
75961         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75962         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75963         * math/e_acoshl.c: Add __*_finite alias.
75964         * math/e_acosl.c: Likewise.
75965         * math/e_asinl.c: Likewise.
75966         * math/e_atan2l.c: Likewise.
75967         * math/e_atanhl.c: Likewise.
75968         * math/e_coshl.c: Likewise.
75969         * math/e_exp10.c: Likewise.
75970         * math/e_exp10f.c: Likewise.
75971         * math/e_exp10l.c: Likewise.
75972         * math/e_exp2l.c: Likewise.
75973         * math/e_fmodl.c: Likewise.
75974         * math/e_gammal_r.c: Likewise.
75975         * math/e_hypotl.c: Likewise.
75976         * math/e_j0l.c: Likewise.
75977         * math/e_j1l.c: Likewise.
75978         * math/e_jnl.c: Likewise.
75979         * math/e_lgammal_r.c: Likewise.
75980         * math/e_log10l.c: Likewise.
75981         * math/e_log2l.c: Likewise.
75982         * math/e_logl.c: Likewise.
75983         * math/e_powl.c: Likewise.
75984         * math/e_sinhl.c: Likewise.
75985         * math/e_sqrtl.c: Likewise.
75986         * math/e_scalb.c: Completely rewritten and optimized.
75987         * math/e_scalbf.c: Likewise.
75988         * math/e_scalbl.c: Likewise.
75989         * math/w_acos.c: Likewise.
75990         * math/w_acosf.c: Likewise.
75991         * math/w_acosl.c: Likewise.
75992         * math/w_acosh.c: Likewise.
75993         * math/w_acoshf.c: Likewise.
75994         * math/w_acoshl.c: Likewise.
75995         * math/w_asin.c: Likewise.
75996         * math/w_asinf.c: Likewise.
75997         * math/w_asinl.c: Likewise.
75998         * math/w_atan2.c: Likewise.
75999         * math/w_atan2f.c: Likewise.
76000         * math/w_atan2l.c: Likewise.
76001         * math/w_atanh.c: Likewise.
76002         * math/w_atanhf.c: Likewise.
76003         * math/w_atanhl.c: Likewise.
76004         * math/w_exp10.c: Likewise.
76005         * math/w_exp10f.c: Likewise.
76006         * math/w_exp10l.c: Likewise.
76007         * math/w_fmod.c: Likewise.
76008         * math/w_fmodf.c: Likewise.
76009         * math/w_fmodl.c: Likewise.
76010         * math/w_j0.c: Likewise.
76011         * math/w_j0f.c: Likewise.
76012         * math/w_j0l.c: Likewise.
76013         * math/w_j1.c: Likewise.
76014         * math/w_j1f.c: Likewise.
76015         * math/w_j1l.c: Likewise.
76016         * math/w_jn.c: Likewise.
76017         * math/w_jnf.c: Likewise.
76018         * math/w_log.c: Likewise.
76019         * math/w_logf.c: Likewise.
76020         * math/w_logl.c: Likewise.
76021         * math/w_log10.c: Likewise.
76022         * math/w_log10f.c: Likewise.
76023         * math/w_log10l.c: Likewise.
76024         * math/w_log2.c: Likewise.
76025         * math/w_log2f.c: Likewise.
76026         * math/w_log2l.c: Likewise.
76027         * math/w_pow.c: Likewise.
76028         * math/w_powf.c: Likewise.
76029         * math/w_powl.c: Likewise.
76030         * math/w_remainder.c: Likewise.
76031         * math/w_remainderf.c: Likewise.
76032         * math/w_remainderl.c: Likewise.
76033         * math/w_scalb.c: Likewise.
76034         * math/w_scalbf.c: Likewise.
76035         * math/w_scalbl.c: Likewise.
76036         * math/w_sqrt.c: Likewise.
76037         * math/w_sqrtf.c: Likewise.
76038         * math/w_sqrtl.c: Likewise.
76039         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76040         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76041         used.
76042         * math/math_private.h: Declare __kernel_standard_f.
76043         * math/w_cosh.c: Remove cruft and optimize a bit.
76044         * math/w_coshf.c: Likewise.
76045         * math/w_coshl.c: Likewise.
76046         * math/w_exp2.c: Likewise.
76047         * math/w_exp2f.c: Likewise.
76048         * math/w_exp2l.c: Likewise.
76049         * math/w_hypot.c: Likewise.
76050         * math/w_hypotf.c: Likewise.
76051         * math/w_hypotl.c: Likewise.
76052         * math/w_lgamma.c: Likewise.
76053         * math/w_lgamma_r.c: Likewise.
76054         * math/w_lgammaf.c: Likewise.
76055         * math/w_lgammaf_r.c: Likewise.
76056         * math/w_lgammal.c: Likewise.
76057         * math/w_lgammal_r.c: Likewise.
76058         * math/w_sinh.c: Likewise.
76059         * math/w_sinhf.c: Likewise.
76060         * math/w_sinhl.c: Likewise.
76061         * math/w_tgamma.c: Likewise.
76062         * math/w_tgammaf.c: Likewise.
76063         * math/w_tgammal.c: Likewise.
76064         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76065         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76066         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76067         Minor optimizations.  Pretty printing.  Remove cruft.
76068         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76069         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76070         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76071         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76072         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76073         * sysdeps/i386/fpu/e_asin.S: Likewise.
76074         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76075         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76076         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76077         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76078         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76079         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76080         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76081         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76082         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76083         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76084         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76085         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76086         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76087         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76088         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76089         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76090         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76091         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76092         * sysdeps/i386/fpu/e_log.S: Likewise.
76093         * sysdeps/i386/fpu/e_log10.S: Likewise.
76094         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76095         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76096         * sysdeps/i386/fpu/e_log2.S: Likewise.
76097         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76098         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76099         * sysdeps/i386/fpu/e_logf.S: Likewise.
76100         * sysdeps/i386/fpu/e_logl.S: Likewise.
76101         * sysdeps/i386/fpu/e_pow.S: Likewise.
76102         * sysdeps/i386/fpu/e_powf.S: Likewise.
76103         * sysdeps/i386/fpu/e_powl.S: Likewise.
76104         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76105         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76106         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76107         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76108         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76109         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76110         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76111         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76112         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76113         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76114         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76115         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76116         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76117         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76118         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76119         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76120         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76121         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76122         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76123         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76124         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76125         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76126         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76127         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76128         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76129         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76130         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76131         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76132         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76133         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76134         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76135         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76136         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76137         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76138         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76139         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76140         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76141         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76142         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76143         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76144         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76145         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76146         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76147         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76148         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76149         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76150         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76151         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76152         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76153         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76154         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76155         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76156         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76157         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76158         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76159         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76160         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76161         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76162         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76163         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76164         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76165         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76166         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76168         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76169         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76170         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76171         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76172         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76173         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76174         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76181         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76182         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76184         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76187         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76189         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76190         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76191         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76192         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76194         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76195         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76196         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76197         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76198         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76199         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76200         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76201         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76202         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76203         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76204         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76205         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76206         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76207         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76208         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76209         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76210         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76211         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76212         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76213         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76214         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76215         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76216         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76217         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76218         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76219         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76220         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76221         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76222         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76223         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76224         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76225         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76226         (__isnanf): Likewise.
76227         (__isinf_ns): Likewise.
76228         (__isinf_nsf): Likewise.
76229         (__finite): Likewise.
76230         (__finitef): Likewise.
76231         (__ieee754_sqrt): Define as macro.
76232         (__ieee754_sqrtf): Define as macro.
76233         (__ieee754_sqrtl): Define as macro.
76234         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76235         inlined copy.
76236         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76237         __FINITE_MATH_ONLY__ consistent.
76238         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76240 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76242         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76243         of rawmemchr.
76245         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76247 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76249         * po/ja.po: Update from translation team.
76251 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76253         * locale/programs/locarchive.c (prepare_address_space): New function.
76254         (create_archive, enlarge_archive, open_archive): Use it.
76256         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76257         inside [SHARED], where it is used.
76259         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76261         * nss/getent.c (netgroup_keys): Remove unused variable.
76262         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76264 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76266         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76267         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76270         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76271         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76272         * math/Makefile (libm-calls): Add s_isinf_ns.
76273         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76274         * math/multc3.c: Likewise.
76275         * math/s_casin.c: Likewise.
76276         * math/s_casinf.c: Likewise.
76277         * math/s_casinl.c: Likewise.
76278         * math/s_ccos.c: Likewise.
76279         * math/s_ccosf.c: Likewise.
76280         * math/s_ccosl.c: Likewise.
76281         * math/s_ctan.c: Likewise.
76282         * math/s_ctanf.c: Likewise.
76283         * math/s_ctanh.c: Likewise.
76284         * math/s_ctanhf.c: Likewise.
76285         * math/s_ctanhl.c: Likewise.
76286         * math/s_ctanl.c: Likewise.
76287         * math/w_fmod.c: Likewise.
76288         * math/w_fmodf.c: Likewise.
76289         * math/w_fmodl.c: Likewise.
76290         * math/w_remainder.c: Likewise.
76291         * math/w_remainderf.c: Likewise.
76292         * math/w_remainderl.c: Likewise.
76293         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76294         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76295         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76297         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76298         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76299         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76300         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76302         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76303         of the number.
76304         * stdio-common/printf_fphex.c: Likewise.
76305         * stdio-common/printf_size.c: Likewise.
76307         * math/e_exp10.c: Include math_private.h using <...> not "...".
76308         * math/e_exp10f.c: Likewise.
76309         * math/e_exp10l.c: Likewise.
76310         * math/e_exp2l.c: Likewise.
76311         * math/e_j0l.c: Likewise.
76312         * math/e_j1l.c: Likewise.
76313         * math/e_jnl.c: Likewise.
76314         * math/e_lgammal_r.c: Likewise.
76315         * math/e_rem_pio2l.c: Likewise.
76316         * math/e_scalb.c: Likewise.
76317         * math/e_scalbf.c: Likewise.
76318         * math/e_scalbl.c: Likewise.
76319         * math/k_cosl.c: Likewise.
76320         * math/k_sinl.c: Likewise.
76321         * math/k_tanl.c: Likewise.
76322         * math/s_cacoshf.c: Likewise.
76323         * math/s_catan.c: Likewise.
76324         * math/s_catanf.c: Likewise.
76325         * math/s_catanh.c: Likewise.
76326         * math/s_catanhf.c: Likewise.
76327         * math/s_catanhl.c: Likewise.
76328         * math/s_catanl.c: Likewise.
76329         * math/s_ccosh.c: Likewise.
76330         * math/s_ccoshf.c: Likewise.
76331         * math/s_ccoshl.c: Likewise.
76332         * math/s_cexp.c: Likewise.
76333         * math/s_cexpf.c: Likewise.
76334         * math/s_cexpl.c: Likewise.
76335         * math/s_clog.c: Likewise.
76336         * math/s_clog10.c: Likewise.
76337         * math/s_clog10f.c: Likewise.
76338         * math/s_clog10l.c: Likewise.
76339         * math/s_clogf.c: Likewise.
76340         * math/s_clogl.c: Likewise.
76341         * math/s_csin.c: Likewise.
76342         * math/s_csinf.c: Likewise.
76343         * math/s_csinh.c: Likewise.
76344         * math/s_csinhf.c: Likewise.
76345         * math/s_csinhl.c: Likewise.
76346         * math/s_csinl.c: Likewise.
76347         * math/s_csqrt.c: Likewise.
76348         * math/s_csqrtf.c: Likewise.
76349         * math/s_csqrtl.c: Likewise.
76350         * math/s_ctan.c: Likewise.
76351         * math/s_ctanf.c: Likewise.
76352         * math/s_ctanh.c: Likewise.
76353         * math/s_ctanhf.c: Likewise.
76354         * math/s_ctanhl.c: Likewise.
76355         * math/s_ctanl.c: Likewise.
76356         * math/s_ldexp.c: Likewise.
76357         * math/s_ldexpf.c: Likewise.
76358         * math/s_ldexpl.c: Likewise.
76359         * math/s_significand.c: Likewise.
76360         * math/s_significandf.c: Likewise.
76361         * math/s_significandl.c: Likewise.
76362         * math/w_acos.c: Likewise.
76363         * math/w_acosf.c: Likewise.
76364         * math/w_acosh.c: Likewise.
76365         * math/w_acoshf.c: Likewise.
76366         * math/w_acoshl.c: Likewise.
76367         * math/w_acosl.c: Likewise.
76368         * math/w_asin.c: Likewise.
76369         * math/w_asinf.c: Likewise.
76370         * math/w_asinl.c: Likewise.
76371         * math/w_atan2.c: Likewise.
76372         * math/w_atan2f.c: Likewise.
76373         * math/w_atan2l.c: Likewise.
76374         * math/w_atanh.c: Likewise.
76375         * math/w_atanhf.c: Likewise.
76376         * math/w_atanhl.c: Likewise.
76377         * math/w_cosh.c: Likewise.
76378         * math/w_coshf.c: Likewise.
76379         * math/w_coshl.c: Likewise.
76380         * math/w_dremf.c: Likewise.
76381         * math/w_exp10.c: Likewise.
76382         * math/w_exp10f.c: Likewise.
76383         * math/w_exp10l.c: Likewise.
76384         * math/w_exp2.c: Likewise.
76385         * math/w_exp2f.c: Likewise.
76386         * math/w_fmod.c: Likewise.
76387         * math/w_fmodf.c: Likewise.
76388         * math/w_fmodl.c: Likewise.
76389         * math/w_hypot.c: Likewise.
76390         * math/w_hypotf.c: Likewise.
76391         * math/w_hypotl.c: Likewise.
76392         * math/w_j0.c: Likewise.
76393         * math/w_j0f.c: Likewise.
76394         * math/w_j0l.c: Likewise.
76395         * math/w_j1.c: Likewise.
76396         * math/w_j1f.c: Likewise.
76397         * math/w_j1l.c: Likewise.
76398         * math/w_jn.c: Likewise.
76399         * math/w_jnf.c: Likewise.
76400         * math/w_jnl.c: Likewise.
76401         * math/w_lgamma.c: Likewise.
76402         * math/w_lgamma_r.c: Likewise.
76403         * math/w_lgammaf.c: Likewise.
76404         * math/w_lgammaf_r.c: Likewise.
76405         * math/w_lgammal.c: Likewise.
76406         * math/w_lgammal_r.c: Likewise.
76407         * math/w_log.c: Likewise.
76408         * math/w_log10.c: Likewise.
76409         * math/w_log10f.c: Likewise.
76410         * math/w_log10l.c: Likewise.
76411         * math/w_log2.c: Likewise.
76412         * math/w_log2f.c: Likewise.
76413         * math/w_log2l.c: Likewise.
76414         * math/w_logf.c: Likewise.
76415         * math/w_logl.c: Likewise.
76416         * math/w_pow.c: Likewise.
76417         * math/w_powf.c: Likewise.
76418         * math/w_powl.c: Likewise.
76419         * math/w_remainder.c: Likewise.
76420         * math/w_remainderf.c: Likewise.
76421         * math/w_remainderl.c: Likewise.
76422         * math/w_scalb.c: Likewise.
76423         * math/w_scalbf.c: Likewise.
76424         * math/w_scalbl.c: Likewise.
76425         * math/w_sinh.c: Likewise.
76426         * math/w_sinhf.c: Likewise.
76427         * math/w_sinhl.c: Likewise.
76428         * math/w_sqrt.c: Likewise.
76429         * math/w_sqrtf.c: Likewise.
76430         * math/w_sqrtl.c: Likewise.
76431         * math/w_tgamma.c: Likewise.
76432         * math/w_tgammaf.c: Likewise.
76433         * math/w_tgammal.c: Likewise.
76435         * po/ja.po: Update from translation team.
76437 2011-09-29  Andreas Jaeger  <aj@suse.de>
76439         [BZ #13179]
76440         * sunrpc/netname.c (netname2host): Fix logic.
76442         [BZ #6779]
76443         [BZ #6783]
76444         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76445         correctly.
76446         * math/w_remainder.c (__remainder): Likewise.
76447         * math/w_remainderf.c (__remainderf): Likewise.
76448         * math/libm-test.inc (remainder_test): Add test cases.
76450 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76452         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76453         sdiv_qrnnd.
76455 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76457         * string/test-memcmp.c: Avoid unncessary #defines.
76458         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76460 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76462         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76463         Use new sse2 version for core i3 - i7 as it's faster
76464         than sse42 version.
76465         (bit_Prefer_PMINUB_for_stringop): New.
76466         * sysdeps/x86_64/rawmemchr.S: Update.
76467         Replace with faster SSE2 version.
76468         * sysdeps/x86_64/memrchr.S: New file.
76469         * sysdeps/x86_64/memchr.S: Update.
76470         Replace with faster SSE2 version.
76472 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76474         * elf/dl-load.c (lose): Add cast to avoid warning.
76476 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76478         * po/ca.po: Update from translation team.
76480         * inet/getnetgrent_r.c: Hook up nscd.
76481         * nscd/Makefile (routines): Add nscd_netgroup.
76482         (nscd-modules): Add netgroupcache.
76483         (CFLAGS-netgroupcache.c): Define.
76484         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76485         (cache_search): Add const to second parameter.
76486         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76487         INNETGR.
76488         (dbs): Add netgrdb entry.
76489         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76490         (verify_persistent_db): Handle netgrdb.
76491         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76492         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76493         GETFDNETGR.
76494         (netgroup_response_header): Define.
76495         (innetgroup_response_header): Define.
76496         (datahead): Add netgroup_response_header and innetgroup_response_header
76497         elements.
76498         * nscd/nscd.conf: Add entries for netgroup cache.
76499         * nscd/nscd.h (dbtype): Add netgrdb.
76500         (_PATH_NSCD_NETGROUP_DB): Define.
76501         (netgroup_iov_disabled): Declare.
76502         (xmalloc, xcalloc, xrealloc): Move declarations here.
76503         (cache_search): Adjust prototype.
76504         Add netgroup-related prototypes.
76505         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76506         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76507         (__nscd_innetgr): Declare.
76508         * nscd/selinux.c (perms): Use access_vector_t as element type and
76509         add netgroup-related initializers.
76510         * nscd/netgroupcache.c: New file.
76511         * nscd/nscd_netgroup.c: New file.
76512         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76513         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76514         For four parameters use innetgr.
76515         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76516         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76517         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76518         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76520         * nscd/connections.c (register_traced_file): Don't register file
76521         for disabled databases.
76523 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76525         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76527         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76528         from tree and freeing node.
76530 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76532         * nss/nsswitch.c (__nss_database_lookup): Handle
76533         nss_parse_service_list out of memory case.
76535 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76537         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76538         out of memory case.
76540 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76542         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76543         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76544         pass it down.
76545         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76546         elf_machine_rela, elf_machine_lazy_rel.
76547         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76548         (ELF_DYNAMIC_DO_REL): Likewise.
76549         (ELF_DYNAMIC_DO_RELA): Likewise.
76550         (ELF_DYNAMIC_RELOCATE): Likewise.
76551         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76552         to ELF_DYNAMIC_DO_REL.
76553         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76554         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76555         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76556         elf_machine_rela.
76557         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76558         skip_ifunc, don't call ifunc function if non-zero.
76559         (elf_machine_rela): Likewise.
76560         (elf_machine_lazy_rel): Likewise.
76561         (elf_machine_lazy_rela): Likewise.
76562         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76563         (elf_machine_lazy_rel): Likewise.
76564         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76565         Likewise.
76566         (elf_machine_lazy_rel): Likewise.
76567         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76568         Likewise.
76569         (elf_machine_lazy_rel): Likewise.
76570         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76571         (elf_machine_lazy_rel): Likewise.
76572         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76573         (elf_machine_lazy_rel): Likewise.
76574         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76575         (elf_machine_lazy_rel): Likewise.
76576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76577         (elf_machine_lazy_rel): Likewise.
76578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76579         (elf_machine_lazy_rel): Likewise.
76580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76581         (elf_machine_lazy_rel): Likewise.
76583 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76585         * nss/nss_files/files-init.c (_nss_files_init): Use static
76586         initialization for all the *_traced_file variables.
76588 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76590         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76592 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76594         [BZ #13226]
76595         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76597 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76600         Reread the line before reparsing it.
76602 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76604         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76606 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76607             Maxim Kuvyrkov  <maxim@codesourcery.com>
76608             Joseph Myers  <joseph@codesourcery.com>
76610         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76611         if needed for __stack_chk_guard.
76613 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76615         * sysdeps/posix/spawni.c (script_execute): Always define it.
76616         It will be optimized away if unused.
76617         (maybe_script_execute): New function.
76618         (__spawni): Call it.
76620         * Makerules: Don't include tls.make.
76621         (config-tls): Always set to thread.
76622         * tls.make.c: File removed.
76624 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76626         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76627         * config.make.in (CPPFLAGS-config): New substituted variable.
76629 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76631         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76633         [BZ #13192]
76634         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76635         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76637 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76639         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76640         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76641         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76642         (CALL_FAIL): Likewise.
76643         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76644         (CALL_FAIL): Macro removed.
76645         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76647 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76649         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76650         for __FINITE_MATH_ONLY__ == 1.
76652 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76654         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76655         __ieee754_sqrt instead of sqrt.
76656         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76657         __ieee754_sqrtf instead of sqrtf.
76658         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76659         __floorf instead of floorf.
76660         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76661         __floorf, __truncf instead of floorf, truncf.
76663 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76665         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76667         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76668         __extern_always_inline.
76669         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76670         32-bit.
76672 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76674         * elf/rtld.c (dl_main): Also relocate in dependency order when
76675         doing symbol dependency testing.
76677 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76679         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76680         Always define `refsym'.
76682 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76684         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76685         (__FD_ELT): Renamed from __FDELT.
76686         * misc/bits/select2.h (__FD_ELT): Likewise.
76687         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76688         __FD_MASK instead of __FDELT, __FDMASK.
76689         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76690         Likewise.
76691         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76692         Likewise.
76694         * elf/Makefile (gen-ldd): Fix pattern.
76696         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76697         (init_tls): Likewise.
76699 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76703 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76705         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76706         `struct cmsghdr *' instead of `void *'.
76707         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76708         Likewise.
76710 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76712         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76713         if non-absolute.
76714         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76715         ldd_rewrite_script.
76717 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76719         * configure.in: Remove --with-tls option.
76720         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76721         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76722         out in case it is missing.
76723         * sysdeps/ia64/elf/configure.in: Likewise.
76724         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76725         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76726         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76727         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76728         * sysdeps/sh/elf/configure.in: Likewise.
76729         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76730         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76731         * sysdeps/x86_64/elf/configure.in: Likewise.
76732         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76733         * sysdeps/mach/hurd/tls.h: Likewise.
76735         [BZ #13067]
76736         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76738         [BZ #13090]
76739         * configure.in: Fix use of AC_INIT.
76741         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76743 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76745         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76746         __set_errno.
76747         * malloc/hooks.c: Likewise.
76749         [BZ #11929]
76750         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76751         variables statically.
76752         (narenas): Initialize.
76753         (list_lock): Initialize.
76754         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76755         initializtion of main_arena and list_lock.  Small cleanups.
76756         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76757         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76758         Add initializers to main_arena and mp_.
76759         (malloc_state): Remove pagesize member.  Change all users to use
76760         GLRO(dl_pagesize).
76762         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76763         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76764         is always initialized.
76766         * malloc/malloc.c: Removed unused configurations and dead code.
76767         * malloc/arena.c: Likewise.
76768         * malloc/hooks.c: Likewise.
76769         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76771         * include/tls.h: Removed.  USE___THREAD must always be defined.
76772         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76773         * elf/dl-libc.c: Likewise.
76774         * elf/dl-tsd.c: Likewise.
76775         * include/errno.h: Likewise.
76776         * include/netdb.h: Likewise.
76777         * include/resolv.h: Likewise.
76778         * inet/herrno-loc.c: Likewise.
76779         * inet/herrno.c: Likewise.
76780         * malloc/arena.c: Likewise.
76781         * malloc/hooks.c: Likewise.
76782         * malloc/malloc.c: Likewise.
76783         * resolv/res-state.c: Likewise.
76784         * resolv/res_libc.c: Likewise.
76785         * sysdeps/i386/dl-machine.h: Likewise.
76786         * sysdeps/ia64/dl-machine.h: Likewise.
76787         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76788         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76789         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76790         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76791         * sysdeps/sh/dl-machine.h: Likewise.
76792         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76793         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76794         * sysdeps/unix/i386/sysdep.S: Likewise.
76795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76796         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76798         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76799         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76801         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76805         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76806         * sysdeps/x86_64/dl-machine.h: Likewise.
76807         * tls.make.c: Likewise.
76809         * configure.in: Remove --with-__thread option.  Make tests for
76810         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76811         tls_model attribute fail if no support is available.  Remove
76812         USE_IN_LIBIO.
76813         * Makeconfig: Adjust for dropped configure option.  All features are
76814         now mandatory.
76815         * Makerules: Likewise.
76816         * Versions.def: Likewise.
76817         * argp/argp-fmtstream.c: Likewise.
76818         * argp/argp-fmtstream.h: Likewise.
76819         * argp/argp-help.c: Likewise.
76820         * assert/assert.c: Likewise.
76821         * config.h.in: Likewise.
76822         * config.make.in: Likewise.
76823         * configure: Likewise.
76824         * configure.in: Likewise.
76825         * csu/Versions: Likewise.
76826         * csu/init.c: Likewise.
76827         * elf/tst-audit2.c: Likewise.
76828         * elf/tst-tls10.c: Likewise.
76829         * elf/tst-tls10.h: Likewise.
76830         * elf/tst-tls11.c: Likewise.
76831         * elf/tst-tls12.c: Likewise.
76832         * elf/tst-tls14.c: Likewise.
76833         * elf/tst-tlsmod11.c: Likewise.
76834         * elf/tst-tlsmod12.c: Likewise.
76835         * elf/tst-tlsmod13.c: Likewise.
76836         * elf/tst-tlsmod13a.c: Likewise.
76837         * elf/tst-tlsmod14a.c: Likewise.
76838         * elf/tst-tlsmod15b.c: Likewise.
76839         * elf/tst-tlsmod16a.c: Likewise.
76840         * elf/tst-tlsmod16b.c: Likewise.
76841         * elf/tst-tlsmod7.c: Likewise.
76842         * elf/tst-tlsmod8.c: Likewise.
76843         * elf/tst-tlsmod9.c: Likewise.
76844         * gmon/gmon.c: Likewise.
76845         * grp/fgetgrent_r.c: Likewise.
76846         * grp/putgrent.c: Likewise.
76847         * hurd/fopenport.c: Likewise.
76848         * include/libc-symbols.h: Likewise.
76849         * include/tls.h: Likewise.
76850         * intl/gettextP.h: Likewise.
76851         * intl/loadinfo.h: Likewise.
76852         * locale/global-locale.c: Likewise.
76853         * locale/localeinfo.h: Likewise.
76854         * mach/devstream.c: Likewise.
76855         * malloc/arena.c: Likewise.
76856         * malloc/set-freeres.c: Likewise.
76857         * misc/err.c: Likewise.
76858         * misc/getttyent.c: Likewise.
76859         * misc/mntent_r.c: Likewise.
76860         * posix/getopt.c: Likewise.
76861         * posix/wordexp.c: Likewise.
76862         * pwd/fgetpwent_r.c: Likewise.
76863         * resolv/Versions: Likewise.
76864         * resolv/res_hconf.c: Likewise.
76865         * shadow/fgetspent_r.c: Likewise.
76866         * shadow/putspent.c: Likewise.
76867         * stdio-common/printf_fphex.c: Likewise.
76868         * stdio-common/tmpfile.c: Likewise.
76869         * stdlib/abort.c: Likewise.
76870         * stdlib/fmtmsg.c: Likewise.
76871         * sunrpc/auth_unix.c: Likewise.
76872         * sunrpc/clnt_perr.c: Likewise.
76873         * sunrpc/clnt_tcp.c: Likewise.
76874         * sunrpc/clnt_udp.c: Likewise.
76875         * sunrpc/clnt_unix.c: Likewise.
76876         * sunrpc/openchild.c: Likewise.
76877         * sunrpc/svc_simple.c: Likewise.
76878         * sunrpc/svc_tcp.c: Likewise.
76879         * sunrpc/svc_udp.c: Likewise.
76880         * sunrpc/svc_unix.c: Likewise.
76881         * sunrpc/xdr.c: Likewise.
76882         * sunrpc/xdr_array.c: Likewise.
76883         * sunrpc/xdr_rec.c: Likewise.
76884         * sunrpc/xdr_ref.c: Likewise.
76885         * sunrpc/xdr_stdio.c: Likewise.
76887 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76889         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76891 2011-07-03  Andreas Jaeger  <aj@suse.de>
76893         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76894         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76895         regenerate with gen-libm-tests.pl.
76897 2010-05-12  Petr Baudis  <pasky@suse.cz>
76899         [BZ #11589]
76900         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76901         around j0() zero points by switching to j1().
76902         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76903         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76905         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76907 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76909         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76910         instead of 0.
76911         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76912         instead of 0.
76913         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76914         Patch in part by Pavel Roskin <proski@gnu.org>.
76916         [BZ #13138]
76917         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76918         realloc.
76919         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76920         Free memory block if necessary.
76922         [BZ #12847]
76923         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76924         be NULL.  Don't lock in this case.
76926 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76928         * elf/elf.h (ELFOSABI_GNU): New macro.
76929         (ELFOSABI_LINUX): Define to that.
76931 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76933         * string/strncat.c (strncat): Undef the symbol in case it has been
76934         defined in bits/string.h.
76936 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76938         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76940         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76941         link map.
76943 2011-08-17  Andreas Jaeger  <aj@suse.de>
76945         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76947 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76948             Ian Lance Taylor  <iant@google.com>
76950         * math/libm-test.inc (lround_test): New testcase.
76951         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76953 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76955         * Makefile: Remove support for automatic cvs check-ins.
76956         * Makerules: Likewise.
76957         * config.make.in: Likewise.
76958         * configure.in: Likewise.
76959         * intl/Makefile: Likewise.
76960         * locale/Makefile: Likewise.
76961         * po/Makefile: Likewise.
76962         * posix/Makefile: Likewise.
76963         * sysdeps/gnu/Makefile: Likewise.
76964         * sysdeps/mach/hurd/Makefile: Likewise.
76965         * sysdeps/sparc/sparc32/Makefile: Likewise.
76967         [BZ #13118]
76968         * posix/Makefile (bug-regex32-ENV): Define.
76969         Patch by John Stanley <jpsinthemix@verizon.net>.
76971         * misc/Makefile (headers): Add bits/select2.h.
76972         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76973         * misc/bits/select2.h: New file.
76974         * include/bits/select2.h: New file.
76975         * debug/Makefile (routines): Add fdelt_chk.
76976         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76977         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76978         FD_ISSET.
76979         * debug/fdelt_chk.c: New file.
76981         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76982         * wcsmbs/test-wmemcmp.c: Likewise.
76983         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76984         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76986 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76988         * string/Makefile (strop-tests): Add memcmp.
76989         * string/test-wmemcmp.c: New file.
76990         * string/test-memcmp.c: Add wmemcmp support.
76992 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76994         [BZ #13153]
76995         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76996         2011-07-19 change.
76998         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76999         garbage value in a __mach_port_mod_refs call in the cases of the
77000         task-self and thread-self ports.
77002 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77004         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77006 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77008         * elf/dl-load.c (lose): Check for non-null L.
77010 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77012         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77014         * elf/dl-libc.c (dlerror_run): Pass back error code from
77015         dl_catch_error.
77017         [BZ #13123]
77018         * elf/dl-load.c (lose): Free l_origin if it is valid.
77020         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77021         names.
77022         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77023         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77024         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77025         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77026         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77027         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77029 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77031         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77032         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77033         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77034         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77035         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77036         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77037         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77038         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77039         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77040         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77042 2011-08-15  Alan Modra  <amodra@gmail.com>
77044         [BZ #13092]
77045         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77046         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77047         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77048         ppc_mcount to static-only-routines.
77049         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77050         __mcount_internal.
77051         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77052         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77054 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77056         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77057         for finite and infinity parameters.
77059 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77061         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77062         and add nop instructions for throughput optimization.
77063         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77065 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77067         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77068         aligned copy for power7 with vector-scalar instructions.
77069         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77071 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77073         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77074         AVX check.
77076 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77078         [BZ #13144]
77079         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77080         last change.
77082 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77084         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77085         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77086         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77087         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77088         clock_gettime.
77090 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77092         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77093         Forgot to demangle the pointer.
77095         * sysdeps/i386/sysdep.h: Define atom_text_section.
77096         * sysdeps/x86_64/sysdep.h: Likewise.
77097         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77098         section with atom_text_section.
77099         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77100         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77101         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77102         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77103         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77105         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77106         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77107         already be defined.  Change to take two parameters and don't assign
77108         result to variable.  Adjust all users.
77109         Define INTERNAL_GETTIME if not already defined.
77110         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77111         call.
77112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77113         HAVE_CLOCK_GETTIME_VSYSCALL.
77114         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77117         gettimeofday vsyscall, just use time.
77119 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77121         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77122         <errno.h>.
77124 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77126         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77127         syscall on x86-64.
77128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77129         syscall.
77130         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77131         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77132         syscall if possible.
77134 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77136         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77137         e_ident.  Don't pass to find_mapsXX.
77138         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77140 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77143         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77144         * sysdeps/x86_64/multiarch/strchr.S: Update.
77145         Check bit_slow_BSF bit.
77146         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77147         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77148         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77150 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77152         [BZ #13134]
77153         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77154         before glibc 2.15.
77155         (tryshell): Define.
77156         (__spawni): Change last parameter to be flag.  Test
77157         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77158         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77159         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77160         * posix/spawni.c: Likewise.
77161         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77162         * posix/spawnp.c: Likewise.  Change normal version to use
77163         SPAWN_XFLAGS_USE_PATH.
77164         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77165         SPAWN_XFLAGS_TRY_SHELL.
77167         [BZ #13150]
77168         * posix/glob.h: Remove gcc 1.x support.
77170         [BZ #13068]
77171         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77173 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77176         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77177         strrchr-sse2-bsf
77178         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77179         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77180         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77181         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77182         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77183         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77185 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77187         * sysdeps/x86_64/wcscmp.S: New file.
77189         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77190         wcscmp-c wcscmp-sse2
77191         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77192         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77193         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77194         * wcsmbs/wcscmp.c: Allow renaming.
77196 2011-09-05  David S. Miller  <davem@davemloft.net>
77198         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77199         stack slot, rather than the struct return pointer slot.
77200         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77201         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77203         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77205 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77207         * po/ja.po: Update from translation team.
77209         [BZ #13144]
77210         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77211         kernel in 64-bit binaries.
77213 2011-09-01  David S. Miller  <davem@davemloft.net>
77215         * elf/elf.h (HWCAP_SPARC_*): Move to..
77216         * sysdeps/sparc/sysdep.h: this new file and add new values.
77217         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77218         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77219         _DL_HWCAP_COUNT to 24.
77220         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77221         entries.
77222         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77223         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77224         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77225         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77226         instead of magic constants.
77227         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77229 2011-08-31  David S. Miller  <davem@davemloft.net>
77231         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77233         Reimplement to do errno handling inline.
77234         (SYSCALL_ERROR_HANDLER): New macro.
77235         (__SYSCALL_STRING): Do not do errno handling in asm.
77236         (__CLONE_SYSCALL_STRING): Delete.
77237         (__INTERNAL_SYSCALL_STRING): Delete.
77238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77239         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77240         (PSEUDO): Reimplement to do errno handling inline.
77241         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77242         (SYSCALL_ERROR_HANDLER): New macro.
77243         (__SYSCALL_STRING): Do not do errno handling in asm.
77244         (__CLONE_SYSCALL_STRING): Delete.
77245         (__INTERNAL_SYSCALL_STRING): Delete.
77246         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77247         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77248         i386.
77249         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77250         (inline_syscall*): Add 'err' argument.
77251         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77252         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77253         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77254         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77256         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77257         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77259 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77261         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77263 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77265         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77266         directive.
77268 2011-08-24  David S. Miller  <davem@davemloft.net>
77270         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77272 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77274         * elf/Makefile: Add rules to build and run unload8 test.
77275         * elf/unload8.c: New file.
77276         * elf/unload8mod1.c: New file.
77277         * elf/unload8mod1x.c: New file.
77278         * elf/unload8mod2.c: New file.
77279         * elf/unload8mod3.c: New file.
77281         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77282         it wasn't used.
77284 2011-08-23  David S. Miller  <davem@davemloft.net>
77286         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77287         subtract stack bias.
77288         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77289         %sp not %fp in calculations.
77290         (_JMPBUF_UNWINDS_ADJ): Likewise.
77292         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77293         (aio_suspend): Call it to force an exception region around the
77294         AIO_MISC_WAIT() invocation.
77296 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77298         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77299         backslash.
77301 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77303         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77304         protection macro.
77305         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77306         and <dl-machine.h>.
77307         (Elf64_FuncDesc): Remove.
77309 2011-08-22  David S. Miller  <davem@davemloft.net>
77311         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77312         sigaltstack check, add missing cfi directives.
77313         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77314         missing cfi directives, and sigaltstack handling.
77316 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77318         [BZ #11724]
77319         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77320         object is seen twice.
77321         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77323         * elf/Makefile (distribute): Add tst-initorder2.c.
77324         (tests): Add tst-initorder2.
77325         (modules-names): Add tst-initorder2a tst-initorder2b
77326         tst-initorder2c tst-initorder2d.  Add rules to build them.
77327         ($(objpfx)tst-initorder2.out): New rule.
77328         * elf/tst-initorder2.c: New file.
77329         * elf/tst-initorder2.exp: New file.
77331 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77333         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77335         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77336         dependencies back to end of function.
77338         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77339         $(elfobjdir)/ld.so.
77341 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77343         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77344         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77345         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77346         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77347         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77348         of __vdso_gettimeofday.
77349         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77350         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77351         attribute_hidden.
77352         (_libc_vdso_platform_setup): Remove initialization of
77353         __vdso_gettimeofday and __vdso_time.
77355 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77357         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77358         and fgetc_unlocked.
77359         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77360         getc_unlocked.
77362         * elf/dl-open.c (add_to_global): Report additions to the global scope
77363         for LD_DEBUG=scopes.
77364         (dl_open_worker): Also print scope of newly loaded dependencies.
77365         (_dl_show_scope): Indicate if there is no scope.
77367         [BZ #13114]
77368         * stdio-common/Makefile (tests): Add bug24.
77369         * stdio-common/bug24.c: New file.
77371 2011-08-19  Andreas Jaeger  <aj@suse.de>
77373         [BZ #13114]
77374         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77375         non-existant file when using close-on-exec mode.
77377 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77380         the very first instruction.
77382         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77383         the CFI state in the end.
77384         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77385         inclusion of dl-trampoline.h.
77386         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77388 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77390         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77391         expectations for long double.
77393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77394         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77396 2011-08-14  David S. Miller  <davem@davemloft.net>
77398         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77399         artificual limit depends upon the system page size.
77401 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77403         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77404         * resolv/Makefile: Define CFLAGS-libresolv.
77406 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77408         * nss/makedb.c (compute_tables): Make variables used in nested
77409         function static.
77411 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77413         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77414         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77415         if buffer was too small.
77417         * elf/pldd.c (main): Attach to all threads in the process.
77418         Rewrite /proc handling to use *at functions.
77420 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77422         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77423         specifies first scope to show.
77424         (dl_open_worker): Update callers.  Move printing scope of new
77425         object to before the relocation.
77426         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77427         * sysdeps/generic/ldsodefs.h: Update declaration.
77429         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77430         string for the scope number.
77432 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77434         * nscd/servicescache.c (cache_addserv): Make sure written is always
77435         initialized.
77437 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77439         * sysdeps/i386/i486/bits/atomic.h
77440         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77441         statement expression, so as to suppress "set but not used" warning.
77442         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77444         * string/strncat.c (STRNCAT): Use prototype definition.
77446         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77447         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77448         -Iprograms here.
77449         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77450         (localedef-modules): Add localedef.
77451         (locale-modules): Add locale.
77453         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77454         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77455         to avoid a warning.
77457 2011-08-14  David S. Miller  <davem@davemloft.net>
77459         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77460         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77462 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77464         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77465         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77466         * elf/rtld.c (dl_main): Set l_name of vDSO.
77467         Call _dl_show_scope when DL_DEBUG_SCOPES.
77468         (process_dl_debug): Recognize scopes flag and also set it for all.
77469         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77470         Declare _dl_show_scope.
77472         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77473         (do_dlopen): Pass caller_dlopen to dl_open.
77474         (__libc_dlopen_mode): Initialize caller_dlopen.
77476         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77477         of libc.  Make tolower call locale-independent.  Optimize a bit by
77478         using isdigit instead of isalnum.
77479         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77481 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77483         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77484         was a dependency or dynamically loaded.
77486 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77488         * intl/l10nflist.c: Allow architecture-specific pop function.
77489         * sysdeps/x86_64/l10nflist.c: New file.
77491         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77492         classification.
77494 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77496         * include/dirent.h: Add libc_hidden_proto for scandirat and
77497         scandirat64.  Don't declare __scandirat64.
77498         * dirent/scandirat.c: Add libc_hidden_def.
77499         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77500         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77502 2011-08-10  David S. Miller  <davem@davemloft.net>
77504         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77505         enum.
77506         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77508         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77510 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77512         * Versions.def [libc]: Add GLIBC_2.15.
77513         * dirent/Makefile (routines): Add scandirat and scandirat64.
77514         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77515         GLIBC_2.15.
77516         * dirent/dirent.h: Declare scandirat and scandirat64.
77517         * dirent/scandirat.c: New file.
77518         * dirent/scandirat64.c: New file.
77519         * sysdeps/wordsize-64/scandirat.c: New file.
77520         * sysdeps/wordsize-64/scandirat64.c: New file.
77521         * dirent/opendir.c: Define opendirat.
77522         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77523         using scandirat.
77524         * dirent/scandir64.c: Adjust for scandir.c change.
77525         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77526         __scandirat64, and __scandir_cancel_handler.
77527         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77528         additional parameter and use openat instead of open (outside of ld.so).
77529         Add new __opendir as wrapper around __opendirat.
77530         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77531         here without requiring old scandirat implementation.
77533 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77535         * dirent/scandir.c (cancel_handler): Renamed to
77536         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77537         defined.  Adjust users.
77538         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77539         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77541 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77543         * string/test-string.h (IMPL): Use __STRING to expand name and then
77544         stringify it.
77546         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77547         of cleanups.
77549 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77551         * string/Makefile: Update.
77552         (strop-tests): Append strncat.
77553         * string/test-wcscmp.c: New file.
77554         New comprehensive test for wcscmp.
77555         * string/test-strcmp.c: Update.
77556         (WIDE): New define.
77558 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77560         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77561         line.
77563 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77566         encoding to ACE if AI_IDN.
77568 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77571         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77573 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77575         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77576         Fix overflow bug in strncat.
77577         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77579         * string/test-strncat.c: Update.
77580         Add new tests for checking overflow bugs.
77582 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77585         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77586         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77587         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77588         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77589         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77590         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77591         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77592         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77595         (USE_AS_STRCAT): Define.
77596         Add strcat and strncat support.
77597         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77599 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77601         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77602         __n bigger than INT_MAX+1.
77603         (__strncmp_g): Likewise.
77605 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77607         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77608         * libio/stido.h: Likewise.
77610         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77611         (AF_NFC): Define.
77612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77613         (AF_NFC): Define.
77615         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77616         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77617         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77618         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77619         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77621         [BZ #13021]
77622         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77623         installed.
77625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77626         typo.
77627         (_dl_x86_64_save_sse): Likewise.
77629 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77632         OSXSAVE.
77633         (_dl_x86_64_save_sse): Likewise.
77635         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77637         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77639 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77642         change.
77643         (_dl_x86_64_save_sse): Use correct AVX check.
77645 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77647         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77648         bug in strncpy/strncat.
77649         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77651 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77653         * string/tester.c (test_strcat): Add tests for different alignments
77654         of source and destination.
77655         (test_strncat): Likewise.
77657 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77659         [BZ #12852]
77660         * posix/glob.c (glob): Check passed in values before using them in
77661         expressions to avoid some overflows.
77662         (glob_in_dir): Likewise.
77664         [BZ #13007]
77665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77666         check for AVX enablement so that we don't crash with old kernels and
77667         new hardware.
77668         * elf/tst-audit4.c: Add same checks here.
77669         * elf/tst-audit6.c: Likewise.
77671         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77673 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77675         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77677 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77679         * po/cs.po: Update from translation team.
77680         * po/bg.po: Likewise.
77682 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77684         * misc/sys/cdefs.h: Add support for const attribute.
77685         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77686         to gnu_dev_{major,minor,makedev} functions.
77688 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77690         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77692 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77694         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77695         strlen results.
77697 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77700         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77701         register in order to avoid conflicts with the soft frame pointer
77702         being held in r11 when necessary.
77703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77704         (INTERNAL_VSYSCALL_NCS): Likewise.
77706 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77708         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77709         * elf/dl-fini.c (_dl_fini): Adjust caller.
77710         * elf/dl-close.c (_dl_close_worker): Likewise.
77711         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77713 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77715         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77716         "aux_cache->nlibs < 0".
77718         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77719         in the reload-count case.
77721 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77724         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77725         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77726         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77727         * sysdeps/x86_64/multiarch/strcat.S: New file.
77728         * sysdeps/x86_64/multiarch/strncat.S: New file.
77729         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77730         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77731         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77732         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77733         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77734         (USE_AS_STRCAT): Define.
77735         Add strcat and strncat support.
77736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77737         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77738         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77739         * string/strncat.c: Update.
77740         (USE_AS_STRNCAT): Define.
77741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77742         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77743         and i7.
77744         * sysdeps/x86_64/multiarch/init-arch.h
77745         (bit_Prefer_PMINUB_for_stringop): New.
77746         (index_Prefer_PMINUB_for_stringop): Likewise.
77747         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77748         bit_Prefer_PMINUB_for_stringop.
77750 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77752         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77753         buffer64.
77754         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77755         of casting of buffer.
77756         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77757         buffer32 and buffer64.
77758         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77759         writes instead of casting of buffer.
77760         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77761         buffer32.
77762         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77763         casting of buffer.
77765 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77767         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77769 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77771         * nscd/nscd.c (termination_handler): Don't do anything for a database
77772         if it has not yet been initialized.
77774 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77776         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77778 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77780         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77782 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77784         * po/nl.po: Update from translation team.
77785         * po/sv.po: Likewise.
77787 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77789         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77790         now disallowed by GCC.
77792         * configure.in (use-default-link): Default to yes if a test -shared
77793         link meets our qualifications.
77794         * configure: Regenerated.
77796         * config.make.in (output-format): New variable.
77797         * configure.in: Check for ld --print-output-format support.
77798         * configure: Regenerated.
77799         * Makerules ($(common-objpfx)format.lds)
77800         [$(output-format) != unknown]: Just use $(output-format),
77801         instead of the linker-script munging.
77803 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77805         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77806         of $(common-objpfx)shlib.lds.
77807         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77809         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77810         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77812         * configure.in (-z relro check): Adjust test code to add a large
77813         writable data section after it.
77814         * configure: Regenerated.
77816 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77818         * configure.in (-z relro check): Fix test code to make the variable
77819         truly const.
77820         * configure: Regenerated.
77822 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77824         * nscd/nscd.h (struct traced_file): Define.
77825         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77826         elements.  Add traced_files.
77827         (inotify_fd): Declare.
77828         (register_traced_file): Declare.
77829         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77830         (inotify_fd): Export.
77831         (resolv_conf_descr): Remove.
77832         (nscd_init): Move inotify descriptor creation to main.
77833         Don't register files for notification here.
77834         (register_traced_file): New function.
77835         (invalidate_cache): Don't use reset_res to determine whether to call
77836         res_init, go through the list of registered files.
77837         (main_loop_poll): The inotify descriptors are now stored in the
77838         structures for the traced files.
77839         (main_loop_epoll): Likewise.
77840         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77841         to __nss_disable_nscd.
77842         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77843         for a database anymore.  Check the records for all the registered
77844         files instead.
77845         * nss/Makefile (libnss_files-routines): Add files-init.
77846         (libnss_db-routines): Add db-init.
77847         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77848         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77849         * nss/nss_db/db-init.c: New file.
77850         * nss/nss_files/files-init.c: New file.
77851         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77852         __nss_lookup_function.
77853         (__nss_lookup_function): Call nss_load_library.
77854         (nss_load_all_libraries): New function.
77855         (__nss_disable_nscd): Take parameter with callback function for files
77856         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77857         used for the cached services.
77858         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77859         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77860         options for features to all the files in nscd.
77862         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77864 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77866         * csu/elf-init.c (__libc_csu_init): Comment typo.
77868 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77870         * po/pl.po: Update from translation team.
77871         * po/ja.po: Likewise.
77872         * po/ru.po: Likewise.
77873         * po/ko.po: Likewise.
77874         * po/fr.po: Likewise.
77876 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77878         * configure.in (.ctors/.dtors header and trailer check):
77879         Use an empirical test on a built program.
77880         * configure: Regenerated.
77882         * configure.in (-z relro check): Use an empirical test on a built DSO.
77883         Detect, but do not require, on ia64.
77884         * configure: Regenerated.
77886         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77887         Update tests that use readelf to use $READELF instead.
77888         * configure: Regenerated.
77890 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77892         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77893         if the result is not used.
77895 2011-07-05  Andreas Jaeger  <aj@suse.de>
77897         [BZ#9696]
77898         * stdlib/tst-strtod.c: Add testcase.
77900 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77902         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77903         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77904         The latter has a higher limit.  Take additional parameter to pass to
77905         the new function.
77906         (__pathconf): Pass file to __statfs_link_max.
77907         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77908         __statfs_link_max.
77909         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77910         __statfs_link_max.
77912         [BZ #12868]
77913         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77914         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77915         Handle Lustre.
77916         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77917         (__statfs_filesize_max): Likewise.
77918         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77920 2011-07-05  Andreas Jaeger  <aj@suse.de>
77922         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77924 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77926         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77927         `status' variable.
77928         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77929         Likewise.
77931 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77933         * Makefile (strop-tests): Add strncat.
77934         * string/test-strncat.c: New file.
77936 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77938         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77940 2011-06-21  Andreas Jaeger  <aj@suse.de>
77942         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77943         Copy rule from iconvdata/Makefile.
77945 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77947         [BZ #12922]
77948         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77949         but no long options are defined, just return 'W'.
77951 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77953         [BZ #9696]
77954         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77956 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77958         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77959         netgroups to read.
77960         (innetgr): Likewise.
77962 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77964         * config.make.in (install_root): Default to $(DESTDIR).
77966 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77968         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77970 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77972         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77974         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77975         containing directory rather than embedding absolute directory names.
77977         * scripts/check-local-headers.sh: Rewritten using awk.
77978         Match by word, not by line.  Print error messages for matches.
77979         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77981         * Makerules [shlib-lds-flags empty]:
77982         ($(common-objpfx)libc_pic.opts): New target.
77983         ($(common-objpfx)libc_pic.os.clean): New target.
77984         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77986         * config.make.in (OBJCOPY): New variable.
77987         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77988         * configure: Regenerated.
77990         * config.make.in (use-default-link): New variable.
77991         * configure.in (use_default_link): Grok --with-default-link to set it.
77992         * configure: Regenerated.
77993         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77994         (shlib-lds, shlib-lds-flags): Define to empty.
77996         * Makerules (shlib-lds): New variable.
77997         (shlib-lds-flags): New variable.
77998         (build-shlib, build-moduile, build-module-asneeded): Use it.
77999         ($(common-objpfx)libc.so): Use $(shlib-lds).
78000         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78001         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78003         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78004         DT_FLAGS/DT_FLAGS_1 with zero flags.
78006         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78007         linker script munging.
78009 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78011         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78012         as 128-bit value.
78013         * crypt/sha512.c (sha512_process_block): Perform total addition using
78014         128-bit if possible.
78015         (__sha512_finish_ctx): Likewise.
78016         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78017         as 64-bit value.
78018         * crypt/sha256.c (SWAP64): Define.
78019         (sha256_process_block): Perform total addition using 64-bit if
78020         possible.
78021         (__sha256_finish_ctx): Likewise.
78023 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78025         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78026         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78027         * nscd/hstcache.c (cache_addhst): Likewise.
78028         * nscd/grpcache.c (cache_addgr): Likewise.
78029         * nscd/aicache.c (addhstaiX): Likewise.
78030         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78032 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78034         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78035         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78036         * nscd/hstcache.c (cache_addhst): Likewise.
78037         * nscd/grpcache.c (cache_addgr): Likewise.
78038         * nscd/aicache.c (addhstaiX): Likewise.
78040 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78042         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78043         domain only when needed.
78045 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78048         is always restored.
78050 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78052         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78053         are re-adding the entry.
78054         * nscd/servicescache.c (cache_addserv): Likewise.
78056 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78058         * sysdeps/generic/dl-irel.h: fix protection against multiple
78059         inclusions.
78060         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78062 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78064         [BZ #12935]
78065         * malloc/memusage.sh: Fix quoting in message.
78066         * debug/xtrace.sh: Likewise.
78068         * configure.in: Remove support for --experimental-malloc option, make
78069         it the default.
78070         * config.make.in: Likewise.
78071         * malloc/Makefile: Likewise.
78073 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78075         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78076         two-byte characters.
78078 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78080         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78081         AC_CACHE_CHECK invocation.
78082         * configure: Regenerated.
78084         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78086 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78088         [BZ #12350]
78089         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78090         bit from old_res_options.
78092         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78094         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78095         value type for setfct.
78097 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78100         __gettimeofday instead of gettimeofday.
78102 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78104         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78106 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78110         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78111         info.
78113 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78116         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78117         strcpy-sse2-unaligned strncpy-sse2-unaligned
78118         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78119         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78120         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78121         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78122         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78123         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78124         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78125         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78126         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78127         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78128         (STRCPY): Support SSE2 and SSSE3 versions.
78130 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78132         [BZ #12874]
78133         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78134         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78135         kernels which artificially limit size of requests.
78137 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78140         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78141         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78142         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78143         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78144         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78145         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78146         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78147         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78148         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78149         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78150         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78151         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78152         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78153         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78155         Enable unaligned load optimization for Intel Core i3, i5 and i7
78156         processors.
78157         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78158         Define.
78159         (index_Fast_Unaligned_Load): Define.
78160         (HAS_FAST_UNALIGNED_LOAD): Define.
78162 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78164         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78166 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78168         [BZ #12907]
78169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78170         until it is clear that the information is realy needed.
78171         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78173 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78177 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78180         /sys/devices/system/cpu/online if it is usable.
78182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78183         reading the information from the /proc filesystem to once a second.
78185 2011-06-21  Andreas Jaeger  <aj@suse.de>
78187         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78188         NULL after inclusion of kernel headers.
78190 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78192         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78193         calls to internal_setent.
78195         [BZ #12885]
78196         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78197         addresses using gethostbyname4_r ignore IPv4 addresses.
78199         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78200         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78202         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78204 2011-06-20  David S. Miller  <davem@davemloft.net>
78206         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78207         inclusions.
78208         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78210         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78211         (elf_irel): Use it.
78212         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78213         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78214         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78215         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78216         * sysdeps/x86_64/dl-irel.h: Likewise.
78218         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78219         * elf/dl-sym.c: Likewise.
78221 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78223         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78224         need to dereference resplen2.
78226 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78228         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78230 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78232         * Makeconfig: Define vardbdir and inst_vardbdir.
78233         * nss/Makefile: Add rules to install db-Makefile.
78235         * nss/nss_db/db-XXX.c: Cleanup.
78237         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78238         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78239         GLIBC_PRIVATE.
78240         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78241         * nss/makedb.c: Implement -g option to specify that value strings
78242         are generated and should not be added to table iterated over for
78243         get*ent calls.
78244         * nss/nss_db/db-initgroups.c: New file.
78246         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78247         interface.
78249         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78250         (internal_getgrouplist): Adjust to name change.
78251         Update use_initgroups_entry if this is not the first call.
78252         * nss/databases.def: Add initgroups entry.
78254         * nss/makedb.c (compute_tables): Check result of multiple hash table
78255         sizes to minimize maximum chain length.
78257 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78259         * Versions.def: Add entry for libnss_db.
78260         * shlib-versions: Likewise.
78261         * nss/Makefile: Add rules to build libnss_db.
78262         * nss/Versions: Add libnss_db information.  Organize libnss_files
78263         entries better.
78264         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78265         makedb progra.  Some minor improvements to generate smaller files.
78266         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78267         here from...
78268         * nss/makedb.c: ...here.
78269         Improve database format to be smaller and require less memory at
78270         runtime.
78271         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78272         db anymore.
78273         * nss/nss_db/db-netgrp.c: Likewise.
78274         * nss/nss_db/db-open.c: Likewise.
78275         * nss/nss_files/flies-XXX.x: Adjust comments.
78276         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78277         * nss/nss_files/files-grp.c: Likewise.
78278         * nss/nss_files/files-hosts.c: Likewise.
78279         * nss/nss_files/files-network.c: Likewise.
78280         * nss/nss_files/files-proto.c: Likewise.
78281         * nss/nss_files/files-pwd.c: Likewise.
78282         * nss/nss_files/files-rpc.c: Likewise.
78283         * nss/nss_files/files-service.c: Likewise.
78284         * nss/nss_files/files-sgrp.c: Likewise.
78285         * nss/nss_files/files-spwd.c: Likewise.
78286         * nss/nss_db/db-alias.c: Removed.
78287         * nss/nss_db/dummy-db.h: Removed.
78289 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78291         * nss/makedb.c: Rewritten to not use database library.
78292         * nss/Makefile: Update to build new makedb program.
78294 2011-06-14  Andreas Jaeger  <aj@suse.de>
78296         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78297         memset declaration.
78299 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78302         tmpbuf.
78304 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78306         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78307         * elf/Makefile ($(objpfx)ld.so): Likewise.
78309         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78310         Don't list ld.so twice in dependencies.
78312         * posix/bug-regex31.c: Include <stdlib.h>.
78314         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78316         * nis/nss_compat/compat-spwd.c
78317         (getspent_next_nss_netgr): Remove unused variable.
78318         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78320         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78321         nonmembers" output to use the right array.
78323         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78325         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78327         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78328         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78329         * catgets/gencat.c (read_input_file): Likewise.
78330         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78332         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78333         variable definition inside #if's controlling its use.
78335         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78337         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78339         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78341         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78342         unreachable code.
78344         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78346         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78347         * configure: Regenerated.
78349         * Makerules: Revert last change.
78350         * elf/Makefile: Likewise.
78352 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78354         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78355         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78356         (reloc-link): Likewise.
78358 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78360         * elf/Makefile: Add rules to build pldd.
78361         * elf/pldd.c: New file.
78362         * elf/pldd-xx.c: New file.
78364 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78366         * version.h: Update for 2.15 development version.
78368 2011-06-07  David S. Miller  <davem@davemloft.net>
78370         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78371         ifuncs.
78372         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78373         elf_machine_lazy_rel): Likewise.
78374         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78375         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78376         elf_machine_lazy_rel): Likewise.
78377         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78378         dl_hwcap via passed in argument.
78379         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78380         Likewise.
78382 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78384         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78386 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78388         [BZ #12849]
78389         * manual/fdl-1.1.texi: New file, verbatim from:
78390         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78391         * manual/lgpl-2.1.texi: New file, verbatim from:
78392         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78393         * manual/Makefile (licenses): New variable, list those new file names.
78394         (texis): Use it.
78395         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78397         * manual/fdl.texi: File removed.
78398         * manual/lesser.texi: File removed.
78399         * manual/libc.texinfo (Copying, Documentation License):
78400         Use new @include file names, put @appendix directive before @include.
78402 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78404         [BZ #12841]
78405         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78406         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78407         (mq_open): Add __NTH.
78409 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78412         Assume Intel Core i3/i5/i7 processor if AVX is available.
78414 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78416         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78417         typo.
78419 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78421         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78422         memory.  Use alloca_account.  Fix memory leak when retrying.
78424 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78426         * version.h (RELEASE): Bump for 2.14 release.
78427         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78429         * config.make.in (RANLIB): Remove entry.
78431 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78433         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78434         (libc.pot): Work around missing support for .ksh extension in xgettext.
78436         [BZ #12684]
78437         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78438         if both request failed.
78439         (send_dg): In case of server errors clear resplen or *resplen2.
78441         [BZ #12454]
78442         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78443         when there are multiple maps.
78444         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78445         (_dl_fini): Remove test here.
78447         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78449 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78451         [BZ #12350]
78452         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78453         bit from old_res_options.
78454         (gaih_inet): Likewise.
78456         [BZ #11099]
78457         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78458         as signed.
78460         * resolv/res_init.c (res_setoptions): Make the code more compact.
78462         [BZ #11558]
78463         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78464         set RES_USEVC.
78466         [BZ #11634]
78467         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78469         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78471         [BZ #11781]
78472         * malloc/malloc.h: Declare malloc hook variables as volatile.
78474         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78475         in last patch.
78477         [BZ #11799]
78478         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78479         raise in the comment.
78480         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78481         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78482         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78484 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78486         [BZ #12811]
78487         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78488         grow the buffers more if it already has to be sufficient.
78489         (build_wcs_upper_buffer): Likewise.
78490         * posix/regexec.c (check_matching): Likewise.
78491         (clean_state_log_if_needed): Likewise.
78492         (extend_buffers): Don't enlarge buffers beyond size of the input
78493         buffer.
78494         Patches mostly by Emil Wojak <emil@wojak.eu>.
78495         * posix/bug-regex32.c: New file.
78496         * posix/Makefile (tests): Add bug-regex32.
78498         * locale/findlocale.c (_nl_find_locale): Return right away if
78499         _nl_explode_name failed.
78500         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78502         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78504         * debug/xtrace.sh: Unify messages.
78505         * malloc/memusage.sh: Likewise.
78507         [BZ #12813]
78508         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78509         time symbol from vDSO.  Substitute with vsyscall if not available.
78510         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78511         __vdso_time.
78513         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78514         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78515         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78516         Add sendmmsg and internal_sendmmsg.
78517         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78518         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78519         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78521         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78522         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78523         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78525 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78527         [BZ #12813]
78528         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78529         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78530         available.
78531         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78532         __vdso_getcpu.
78534         [BZ #12814]
78535         * iconvdata/Makefile (tests): Add bug-iconv9.
78536         * iconvdata/bug-iconv9.c: New file.
78538 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78540         [BZ #12814]
78541         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78543 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78545         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78546         (struct user_regs_struct): Change intcs field back to cs.
78548 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78550         * po/ja.po: Update from translation team.
78552 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78554         [BZ #12795]
78555         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78556         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78558 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78560         * stdlib/longlong.h: Update from GCC.
78562 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78564         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78565         parameter name.
78566         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78567         Add parameter name.
78568         (__sysconf): Pass it down.
78570 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78572         [BZ #12671]
78573         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78574         some situations.
78575         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78576         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78577         add in in __libc_use_alloca calls.  Adjust callers.
78578         (glob): Use malloc in some situations.
78580         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78581         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78582         pltexit.
78584 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78586         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78587         and CLOCK_BOOTTIME_ALARM.
78589         [BZ #12782]
78590         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78591         is returned.
78593         * string/_strerror.c (__strerror_r): Print negative errors as signed
78594         numbers.
78596         [BZ #12777]
78597         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78598         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78599         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78601         * configure.in: Fix typo in redirection and correct removal of test
78602         files in two cases.
78604         [BZ #12788]
78605         * locale/setlocale.c (new_composite_name): Fix test to check for
78606         identical name of all categories.
78608         [BZ #12792]
78609         * libio/filedoalloc.c (local_isatty): New function.
78610         (_IO_file_doallocate): Use local_isatty.
78611         * stdio-common/perror.c (perror): In case a new stream is used
78612         forward the stream error.
78613         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78614         error flag.
78616 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78618         [BZ #11884]
78619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78620         alloca.
78621         * include/alloca.h (extend_alloca_account): Define.
78623         [BZ #11857]
78624         * posix/regex.h: Fix comments with documentation of user-accessible
78625         fields after compilation and describe correct free'ing of pattern
78626         after re_compile_pattern.
78627         Patch by Reuben Thomas <rrt@sc3d.org>.
78629 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78631         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78632         and -mno-altivec to prevent the compiler from using Altivec and/or
78633         VSX instructions when the corresponding registers are not available.
78635 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78637         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78639 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78641         * libio/freopen.c (freopen): Use __dup2, not dup2.
78642         * libio/freopen64.c (freopen64): Likewise.
78644 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78646         [BZ #12775]
78647         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78648         * math/Makefile (tests): Add test-powl.
78649         (CFLAGS-test-powl.c): Define.
78650         * math/test-powl.c: New file.
78652 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78654         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78656 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78658         [BZ #11837]
78659         * iconvdata/gb18030.c: Update to GB18020-2005.
78661 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78663         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78664         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78665         Patch by Aharon Robbins <arnold@skeeve.com>.
78667         [BZ #11892]
78668         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78669         on the stack.
78671         [BZ #11895]
78672         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78673         through underflows.
78675         [BZ #12766]
78676         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78677         point to strings before performing equality test for error_one_per_line
78678         mode.
78680         [BZ #11697]
78681         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78683         [BZ #11820]
78684         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78685         (struct user_fpregs_struct): Avoid __uint*_t types.
78687         [BZ #6420]
78688         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78689         symbol info.  Use it instead of calling _dl_addr locally.
78690         (lock_and_info): New function.
78691         (tr_freehook): Call lock_and_info and pass symbol info as additional
78692         parameter to tr_where.
78693         (tr_mallochook): Likewise.
78694         (tr_reallochook): Likewise.
78695         (tr_memalignhook): Likewise.
78697         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78698         used and couldn't be at all thread-safe.
78700 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78702         * libio/freopen.c (freopen): Don't close old file descriptor
78703         before the new one is opened.  Instead dup the new file descriptor
78704         to the old one after the new stream is created.
78705         * libio/freopen64.c (freopen64): Likewise.
78706         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78707         * libio/fileops.c (_IO_new_file_close_it): Handle new
78708         _IO_FLAGS2_NOCLOSE flag.
78709         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78710         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78711         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78712         _IO_FLAGS2_NOCLOSE flag.
78713         * include/unistd.h: Add hidden_proto for dup3.
78714         Define __have_dup3.
78715         * io/dup3.c: Define hidden symbol.
78716         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78718         [BZ #7101]
78719         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78720         when an incomplete long option is used.
78721         * posix/tst-getopt_long1.c: New file.
78722         * posix/Makefile (tests): Add tst-getopt_long1.
78724         [BZ #10138]
78725         * scripts/config.guess: Update from autoconf-2.68.
78726         * scripts/config.sub: Likewise.
78728         [BZ #10157]
78729         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78730         tests into ...
78731         (has_cpuclock): ...this.  New function.
78732         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78733         macro here based on has_cpuclock code.
78735         [BZ #10149]
78736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78737         First byte (not low byte) is now always NUL.
78738         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78740         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78741         Use non-cancelable interfaces.
78743         [BZ #9809]
78744         * locale/iso-639.def: Add entry for Sorani.
78746         [BZ #11901]
78747         * include/stdlib.h: Move include protection to the right place.
78748         Define abort_msg_s.  Declare __abort_msg with it.
78749         * stdlib/abort.c (__abort_msg): Adjust type.
78750         * assert/assert.c (__assert_fail_base): New function.  Majority
78751         of code from __assert_fail.  Allocate memory for __abort_msg with
78752         mmap.
78753         (__assert_fail): Now call __assert_fail_base.
78754         * assert/assert-perr.c: Remove bulk of implementation.  Use
78755         __assert_fail_base.
78756         * include/assert.hL Declare __assert_fail_base.
78757         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78758         mmap.
78759         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78761 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78763         [BZ #11952]
78764         [BZ #12453]
78765         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78766         until all modules are registered in the DTV.
78767         * elf/Makefile: Add rules to build and run tst-tls19.
78768         * elf/tst-tls19.c: New file.
78769         * elf/tst-tls19mod1.c: New file.
78770         * elf/tst-tls19mod2.c: New file.
78771         * elf/tst-tls19mod3.c: New file.
78772         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78774         [BZ #12083]
78775         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78776         correctly.
78778         [BZ #12601]
78779         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78780         two-byte sequence errors.
78781         * iconvdata/Makefile (tests): Add bug-iconv8.
78782         * iconvdata/bug-iconv8.c: New file.
78784         [BZ #12626]
78785         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78786         buf2 definition.
78788         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78790         [BZ #12432]
78791         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78792         (dummy_getcfa): New function.
78793         (init): Get _Unwind_GetCFA address, use dummy if not found.
78794         (backtrace_helper): In recursion check, also check whether CFA changes.
78795         (__backtrace): Completely initialize arg.
78797         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78798         storing incomplete byte sequence in state object.  Avoid testing for
78799         guaranteed too small input if we know there is enough data available.
78801 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78803         * Makeconfig (+link-pie): Indent.
78804         * Rules (binaries-pie): Define if $(have-fpie) and
78805         $(build-shared).
78806         (binaries-shared): Also filter out $(binaries-pie).
78807         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78808         * nscd/Makefile (others-pie): Add nscd.
78809         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78810         ($(objpfx)nscd): Remove command override.
78811         * login/Makefile (others-pie): Add pt_chown.
78812         ($(objpfx)pt_chown): Remove command override.
78813         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78814         remove command overrides.
78816 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78818         * libio/tst_putwc.c: Fix error messages.
78820         [BZ #12724]
78821         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78822         currently writing and seek to current position when not.
78823         * libio/Makefile (tests): Add bug-fclose1.
78824         * libio/bug-fclose1.c: New file.
78826 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78828         [BZ #12511]
78829         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78830         don't set DF_1_NODELETE here.
78831         (do_lookup_x): When entering new entry test for copy relocation
78832         and if necessary set DF_1_NODELETE flag.
78833         * elf/tst-unique4.cc: New file.
78834         * elf/tst-unique4.h: New file.
78835         * elf/tst-unique4lib.cc: New file.
78836         * elf/Makefile: Add rules to build and run tst-unique4.
78837         Patch by Piotr Bury <pbury@goahead.com>.
78839 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78841         [BZ #12052]
78842         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78844         [BZ #12625]
78845         * misc/mntent_r.c (addmntent): Flush the stream after the output
78847         [BZ #12393]
78848         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78849         (is_trusted_path_normalize): Skip initial colon.  Append slash
78850         to empty buffer.  Duplicate is_trusted_path code but allow
78851         constructed patch to be prefix.
78852         (is_dst): Allow $ORIGIN followed by /.
78853         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78854         Correct testing of result of is_trusted_path_normalize
78855         (decompose_rpath): Fix warning.
78857 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78859         [BZ #11257]
78860         * grp/initgroups.c (internal_getgrouplist): When we found the service
78861         list through the initgroups entry in nsswitch.conf do not always
78862         continue on a successful lookup.  Don't always use the
78863         __nss_group_database value if it is set.
78864         * nss/nsswitch.conf (initgroups): Change action for successful db
78865         lookup to continue for compatibility.
78867 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78869         [BZ #11532]
78870         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78871         and CP774 modules.
78872         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78873         and CP774 modules.
78874         * iconvdata/tst-tables.sh: Likewise.
78875         * iconvdata/cp770.c: New file.
78876         * iconvdata/cp771.c: New file.
78877         * iconvdata/cp772.c: New file.
78878         * iconvdata/cp773.c: New file.
78879         * iconvdata/cp774.c: New file.
78880         * iconvdata/testdata/CP770: New file.
78881         * iconvdata/testdata/CP770..UTF8: New file.
78882         * iconvdata/testdata/CP771: New file.
78883         * iconvdata/testdata/CP771..UTF8: New file.
78884         * iconvdata/testdata/CP772: New file.
78885         * iconvdata/testdata/CP772..UTF8: New file.
78886         * iconvdata/testdata/CP773: New file.
78887         * iconvdata/testdata/CP773..UTF8: New file.
78888         * iconvdata/testdata/CP774: New file.
78889         * iconvdata/testdata/CP774..UTF8: New file.
78891         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78892         END CHARMAP line.
78893         * iconvdata/gen-8bit-gap.sh: Likewise.
78894         * iconvdata/gen-8bit.sh: Likewise.
78896         * locale/iso-639.def: Add ary entry.
78898         [BZ #11258]
78899         * locale/C-translit.h.in: Add U20A1 transliteration.
78901         [BZ #12178]
78902         * locale/iso-639.def: Add wae entry.
78903         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78905         [BZ #12545]
78906         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78907         for n.
78909         [BZ #12711]
78910         * locale/C-translit.h.in: Add entry for U20B9.
78911         Patch by pravin.d.s@gmail.com.
78913 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78915         [BZ #12713]
78916         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78917         ENAMETOOLONG use generic getcwd.
78918         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78919         in rtld.  Use *stat64.
78920         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78921         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78922         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78923         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78924         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78925         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78926         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78927         __fstatat64 macros.
78928         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78929         * dirent/rewinddir.c: Add libc_hidden_def.
78930         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78931         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78933         * include/dirent.h (__alloc_dir): Add flags parameter.
78934         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78935         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78936         __alloc_dir.
78937         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78938         from fdopendir if O_CLOEXEC is already set.
78940 2011-03-15  Alan Modra  <amodra@gmail.com>
78942         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78943         l_tls_firstbyte_offset non-zero.  Save padding offset in
78944         l_tls_firstbyte_offset for later use.
78945         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78946         freeing static tls block.
78948 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78950         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78951         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78952         being defined by the kernel headers.
78954 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78956         [BZ #12734]
78957         * resolv/resolv.h: Define RES_NOTLDQUERY.
78958         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78959         no-tld-query and set RES_NOTLDQUERY.
78960         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78961         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78962         modern BIND to search name as TLD unless forbidden.
78964 2011-05-07  Petr Baudis  <pasky@suse.cz>
78965             Ulrich Drepper  <drepper@gmail.com>
78967         [BZ #12393]
78968         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78969         (is_trusted_path): ...to here.
78970         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78971         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78972         using is_trusted_path_normalize() in setuid scripts.
78974 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78976         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78977         __BEGIN/__END_DECLS.
78979 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78981         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78982         NSS_STATUS_NOTFOUND if no record was found.
78984 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78986         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78987         (headers-not-in-tirpc): Remove rpc/netdb.h
78988         * resolv/netdb.h: Revert last change.
78990 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78992         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78993         circular dependency between libgcc.a and libc.a.
78995 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78997         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78998         * nis/Makefile: Don't install rpcsvc/*.
78999         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79000         instead of <rpc/types.h>.
79001         (MAXHOSTNAMELEN): Define.
79003 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79005         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79007 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79009         [BZ #12714]
79010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79011         gethostbyname4_r when IPv6 results are possible.
79013 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79015         [BZ #12723]
79016         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79017         _PC_PIPE_BUF handling.
79019 2011-04-30  Bruno Haible  <bruno@clisp.org>
79021         [BZ #12717]
79022         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79023         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79024         to 'int'.
79025         * inet/getnameinfo.c (getnameinfo): Likewise.
79027 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79029         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79030         to groups setting in database lookup.
79031         * nss/nsswitch.conf: Add initgroups entry.
79033 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79035         [BZ #12685]
79036         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79037         mode string.
79038         Patch by Eric Blake <eblake@redhat.com>.
79040 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79042         * sunrpc/Makefile (need-export-routines): Add svc_run.
79043         (routines): Remove svc_run.
79044         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79045         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79046         * sunrpc/svc_run.c (svc_run): Likewise.
79047         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79049 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79051         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79052         problem in reallocation in last patch.
79054 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79056         * sunrpc/Makefile: Move inclusion of Rules.
79058 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79060         * nss/nss_files/files-initgroups.c: New file.
79061         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79062         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79063         _nss_files_initgroups_dyn.
79065 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79067         * elf/elf.h (R_ARM_IRELATIVE): Define.
79069 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79071         * po/ru.po: Update from translation team.
79073 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79075         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79076         dependencies.
79078 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79080         [BZ #12653]
79081         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79082         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79083         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79084         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79087 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79089         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79090         differing bytes.
79091         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79092         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79095 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79097         [BZ #12420]
79098         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79099         storing it.
79100         * stdlib/bug-getcontext.c: New file.
79101         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79103 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79105         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79106         instructions into .machine "z9-109".
79107         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79108         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79110 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79112         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79113         between environment variables and auxiliary vector.
79115 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79117         * Makefile: Add rules to build linkobj/libc.so.
79118         * include/libc-symbols.h: Define libc_hidden_nolink.
79119         * include/rpc/auth.h: Mark functions which are to be hidden.
79120         * include/rpc/auth_des.h: Likewise.
79121         * include/rpc/auth_unix.h: Likewise.
79122         * include/rpc/clnt.h: Likewise.
79123         * include/rpc/des_crypt.h: Likewise.
79124         * include/rpc/key_prot.h: Likewise.
79125         * include/rpc/pmap_clnt.h: Likewise.
79126         * include/rpc/pmap_prot.h: Likewise.
79127         * include/rpc/pmap_rmt.h: Likewise.
79128         * include/rpc/rpc_msg.h: Likewise.
79129         * include/rpc/svc.h: Likewise.
79130         * include/rpc/svc_auth.h: Likewise.
79131         * include/rpc/xdr.h: Likewise.
79132         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79133         * nss/Makefile: Likewise.
79134         * sunrpc/Makefile: Don't install headers.  Build library with normal
79135         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79136         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79137         for the compat linking library.  Remove use of INTDEF/INTUSE.
79138         * sunrpc/auth_none.c: Likewise.
79139         * sunrpc/auth_unix.c: Likewise.
79140         * sunrpc/authdes_prot.c: Likewise.
79141         * sunrpc/authuxprot.c: Likewise.
79142         * sunrpc/clnt_gen.c: Likewise.
79143         * sunrpc/clnt_perr.c: Likewise.
79144         * sunrpc/clnt_raw.c: Likewise.
79145         * sunrpc/clnt_simp.c: Likewise.
79146         * sunrpc/clnt_tcp.c: Likewise.
79147         * sunrpc/clnt_udp.c: Likewise.
79148         * sunrpc/clnt_unix.c: Likewise.
79149         * sunrpc/des_crypt.c: Likewise.
79150         * sunrpc/des_soft.c: Likewise.
79151         * sunrpc/get_myaddr.c: Likewise.
79152         * sunrpc/key_call.c: Likewise.
79153         * sunrpc/key_prot.c: Likewise.
79154         * sunrpc/netname.c: Likewise.
79155         * sunrpc/pm_getmaps.c: Likewise.
79156         * sunrpc/pm_getport.c: Likewise.
79157         * sunrpc/pmap_clnt.c: Likewise.
79158         * sunrpc/pmap_prot.c: Likewise.
79159         * sunrpc/pmap_prot2.c: Likewise.
79160         * sunrpc/pmap_rmt.c: Likewise.
79161         * sunrpc/publickey.c: Likewise.
79162         * sunrpc/rpc_cmsg.c: Likewise.
79163         * sunrpc/rpc_common.c: Likewise.
79164         * sunrpc/rpc_dtable.c: Likewise.
79165         * sunrpc/rpc_prot.c: Likewise.
79166         * sunrpc/rpc_thread.c: Likewise.
79167         * sunrpc/rtime.c: Likewise.
79168         * sunrpc/svc.c: Likewise.
79169         * sunrpc/svc_auth.c: Likewise.
79170         * sunrpc/svc_authux.c: Likewise.
79171         * sunrpc/svc_raw.c: Likewise.
79172         * sunrpc/svc_run.c: Likewise.
79173         * sunrpc/svc_simple.c: Likewise.
79174         * sunrpc/svc_tcp.c: Likewise.
79175         * sunrpc/svc_udp.c: Likewise.
79176         * sunrpc/svc_unix.c: Likewise.
79177         * sunrpc/svcauth_des.c: Likewise.
79178         * sunrpc/xcrypt.c: Likewise.
79179         * sunrpc/xdr.c: Likewise.
79180         * sunrpc/xdr_array.c: Likewise.
79181         * sunrpc/xdr_float.c: Likewise.
79182         * sunrpc/xdr_intXX_t.c: Likewise.
79183         * sunrpc/xdr_mem.c: Likewise.
79184         * sunrpc/xdr_rec.c: Likewise.
79185         * sunrpc/xdr_ref.c: Likewise.
79186         * sunrpc/xdr_sizeof.c: Likewise.
79187         * sunrpc/xdr_stdio.c: Likewise.
79189 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79191         [BZ #12650]
79192         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79193         * sysdeps/ia64/dl-tls.h: Likewise.
79194         * sysdeps/powerpc/dl-tls.h: Likewise.
79195         * sysdeps/s390/dl-tls.h: Likewise.
79196         * sysdeps/sh/dl-tls.h: Likewise.
79197         * sysdeps/sparc/dl-tls.h: Likewise.
79198         * sysdeps/x86_64/dl-tls.h: Likewise.
79199         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79201 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79203         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79204         rpath element also skip the following colon.
79205         (expand_dynamic_string_token): Add is_path parameter and pass
79206         down to DL_DST_REQUIRED and _dl_dst_substitute.
79207         (decompose_rpath): Call expand_dynamic_string_token with
79208         non-zero is_path.  Ignore empty rpaths.
79209         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79210         with zero is_path.
79212 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79215         Make cancelable.
79217 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79219         [BZ #12655]
79220         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79221         Patch by Filipe David Manana <fdmanana@apache.org>.
79223 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79225         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79226         Maintain aligned stack.
79227         (CHECK_RSP): Remove unused macro.
79229 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79231         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79232         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79234 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79236         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79238         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79240 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79242         [BZ #12518]
79243         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79244         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79245         * sysdeps/x86_64/memmove.c: New file.
79246         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79247         (memcpy): Renamed to ...
79248         (__new_memcpy): This.
79249         (memcpy): Provide GLIBC_2_14 memcpy.
79250         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79251         (memcpy): Provide GLIBC_2_2_5 memcpy.
79253 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79255         [BZ #12631]
79256         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79258 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79260         * misc/syncfs.c: New file.
79261         * misc/Makefile (routines): Add syncfs.
79262         * posix/unistd.h: Declare syncfs.
79263         * sysdeps/unix/syscalls.list: Add syncfs.
79265 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79267         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79268         open_by_handle_at.
79269         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79270         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79271         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79274         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79275         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79277 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79279         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79281         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79283         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79287         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79288         sync_file_range.c with -fexceptions.
79289         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79290         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79291         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79292         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79293         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79294         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79296         sync_file_range as cancellation point
79297         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79298         now a wrapper around __call_sync_file_range with cancellation handling.
79299         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79300         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79301         function name to __call_sync_file_range.
79302         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79303         Add call_sync_file_range.
79305 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79308         bits/timex.h.
79310 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79312         * iconv/iconv.h: Fix typo in comment.
79313         * io/fcntl.h: Likewise.
79314         * libio/stdio.h: Likewise.
79315         * posix/spawn.h: Likewise.
79316         * posix/unistd.h: Likewise.
79317         * stdlib/stdlib.h: Likewise.
79318         * time/time.h: Likewise.
79319         * wcsmbs/wchar.h: Likewise.
79321         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79322         open_by_handle): Add.
79323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79324         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79325         Augment a few comments.
79326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79330         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79331         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79332         open_by_handle.
79334         * io/fcntl.h (AT_EMPTY_PATH): Define.
79336 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79338         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79339         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79340         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79341         to...
79342         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79343         * Versions.def: Add GLIBC_2.14.
79344         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79345         Export.
79347 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79349         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79350         round counter.
79351         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79353 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79355         [BZ #12597]
79356         * string/test-strncmp.c (do_page_test): New function.
79357         (check2): Likewise.
79358         (test_main): Call check2.
79359         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79361 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79363         [BZ #12587]
79364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79365         Handle cache information in CPU leaf 4.
79366         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79368 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79370         [BZ #12583]
79371         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79372         character representation.
79373         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79375 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79377         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79378         END(__isnan) to END(__isnanf) to match function entry point/label
79379         EALIGN(__isnanf,...).
79381 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79383         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79385 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79387         [BZ #12510]
79388         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79389         copy from the symbol referenced in the relocation to initialize the
79390         used variable.
79391         Patch by Piotr Bury <pbury@goahead.com>.
79392         * elf/Makefile: Add rules to build and tst-unique3.
79393         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79394         * elf/tst-unique3.cc: New file.
79395         * elf/tst-unique3.h: New file.
79396         * elf/tst-unique3lib.cc: New file.
79397         * elf/tst-unique3lib2.cc: New file.
79399         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79401 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79403         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79404         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79405         to _start.
79407 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79409         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79410         to-be-loaded object along a path to loader is ld.so.
79412 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79413             Ulrich Drepper  <drepper@gmail.com>
79415         * sysdeps/x86_64/memset.S: After aligning destination, code
79416         branches to different locations depending on the value of
79417         misalignment, when multiarch is enabled. Fix this.
79419 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79421         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79422         Set _x86_64_preferred_memory_instruction for AMD processsors.
79423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79424         Set bit_Prefer_SSE_for_memop for AMD processors.
79426 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79428         * libio/fmemopen.c (fmemopen): Optimize a bit.
79430 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79432         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79434 2011-03-03  Roland McGrath  <roland@redhat.com>
79436         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79438 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79440         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79441         __bzero_ultra1 instead of __memset_ultra1.
79443 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79444             Ulrich Drepper  <drepper@gmail.com>
79446         [BZ #12509]
79447         * include/link.h (struct link_map): Add l_orig_initfini.
79448         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79449         returning unsuccessfully.
79450         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79451         close of a file loaded at startup, restore the original l_initfini
79452         list.
79453         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79454         list, store the pointer.
79455         * elf/Makefile ($(objpfx)noload-mem): New rule.
79456         (noload-ENV): Define.
79457         (tests): Add $(objpfx)noload-mem.
79458         * elf/noload.c: Include <memcheck.h>.
79459         (main): Call mtrace.  Close all opened handles.
79461 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79463         [BZ #12454]
79464         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79465         dependencies are missing.
79467 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79469         Fix __if_freereq crash: Unlike the generic version which uses free,
79470         Hurd needs munmap.
79471         * sysdeps/mach/hurd/ifreq.h: New file.
79473 2011-01-27  Petr Baudis  <pasky@suse.cz>
79474             Ulrich Drepper  <drepper@gmail.com>
79476         [BZ 12445]#
79477         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79478         to extend_alloca().
79479         * stdio-common/bug23.c: New file.
79480         * stdio-common/Makefile (tests): Add bug23.
79482 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79483             Ulrich Drepper  <drepper@gmail.com>
79485         [BZ #12489]
79486         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79487         before performing relro protection.  At old place add assertion
79488         to make sure nothing changed.
79490 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79491             Glauber de Oliveira Costa  <glommer@gmail.com>
79493         * elf/elf.h: Add new ARM TLS relocs.
79495 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79498         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79499         cast from r3.
79500         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79501         'tests' variable.
79502         * sysdeps/wordsize-64/tst-writev.c: New file.
79504 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79506         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79507         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79508         insns in _dl_start to prevent a TOC reference before relocs are
79509         resolved.
79511 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79513         [BZ #12469]
79514         * Makeconfig: Remove RANLIB definition.
79515         * Makerules: Don't use RANLIB.
79516         * aclocal.m4: Remove ranlib test.
79517         * configure.in: No need to check for ranlib.
79518         * elf/rtld-Rules: Don't use RANLIB.
79520 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79522         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79523         protection macro.
79524         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79525         inclusion protection macro.
79527         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79528         SIGRTMIN and SIGRTMAX and print information in that case only when
79529         SIGRTMIN is defined.
79531 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79533         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79534         arginfo fn returning -1.
79536         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79537         and thousands string is zero terminated.
79539 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79542         sysdeps/unix/sysv/linux/bits/socket.h.
79544 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79546         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79547         (__CPU_COUNT): Remove old macros.
79548         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79549         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79550         (__CPU_ALLOC, __CPU_FREE): Add macros.
79551         (__sched_cpualloc, __sched_cpufree): Add declarations.
79553 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79555         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79556         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79557         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79558         (readdhstai): Return value of addhstaiX call.
79559         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79560         (addgrbyX): Return value returned by cache_addgr.
79561         (readdgrbyname): Return value returned by addgrbyX.
79562         (readdgrbygid): Likewise.
79563         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79564         (addpwbyX): Return value returned by cache_addpw.
79565         (readdpwbyname): Return value returned by addhstbyX.
79566         (readdpwbyuid): Likewise.
79567         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79568         (addservbyX): Return value returned by cache_addserv.
79569         (readdservbyname): Return value returned by addservbyX:
79570         (readdservbyport): Likewise.
79571         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79572         (addhstbyX): Return value returned by cache_addhst.
79573         (readdhstbyname): Return value returned by addhstbyX.
79574         (readdhstbyaddr): Likewise.
79575         (readdhstbynamev6): Likewise.
79576         (readdhstbyaddrv6): Likewise.
79577         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79578         (readdinitgroups): Return value returned by addinitgroupsX.
79579         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79580         (prune_cache): Keep track of timeout value of re-added entries.
79581         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79582         * nscd/nscd.h: Adjust prototypes of readd* functions.
79584 2011-02-04  Roland McGrath  <roland@redhat.com>
79586         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79587         (nis_stats): Likewise.
79588         * nis/nis_modify.c (nis_modify): Likewise.
79589         * nis/nis_remove.c (nis_remove): Likewise.
79590         * nis/nis_add.c (nis_add): Likewise.
79592         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79594         * posix/fnmatch_loop.c: Add some consts.
79596         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79598 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79600         [BZ #12460]
79601         * config.make.in (config-cflags-novzeroupper): Define.
79602         * configure.in: Substitute libc_cv_cc_novzeroupper.
79603         * elf/Makefile (AVX-CFLAGS): Define.
79604         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79605         (CFLAGS-tst-auditmod4a.c): Likewise.
79606         (CFLAGS-tst-auditmod4b.c): Likewise.
79607         (CFLAGS-tst-auditmod6b.c): Likewise.
79608         (CFLAGS-tst-auditmod6c.c): Likewise.
79609         (CFLAGS-tst-auditmod7b.c): Likewise.
79610         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79612 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79614         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79615         function to the callback.
79616         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79618 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79620         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79621         of errno.
79623 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79625         [BZ #11724]
79626         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79627         of constructors.
79628         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79629         of destructors.
79630         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79632         [BZ #11724]
79633         * elf/Makefile: Add rules to build and run new test.
79634         * elf/tst-initorder.c: New file.
79635         * elf/tst-initorder.exp: New file.
79636         * elf/tst-initordera1.c: New file.
79637         * elf/tst-initordera2.c: New file.
79638         * elf/tst-initordera3.c: New file.
79639         * elf/tst-initordera4.c: New file.
79640         * elf/tst-initorderb1.c: New file.
79641         * elf/tst-initorderb2.c: New file.
79642         * elf/tst-order-a1.c: New file.
79643         * elf/tst-order-a2.c: New file.
79644         * elf/tst-order-a3.c: New file.
79645         * elf/tst-order-a4.c: New file.
79646         * elf/tst-order-b1.c: New file.
79647         * elf/tst-order-b2.c: New file.
79648         * elf/tst-order-main.c: New file.
79649         New test case by George Gensure <werkt0@gmail.com>.
79651 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79654         decoding ACE if AI_CANONIDN.
79656 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79658         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79660 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79662         * version.h (RELEASE): Bump for 2.13 release.
79663         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79665         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79667         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79668         MADV_NOHUGEPAGE.
79669         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79670         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79671         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79672         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79673         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79674         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79676         * posix/getconf.c: Update copyright year.
79677         * catgets/gencat.c: Likewise.
79678         * csu/version.c: Likewise.
79679         * debug/catchsegv.sh: Likewise.
79680         * debug/xtrace.sh: Likewise.
79681         * elf/ldconfig.c: Likewise.
79682         * elf/ldd.bash.in: Likewise.
79683         * elf/sprof.c (print_version): Likewise.
79684         * iconv/iconv_prog.c: Likewise.
79685         * iconv/iconvconfig.c: Likewise.
79686         * locale/programs/locale.c: Likewise.
79687         * locale/programs/localedef.c: Likewise.
79688         * malloc/memusage.sh: Likewise.
79689         * malloc/mtrace.pl: Likewise.
79690         * nscd/nscd.c (print_version): Likewise.
79691         * nss/getent.c: Likewise.
79693         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79694         PF_CAIF, and PF_ALG.
79695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79697 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79699         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79700         (modules-names): Use them.
79701         (ifunc-test-modules, ifunc-pie-tests): Define.
79702         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79703         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79704         (test-extras): Likewise.
79705         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79706         $(compile-command.c).
79707         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79708         (all-built-dso): Define.
79709         (check-textrel.out, check-execstack.out): Depend on it.
79711         * configure.in: Don't override --enable-multi-arch.
79713 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79715         [BZ #6812]
79716         * nscd/hstcache.c (tryagain): Define.
79717         (cache_addhst): Return tryagain not notfound for temporary errors.
79718         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79719         failed.
79721 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79723         [BZ #10563]
79724         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79725         to make the syscall.
79726         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79728         [BZ #12378]
79729         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79730         and fall back to matching as normal character if the string ends before
79731         the matching ']' is found.  This is what POSIX requires.
79732         * posix/testfnm.c: Adjust test result.
79733         * posix/globtest.sh: Adjust test result.  Add new test.
79734         * posix/tst-fnmatch.input: Likewise.
79735         * posix/tst-fnmatch2.c: Add new test.
79737 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79739         * elf/Makefile (check-execstack): Revert last change.  Depend on
79740         check-execstack.h.
79741         (check-execstack.h): New target.
79742         (generated): Add check-execstack.h.
79743         * elf/check-execstack.c: Include "check-execstack.h".
79744         (main): Revert last change.
79745         (handle_file): Return zero if GNU_STACK is absent and
79746         DEFAULT_STACK_PERMS doesn't include PF_X.
79748 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79750         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79751         in child fails because the descriptor is already closed.
79752         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79753         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79754         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79756         [BZ #12397]
79757         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79758         syscall.
79760         [BZ #10484]
79761         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79762         temporary buffer used to handle multi lookups locally.
79763         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79765 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79767         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79768         loader is ld.so.
79770 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79772         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79773         alignment for SSE2.
79775 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79777         [BZ #12394]
79778         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79779         characters.  When rounding increased number of integer digits recompute
79780         number of groups.
79781         * stdio-common/tst-grouping.c: New file.
79782         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79784 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79786         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79787         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79789         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79790         void.
79791         * bits/select.h: Likewise.
79793 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79795         * po/ja.po: Update from translation team.
79797 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79799         [BZ #11155]
79800         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79801         implementation just like for lxstat, fxstatat, et al.
79803 2010-12-27  Jim Meyering  <meyering@redhat.com>
79805         [BZ #12348]
79806         * posix/regexec.c (build_trtable): Return failure indication upon
79807         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79809 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79811         [BZ #12201]
79812         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79813         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79814         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79815         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79817         [BZ #12207]
79818         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79820         [BZ #12204]
79821         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79822         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79824 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79826         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79827         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79828         script has SORT_BY_INIT_PRIORITY.
79829         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79830         NO_CTORS_DTORS_SECTIONS is defined.
79831         * elf/soinit.c: Likewise.
79832         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79833         NO_CTORS_DTORS_SECTIONS is defined.
79834         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79835         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79836         * sysdeps/sh/init-first.c: Likewise.
79837         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79839 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79841         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79842         always use the slow path.
79844 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79846         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79847         similar rule which adds the sysdep directories to the header search in
79848         order to pick up the correct platform stackinfo.h.
79849         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79850         perform test if it is, otherwise return successfully without testing.
79851         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79852         DEFAULT_STACK_PERMS define in stackinfo.h.
79853         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79854         defined in stackinfo.h.
79855         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79856         DEFAULT_STACK_PERMS defined in stackinfo.h.
79857         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79858         * sysdeps/ia64/stackinfo.h: Likewise.
79859         * sysdeps/s390/stackinfo.h: Likewise.
79860         * sysdeps/sh/stackinfo.h: Likewise.
79861         * sysdeps/sparc/stackinfo.h: Likewise.
79862         * sysdeps/x86_64/stackinfo.h: Likewise.
79863         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79864         PF_X for powerpc64.  Retain PF_X for powerpc32.
79866 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79868         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79869         accurately.
79870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79871         GETDENTS_64BIT_ALIGNED.
79873 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79875         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79877 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79879         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79880         _GNU_SOURCE.
79882         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79883         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79884         Remove __restrict.
79885         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79886         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79888 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79890         [BZ #11655]
79891         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79892         are initialized.
79894 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79896         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79898 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79900         * po/it.po: Update from translation team.
79902 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79905         unused codes.
79907 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79909         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79911 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79913         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79914         specially.
79915         (gaih_getanswer_slice): Likewise.
79917 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79921 2010-05-31  Petr Baudis  <pasky@suse.cz>
79923         [BZ #11149]
79924         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79925         silently even in the chroot mode.
79927 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79929         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79930         last patch a bit.  Pretty printing
79932 2010-05-31  Petr Baudis <pasky@suse.cz>
79934         [BZ #10085]
79935         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79936         initialization of skip_initgroups_dyn.
79938 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79940         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79941         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79943 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79945         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79947 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79949         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79950         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79951         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79952         ($(objpfx)tst-fnmatch-mem): New rule.
79953         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79954         * posix/tst-fnmatch.c (main): Call mtrace.
79956 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79959         Support Intel processor model 6 and model 0x2c.
79961 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79963         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79964           signed comparison.
79966 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79968         [BZ #12205]
79969         * string/test-strncasecmp.c (check_result): New function.
79970         (do_one_test): Use it.
79971         (check1): New function.
79972         (test_main): Use it.
79973         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79974         Support strcasecmp and strncasecmp.
79976 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79978         [BZ #12194]
79979         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79980         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79982 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79984         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79985         IFUNC support.
79986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79987         memset-x86-64.
79988         * sysdeps/x86_64/multiarch/bzero.S: New file.
79989         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79990         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79991         * sysdeps/x86_64/multiarch/memset.S: New file.
79992         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79994         Set bit_Prefer_SSE_for_memop for Intel processors.
79995         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79996         Define.
79997         (index_Prefer_SSE_for_memop): Define.
79998         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80000 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80002         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80003         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80005 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80007         [BZ #12191]
80008         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80009         (__x86_64_raw_data_cache_size_half): Likewise.
80010         (__x86_64_raw_shared_cache_size): Likewise.
80011         (__x86_64_raw_shared_cache_size_half): Likewise.
80013         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80014         (__x86_64_raw_data_cache_size_half): Likewise.
80015         (__x86_64_raw_shared_cache_size): Likewise.
80016         (__x86_64_raw_shared_cache_size_half): Likewise.
80017         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80018         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80019         and __x86_64_raw_shared_cache_size_half.  Round
80020         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80021         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80022         to multiple of 256 bytes.
80024 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80026         [BZ #12167]
80027         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80028         of inacessible symlinks.  Verify result of symlink before returning it.
80029         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80030         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80032 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80034         * math/math.h (isinf): Fix typo in comment.
80036 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80038         * po/da.po: Update from translation team.
80040 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80042         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80043         is added to the list.
80045 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80046             Ulrich Drepper  <drepper@gmail.com>
80048         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80049         the global list here.  Move code to...
80050         (_dl_add_to_namespace_list): ...here.  New function.
80051         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80052         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80053         * elf/dl-load.c (lose): Don't remove the element from the list.
80054         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80055         (_dl_map_object): Likewise.
80057 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80059         [BZ #12159]
80060         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80061         into all bytes of SSE register.
80062         Patch by Richard Li <richardpku@gmail.com>.
80064 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80066         [BZ #12140]
80067         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80068         perturbing.
80070 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80072         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80073         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80074         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80075         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80077         submachine.
80078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80080 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80082         * include/dlfcn.h (__RTLD_SECURE): Define.
80083         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80084         mode & __RTLD_SECURE instead.
80085         (open_path): Rename preloaded parameter to secure.
80086         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80087         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80088         * elf/dl-deps.c (openaux): Likewise.
80089         * elf/rtld.c (struct map_args): Remove is_preloaded.
80090         (map_doit): Don't use it.
80091         (dl_main): Likewise.
80092         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80093         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80095 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80097         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80098         (sysd-rules-targets): Remove duplicates.
80099         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80100         rtld-%.$o dependency.
80102 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80104         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80105         _dl_map_object do it.
80107 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80109         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80110         fast fma builtins, define the macros in the C99 standard.
80111         (FP_FAST_FMAF): Likewise.
80112         (FP_FAST_FMAL): Likewise.
80113         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80115         * bits/mathdef.h: Update copyright year.
80116         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80118 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80120         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80121         builtins, define the macros in the C99 standard.
80122         (FP_FAST_FMAF): Likewise.
80123         (FP_FAST_FMAL): Likewise.
80124         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80125         multiply/add.
80126         (FP_FAST_FMAF): Likewise.
80128 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80130         [BZ #3268]
80131         * math/libm-test.inc (fma_test): Some new testcases.
80132         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80133         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80134         y and infinite z.  Do multiplication by C already in long double.
80135         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80137         y and infinite z.  Do bitwise or of inexact bit into u.d.
80138         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80139         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80140         * sysdeps/i386/fpu/s_fma.S: Removed.
80141         * sysdeps/i386/fpu/s_fmal.S: Removed.
80143 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80145         [BZ #3268]
80146         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80147         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80148         computation is not scheduled after fetestexcept.  Fix value
80149         of minimum denormal long double.
80151 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80153         [BZ #3268]
80154         * math/libm-test.inc (fma_test): Add some more tests.
80155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80156         correctly.
80158 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80160         * scripts/data/localplt-s390-linux-gnu.data: New file.
80161         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80163 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80165         [BZ #3268]
80166         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80167         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80168         instead of dbl-64.
80169         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80170         inlines.
80171         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80173         if one of x and y is very large and the other is subnormal.
80174         * sysdeps/s390/fpu/s_fmaf.c: New file.
80175         * sysdeps/s390/fpu/s_fma.c: New file.
80176         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80177         * sysdeps/powerpc/fpu/s_fma.S: New file.
80178         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80179         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80180         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80182 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80184         [BZ #3268]
80185         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80186         fma tests.
80187         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80188         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80189         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80190         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80191         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80192         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80193         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80195 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80197         [BZ #12078]
80198         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80199         * posix/bug-regex31.input: Add test case.
80201 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80203         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80204         * posix/bug-regex31.input: New file.
80206         [BZ #12078]
80207         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80208         (parse_sub_exp): Fix last change, use postorder.
80210         * posix/bug-regex31.c: New file.
80211         * posix/Makefile: Add rules to build and run bug-regex31.
80213         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80215         [BZ #12078]
80216         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80218         [BZ #12108]
80219         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80220         to have entries in sys_siglist.
80222         [BZ #12093]
80223         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80224         be NULL.
80226 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80228         [BZ #3268]
80229         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80230         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80231         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80232         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80233         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80234         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80235         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80236         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80237         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80238         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80239         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80240         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80241         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80242         * math/ftestexcept.c (fetestexcept): Likewise.
80243         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80244         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80245         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80246         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80247         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80248         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80249         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80251 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80253         [BZ #12107]
80254         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80255         newline.
80257 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80259         * string/bug-strstr1.c: New file.
80260         * string/Makefile: Add rules to build and run bug-strstr1.
80262 2010-10-05  Eric Blake  <eblake@redhat.com>
80264         [BZ #12092]
80265         * string/str-two-way.h (two_way_long_needle): Always clear memory
80266         when skipping input due to the shift table.
80268 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80270         [BZ #12005]
80271         * malloc/mcheck.c: Handle large requests.
80273         [BZ #12077]
80274         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80275         for strncmp and strncasecmp.
80276         * string/stratcliff.c: Add tests for strcmp and strncmp.
80277         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80279 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80281         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80282         __set_fpscr.
80284 2010-09-30  Andreas Jaeger  <aj@suse.de>
80286         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80287         (CGROUP_SUPER_MAGIC): Define.
80288         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80289         Handle btrfs and cgroup file systems.
80290         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80291         Likewise.
80293 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80295         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80296         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80298 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80300         [BZ #12067]
80301         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80302         trying to locate the ELF header.
80304 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80306         [BZ #11611]
80307         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80308         Mask out sign-bit copies when constructing f_fsid.
80310 2010-09-24  Petr Baudis <pasky@suse.cz>
80312         * debug/stack_chk_fail_local.c: Add missing licence exception.
80313         * debug/warning-nop.c: Likewise.
80315 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80317         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80318         implementing getdents64 using getdents syscall, set d_type if
80319         __ASSUME_GETDENTS32_D_TYPE.
80321 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80323         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80324         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80326 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80328         [BZ #12037]
80329         * posix/unistd.h: Undo change of feature selection for ftruncate from
80330         2010-01-11.
80332 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80334         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80335         detection.
80337 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80339         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80340         fanotify_mark.
80341         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80343 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80345         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80346         variables after CHECK_SP call.
80347         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80349 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80350             Ulrich Drepper  <drepper@redhat.com>
80352         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80353         re-relocationg ld.so.
80354         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80355         _dl_init_paths call.
80356         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80357         here anymore.
80359 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80361         * resolv/res_init.c (__res_vinit): Count the default server we added.
80363 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80364             Ulrich Drepper  <drepper@redhat.com>
80366         [BZ #11968]
80367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80368         (____longjmp_chk): Use %ebx for saving value across system call.
80369         Add unwind info.
80371 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80373         * manual/Makefile: Don't mix pattern rules with normal rules.
80375 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80377         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80378         operation.
80379         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80380         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80381         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80382         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80384         Likewise.
80386 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80388         [BZ #11979]
80389         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80390         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80392 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80394         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80395         * sysdeps/x86_64/addmul_1.S: Likewise.
80396         * sysdeps/x86_64/lshift.S: Likewise.
80397         * sysdeps/x86_64/mul_1.S: Likewise.
80398         * sysdeps/x86_64/rshift.S: Likewise.
80399         * sysdeps/x86_64/sub_n.S: Likewise.
80400         * sysdeps/x86_64/submul_1.S: Likewise.
80402 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80404         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80405         Define __sched_param instead of SCHED_* and sched_param when
80406         <bits/sched.h> is included with __need_schedparam defined.
80407         * bits/sched.h [__need_schedparam]
80408         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80409         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80410         (__defined_schedparam): Define to 1.
80411         (__sched_param): New structure, identical to sched_param.
80412         (__need_schedparam): Undefine.
80414 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80416         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80417         (epoll_create1): Declare.
80419         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80421 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80423         [BZ #7066]
80424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80425         shifting retval into place.
80427 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80429         * nis/rpcsvc/nis.h: Update copyright notice.
80430         * nis/rpcsvc/nis.x: Likewise.
80431         * nis/rpcsvc/nis_callback.h: Likewise.
80432         * nis/rpcsvc/nis_callback.x: Likewise.
80433         * nis/rpcsvc/nis_object.x: Likewise.
80434         * nis/rpcsvc/nis_tags.h: Likewise.
80435         * nis/rpcsvc/yp.h: Likewise.
80436         * nis/rpcsvc/yp.x: Likewise.
80437         * nis/rpcsvc/ypupd.h: Likewise.
80438         * nis/yp_xdr.c: Likewise.
80439         * nis/ypupdate_xdr.c: Likewise.
80441         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80442         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80443         (pmap_getport): Use __libc_rpc_getport.
80444         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80445         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80446         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80448 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80451         fanotify_mark.
80453 2010-08-27  Roland McGrath  <roland@redhat.com>
80455         * sysdeps/i386/i686/multiarch/Makefile
80456         (CFLAGS-varshift.c): New variable.
80458 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80460         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80461         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80463         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80465         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80467 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80469         * sysdeps/x86_64/strlen.S: Unroll the loop.
80470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80471         strlen-sse2 strlen-sse2-bsf.
80472         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80473         __strlen_no_bsf if bit_Slow_BSF is set.
80474         (__strlen_sse42): Removed.
80475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80476         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80478 2010-08-25  Roland McGrath  <roland@redhat.com>
80480         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80481         * sysdeps/x86_64/multiarch/varshift.c: New file.
80482         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80483         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80484         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80485         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80487 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80490         strlen-sse2 strlen-sse2-bsf.
80491         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80492         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80493         (__strlen_sse2): Removed.
80494         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80495         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80497         bit_Slow_BSF for Atom.
80498         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80499         (index_Slow_BSF): Define.
80500         (HAS_SLOW_BSF): Define.
80502 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80504         [BZ #10851]
80505         * resolv/res_init.c (__res_vinit): When no server address at all
80506         is given default to loopback.
80508 2010-08-24  Roland McGrath  <roland@redhat.com>
80510         * configure.in: Remove config-name.h generation.
80511         * configure: Regenerated.
80512         * config-name.in: File removed.
80513         * scripts/config-uname.sh: New file.
80514         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80515         ($(objdir)config-name.h): New target.
80517         * sunrpc/rpc_parse.h: Avoid nested comment.
80519 2010-08-24  Richard Henderson  <rth@redhat.com>
80520             Ulrich Drepper  <drepper@redhat.com>
80521             H.J. Lu  <hongjiu.lu@intel.com>
80523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80525         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80526         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80527         _mm_alignr_epi8 with _mm_loadu_si128.
80528         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80529         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80530         (__m128i_shift_right): Removed.
80531         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80532         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80533         * sysdeps/x86_64/multiarch/varshift.h: New file.
80534         * sysdeps/x86_64/multiarch/varshift.S: New file.
80536 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80538         * configure.in: Move assembler checks to before sysdep dir checking.
80540 2010-08-20  Petr Baudis  <pasky@suse.cz>
80542         * LICENSES: Sync the sunrpc license.
80544 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80546         * sunrpc/auth_des.c: Update copyright notice once again.
80547         * sunrpc/auth_none.c: Likewise.
80548         * sunrpc/auth_unix.c: Likewise.
80549         * sunrpc/authdes_prot.c: Likewise.
80550         * sunrpc/authuxprot.c: Likewise.
80551         * sunrpc/bindrsvprt.c: Likewise.
80552         * sunrpc/clnt_gen.c: Likewise.
80553         * sunrpc/clnt_perr.c: Likewise.
80554         * sunrpc/clnt_raw.c: Likewise.
80555         * sunrpc/clnt_simp.c: Likewise.
80556         * sunrpc/clnt_tcp.c: Likewise.
80557         * sunrpc/clnt_udp.c: Likewise.
80558         * sunrpc/clnt_unix.c: Likewise.
80559         * sunrpc/des_crypt.c: Likewise.
80560         * sunrpc/des_soft.c: Likewise.
80561         * sunrpc/get_myaddr.c: Likewise.
80562         * sunrpc/getrpcport.c: Likewise.
80563         * sunrpc/key_call.c: Likewise.
80564         * sunrpc/key_prot.c: Likewise.
80565         * sunrpc/openchild.c: Likewise.
80566         * sunrpc/pm_getmaps.c: Likewise.
80567         * sunrpc/pm_getport.c: Likewise.
80568         * sunrpc/pmap_clnt.c: Likewise.
80569         * sunrpc/pmap_prot.c: Likewise.
80570         * sunrpc/pmap_prot2.c: Likewise.
80571         * sunrpc/pmap_rmt.c: Likewise.
80572         * sunrpc/rpc/auth.h: Likewise.
80573         * sunrpc/rpc/auth_unix.h: Likewise.
80574         * sunrpc/rpc/clnt.h: Likewise.
80575         * sunrpc/rpc/des_crypt.h: Likewise.
80576         * sunrpc/rpc/key_prot.h: Likewise.
80577         * sunrpc/rpc/netdb.h: Likewise.
80578         * sunrpc/rpc/pmap_clnt.h: Likewise.
80579         * sunrpc/rpc/pmap_prot.h: Likewise.
80580         * sunrpc/rpc/pmap_rmt.h: Likewise.
80581         * sunrpc/rpc/rpc.h: Likewise.
80582         * sunrpc/rpc/rpc_des.h: Likewise.
80583         * sunrpc/rpc/rpc_msg.h: Likewise.
80584         * sunrpc/rpc/svc.h: Likewise.
80585         * sunrpc/rpc/svc_auth.h: Likewise.
80586         * sunrpc/rpc/types.h: Likewise.
80587         * sunrpc/rpc/xdr.h: Likewise.
80588         * sunrpc/rpc_clntout.c: Likewise.
80589         * sunrpc/rpc_cmsg.c: Likewise.
80590         * sunrpc/rpc_common.c: Likewise.
80591         * sunrpc/rpc_cout.c: Likewise.
80592         * sunrpc/rpc_dtable.c: Likewise.
80593         * sunrpc/rpc_hout.c: Likewise.
80594         * sunrpc/rpc_main.c: Likewise.
80595         * sunrpc/rpc_parse.c: Likewise.
80596         * sunrpc/rpc_parse.h: Likewise.
80597         * sunrpc/rpc_prot.c: Likewise.
80598         * sunrpc/rpc_sample.c: Likewise.
80599         * sunrpc/rpc_scan.c: Likewise.
80600         * sunrpc/rpc_scan.h: Likewise.
80601         * sunrpc/rpc_svcout.c: Likewise.
80602         * sunrpc/rpc_tblout.c: Likewise.
80603         * sunrpc/rpc_util.c: Likewise.
80604         * sunrpc/rpc_util.h: Likewise.
80605         * sunrpc/rpcinfo.c: Likewise.
80606         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80607         * sunrpc/rpcsvc/key_prot.x: Likewise.
80608         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80609         * sunrpc/rpcsvc/mount.x: Likewise.
80610         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80611         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80612         * sunrpc/rpcsvc/rex.x: Likewise.
80613         * sunrpc/rpcsvc/rstat.x: Likewise.
80614         * sunrpc/rpcsvc/rusers.x: Likewise.
80615         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80616         * sunrpc/rpcsvc/spray.x: Likewise.
80617         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80618         * sunrpc/rtime.c: Likewise.
80619         * sunrpc/svc.c: Likewise.
80620         * sunrpc/svc_auth.c: Likewise.
80621         * sunrpc/svc_authux.c: Likewise.
80622         * sunrpc/svc_raw.c: Likewise.
80623         * sunrpc/svc_run.c: Likewise.
80624         * sunrpc/svc_simple.c: Likewise.
80625         * sunrpc/svc_tcp.c: Likewise.
80626         * sunrpc/svc_udp.c: Likewise.
80627         * sunrpc/svc_unix.c: Likewise.
80628         * sunrpc/svcauth_des.c: Likewise.
80629         * sunrpc/xcrypt.c: Likewise.
80630         * sunrpc/xdr.c: Likewise.
80631         * sunrpc/xdr_array.c: Likewise.
80632         * sunrpc/xdr_float.c: Likewise.
80633         * sunrpc/xdr_mem.c: Likewise.
80634         * sunrpc/xdr_rec.c: Likewise.
80635         * sunrpc/xdr_ref.c: Likewise.
80636         * sunrpc/xdr_sizeof.c: Likewise.
80637         * sunrpc/xdr_stdio.c: Likewise.
80639         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80640         handling.
80642 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80644         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80646 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80648         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80649         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80650         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80651         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80652         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80653         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80654         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80655         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80657         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80658         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80659         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80660         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80661         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80663 2010-07-26  Anton Blanchard  <anton@samba.org>
80665         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80666         * malloc/arena.c (heap_trim): Likewise.
80668 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80670         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80671         here.  Not...
80672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80673         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80675 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80677         * sysdeps/i386/elf/Makefile: New file.
80679 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80681         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80682         from fanotify_init.
80683         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80684         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80686 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80688         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80689         of strncasecmp_l.
80690         * sysdeps/multiarch/strcmp.S: Likewise.
80692 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80694         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80695         strncase_l-nonascii.
80696         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80697         Add strncase_l-ssse3.
80698         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80699         * sysdeps/x86_64/strcmp.S: Likewise.
80700         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80701         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80702         * sysdeps/x86_64/strncase.S: New file.
80703         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80704         * sysdeps/x86_64/strncase_l.S: New file.
80705         * string/Makefile (strop-tests): Add strncasecmp.
80706         * string/test-strncasecmp.c: New file.
80708         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80709         warning.
80711         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80712         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80714 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80716         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80718 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80720         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80721         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80722         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80724 2010-05-01  Alan Modra  <amodra@gmail.com>
80726         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80727         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80728         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80729         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80730         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80731         tidying.  Don't tail-call __sigjmp_save for static lib.
80732         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80733         save location.
80734         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80735         (CALL_MCOUNT): Add eh info, and nop after bl.
80736         (TAIL_CALL_SYSCALL_ERROR): New macro.
80737         (PSEUDO_RET): Use it.
80738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80739         Correct save location of integer regs and cr.
80740         (_dl_profile_resolve): Correct cr save location.  Delete nops
80741         after bl when SHARED.  Reduce cfi size a little by better
80742         placement of cfi directives.
80743         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80744         make a stack frame.  Instead use parm save area as a temp.
80745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80746         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80748         Don't make a stack frame for parent, use parm save area.
80749         Increase child stack frame to 112 bytes.  Don't save unused reg,
80750         and adjust reg usage.  Set up cfi on error recovery and
80751         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80753         (__makecontext): Add dummy nop after jump to exit.
80754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80755         Use correct parm save area and cr save, reduce stack frame.
80756         Correct cfi for possible PSEUDO_RET frame setup.
80757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80758         Branch to local label emitted by PSEUDO_RET rather than
80759         __syscall_error.
80761 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80763         [BZ #11904]
80764         * locale/programs/locale.c (print_assignment): New function.
80765         (show_locale_vars): Use it.
80767 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80769         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80770         field.
80771         (struct statfs64): Likewise.
80772         (_STATFS_F_FLAGS): Define.
80773         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80774         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80775         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80776         (ST_VALID): Define locally.
80777         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80778         __statvfs_getflags, use the provided value.
80779         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80780         __ASSUME_STATFS_F_FLAGS.
80782         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80784         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80785         Add sys/fanotify.h.
80786         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80787         fanotify_mask for GLIBC_2.13.
80788         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80789         fanotify_init and fanotify_mark.
80790         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80791         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80793         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80794         Add prlimit.
80795         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80796         prlimit64 for GLIBC_2.13.
80797         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80798         prlimit64.
80799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80800         syscall.
80801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80802         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80803         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80804         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80806         add prlimit alias.
80807         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80809         [BZ #11903]
80810         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80811         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80813         * nss/Makefile: Add rules to build and run tst-nss-test1.
80814         * shlib-versions: Add entry for libnss_test1.
80815         * nss/nss_test1.c: New file.
80816         * nss/tst-nss-test1.c: New file.
80818         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80819         (__nss_configure_lookup): Set appropriate entry in
80820         __nss_configure_lookup to true.
80821         * nss/nsswitch.h: Define enum with indeces of databases in
80822         databases and __nss_database_custom arrays.  Declare
80823         __nss_database_custom.
80824         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80825         to avoid using nscd when custom rules are installed.
80826         * nss/getXXbyYY_r.c: Likewise.
80827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80829         * nss/nss_files/files-parse.c: Whitespace fixes.
80831 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80833         [BZ #11883]
80834         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80835         * posix/fnmatch_loop.c: Likewise.
80837 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80839         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80840         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80841         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80842         * Versions.def [GLIBC_2.13]: Add.
80844 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80847         Also fail if tpwd after pwuid call is NULL.
80849 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80851         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80852         when converting to ms.
80854 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80856         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80857         EOPNOTSUPP errors with ENOTTY.
80858         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80859         EOPNOTSUPP errors with ENOTTY.
80861 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80863         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80864         Add strcasecmp_l-ssse3.
80865         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80866         strcasecmp.
80867         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80868         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80869         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80871 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80873         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80875         * string/Makefile (strop-tests): Add strcasecmp.
80876         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80877         strcasecmp_l-nonascii.
80878         (gen-as-const-headers): Add locale-defines.sym.
80879         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80880         * sysdeps/x86_64/strcasecmp.S: New file.
80881         * sysdeps/x86_64/strcasecmp_l.S: New file.
80882         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80883         * sysdeps/x86_64/locale-defines.sym: New file.
80884         * string/test-strcasecmp.c: New file.
80886         * string/test-strcasestr.c: Test both ends of the range of characters.
80887         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80889 2010-07-29  Roland McGrath  <roland@redhat.com>
80891         [BZ #11856]
80892         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80894 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80896         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80897         for ld.so.
80899 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80901         * manual/memory.texi (Malloc Tunable Parameters): Document
80902         M_PERTURB.
80904 2010-07-26  Roland McGrath  <roland@redhat.com>
80906         [BZ #11840]
80907         * configure.in (-fgnu89-inline check): Set and substitute
80908         gnu89_inline, not libc_cv_gnu89_inline.
80909         * configure: Regenerated.
80910         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80912 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80914         * string/test-strnlen.c: New file.
80915         * string/Makefile (strop-tests): Add strnlen.
80916         * string/tester.c (test_strnlen): Add a few more test cases.
80917         * string/tst-strlen.c: Better error reporting.
80919         * sysdeps/x86_64/strnlen.S: New file.
80921 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80923         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80924         lower-latency instructions.
80926 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80928         * string/test-strcasestr.c: New file.
80929         * string/test-strstr.c: New file.
80930         * string/Makefile (strop-tests): Add strstr and strcasestr.
80931         * string/str-two-way.h: Don't undefine MAX.
80932         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80934 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80937         strcasestr-nonascii.
80938         (CFLAGS-strcasestr-nonascii.c): Define.
80939         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80940         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80941         Remove unused attribute.
80943 2010-07-20  Roland McGrath  <roland@redhat.com>
80945         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80946         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80947         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80948         like LD_HWCAP_MASK can disable hwcaps.
80950 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80952         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80954 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80956         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80957         call in strcasestr.
80958         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80959         __strcasestr_sse42_nonascii.
80960         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80961         strcasestr-nonascii.c.
80962         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80964 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80966         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80967         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80968         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80969         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80971 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80973         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80974         fcntl.
80976 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80978         [BZ #11577]
80979         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80980         dl_signal_cerror.
80982 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80985         _PC_PIPE_BUF using F_GETPIPE_SZ.
80987 2010-07-05  Roland McGrath  <roland@redhat.com>
80989         * manual/arith.texi (Rounding Functions): Fix rint description
80990         implicit in round description.
80992 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80994         * elf/Makefile: Fix linking for a few tests to make recent linker
80995         happy.
80997 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80999         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81000         $(common-objpfx)libc_nonshared.a.
81002 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81004         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81005         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81006         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81007         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81008         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81009         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81010         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81011         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81026         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81027         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81028         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81029         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81030         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81031         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81032         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81033         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81034         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81035         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81036         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81037         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81053 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81055         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81056         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81057         * string/memmove.c (memmove): Renamed to ...
81058         (MEMMOVE): ...this.  Default to memmove.
81059         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81060         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81061         (END_CHK): Define.
81062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81063         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81064         mempcpy-ssse3-back memmove-ssse3-back.
81065         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81066         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81067         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81068         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81069         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81070         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81071         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81072         * sysdeps/x86_64/multiarch/memmove.c: New file.
81073         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81074         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81075         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81076         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81077         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81078         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81079         Define.
81080         (index_Fast_Copy_Backward): Define.
81081         (HAS_ARCH_FEATURE): Define.
81082         (HAS_FAST_REP_STRING): Define.
81083         (HAS_FAST_COPY_BACKWARD): Define.
81085 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81087         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81088         Restore proper fallback handling.
81090 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81092         [BZ #11701]
81093         * posix/group_member.c (__group_member): Correct checking loop.
81095         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81096         OOM in getpwuid_r correctly.  Return error number when the caller
81097         should return, otherwise -1.
81098         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81099         call returning > 0 value.
81100         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81102 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81104         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81105         libc_nonshared.a from targets in modules-names.
81107 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81109         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81110         requires it.
81112 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81114         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81115         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81116         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81119 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81121         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81123 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81125         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81126         and F_GETPIPE_SZ.
81127         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81128         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81129         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81131         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81132         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81134 2010-06-14  Roland McGrath  <roland@redhat.com>
81136         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81138 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81140         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81141         __REDIRECT followed by __THROW.
81142         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81143         * posix/getopt.h (getopt): Likewise.
81145 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81147         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81148         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81149         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81150         in AT_FLAGS.
81151         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81152         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81154 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81156         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81158 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81160         [BZ #11640]
81161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81162         Properly check family and model.
81164 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81166         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81168 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81170         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81172 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81174         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81175         symbol reference.
81177 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81179         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81180         symbol reference.
81182 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81184         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81185         and internal_recvmmsg.
81186         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81187         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81188         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81189         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81191         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81192         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81193         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81195 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81197         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81199 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81201         POWER7 optimizations.
81202         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81203         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81205 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81207         * version.h: Update for 2.13 development version.
81209 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81211         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81212         exceptions.  Return 0.
81214 2010-05-07  Roland McGrath  <roland@redhat.com>
81216         * elf/ldconfig.c (main): Add a const.
81218 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81220         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81221         (args_options): Add no-idn option.
81222         (ahosts_keys_int): Add idn_flags to ai_flags.
81223         (parse_option): Handle 'i' option to clear idn_flags.
81225         * malloc/malloc.c (_int_free): Possible race in the most recently
81226         added check.  Only act on the data if no current modification
81227         happened.
81229 See ChangeLog.17 for earlier changes.